r/OpenPythonSCAD • • Mar 19 '25

import python math in openpythonSCAD

Having trouble with a simple package import. Read through some other threads and still can't get it to work. import math

Installed: OpenSCAD-silicon-2025-01-30
Had python 3.12 installed, but couldn't import math, appended sys.path, but no luck
Installed python 3.13, and included the path in my sys.path and zshrc file.

Any ideas?

4 Upvotes

16 comments sorted by

View all comments

Show parent comment

1

u/gadget3D Mar 25 '25

your error appears in line 28 and i doubt, that its about 'cube'

can you please share all your code, so i can test it locally here ?