I’m trying to do boolean union to the 3d model of a city part with some terrain object for grasshopper algorithm to analize, script requires it to be one singular brep, therefore I need to merge buildings with terain (“point in brep” component) i can download 3d models of buildings from government site, but those are in .gml format, I can transform them to a readible format through CityEditor plugin for sketchup, (with 3 layers: slab, walls and roofs) but when imported models are messed up.
I’m trying for few days without any satisfying results, even if it works for some singular models, some things are always making boolean union to fail, I’ve even tried to just extrude exploded poly/surfaces downwards to get the outer shell of the model, but also this path fails.
I don’t quite understand how can I manage it without remodeling whole cities in Rhino.
Please help me guys, give me any advices.
I’m attaching small section of the bigger model with problematic elements (3dm for rh6 and rh5) When I work with tose models I use “MeshToNURB” command.
(please consider that it works for simple buildings, but fails for buildings with more complicated roofs)GML_Import_fragment.3dm (2.5 MB)
GML_Import_fragment_rh5.3dm (3.0 MB)
Edit; some further info: I’ve tried ReduceMesh, MergeAllFaces, MergeAllEdges. I think that any way to get solid is good, even some grasshopper magic with Mesh|Ray component, generating mesh from points etc would be good enough, but I’m not sure where to start and not sure if that would give me vertical walls…