Utilizing the Axes Class with the API

Yes. As a rule, the API team tries not to implement changes that affect or change code out “in the wild”.

So they chose to implement this as a pseudo geometry context with a transformation that can be applied to the geometry (vertices, edges, faces, etc.,) that your tool creates.

So, it is you and your code that need to decide when to honor the user’s drawing axes setting.
Ie, from my post of 11 days ago …


Note also that I filed an issue for a missing reset() method.
(See the issue thread for a couple of workaround ideas.)

… and an enhancement to the Sketchup::Axes#set() method …

1 Like