algorithmic modeling for Rhino
Hi!
I want to create lines in between these polygons in order to create the axis of the streets
can anyone help me? Thank you
I attach the rhino file
Tags:
If you have just that to do and not a country it seems easier to make it with Rhino and a mouse. It will take you 1/2 h to 1 hour. Making a script could certainly be more difficult with no garanty to fit what you want. But an interesting challenge :)
A copy of you map. Try to do that it is more easy for people to look at an image thant to open a file.
Look up "medial axis" here on the forum, there are several posts with examples of different implementations (all based on the Voronoi method though as far as I recall).
Faster, less warning but still some problems due to geometry, building with holes inside. Curves touching each other. If you want little roads you have to augment the number of division in curve or better put curve division depending on the length ... so constant length division. If you want to straitghten the curves fixe the node (roads intersections) and link them with lines.
100 points per curve => 720 s !
20 points per curve => 90 s !
GH file with internalized curves and 5 for the division.
Anders there are not just Voronoi based, I propose a geometric one, see here :
http://www.grasshopper3d.com/forum/topics/sand-dune-medial-axis-sample
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by