Skip to main content

I have a 3D meshes of buildings in a Rhino file that can be exported as a .obj or .fbx and want to use the fanout expression to put each building into an individual file/folder. The exported file (both .obj and .fbx) dont have any attributes and is read as one cohesive mesh so I am unable to assign any attributes to them to split up.

 

How would I go about this workflow?

Hi @jaronkasiban​,

If the models has buildings that are separated from each other, or do not have common vertices in 2D with adjoining buildings, then you can decompose the buildings into lines and use the NetworkTopologyCalculator to determine the building assignment for the mesh faces:

Screen Shot 2023-01-26 at 2.33.11 PMI used a Counter to assign a unique id to each face so the network ID can be merged from the decomposed lines back to the original faces. A partial workspace is attached.


Reply