algorithmic modeling for Rhino
The problem raised here: I want to construct a 3D database of urban block, which can be used as a platform for calculating some feature parameters of urban morphology.
I get the original data from a .DXF file, the data of buiding footprint located in the layer named FOOTPRINT, the data of number of floors located in the layer named FLOORS.
The results is:
The two kinds of data can not match one to one exactly, and the number of floors do not correspond to its indexed building footprint.
I'm looking forward to some suggestions to overcome this problem.
Thank you for the consideration.
Attanched is the .3dm and .gh files.
Tags:
Hello Danny,
Thank you for your help.
Your solution is concise and efficient, and gives me a bright key for this problem.
Maybe some little bugs exited.
I will try to make it more perfect for more complex issues.
Best!
--
Lucas
Here's another solution that might be a little more accurate/reliable than the closest point method, which is dependent on a number of assumptions that may or may not be true - that the building is represented with a single curve (has no holes), that it's fairly convex, that the text points are located close to the polygon center, etc.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by