OpenBuilds / OpenBuilds-CAM

Online CNC CAM System
https://cam.openbuilds.com
GNU Affero General Public License v3.0
257 stars 623 forks source link

Todo: WebWorkers #4

Closed petervanderwalt closed 4 months ago

petervanderwalt commented 6 years ago

Rewrite CAM preview render as WebWorker and integrate webworker based GCODE parser (Used in MachineDriver - pull over here)

petervanderwalt commented 5 years 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

petervanderwalt commented 5 years ago

Todo (thoughts for when I can work on it again)

petervanderwalt commented 5 years ago

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

WEBWORKERS

petervanderwalt commented 5 years ago

Went live in https://github.com/OpenBuilds/OpenBuilds-CAM/commit/9b73fc55263ecbc233427ab1e9dd96f0fbd36e3a

petervanderwalt commented 5 years ago

Bugs:

TABS broken: https://github.com/OpenBuilds/OpenBuilds-CAM/issues/53