Skip to content

0.15.0

Choose a tag to compare

@hjbaard hjbaard released this 09 Oct 19:35
· 29 commits to main since this release

Chamfers at any angle, colours and see-through for parts and components, and refusals that say how large a round fits. 86 tools.

Added

  • Chamfers at any angle. add_chamfer(1, "-z:outline", angle_deg=60, from_face="-z") leaves an underside edge at 60 degrees, printable without support; round an arc the chamfer is a cone. SolidWorks picks one of an edge's two faces by itself, so the chamfer is measured and made again the other way round when it took the wrong one.
  • Colours and see-through. set_appearance(rgb=[30, 30, 30], component="Frame-1") colours a component in an assembly while the part file keeps its own colour; transparency=0.6 shows what lies behind a cover, transparency=0 makes it solid again. Without a component it colours the current part.

Fixed

  • An assembly left editing one of its parts (a double click in SolidWorks) showed every other component see-through, and insert_component failed with "AddComponent5 returned None". Every tool now edits the assembly as a whole again first.
  • A refused fillet now says how large a round fits. An edge that "fails even alone" comes with the largest radius it takes, found by trial to 0.01 mm.

See the changelog for details.