gumyr / build123d

A python CAD programming library
Apache License 2.0
382 stars 72 forks source link

Propose adding `Plane.isometric` to built-in planes #647

Closed jdegenstein closed 1 week ago

jdegenstein commented 1 week ago

Currently there are a number of built-in planes like Plane.XY, YZ, front, top, etc. I propose adding a Plane.isometric built-in plane that will (1) allow aligning objects to the viewers isometric view direction (tested against OCP CAD Viewer and CQ-editor) (2) Provide access to a less trivial plane definition that could help improve robustness of unit tests (none of the Plane.isometric axes align with the global XYZ axes). There may also be some benefits to the 2D exporters, since providing an easier-to-access isometric view direction could be helpful for e.g. "more intelligible" 2D representations of 3D objects.

gumyr commented 1 week ago

Looks good to me. Thanks!