Removed firmware definition + code refactoring

- removed firmware definition because it only exists in my local cura 
- refactored code
This commit is contained in:
Patrick G 2019-01-18 12:24:24 +01:00 committed by GitHub
parent 3e925a5cc8
commit 592dbfd52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,21 +7,20 @@
"visible": true, "visible": true,
"author": "Patrick Glatt", "author": "Patrick Glatt",
"manufacturer": "Anycubic", "manufacturer": "Anycubic",
"category": "Other", "category": "Other",
"file_formats": "text/x-gcode", "file_formats": "text/x-gcode",
"icon": "icon_ultimaker2", "icon": "icon_ultimaker2",
"platform": "anycubic_chiron_platform.obj", "platform": "anycubic_chiron_platform.obj",
"platform_texture": "anycubic-chiron.png", "platform_texture": "anycubic-chiron.png",
"has_materials": true, "has_materials": true,
"preferred_material": "generic_pla", "preferred_material": "generic_pla",
"has_machine_quality": true, "has_machine_quality": true,
"quality_definition": "anycubic_chiron", "quality_definition": "anycubic_chiron",
"preferred_quality_type": "normal", "preferred_quality_type": "normal",
"machine_extruder_trains": "machine_extruder_trains":
{ {
"0": "anycubic_chiron_extruder_0" "0": "anycubic_chiron_extruder_0"
}, },
"firmware_file": "CHIRON.hex"
}, },
"overrides": "overrides":
@ -54,16 +53,16 @@
{ {
"default_value": 35 "default_value": 35
}, },
"machine_head_with_fans_polygon": "machine_head_with_fans_polygon":
{ {
"default_value": "default_value":
[ [
[-45, 50], [-45, 50],
[-45, -45], [-45, -45],
[45, 50], [45, 50],
[45, -45] [45, -45]
] ]
}, },
"machine_gcode_flavor": "machine_gcode_flavor":
{ {
"default_value": "RepRap (Marlin/Sprinter)" "default_value": "RepRap (Marlin/Sprinter)"
@ -75,6 +74,6 @@
"machine_end_gcode": "machine_end_gcode":
{ {
"default_value": "G91 ;Change to relative positioning mode for filament retraction and nozzle lifting\nG1 F200 E-4;Retract the filament a bit before lifting the nozzle\nG1 F1000 Z5;Lift nozzle 5mm\nG90 ;Change to absolute positioning mode to prepare for part rermoval\nG1 X0 Y400 ;Move the print to max y pos for part rermoval\nM104 S0 ; Turn off hotend\nM106 S0 ; Turn off cooling fan\nM140 S0 ; Turn off bed\nM84 ; Disable motors\n" "default_value": "G91 ;Change to relative positioning mode for filament retraction and nozzle lifting\nG1 F200 E-4;Retract the filament a bit before lifting the nozzle\nG1 F1000 Z5;Lift nozzle 5mm\nG90 ;Change to absolute positioning mode to prepare for part rermoval\nG1 X0 Y400 ;Move the print to max y pos for part rermoval\nM104 S0 ; Turn off hotend\nM106 S0 ; Turn off cooling fan\nM140 S0 ; Turn off bed\nM84 ; Disable motors\n"
} }
} }
} }