Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Logic on SplitBody

Message 1 of 6
182 Views, 5 Replies

Logic on SplitBody

When you use the SplitBody Feature a body is cut in some parts and the . Is there a logic behind in which order the body is splitted and named? This might be interesting if you would like to remove certain parts.

Message 2 of 6
in reply to: rocco.mayr

Hi @rocco.mayr .


With enough testing, logic might be found, but it seems difficult.

To find the desired body, it seems safer to look for it not by name but by some other factor such as the location of the center of gravity or volume.

Message 3 of 6
in reply to: kandennti

What @kandennti said is correct. The naming and order of the resulting bodies is controlled by the internal function that does the split. There has to be some internal logic but I don't know what it is and even if we did it would be difficult to describe because there can be so many cases depending on the shape of the model and the orientation of the split planes.  It's best to analyze the results and find the pieces you're interested in.

Brian Ekins
Inventor and Fusion 360 API Expert
Message 4 of 6
in reply to: BrianEkins

So the new names for the splitted bodies would be the same? In this case it would make sense to search for the names when there are not so much bodies.

Message 5 of 6
in reply to: kandennti

How could you search location of the center of gravity or volume? Do you have some code snippets?

Message 6 of 6
in reply to: rocco.mayr

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th

Autodesk Design & Make Report