Skip to content

Commit

Permalink
start code #2
Browse files Browse the repository at this point in the history
  • Loading branch information
zavodik committed Nov 11, 2021
1 parent ba4b2e3 commit c6b7203
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/definitions/z-bolt_S300.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"machine_width": { "default_value": 300 },
"machine_depth": { "default_value": 300 },
"machine_height": { "default_value": 350 },
"machine_start_gcode": { "default_value": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 Z0 ;Home all\nM140 S{material_bed_temperature_layer_0}\nM104 S160\nM190 S{material_bed_temperature_layer_0}\nM109 S160\nG4 P180000; pause\nG34;bed tilt adjustment\nG29;auto bed level\nG1 Z3 F1200 ;move the platform up 3mm\nG1 X0 Y0 F12000\nG1 Z0 F1200 ;move the platform down\nM104 S{material_print_temperature_layer_0}\nM109 S{material_print_temperature_layer_0}\nG1 Z3 F6000 ;move the platform up 3mm\nG92 E0;zero the extruded length\n;intro line\nG1 X0 Y0 F5000\nG1 Z0.2 F2000\nG1 X50 E10 F1500\nG1 X100 E18 F1000\nG92 E0\n" },
"machine_start_gcode": { "default_value": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 Z0 ;Home all\nM140 S{material_bed_temperature_layer_0}\nM104 S160\nG1 Z50 F900\nM190 S{material_bed_temperature_layer_0}\nM109 S160\nG4 P180000; pause\nG34;bed tilt adjustment\nG29;auto bed level\nG1 Z3 F1200 ;move the platform up 3mm\nG1 X0 Y0 F12000\nG1 Z0 F1200 ;move the platform down\nM104 S{material_print_temperature_layer_0}\nM109 S{material_print_temperature_layer_0}\nG1 Z3 F6000 ;move the platform up 3mm\nG92 E0;zero the extruded length\n;intro line\nG1 X0 Y0 F5000\nG1 Z0.2 F2000\nG1 X50 E10 F1500\nG1 X100 E18 F1000\nG92 E0\n" },
"machine_end_gcode": { "default_value": "G91 ;relative positioning\nG1 E-6 F1200 ;start retract\nG1 Z+3 E-10 F5000 ;continue retract\nG90 ;absolute positioning\nG28 X0 Y0\nM104 S0\nM140 S0\nM82\nM106 S255\nM109 S60\nM81 ;power off\n"}
}
}
2 changes: 1 addition & 1 deletion resources/definitions/z-bolt_base.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"machine_head_with_fans_polygon": { "default_value": [ [-34, 19], [-34, -64], [34, -64], [34, 19] ] },
"gantry_height": { "value": 99999 },
"machine_extruder_count": { "value": 1 },
"machine_start_gcode": { "default_value": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 Z0 ;Home all\nM140 S{material_bed_temperature_layer_0}\nM104 S160\nM190 S{material_bed_temperature_layer_0}\nM109 S160\nG4 P180000; pause\nG29;auto bed level\nG1 Z3 F1200 ;move the platform up 3mm\nG1 X0 Y0 F12000\nG1 Z0 F1200 ;move the platform down\nM104 S{material_print_temperature_layer_0}\nM109 S{material_print_temperature_layer_0}\nG1 Z3 F6000 ;move the platform up 3mm\nG92 E0;zero the extruded length\n;intro line\nG1 X0 Y0 F5000\nG1 Z0.2 F2000\nG1 X50 E10 F1500\nG1 X100 E18 F1000\nG92 E0\n" },
"machine_start_gcode": { "default_value": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 Z0 ;Home all\nM140 S{material_bed_temperature_layer_0}\nM104 S160\nG1 Z50 F900\nM190 S{material_bed_temperature_layer_0}\nM109 S160\nG4 P180000; pause\nG29;auto bed level\nG1 Z3 F1200 ;move the platform up 3mm\nG1 X0 Y0 F12000\nG1 Z0 F1200 ;move the platform down\nM104 S{material_print_temperature_layer_0}\nM109 S{material_print_temperature_layer_0}\nG1 Z3 F6000 ;move the platform up 3mm\nG92 E0;zero the extruded length\n;intro line\nG1 X0 Y0 F5000\nG1 Z0.2 F2000\nG1 X50 E10 F1500\nG1 X100 E18 F1000\nG92 E0\n" },
"machine_end_gcode": { "default_value": "G91 ;relative positioning\nG1 E-6 F1200 ;start retract\nG1 Z+3 E-10 F5000 ;continue retract\nG90 ;absolute positioning\nG28 X0 Y0\nM104 S0\nM140 S0\nM82\n" },
"layer_height_0": { "value": "layer_height if layer_height > 0.2 else 0.2"},
"line_width": { "value": "machine_nozzle_size" },
Expand Down

0 comments on commit c6b7203

Please sign in to comment.