r/OpenPythonSCAD • • Mar 31 '25

Named bodies in export

Hey friends,

I have just today discovered PythonSCAD (after yesterday discovering OpenSCAD ;), I love the philosophy of both projects, as I am trying to create fully parametric models all the way to slicing.

I have written this script: https://pastebin.com/eGh68mwN

It works correctly but the exported body names in the 3mf file do not appear to match the keys in the dictionary. Are they supposed to? Bambu Slicer reads them as "OpenSCAD Model". The colors also do not transfer, but I did not actually expect that to work.

Thanks friends, even without this feature this has saved me so much time from trying to do the same thing in traditional CAD.

4 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/gadget3D Apr 02 '25

No it was another issue with simple "union" . Named bodies were not affected this time.

But now all known bugs are solved in 2025-04-02 which can be found in the downloads.

I dont know much about "assemblies"in 3mf. I jus know, that i can store multiple named designs in 3MF and this is what PythonSCAD does. Assemblies mean, that 3mf should store instructions and orientations to put several parts together ?