joostn / OpenJsCad

3D solid CAD using only Javascript
315 stars 128 forks source link

Bug: Compact Binary Format ignores Properties #79

Closed z3dev closed 7 years ago

z3dev commented 8 years ago

Applications may want to add properties to CSG and CAG objects, which can then be used when converting to different formats, etc. Even the internal "connectors" are silently ignored in the compact binary format.

For example, I want to set and save special properties for large designs, i.e. position of buttons, sizes of curves, etc. The JSON.stringify() will convert the property values to strings easily, but there are NO properties because the compact binary format doesn't save/restore properties.

z3dev commented 7 years ago

This issue was moved to jscad/csg.js#26