Grasshopper

algorithmic modeling for Rhino

Hello,

 

Does something similar to 'MergeAllFaces' exist as a Grasshopper component or RhinoCommon method?

 

I'm trying to merge a collection of small mesh (or brep) 'cells' into a single mesh with a minimum number of vertices.  The cells are square quads in a flat plane... they meet at edges but don't overlap.  The trouble is, when I join or boolean union the cells, I can't seem to get the resulting mesh (or brep) to "forget" the smaller meshes from which it came.  I.e., if the resulting mesh is a simple planar rectangle, I can't seem to simplify its description to that of a single quad, and am forced to carry along the baggage of all the original faces and vertices.

 

Any advice?

 

Thanks.

 

Jon

Views: 2522

Replies to This Discussion

Not as a single component or method - but here's a definition that does it for BReps. This definition should work on any BRep, with faces in many directions; you may be able to get away with something simpler if all your geometry is in a flat plane. Just take the bounding polygons of all facets and use "region union" to merge them together into bigger polygons, and then use planar surface to reconstitute surfaces out of them. 

 

Attachments:

hey,

Just tried this definition out but there is a problem when it gets to the runion component. Any solutions?

Thanks

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service