discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Possible to reverse the JSON import and instead write out a JSON file?

WF
William F. Adams
Tue, Dec 14, 2021 8:57 PM

I work with an integrated CAD/CAM program a lot, Carbide Create (ob. discl., I work for the company).
It uses JSON for its native file format, .c2d
Would it be possible to add sufficiently flexible support for writing out JSON files that it would then be feasible to work on writing out a .c2d file from OpenSCAD which would cut out the design in question?
Currently, when a design is worked up, I'm finding it necessary to output multiple views of it in a DXF or SVG --- this file is then opened in Carbide Create, each view for each tool/depth is then dragged into register, and appropriate Toolpaths are assigned:
https://willadams.gitbook.io/design-into-3d/full-blind-box-joints

which is kind of tedious.
William

I work with an integrated CAD/CAM program a lot, Carbide Create (ob. discl., I work for the company). It uses JSON for its native file format, .c2d Would it be possible to add sufficiently flexible support for writing out JSON files that it would then be feasible to work on writing out a .c2d file from OpenSCAD which would cut out the design in question? Currently, when a design is worked up, I'm finding it necessary to output multiple views of it in a DXF or SVG --- this file is then opened in Carbide Create, each view for each tool/depth is then dragged into register, and appropriate Toolpaths are assigned: https://willadams.gitbook.io/design-into-3d/full-blind-box-joints which is kind of tedious. William