JSCAD V2 Update
z3dev last edited by z3dev
It’s been a while since we have posted any update on V2, so here’s a few notes on what’s going on.
First, the reorganization of the CSG library is almost done, but like always the last 5% takes the most time. Once again, the major goals are:
- Move to functional API, i.e. no more monolithic objects
- Standardized function names, parameters, error checks, etc.
- Lots of small modules to allow more reuse
- Math and Geometry data structures based on arrays
- Tests for everything
There have been some name changes to functions, but the new names are clear. Parameter names haven’t changed much, but one major change is the usage of RADIANS for all angles and rotations. There are several bug fixes and improvements as well. Tests… yeah… lots… 394 test suites with over 90% coverage.. and this will continue to improve.
Second, all JSCAD libraries are being brought together into one repository; OpenJSCAD.org. This allows the libraries to be managed together, and produce releases faster. And hopefully, contributions from anyone at any level will be easier. This includes the CSG library, IO library, and new viewer.
Third, you can start following along. There are still a few major changes coming, but you can already get a good feel for things by cloning the OpenJSCAD.org repository, and looking at the V2 branch.
Feel free to ask any questions about V2.