mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-22 10:21:39 -07:00
Fix JSON formatting of start g-code
No newlines allowed.
This commit is contained in:
parent
455721130c
commit
ba2c9cb21e
1 changed files with 2 additions and 12 deletions
|
|
@ -31,18 +31,8 @@
|
||||||
[32, 34]
|
[32, 34]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"machine_start_gcode": { "default_value": "
|
"machine_start_gcode": {
|
||||||
; Ender 3 Custom Start G-code
|
"default_value": "; Ender 3 Custom Start G-code\nG92 E0 ; Reset Extruder\nG28 ; Home all axes\nG1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed\nG1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position\nG1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line\nG1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little\nG1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line\nG92 E0 ; Reset Extruder\nG1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed\nG1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish"
|
||||||
G92 E0 ; Reset Extruder
|
|
||||||
G28 ; Home all axes
|
|
||||||
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
|
|
||||||
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
|
|
||||||
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line
|
|
||||||
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little
|
|
||||||
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line
|
|
||||||
G92 E0 ; Reset Extruder
|
|
||||||
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
|
|
||||||
G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"gantry_height": { "value": 25 }
|
"gantry_height": { "value": 25 }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue