'Empty' 3D model

12 views
Skip to first unread message

Dylan

unread,
Jul 12, 2025, 9:40:30 AMJul 12
to pytho...@googlegroups.com
Hi,

Is there an "empty model" available analogous to an empty list ( [] )?

Currently I have something like:

obj = cube(0.01)

for o in object_list:

    obj |= o


It would, however, be better to not have that tiny cube in the first place.

Thanks

Dylan

William Adams

unread,
Jul 12, 2025, 9:53:56 AMJul 12
to PythonSCAD
Not that I am aware of --- that said, one can use a list to hold objects and that is actually preferable as discussed here in a different thread and documented at:


William

Guenther Sohler

unread,
Jul 12, 2025, 10:30:28 AMJul 12
to William Adams, PythonSCAD
Yes, that IS a Recent Addition.
Empty model can be Expressed as False or None and can be applied in Union e.g.
Infinitely much IS True instead.

--
You received this message because you are subscribed to the Google Groups "PythonSCAD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonscad+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/pythonscad/03def994-0bd9-498e-a97a-3edad15424a4n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages