Grasshopper

algorithmic modeling for Rhino

hi,

in the picture below you see several lines I created through a rectangular grid and using shortest walk between several points. between every 2 points there is a straight line, the list is not sorted at all. All double lines are already deleted.

now I need to create surfaces or closed polylines like you see in the scratch.

I tried to use the street blocks component from DecodingSpaces plugin but it didn't work. 

does anyone has an idea how this could be possible? any help would be awesome!

THANKS!

Views: 5200

Attachments:

Replies to This Discussion

You can probably do it with the Surface Split component. First create a plane big enough to contain all your regions, then split it using all your lines. You may have to remove unwanted parts of the surface on the outside though.

sorry for the late response...I dont know why I haven't tried it but it works almost perfectly. 

in some rare cases I get something like what you see in the picture. it creates a invalid surface, I think because it tries to cut a line into a surface which results in a invalid surface.

the way I deal with this is to explode al surfaces into its components and create a boundary surface. this way I have no invalid surfaces anymore, but I think this takes a lot of calculation and makes the definition slower. 

is there a simple fast way which I dont see?

Attachments:

I think weaver bird plugin can be helpful, by using mesh from lines component 

If you're happy with a plugin solution (the suggestion from David works in this case as it's planar), Bullant (http://www.geometrygym.com/downloads ) has the NetworkFillet components (and similar) that can traverse a curve network and return polycurve outlines or surfaces.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service