Grasshopper

algorithmic modeling for Rhino

How can I convert a surface consisted of "4 points surface" into one single mesh?

Views: 1179

Attachments:

Replies to This Discussion

It would be best to not even create the surface if you really just want the Mesh as surface generation takes some time and the conversion to Mesh can be annoying. I would take your 4 points and feed them into a Merge Component with each input grafted. The result should give you a number of branches, each with 4 items in it. Next, feed this into a Construct Mesh component. You know should have a single mesh for each branch. Finally, I would flatten the branches and use the Join Mesh and Weld Mesh components to make it into one single mesh. 

Your file had some mistakes in the Relative Item components (Wrap needed to be false, offset needed to be changed).

Attachments:

Hi Andrew, thanks a lot!

I see your perfect result! But I have some questions on the "relative item" component, what does it change when you feed "(1)(-1)" into the "offset"? another question is what is difference between a joined mesh and a weld mesh, I see some difference between their appearance in rhino "render" mode.

Actually, yesterday I got a mesh by doing this on the separated surface, maybe you can tell me some difference between the two results.

Attachments:

A joined mesh is just a collection of the meshes you put into. You could think of it as basically a group of faces. Each face edge will remain independent and a naked edge of the corresponding face.

A joined mesh could be two faces, miles apart.

Welding will join coincident edges and vertices. We can know which face connects to another and while rendering, those edges could be smoothed. You should see the number of Vertices drop after welding.

oh~ I see.

but in this situation, all the faces are adjacent with each other, only some of them are welded, I don't know why? 

yes, the vertices drop.

 

Hannes's reply on welding vs joining is good and more accurate than mine, but I sometimes compare the difference to weldind two pieces of metal together vs bolting them. Welding joins two pieces (faces) into one consistent material while bolting (joining) connects them but keeps them as two separate sheets.

To answer your other question about the offset, {1}(-1) would trim off the first branch and the last items from each of the remaining branches. I find it easiest to draw a diagram of 4 faces with labels for each faces corners going from A to D with A in the lower left corner of each box and then going in counterclockwise to D in upper left. All of the A's would be in lower left so we want to trim the last branch off and the last list item off (since they have no A's). The offset would be {-1}(-1).

Thanks! Andrew!

I understand a bit, so what are the two outputs and their difference?

if you have some examples of this component, that would be nice!

Thanks a lot!

Maybe this diagram will help. 

Thank you so much!

Best!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service