r/OpenPythonSCAD • u/gadget3D • Dec 15 '24
Using existing SCAD libraries in PythonSCAD
This small demonstration shows, how you existing libraries along with your PythonSCAD code.
Simple use "osinclude" to turn a SCAD library into an class variable with all the modules and variables available as members.
You can simple call these members by invoking them with parameters. Even Childs to SCAD modules are possible. just add them to the arguments

This feature is available since 2024-12-15 Windows release.
7
Upvotes
View all comments
Show parent comment
1
u/MajesticInfluence933 Dec 19 '25
Just build the nightly today and keep having the same problem.
Also, the previous approach of scad(scad_code) gives a segmentation fault when trying to show the item.
Anyone has a solution for using BOSL2 with pythonscad?