You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you thought about turning openpyscad into a full wrapper for openscad, instead of just a source code generator? I think it would require minimal additional effort depending on how it is done, as openscad has a command line API, so you could just invoke openscad and, for example, directly generate an STL file, i.e.:
import openpyscad as ops
ops.Cube([10, 10, 10]).write('input.scad')
os.system('openscad input.scad')
This would be nice for those of us (me) that love to work in python as much as possible and hate working in other people's UIs/programs except for stuff like simple viewing. An example of a software package that does this well is gdspy. It provides all the logic for generating structures and a (very) simple viewer for the output file, and is a very popular package. You could even perhaps bundle openscad and openpyscad as a single conda package.
The text was updated successfully, but these errors were encountered:
Have you thought about turning openpyscad into a full wrapper for openscad, instead of just a source code generator? I think it would require minimal additional effort depending on how it is done, as openscad has a command line API, so you could just invoke openscad and, for example, directly generate an STL file, i.e.:
Or directly open the viewer:
This would be nice for those of us (me) that love to work in python as much as possible and hate working in other people's UIs/programs except for stuff like simple viewing. An example of a software package that does this well is gdspy. It provides all the logic for generating structures and a (very) simple viewer for the output file, and is a very popular package. You could even perhaps bundle openscad and openpyscad as a single conda package.
The text was updated successfully, but these errors were encountered: