gcode-preview
gcode-preview copied to clipboard
A simple GCode parser & previewer with 3D printing in mind. Written in Typescript.
Update threejs version maybe with a `>=` requirement for future proofing and better resolving.
Often there are travel moves above the topmost extrusion layer. Due to the clipping planes, of which the max is initialized at the topmost extrusion layer, those travel lines are...
Notify the user of this. see https://app.logrocket.com/x64tmd/gcode-preview-demo/s/6-0196f284-39c6-7bcd-863d-5b16a517b717/0?dashboardID=logrocket-analytics&fromTab=&interval=1d&persistForm=true&range=1M&rangeEnd=1747895734762&rangeStart=1745303734762 also, while at it, notify when webgl is not supported at all. And where I said 'webgl' possibly replace that with 'webgl2'. bonus...
When no `buildvolume` property is present in defaultSettings, the preview will not load. This is because if this vue binding `v-model="settings.buildVolume.x"`. But on the other hand we want the defaultSettings...
When the extrusion is already fully rendered and then the travel lines are turned on or off, this shouldn't trigger en full render. HOW Extrusion and travel should be created...
When a file is dropped, the number of colors/tools should be inferred form the the loaded file. Random colors may be chosen for the newly allocated colors.
Based on an idea by @merlin-dev-33: What: The idea is to be able to export the currently viewed model as a 3d object. So from gcode to STL for instance....