Skip to main content
Solved

Split 3D Mesh into Multiple Files

  • January 26, 2023
  • 1 reply
  • 119 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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • 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.