r/OpenPythonSCAD • • Apr 12 '25

Significance of Edit | Preferences | Python | Network Import List?

Is it now necessary to list files there so as to indicate that they are allowed to be imported?

Apparently:

nimport("https://raw.githubusercontent.com/WillAdams/gcodepreview/refs/heads/main/gcodepreview.py")

doesn't work anymore:

ERROR: Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'gcodepreview'

3 Upvotes

17 comments sorted by

View all comments

Show parent comment

2

u/WillAdams Apr 14 '25

Thanks!

Will see what I can work out.

Interesting about the CSG stuff --- I still find the concern about creating arbitrary fillets a bit odd, since it's so easy to make something which isn't machinable (unless one has a 5-axis machine --- though I guess that a 3D printer can print such is how most folks approach it).

2

u/gadget3D Apr 14 '25

its even often geometrically not possible to "establish" a special configuration of fillets.

In any case i think its positive to have/offer this option at all even though beeing aware that many scenarios will wile intriniscally.