hello!

i have used API "GetBox" to get the cubic boundary of the part and the volume of the cube, like the picture 1. However, the cubic boundary of the part is not the one i want, and the volume i got is obviously not the minimum. The minimum cubic boundary is shown in picture 2, but how to get it via API and algorithm?

welcome to express your idea, thank you!

wenyi

Picture 1

Picture 2

Wen

I did something similar with sheet metal. In my case I found the largest surface area mated that surface with a plane using

InsertMoveCopyBody2then I picked an edge and used the same command to rotate the part so I would get the minimum volume.I hope ths helps.

Dan Miel