diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-07-12 04:01:02 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-07-12 04:01:02 +0300 |
commit | c289954753cb790836709fcdb5979606d1bc0c7e (patch) | |
tree | fea6c90f03a0c8b6e08eefe4ad8f515a48f043bc /UVtools.ScriptSample | |
parent | 683a6f4fb4ba0942cb141245c7eff8afb7e43cea (diff) |
v2.14.3v2.14.3
- (Add) Exposure time finder: Base layers print modes, a option to speed up the print process and merge all base layers in the same height
- (Add) GCode tab: Allow to temporarily edit and use custom gcode
- (Change) Zcode: Omit M18 at end of the gcode to prevent carrier goes up and crash to the limit at a end of a print
Diffstat (limited to 'UVtools.ScriptSample')
-rw-r--r-- | UVtools.ScriptSample/ScriptCustomGCode.cs | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/UVtools.ScriptSample/ScriptCustomGCode.cs b/UVtools.ScriptSample/ScriptCustomGCode.cs index c5e7565..5d33cb3 100644 --- a/UVtools.ScriptSample/ScriptCustomGCode.cs +++ b/UVtools.ScriptSample/ScriptCustomGCode.cs @@ -74,7 +74,7 @@ namespace UVtools.ScriptSample }*/ // 0.01 test - gcode.AppendComment("0.01 layer height simulated print test"); + /*gcode.AppendComment("0.01 layer height simulated print test"); pos = 1; layerHeight = 0.01f; @@ -86,7 +86,7 @@ namespace UVtools.ScriptSample pos = Layer.RoundHeight(pos + layerHeight); var liftPos = Layer.RoundHeight(pos + liftHeight); gcode.AppendLiftMoveG0(liftPos, feedrate, pos, feedrate, lightoff); - } + }*/ // 0.001 test /*gcode.AppendComment("0.001 layer height simulated print test"); @@ -121,22 +121,18 @@ namespace UVtools.ScriptSample } */ - /*gcode.AppendMoveG0(2, gcode.ConvertFromMillimetersPerMinute(150)); - gcode.AppendWaitG4(lightoff); - gcode.AppendMoveG0(2.5f, gcode.ConvertFromMillimetersPerMinute(160)); + gcode.AppendLiftMoveG0(20, gcode.ConvertFromMillimetersPerMinute(150), 1, gcode.ConvertFromMillimetersPerMinute(150)); gcode.AppendWaitG4(lightoff); - gcode.AppendMoveG0(3f, gcode.ConvertFromMillimetersPerMinute(170)); + gcode.AppendLiftMoveG0(20, gcode.ConvertFromMillimetersPerMinute(180), 1.5f, gcode.ConvertFromMillimetersPerMinute(180)); gcode.AppendWaitG4(lightoff); - gcode.AppendMoveG0(3.5f, gcode.ConvertFromMillimetersPerMinute(180)); + gcode.AppendLiftMoveG0(20, gcode.ConvertFromMillimetersPerMinute(195), 2, gcode.ConvertFromMillimetersPerMinute(195)); gcode.AppendWaitG4(lightoff); - gcode.AppendMoveG0(4.0f, gcode.ConvertFromMillimetersPerMinute(190)); + gcode.AppendLiftMoveG0(20, gcode.ConvertFromMillimetersPerMinute(200), 2.5f, gcode.ConvertFromMillimetersPerMinute(200)); gcode.AppendWaitG4(lightoff); - gcode.AppendMoveG0(4.5f, gcode.ConvertFromMillimetersPerMinute(195)); + gcode.AppendLiftMoveG0(20, gcode.ConvertFromMillimetersPerMinute(250), 3f, gcode.ConvertFromMillimetersPerMinute(250)); gcode.AppendWaitG4(lightoff); - gcode.AppendMoveG0(5f, gcode.ConvertFromMillimetersPerMinute(199)); + gcode.AppendLiftMoveG0(20, gcode.ConvertFromMillimetersPerMinute(300), 3.5f, gcode.ConvertFromMillimetersPerMinute(300)); gcode.AppendWaitG4(lightoff); - gcode.AppendMoveG0(5.5f, gcode.ConvertFromMillimetersPerMinute(205)); - gcode.AppendWaitG4(lightoff);*/ gcode.AppendMoveG0(100, feedrate); //gcode.AppendTurnMotors(false); |