A utility CAD-like application to apply modifications to a prosthetic limb socket STL file, and output the modifications to a GCode file.
In order to test GCode files, use the NCViewer website.
The following links are for learning GCode commands. There is also one link related to the firmware in which app-outputted GCode file will be sent to.
https://all3dp.com/2/3d-printer-g-code-commands-list-tutorial/
https://docs.duet3d.com/en/User_manual/Reference/Gcodes
https://howtomechatronics.com/tutorials/g-code-explained-list-of-most-important-g-code-commands/
https://threejs.org/docs/#api/en/math/Vector3
https://threejs.org/docs/?q=VEctor#api/en/math/Box3
Perhaps look to this repository for a better slicer.
Also perhaps this one for a slicer
Perhaps use this repository as a reference for a WASM Slicer