r/OpenPythonSCAD • u/PurchaseSpecific7699 • Mar 30 '25
OpenPythonSCAD: Integration status, performance, and use of external libraries
Hey everyone,
I’ve got a few general questions regarding PythonSCAD and its integration with OpenSCAD:
- Integration status Has PythonSCAD already been fully merged into OpenSCAD and enabled by default? If not, is there any rough ETA for when this is expected?
(Alternatively, is there an option or ongoing effort to merge recent changes from OpenSCAD’s master branch into PythonSCAD, to keep it up to date?)
2. Performance
Are there any known performance drawbacks to using PythonSCAD compared to standard OpenSCAD?
If so, are there best practices or guidelines to help minimize the performance hit?
3. Using Python libraries
Is it possible to import and use external Python libraries within PythonSCAD scripts?
If so, could someone point to a guide or example?
(I saw this asked before but couldn’t quite figure out the current state)
Appreciate any insights. Thanks!
View all comments
Show parent comment
2
u/PurchaseSpecific7699 Mar 30 '25
Great!
Regarding CI — I'm not familiar with CircleCI myself, but maybe one of the OpenSCAD devs could help out.
It might even be possible to reuse their existing scripts more or less as-is.
Having automated builds would definitely give PythonSCAD a nice boost.
As for parsing overhead — totally not a concern. I’m talking about models that take minutes to render anyway. 🙂
Out of curiosity though — has anyone actually benchmarked the performance of core operations (like
translate,hull,union, etc.) in Python vs native-OpenSCAD to confirm that the overhead is truly negligible?And about the libraries — I’ll test out using external ones, and if I run into anything unusual, I’ll report back.
Thanks again!