Closed petervanderwalt closed 4 months ago
Did some work, Gcode Preview is running in WebWorker
As of https://github.com/OpenBuilds/OpenBuilds-CAM/commit/004f5ace6fb9665866d7e0cf36a989a177ee38c4 there is a some work toward doing the toolpath calculation in WebWorker
Todo (thoughts for when I can work on it again)
A little sneak. (; yeah visually its not much, but regular users will remember the browser locking up for a couple seconds. Now a) it doesnt lock up as it does the calculations in a seperate thread and b) it runs them concurrently, not sequencially: more work done in the same time with multiple operations
Bugs:
TABS broken: https://github.com/OpenBuilds/OpenBuilds-CAM/issues/53
Rewrite CAM preview render as WebWorker and integrate webworker based GCODE parser (Used in MachineDriver - pull over here)