KCL: Track Z axis of planes

KCL should track which way a plane is facing. If it only tracks a plane's
X and Y axes, it could identify two separate planes (overlapping
perfectly in space, but one plane's "up" is the other's down).

This is helpful for knowing which way to extrude on a given plane, or
which way to cut "into" a given solid.
This commit is contained in:
Adam Chalmers
2025-07-03 11:22:50 -05:00
parent df6256266c
commit 61cae3026e
8 changed files with 94 additions and 35 deletions

View File

@ -26,6 +26,8 @@ myXY = {
```
Any object with appropriate `origin`, `xAxis`, and `yAxis` fields can be used as a plane.
The plane's Z axis (i.e. which way is "up") will be the cross product X x Y. In other words,
KCL planes follow the right-hand rule.