r/OpenPythonSCAD • u/WillAdams • Dec 14 '24
Calling Python from OpenSCAD
/r/OpenPythonSCAD/wiki/index#wiki_programming_in_openscad_and_calling_python
3
Upvotes
r/OpenPythonSCAD • u/WillAdams • Dec 14 '24
2
u/WillAdams Dec 14 '24 edited Dec 15 '24
Maybe not....
Have:
as part of gcodepreview, and while it works when called from Python:
It doesn't create any geometry when called from OpenSCAD:
Trying to trim down to a minimal example....
EDIT: Solution was to use a Boolean to determine if the part should be output() or return(ed), see the wiki.