CADmium-Co / CADmium

A CAD program that runs in the browser
https://cadmium-co.github.io/CADmium/
Other
1.46k stars 59 forks source link

Replace Gizmo with CubeGizmo #9

Closed soshochang closed 6 months ago

soshochang commented 6 months ago

CubeGizmo with cube, xyz axis, and triangle controls.

CubeGizmo orientation matches the orientation of the CAD part Clicking on a cube face orients the camera to that face Clicking a triangle arrow rotates the camera

20240429_CubeGizmo

av8ta commented 6 months ago

Hey @soshochang this looks great! Much better than simply fixing the broken gizmo, thanks :)

I've pulled your code down and run it and the cube gizmo is working. Just a few nits to sort out, I'll leave some comments.

MattFerraro commented 6 months ago

Looks great! Yes, after the small changes you requested are in, please go ahead and merge!

soshochang commented 6 months ago

Done! btw I will be working next on adding some more functionality to this

av8ta commented 6 months ago

Merged & live! https://mattferraro.github.io/CADmium/ Thanks again that's a great improvement :)