|
|
|
@ -349,18 +349,18 @@ class jsLog {
|
|
|
|
|
|
|
|
|
|
var wmGCommands = {
|
|
|
|
|
CustomCmd : new wmGCommandItem('',null,null,'Custom command'),
|
|
|
|
|
MoveFw : new wmGCommandItem('G1','Y{0}',10,'Move forward on Y axis'),
|
|
|
|
|
MoveBw : new wmGCommandItem('G1','Y-{0}',10,'Move backward on Y axis'),
|
|
|
|
|
MoveSx : new wmGCommandItem('G1','X{0}',10,'Move left on X axis'),
|
|
|
|
|
MoveDx : new wmGCommandItem('G1','X-{0}',10,'Move right on X axis'),
|
|
|
|
|
MoveUp : new wmGCommandItem('G1','Z{0}',10,'Move up on Z axis'),
|
|
|
|
|
MoveDw : new wmGCommandItem('G1','Z-{0}',10,'Move down on Z axis'),
|
|
|
|
|
MoveFw : new wmGCommandItem('G1','Y{0}',10,'Move Y forward'),
|
|
|
|
|
MoveBw : new wmGCommandItem('G1','Y-{0}',10,'Move Y backward'),
|
|
|
|
|
MoveSx : new wmGCommandItem('G1','X{0}',10,'Move X left'),
|
|
|
|
|
MoveDx : new wmGCommandItem('G1','X-{0}',10,'Move X right'),
|
|
|
|
|
MoveUp : new wmGCommandItem('G1','Z{0}',10,'Move Z up'),
|
|
|
|
|
MoveDw : new wmGCommandItem('G1','Z-{0}',10,'Move Z down'),
|
|
|
|
|
FillRetrive : new wmGCommandItem('G10',null,null,'Retract filament'),
|
|
|
|
|
FillExtrude : new wmGCommandItem('GYYYY',null,null,'Extrude filament'),
|
|
|
|
|
MoveHome : new wmGCommandItem('G28',null,null,'Go home on all axis'),
|
|
|
|
|
MoveHomeX : new wmGCommandItem('G28','X',null,'Go home on X axis'),
|
|
|
|
|
MoveHomeY : new wmGCommandItem('G28','Y',null,'Go home on Y axis'),
|
|
|
|
|
MoveHomeZ : new wmGCommandItem('G28','Z',null,'Go home on Z axis'),
|
|
|
|
|
MoveHome : new wmGCommandItem('G28',null,null,'Home all axes'),
|
|
|
|
|
MoveHomeX : new wmGCommandItem('G28','X',null,'Home X axis'),
|
|
|
|
|
MoveHomeY : new wmGCommandItem('G28','Y',null,'Home Y axis'),
|
|
|
|
|
MoveHomeZ : new wmGCommandItem('G28','Z',null,'Home Z axis'),
|
|
|
|
|
StepEnable : new wmGCommandItem('M17','{0}','E X Y Z','Enable stepper'),
|
|
|
|
|
StepEnableAll : new wmGCommandItem('M17',null,null,'Enable all steppers'),
|
|
|
|
|
StepDisable : new wmGCommandItem('M18','{0}','E X Y Z','Disable stepper'),
|
|
|
|
|