r/OpenPythonSCAD • u/w0lfwood • Jun 17 '25
osimport() error
openscad built from the latest openscad/openscad git commit. can show a cube just fine via python. but when I try to osimport() an stl, I get an error:
Running Python 3.13.3 without venv.
ERROR: Traceback (most recent call last):
File "<string>", line 5, in <module>
NameError: name 'osimport' is not defined
Execution aborted
my file:
=2
=.1
=
2
Upvotes
View all comments
Show parent comment
2
u/gadget3D Jun 18 '25
I think when someone codes:
from <module> import *
he/she needs at least be more aware about the potentional risk,.
maybe python as an option to turn on such a warning ?