xyz-tools / gcode-preview

A simple GCode parser & previewer lib with 3D printing in mind. Written in Typescript.
https://gcode-preview.web.app/
MIT License
160 stars 31 forks source link

Provide Custom Element version of the lib #178

Open remcoder opened 4 months ago

remcoder commented 4 months ago

Inspired by model-viewer, it would be nice to wrap the lib in a custom element. This would be useful no matter what framework one is using.

See also: https://modelviewer.dev/

optionally some UI components can be incorporated: the gcode sliders. Possibly some view controls (2d / 3d mode)