v0.0.31
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
shellcleared colors in some cases.- Default tangent was not set on sketches.
start()andend()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-stubtutorial, plus a follow-up fix. - Tutorial updates for the
pmove/arcbreaking changes. - Documentation for
mirror()fusion type and scope. - Updated lines documentation.
- Added missing API docs.
Commits
1969d18chore: release v0.0.3143c4074docs: fix l-stub tutorial1bc081dadd validation errors for attempts to use consumed/stale shapesfbcea3bupdate sketch section view to render opaque faces instead of hollow shapesb935805bug fix: shell clearing colors in some cases008dcacrestore the selection colorbfd09c2docs: update with new information for pmove and arc3395323docs: update tutorial after new breaking changes79c06deupdated pMove() to do the polar move starting from the current tangent direction; updated arc to draw using current tangent as zero angleb17db3abug fix: set default tangent on sketches02c4ce5bug fix: start() and end() in projected and intersected curves is not correcta19fdb1fix error messages description + fix offset bugb949e3ebug fix: face().cylinderCurve() not working when the cylindrical curve has ellipse edges253a8defeature: allow hmove, vmove and pmove to move up to a geometry instead of distanceb4f1770bug fix: update binding to fix step import issue059d14ddocs: add new l-stub tutorialdd89191bug fix: project() generates coincident edges - update the implementation to remove them001f31eui: update highlight colors1a9323cuse shape id for visibility/transparency tracking + reset transparency on popup closedf06b2fdocs: add mirror fusion type and scope documentation8b93e38feature: mirror() now supports fusion type and scope .add() .new() .remove()ca5921bdocs: update lines documentationd1dac9fuse shape id for tracking transparency instead of shape index03c9bb4docs: add missing api docs