Skip to content

v0.3.1

Choose a tag to compare

@pzfreo pzfreo released this 04 Jun 14:54
· 141 commits to main since this release
923caff

What's new

Added

  • lint_drawing() gains a view_shapes parameter (#159, #160) for checking projected view outlines against the rest of the drawing. Pass a list of build123d shapes representing the view bounding regions; lint_drawing() emits view_annotation_overlap (warning) when an annotation's bbox overlaps a view outline, and view_overlap (warning) when two view outlines overlap each other.
issues = lint_drawing(
    all_anns,
    drawing_scale=SCALE,
    view_shapes=[front_view, plan_view, side_view, iso_view],
)

Fixed

  • pyproject.toml version corrected to 0.3.1 — the v0.3.0 release tag was created but the version field was never bumped from 0.2.0.
  • Self-overlap false positive: a shape passed in both items and view_shapes no longer generates a spurious view_annotation_overlap warning.

See CHANGELOG for full details.