mirror of
https://github.com/teachingtechYT/teachingtechYT.github.io.git
synced 2024-08-30 18:23:26 +00:00
Merge gcode processing into one function
Instead of functions for each gcode generator, one function that processes common changes plus specific for each test. Much less code and easier to add future tests.
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
var originalSquare = `;process Process-1
|
||||
var firstlayer = [];
|
||||
|
||||
firstlayer["40_20"] = `
|
||||
;process Process-1
|
||||
;layer 1, Z = 0.200
|
||||
T0
|
||||
G92 E0.0000
|
||||
|
Reference in New Issue
Block a user