generative 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.
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.
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.
Thanks for your effort!
It is really a nice definition, I will study your work carefully, and I hope I can develop a suitable component for urban data mining.