Skip to content

0.14.0

Choose a tag to compare

@hjbaard hjbaard released this 09 Oct 09:03
· 34 commits to main since this release

Move a feature to its place in the history, joints that turn below 0, extrusions that end on a chosen face, and STL files that stay where the model is. 85 tools.

Added

  • Move a feature in the history. Every tool adds its feature at the end, so a plate drawn over holes cut earlier closed them, and only the volume showed it. reorder_feature("Plate", before="Hole1") moves it, with its sketch, before the first of them, and they cut through it again. A move before something the feature is built on is refused and names it.
  • Joints below 0 degrees. An angle mate is made at 0..180 between two faces, but its dimension turns the joint the whole way round. Negative values now work too in set_dimension, check_motion and swept_region: a joint of -35..115 steps as it is, from any pair of side faces.
  • End an extrusion on a chosen face. extrude_sketch(up_to="@x,y,z") ends on the face through that point. Up to next fails when a side of the profile lies on a face of the part, such as a strip against a boss; that refusal now says so and names a point on the face ahead to use instead.
  • See what a delete takes along. delete_feature(dry_run=True) lists it without deleting.

Changed

  • STL exports keep the model's coordinates, also one file per component, where SolidWorks moved them into positive space. A mesh measured back now lines up with the part, and files per component line up with the assembly; the result names the frame. Slicers place the part on the bed anyway.

Fixed

  • delete_feature named only part of what it would delete: the features built directly on the one to delete, not what was built on those, which with_children=True deleted as well. The refusal now names everything that goes.
  • A failed STEP import could leave documents behind, open, hidden and unsaved. A failed or refused import now closes every document it opened.
  • SolidWorks now and then ignores a new dimension value, at random (about 1 in 25 on a fresh part), so set_dimension refused a plain value and check_motion stopped at a step. The value is now written once more when the old one reads back; a value SolidWorks refuses is still refused.

See the changelog for details.