jscad / OpenJSCAD.org

JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
https://openjscad.xyz/
MIT License
2.65k stars 514 forks source link

feat(3mf-deserializer): initial version of 3MF deserializer and tests #1242

Closed z3dev closed 1 year ago

z3dev commented 1 year ago

This is the new deserializer for 3MF packages or XML strings. This deserializer relies upon two packages to unzip 3MF packages (fflate) and parse XML (saxes). See the README for more information.

Testing has been completed with positive tests for 'core' functionality and 'materials' functionality. All 3MF files come from the 3MF test suite.

There's probably more 3MF features to support but this is a good starting point.

All Submissions:

z3dev commented 1 year ago

I am not good at reviewwing. Looks good to me.

@hrgdavor You underestimate yourself. :)

all comments are welcome. and all improvements are welcome.