Skip to main content
Solved

Split 3D Mesh into Multiple Files

  • January 26, 2023
  • 1 reply
  • 100 views

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?

Best answer by daveatsafe

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.

View original
Did this help you find an answer to your question?

1 reply

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • January 26, 2023

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings