v0.0.30
Release Notes — v0.0.30
Covers changes from v0.0.29 to v0.0.30.
Features
exclude() on transforms and mirror
rotate(), translate() and mirror() now accept an .exclude(...) method to omit specific objects from the operation.
2D back() command
New back() command in 2D sketches that moves the cursor back to the previous position, making it easier to build paths that branch off from an earlier point.
Draw lines up to an intersection
hline, vline and aline can now be drawn up to the intersection with another piece of geometry, instead of always requiring an explicit length.
Better error reporting
Improved error reporting across the board, with clearer messages and better context for debugging.
Breaking Changes
.centered() method on hline / vline / aline
The centered argument has been removed from hline, vline and aline. Use the .centered() method instead, for consistency with how other features configure this option.
Bug Fixes
color()was adding faces to the scene as a side effect.
Docs
- Updated
hline,vlineandalinedocumentation to reflect the new signatures and.centered()method.
Commits
08b80a4chore: release v0.0.304e38d40feature: better error reporting97621c2bug fix: using color() adds faces to scenea4a4f2afeature: add exclude() to rotate() and translate() to exclude specific objects from operation096bb0efeature: add new 2d back() command to move back to the previous positionaec7424feature: added .exclude() to mirror to exclude specific objects from the operationd3f0b72feature: allow drawing hline, vline and aline up to the intersection with another geometryfb3fbdeupdate the signature for aline, hline and vline to remove the centered option and replaced it with a method config .centered() to match other featuresd19d047docs: update hline and vline docsb05cf11removed 'centered' argument from hline and vline. use .centered() method insteadee57e8bdocs: update aline docs8564a2fupdate aLine parameters order + move centered to be set via method to make it consistent with other features