There's a new release of JSCAD, including changes from several pull requests.
Bug Fixes core: catch and create create message from thrown objects (non-Error) core: corrected webRequire to catch errors from dynamic code evaluation, and rethrow with correct context web: corrected messages from parameter runtime errors (missing types, etc) web: corrected status (error) message format and display web: enhanced design state management to handle error messages Features core: corrected rebuildGeometry to catch all errors, and callback with complete error information examples: new Nuts and Bolts example regl-renderer: added support for multicolor lines Performance Improvements maths: reworked mat4 isMirror to use pure math, eliminating vec3 creation modeling: improved performance of reTesselateCoplanarPolygons by using maps or sets modeling: use Map instead of {} for slice.repairPlease note the major changes to the core package, as this may break some custom web pages.
Successfully published:
@jscad/cli@2.2.20 @jscad/core@2.6.0 @jscad/examples@2.4.0 @jscad/3mf-serializer@2.1.3 @jscad/amf-deserializer@2.2.12 @jscad/amf-serializer@2.1.9 @jscad/dxf-deserializer@2.3.16 @jscad/dxf-serializer@2.1.9 @jscad/io-utils@2.0.19 @jscad/io@2.3.3 @jscad/json-deserializer@2.0.20 @jscad/json-serializer@2.0.19 @jscad/obj-deserializer@2.0.19 @jscad/obj-serializer@2.1.9 @jscad/stl-deserializer@2.1.16 @jscad/stl-serializer@2.1.9 @jscad/svg-deserializer@2.4.12 @jscad/svg-serializer@2.3.7 @jscad/x3d-serializer@2.3.9 @jscad/modeling@2.9.4 @jscad/regl-renderer@2.6.0 @jscad/vtree@2.0.20 @jscad/web@2.5.10lerna success published 23 packages