Tuesday, December 25, 2012

GH: BREP CELLS

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
GRASSHOPPER BREP CELLS


This definition creates mesh cells within closed BReps

LOGIC
1. Create a system of closed breps or a single closed brep
2. Locate brep centroid point and brep face centers
3. Order brep vertices and central edge vertices in order
4. Create frame from centroid and face centers to brep vertices
5. Evaluate points along the frame
6. Remake polylines with evaluation points.
7. Loft polylines creating cell surfaces
8. Mesh and smooth faces.

GH Version
0.9.0014
Plug-ins Required
1. Weaver Bird
2. Mesh Analysis and Utility


Tip
This works with single BReps as well as networks of connected BReps.
The BReps can be cubes, pyramids, voronoi, ect. Add thickness to the 
result mesh with WB for a more realistic result. Try different mesh 
divisions on the end result for more intricate results. Adjust the central
point for more distorted results or combine with attraction / graphs.  







Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

3 comments:

  1. Nice stuff! Thanks for sharing, I just cannot wait to give your definition a try;)

    ReplyDelete
  2. Nice cells model.

    ReplyDelete