Minimum bounding box With Angled planes

Hi there,

I’m curious if anyone already faced this challenge : create a bounding “trapezoidal prism” as a boundingbox.

I have this shape that I whish to wrap with the minimalest Trapezoidal prism, not a box

I’ve found so far a script to create a minimal bounding box here, but not trapezoidal prism.

Thanks,

Charles C.

So far, I found that with that script I could :

  • 1 create a bounding box for each circle (top/bottom)
  • 2 connect corners with lines.
  • Works fine, except the top plane is slightly twisted…