discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

using hasmaps in OpenSCAD and PythonSCAD.

JB
Jordan Brown
Sat, Feb 14, 2026 6:04 AM

On 2/13/2026 9:46 PM, Guenther Sohler via Discuss wrote:

yes, of course,

just launch PythonSCAD with --trust-python

many folks actually install this option into the desktop symbol ...

Guenther is correct.

HOWEVER, you should not do this without understanding what it means.

OpenSCAD is "safe".  You can download an OpenSCAD model from some web
site and run it, and the worst thing it can do is chew up a bunch of CPU
time or memory, or produce an offensive model.  Absent bugs in OpenSCAD,
it cannot damage your system.

Python ... isn't.  If you download a Python program and run it, it can
do anything you can do.  It can trash all of your files, upload them to
a villain, et cetera.  If you set this flag, you must be very careful
about what programs you download and run.

(I think there's also a way to mark individual Python files as trusted,
but I don't know what it is.  Guenther?)

On 2/13/2026 9:46 PM, Guenther Sohler via Discuss wrote: > yes, of course, > > just launch PythonSCAD with --trust-python > > many folks actually install this option into the desktop symbol ... > Guenther is correct. HOWEVER, you should not do this without understanding what it means. OpenSCAD is "safe".  You can download an OpenSCAD model from some web site and run it, and the worst thing it can do is chew up a bunch of CPU time or memory, or produce an offensive model.  Absent bugs in OpenSCAD, it cannot damage your system. Python ... isn't.  If you download a Python program and run it, it can do anything you can do.  It can trash all of your files, upload them to a villain, et cetera.  If you set this flag, you must be very careful about what programs you download and run. (I think there's also a way to mark individual Python files as trusted, but I don't know what it is.  Guenther?)