Nesting 3D volumes

Hi everyone,

does anyone have a Python script or a plug in able to nest volumes inside a raw block (parallelepiped polysurface)?

The volumes I want to nest are grouped with curves laying on the surface of the volume (they are tracings to be milled on the part).

Basically the script should take as input:

  • Volumes and curved grouped to be nestes
  • Polysurface of the raw block
  • Distance between each part

I am trying to implement the code with ChatGPT but I amrellay struggling to have it as it should be so maybe someone has already something like this.

Thank you in advance for the help.

Duccio