Hi Hans, sorry no there isn't any tool in MoI for calculating a centerline curve like that from an arbitrary tube-like shaped object.
I'm not really sure how that could be calculated.
re:
> I know it is mathematically possible to get the center or centroid of a surface but is there a function or
> way to do it in Moi or get the same result with another approach?
Yes getting the centroid of a surface is doable but for the case you are asking about you don't have a set of surfaces yet. Just finding the set of surfaces for cross sections of your shape is going to be difficult to do already.
There is a thing called the "straight skeleton" of a 2D polygon shape which is a type of centerline.
https://en.wikipedia.org/wiki/Straight_skeleton
I guess there may be some corresponding thing for a polyhedron as well. I'm not familiar with the details of the current research in this area myself though.
re:
> The result I'm after is something like the following - I want to keep the shape of the curve but have a
> different surface and swap the new solid with the old one:
Sorry I'm not really understanding what the end goal is here. Do you want the tube to slice away additional area of base solid to extend the cut out area?
Or is the tube going to sit on top of the solid like as if you put a line of grout squeezed onto it or something like that?
- Michael
|