Skip to content

Commit

Permalink
Profile corrections
Browse files Browse the repository at this point in the history
Extruder definitions should be per printer rather than in the base printer
  • Loading branch information
HellAholic committed Jul 20, 2024
1 parent 793946b commit 5ff041f
Show file tree
Hide file tree
Showing 21 changed files with 43 additions and 97 deletions.
3 changes: 2 additions & 1 deletion resources/definitions/mingda_1000pro.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda 1000Pro",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"quality_definition": "mingda_base"
},
"overrides":
Expand Down
2 changes: 1 addition & 1 deletion resources/definitions/mingda_1000proplus.def.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"name": "Mingda 1000Pro+",
"inherits": "mingda_base",
"metadata":
Expand Down
2 changes: 1 addition & 1 deletion resources/definitions/mingda_400d.def.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"name": "Mingda 400D",
"inherits": "mingda_base",
"metadata":
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_4h.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda 4H",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"quality_definition": "mingda_base"
},
"overrides":
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_600pro.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda 600Pro",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"quality_definition": "mingda_base"
},
"overrides":
Expand Down
2 changes: 1 addition & 1 deletion resources/definitions/mingda_600proplus.def.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"name": "Mingda 600Pro+",
"inherits": "mingda_base",
"metadata":
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_6h.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda 6H",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"quality_definition": "mingda_base"
},
"overrides":
Expand Down
3 changes: 1 addition & 2 deletions resources/definitions/mingda_base.def.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"name": "Mingda Base Printer",
"inherits": "fdmprinter",
"metadata":
Expand All @@ -18,7 +18,6 @@
"has_machine_quality": true,
"has_materials": true,
"has_variants": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"preferred_material": "generic_pla",
"preferred_quality_type": "standard",
"preferred_variant_name": "0.4mm Nozzle",
Expand Down
28 changes: 0 additions & 28 deletions resources/definitions/mingda_base_extruder_0.def.json

This file was deleted.

28 changes: 0 additions & 28 deletions resources/definitions/mingda_base_extruder_1.def.json

This file was deleted.

3 changes: 2 additions & 1 deletion resources/definitions/mingda_d2.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda D2",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"platform": "mingda_d2_base.stl",
"platform_offset": [
-205,
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_d3pro.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda D3/Pro",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"platform": "mingda_rock3_base.stl",
"platform_offset": [
-179,
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_d4pro.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda D4 Pro",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"platform": "mingda_d4pro_base.stl",
"platform_offset": [
-177,
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_magician_max.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda Magician Max",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"platform": "mingda_magician_max_base.stl",
"platform_offset": [
0,
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_magician_maxplus.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda Magician Max2",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"platform": "mingda_magician_max_base.stl",
"platform_offset": [
0,
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_magician_pro.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda Magician Pro",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"platform": "mingda_magician_pro_base.stl",
"platform_offset": [
0,
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_magician_proplus.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda Magician Pro2",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"platform": "mingda_magician_pro_base.stl",
"platform_offset": [
0,
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_magician_x.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda Magician X",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"platform": "mingda_magician_x_base.stl",
"platform_offset": [
0,
Expand Down
3 changes: 2 additions & 1 deletion resources/definitions/mingda_magician_xplus.def.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"version": 2,
"version": 3,
"name": "Mingda Magician X2",
"inherits": "mingda_base",
"metadata":
{
"visible": true,
"machine_extruder_trains": { "0": "mingda_base_extruder_0" },
"platform": "mingda_magician_x2_base.stl",
"platform_offset": [
0,
Expand Down
14 changes: 13 additions & 1 deletion resources/extruders/mingda_base_extruder_0.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,19 @@
},
"overrides":
{
"extruder_nr": { "default_value": 0 },
"extruder_nr":
{
"default_value": 0,
"maximum_value": 1
},
"machine_extruder_end_pos_abs": { "default_value": true },
"machine_extruder_end_pos_x": { "value": "prime_tower_position_x" },
"machine_extruder_end_pos_y": { "value": "prime_tower_position_y" },
"machine_extruder_start_pos_abs": { "default_value": true },
"machine_extruder_start_pos_x": { "value": "prime_tower_position_x" },
"machine_extruder_start_pos_y": { "value": "prime_tower_position_y" },
"machine_nozzle_offset_x": { "default_value": 0.0 },
"machine_nozzle_offset_y": { "default_value": 0.0 },
"machine_nozzle_size": { "default_value": 0.4 },
"material_diameter": { "default_value": 1.75 }
}
Expand Down
22 changes: 0 additions & 22 deletions resources/extruders/mingda_base_extruder_1.def.json

This file was deleted.

0 comments on commit 5ff041f

Please sign in to comment.