Skip to content

v0.0.31

Choose a tag to compare

@marwndev marwndev released this 29 Apr 09:29

Release Notes — v0.0.31

Covers changes from v0.0.30 to v0.0.31.

Features

Fusion type and scope on mirror()

mirror() now supports fusion type and scope via .add(), .new() and .remove(), matching the other fusing features.

Move up to a geometry

hmove, vmove and pmove can now move up to another piece of geometry, instead of always requiring an explicit distance.

Validation for consumed/stale shapes

Attempting to use a consumed or stale shape now produces a clear validation error instead of silently misbehaving downstream.

Opaque sketch section view

The sketch section view now renders opaque faces instead of hollow shapes, making sectioned geometry easier to read.

UI updates

  • Updated highlight colors.
  • Visibility and transparency are now tracked by shape id, and transparency is reset on popup close.

Breaking Changes

pmove() and arc() use the current tangent

pMove() now performs the polar move starting from the current tangent direction, and arc() draws using the current tangent as the zero angle. Existing sketches that relied on the previous absolute angles will need to be updated.

Bug Fixes

  • shell cleared colors in some cases.
  • Default tangent was not set on sketches.
  • start() and end() returned incorrect values on projected and intersected curves.
  • face().cylinderCurve() did not work when the cylindrical curve had ellipse edges.
  • First attempt to import a STEP file always throws an error. Fixed by updated OC bindings.
  • project() generated coincident edges; the implementation now removes them.

Docs

  • New l-stub tutorial, plus a follow-up fix.
  • Tutorial updates for the pmove / arc breaking changes.
  • Documentation for mirror() fusion type and scope.
  • Updated lines documentation.
  • Added missing API docs.

Commits

  • 1969d18 chore: release v0.0.31
  • 43c4074 docs: fix l-stub tutorial
  • 1bc081d add validation errors for attempts to use consumed/stale shapes
  • fbcea3b update sketch section view to render opaque faces instead of hollow shapes
  • b935805 bug fix: shell clearing colors in some cases
  • 008dcac restore the selection color
  • bfd09c2 docs: update with new information for pmove and arc
  • 3395323 docs: update tutorial after new breaking changes
  • 79c06de updated pMove() to do the polar move starting from the current tangent direction; updated arc to draw using current tangent as zero angle
  • b17db3a bug fix: set default tangent on sketches
  • 02c4ce5 bug fix: start() and end() in projected and intersected curves is not correct
  • a19fdb1 fix error messages description + fix offset bug
  • b949e3e bug fix: face().cylinderCurve() not working when the cylindrical curve has ellipse edges
  • 253a8de feature: allow hmove, vmove and pmove to move up to a geometry instead of distance
  • b4f1770 bug fix: update binding to fix step import issue
  • 059d14d docs: add new l-stub tutorial
  • dd89191 bug fix: project() generates coincident edges - update the implementation to remove them
  • 001f31e ui: update highlight colors
  • 1a9323c use shape id for visibility/transparency tracking + reset transparency on popup close
  • df06b2f docs: add mirror fusion type and scope documentation
  • 8b93e38 feature: mirror() now supports fusion type and scope .add() .new() .remove()
  • ca5921b docs: update lines documentation
  • d1dac9f use shape id for tracking transparency instead of shape index
  • 03c9bb4 docs: add missing api docs