4 Dec 2020, 23:20

Please get the latest version of JSCAD V2, as there have been some changes as well as bug fixes.

New Features:
modeling: initial typescript declarations (#726)
web: enhanced to support auto-reloading from livereload (#729)

Thanks to @ahdinousaur for the Typescript declarations.
Thanks to @hrgdavor for the livereload functionality

Bug Fixes:
svg-deserializer: enhanced to support mirror transforms
svg-deserializer: corrected order of SVG transforms
svg-deserializer: fixed translate transforms with one value
svg-deserializer: added X/Y translate for group and use entities
svg-deserializer: corrected size of rectangles when instantiating
regl-renderer: calculate a variable distance to the camera when pannning

Successfully published:

  • @jscad/cli@2.0.0-alpha.11
  • @jscad/core@2.0.0-alpha.11
  • @jscad/amf-deserializer@2.0.0-alpha.8
  • @jscad/amf-serializer@2.0.0-alpha.9
  • @jscad/dxf-deserializer@2.0.0-alpha.8
  • @jscad/dxf-serializer@2.0.0-alpha.8
  • @jscad/io-utils@2.0.0-alpha.8
  • @jscad/io@2.0.0-alpha.10
  • @jscad/json-deserializer@2.0.0-alpha.8
  • @jscad/json-serializer@2.0.0-alpha.8
  • @jscad/obj-deserializer@2.0.0-alpha.8
  • @jscad/stl-deserializer@2.0.0-alpha.9
  • @jscad/stl-serializer@2.0.0-alpha.8
  • @jscad/svg-deserializer@2.0.0-alpha.8
  • @jscad/svg-serializer@2.0.0-alpha.9
  • @jscad/x3d-serializer@2.0.0-alpha.9
  • @jscad/modeling@2.0.0-alpha.8
  • @jscad/regl-renderer@2.0.0-alpha.10
  • @jscad/vtree@2.0.0-alpha.9
  • @jscad/web@2.0.0-alpha.13

BIG NOTE: The V2 website is also using this release.

There's on-line documentation as well for those needing additional information about the modeling API.

For those using a local copy of JSCAD V2, be sure to run the following commands.

git pull
npm run clean (and answer Y)
npm run bootstrap

Both CLI and WEB UI are usable for creating designs. In the WEB UI, it's best to drag-n-drop project folders to the window, and work with the pieces via a favorite editor. If "Enable auto reload" is checked then changes will be detected, and rendered again.

For those wanting to get hold of JSCAD V2, it's still in 'early adoption' mode. But you can get started here.

And a BIG THANKS for everyone that has provided feedback. Keep those comments coming!