github gumyr/build123d v0.10.0

5 months ago

Breaking Changes

  • Convert Shape methods to properties: is_null, is_valid, shape_type. Unfortunately it isn't possible to keep the old method and deprecate it when switching over to properties. The fix is just to remove the () e.g. is_valid() -> is_valid.

Notable Changes

  • Added a new Shape property - global_location which will provide the location of a part relative to the global coordinate system when it's deep within an assembly
  • Some of the to_*** methods have been deprecated. For example Vector.to_tuple() has been replaced with tuple(Vector)
  • Added a new operation draft with the Solid.draft instance method. It allows you to create parts that are going to be cast or moulded requiring a draft angle on the vertical sides.
  • There is now a build123d roadmap - see here: https://github.com/gumyr/build123d/wiki/Roadmap
  • Added a Face.wrap method by @gumyr. This method is useful for applying flat features—such as decorative patterns, cutouts, or boundary outlines—onto curved or freeform surfaces while retaining their original proportions.
  • @jwagenet added four new 1D lines ArcArcTangentLine, ArcArcTangentArc, PointArcTangentLine, and PointArcTangentArc. They all implement solvers to find intersections, tangent directions. NOTE: These new 1D line objects are already in deprecated status as there are plans to unify and extend these types of curves into fewer objects.
  • @jwagenet has created a new section on Topology Selection and Exploration of the docs: https://build123d.readthedocs.io/en/latest/topology_selection.html
  • When adding Shapes (without using the builders or, Part, Sketch, Curve) build123d will now typically create a ShapeList. This is meant to improve the user experience related to the breaking change in v0.9.0. With the new release Face + Face returns: ShapeList(# of two faces).
  • @jdegenstein added a new constrained surface creation method Face.make_surface_patch
  • @gongfan99 added Face.make_gordon_surface method for gordon surface creation along with a new pure python dependency of build123d called ocp_gordon
  • @gumyr added a new BlendCurve object for blending with up to C2 continuity between two curves

Selected Other Changes

New Contributors

Full Changelog: v0.9.1...v0.10.0

Don't miss a new build123d release

NewReleases is sending notifications on new releases.