r/OpenPythonSCAD • u/WillAdams • 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
View all comments
Show parent comment
2
u/WillAdams Apr 14 '25
I will try the new version, and try to document things systematically using a spare system and let you know about things step-by-step.
Perhaps there should be an included sample/test Python file to verify accessing files?
Currently, as I've noted elsethread, I have an older version working, and I'm trying to finish up a dovetail file:
https://community.carbide3d.com/t/tool-paths-for-different-sized-dovetail-bits/89098
Once I've got that off my plate I'll try again.
One thing I will mention is that the application should include a check for infinite loops if that is something which can be done.