Skip to content

Instantly share code, notes, and snippets.

@unraze
Last active October 7, 2022 21:42
Show Gist options
  • Save unraze/f8bf62300ed6ec6cda4a40c3d5b3d04b to your computer and use it in GitHub Desktop.
Save unraze/f8bf62300ed6ec6cda4a40c3d5b3d04b to your computer and use it in GitHub Desktop.
{
"version": 2,
"name": "Extruder 1",
"inherits": "fdmextruder",
"metadata": {
"machine": "custom",
"position": "0"
},
"overrides": {
"extruder_nr": {
"default_value": 0,
"maximum_value": "7"
},
"material_diameter": { "default_value": 1.75 },
"machine_extruder_start_code": {
"default_value": "G1 F1200 E80\nG92 E0\n;Please do not change the upon code",
"value": "machine_extruder_start_code_1 if max(extruderValues('machine_extruder_count')) > 1 else machine_extruder_start_code_0"
},
"machine_extruder_end_code": {
"default_value": "G1 F1600 E-80\nG92 E0",
"value": "machine_extruder_end_code_1 if max(extruderValues('machine_extruder_count')) > 1 else machine_extruder_end_code_0"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment