Hi all,
I’ve released a new version of scad2python (s2p.py), which now includes automatic generation of show() calls for created objects. All objects created at level 0, as well as those created through function calls, are collected in an objs list that will be shown automatically.
I also created a Python script (batchs2p.py) that recursively processes a folder and converts every .scad file into a .py file, including logging and related functionality, keeping original scad files.
The tools are working, but not perfect yet. A few current limitations:
Comments are skipped (handling inline comments turned out to be too complex for now)
Intersections of child objects are still not processed correctly
Not all syntax is converted correctly to python
I would really appreciate some help or collaboration if anyone is interested in contributing to this small project.
Thanks in advance!
Kind regards,
Matthieu
--
You received this message because you are subscribed to the Google Groups "PythonSCAD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonscad+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/pythonscad/4a1435fe-fd4e-45f7-b82d-9816b6f2a147n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.