Skip to content

v0.0.30

Choose a tag to compare

@marwndev marwndev released this 27 Apr 11:20

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, vline and aline documentation to reflect the new signatures and .centered() method.

Commits

  • 08b80a4 chore: release v0.0.30
  • 4e38d40 feature: better error reporting
  • 97621c2 bug fix: using color() adds faces to scene
  • a4a4f2a feature: add exclude() to rotate() and translate() to exclude specific objects from operation
  • 096bb0e feature: add new 2d back() command to move back to the previous position
  • aec7424 feature: added .exclude() to mirror to exclude specific objects from the operation
  • d3f0b72 feature: allow drawing hline, vline and aline up to the intersection with another geometry
  • fb3fbde update the signature for aline, hline and vline to remove the centered option and replaced it with a method config .centered() to match other features
  • d19d047 docs: update hline and vline docs
  • b05cf11 removed 'centered' argument from hline and vline. use .centered() method instead
  • ee57e8b docs: update aline docs
  • 8564a2f update aLine parameters order + move centered to be set via method to make it consistent with other features