r/OpenPythonSCAD • • Jul 14 '25

Objects are now iteratable

In latest Commit. Objects are iteratable.

When iterating over an object, you get its childs one by one.

Below shown example does an union, because the difference is never actually executed.

5 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/Alacritous13 Jul 14 '25

Good point. In my application I would be working with parts that by definition have their final version composed of unioned objects, but are uncolored because they were designed for single color printing (but that I now want to color). But outside of my self impressed syntax, not knowing how they're supposed to go back together is definitely an issue.