mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 10:39:01 +08:00
fix: moved extruder definition settings to a new file fdmextruder.def.json (CURA-1616)
This commit is contained in:
parent
7ce4e23677
commit
214d385dae
119
resources/definitions/fdmextruder.def.json
Normal file
119
resources/definitions/fdmextruder.def.json
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
{
|
||||||
|
"id": "fdmextruder",
|
||||||
|
"name": "Extruder",
|
||||||
|
"version": 2,
|
||||||
|
"metadata":
|
||||||
|
{
|
||||||
|
"type": "extruder",
|
||||||
|
"author": "Ultimaker B.V.",
|
||||||
|
"manufacturer": "Ultimaker",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"settings":
|
||||||
|
{
|
||||||
|
"machine_settings":
|
||||||
|
{
|
||||||
|
"label": "Machine",
|
||||||
|
"type": "category",
|
||||||
|
"description": "Machine specific settings",
|
||||||
|
"children":
|
||||||
|
{
|
||||||
|
"extruder_nr":
|
||||||
|
{
|
||||||
|
"label": "Extruder",
|
||||||
|
"description": "The extruder train used for printing. This is used in multi-extrusion.",
|
||||||
|
"type": "int",
|
||||||
|
"default_value": 0,
|
||||||
|
"minimum_value": "0",
|
||||||
|
"maximum_value": "machine_extruder_count - 1"
|
||||||
|
},
|
||||||
|
"machine_nozzle_offset_x":
|
||||||
|
{
|
||||||
|
"label": "Nozzle X Offset",
|
||||||
|
"description": "The x-coordinate of the offset of the nozzle.",
|
||||||
|
"type": "float",
|
||||||
|
"unit": "mm",
|
||||||
|
"default_value": 0,
|
||||||
|
"global_only": "True"
|
||||||
|
},
|
||||||
|
"machine_nozzle_offset_y":
|
||||||
|
{
|
||||||
|
"label": "Nozzle Y Offset",
|
||||||
|
"description": "The y-coordinate of the offset of the nozzle.",
|
||||||
|
"type": "float",
|
||||||
|
"unit": "mm",
|
||||||
|
"default_value": 0,
|
||||||
|
"global_only": "True"
|
||||||
|
},
|
||||||
|
"machine_extruder_start_code":
|
||||||
|
{
|
||||||
|
"label": "Extruder Start G-Code",
|
||||||
|
"description": "Start g-code to execute whenever turning the extruder on.",
|
||||||
|
"type": "str",
|
||||||
|
"default_value": "",
|
||||||
|
"global_only": "True"
|
||||||
|
},
|
||||||
|
"machine_extruder_start_pos_abs":
|
||||||
|
{
|
||||||
|
"label": "Extruder Start Position Absolute",
|
||||||
|
"description": "Make the extruder starting position absolute rather than relative to the last-known location of the head.",
|
||||||
|
"type": "bool",
|
||||||
|
"default_value": false,
|
||||||
|
"global_only": "True"
|
||||||
|
},
|
||||||
|
"machine_extruder_start_pos_x":
|
||||||
|
{
|
||||||
|
"label": "Extruder Start Position X",
|
||||||
|
"description": "The x-coordinate of the starting position when turning the extruder on.",
|
||||||
|
"type": "float",
|
||||||
|
"unit": "mm",
|
||||||
|
"default_value": 0,
|
||||||
|
"global_only": "True"
|
||||||
|
},
|
||||||
|
"machine_extruder_start_pos_y":
|
||||||
|
{
|
||||||
|
"label": "Extruder Start Position Y",
|
||||||
|
"description": "The y-coordinate of the starting position when turning the extruder on.",
|
||||||
|
"type": "float",
|
||||||
|
"unit": "mm",
|
||||||
|
"default_value": 0,
|
||||||
|
"global_only": "True"
|
||||||
|
},
|
||||||
|
"machine_extruder_end_code":
|
||||||
|
{
|
||||||
|
"label": "Extruder End G-Code",
|
||||||
|
"description": "End g-code to execute whenever turning the extruder off.",
|
||||||
|
"type": "str",
|
||||||
|
"default_value": "",
|
||||||
|
"global_only": "True"
|
||||||
|
},
|
||||||
|
"machine_extruder_end_pos_abs":
|
||||||
|
{
|
||||||
|
"label": "Extruder End Position Absolute",
|
||||||
|
"description": "Make the extruder ending position absolute rather than relative to the last-known location of the head.",
|
||||||
|
"type": "bool",
|
||||||
|
"default_value": false,
|
||||||
|
"global_only": "True"
|
||||||
|
},
|
||||||
|
"machine_extruder_end_pos_x":
|
||||||
|
{
|
||||||
|
"label": "Extruder End Position X",
|
||||||
|
"description": "The x-coordinate of the ending position when turning the extruder off.",
|
||||||
|
"type": "float",
|
||||||
|
"unit": "mm",
|
||||||
|
"default_value": 0,
|
||||||
|
"global_only": "True"
|
||||||
|
},
|
||||||
|
"machine_extruder_end_pos_y":
|
||||||
|
{
|
||||||
|
"label": "Extruder End Position Y",
|
||||||
|
"description": "The y-coordinate of the ending position when turning the extruder off.",
|
||||||
|
"type": "float",
|
||||||
|
"unit": "mm",
|
||||||
|
"default_value": 0,
|
||||||
|
"global_only": "True"
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -4,6 +4,7 @@
|
|||||||
"version": 2,
|
"version": 2,
|
||||||
"metadata":
|
"metadata":
|
||||||
{
|
{
|
||||||
|
"type": "machine",
|
||||||
"author": "Ultimaker B.V.",
|
"author": "Ultimaker B.V.",
|
||||||
"category": "Ultimaker",
|
"category": "Ultimaker",
|
||||||
"manufacturer": "Ultimaker",
|
"manufacturer": "Ultimaker",
|
||||||
@ -12,6 +13,10 @@
|
|||||||
"preferred_material": "pla",
|
"preferred_material": "pla",
|
||||||
"preferred_quality": "normal"
|
"preferred_quality": "normal"
|
||||||
},
|
},
|
||||||
|
"machine_extruder_trains":
|
||||||
|
{
|
||||||
|
"0": "fdmextruder"
|
||||||
|
},
|
||||||
"settings":
|
"settings":
|
||||||
{
|
{
|
||||||
"machine_settings":
|
"machine_settings":
|
||||||
@ -242,92 +247,6 @@
|
|||||||
"minimum_value": "0.001",
|
"minimum_value": "0.001",
|
||||||
"maximum_value_warning": "10"
|
"maximum_value_warning": "10"
|
||||||
},
|
},
|
||||||
"machine_nozzle_offset_x":
|
|
||||||
{
|
|
||||||
"label": "Nozzle X Offset",
|
|
||||||
"description": "The x-coordinate of the offset of the nozzle.",
|
|
||||||
"type": "float",
|
|
||||||
"unit": "mm",
|
|
||||||
"default_value": 0,
|
|
||||||
"global_only": "True"
|
|
||||||
},
|
|
||||||
"machine_nozzle_offset_y":
|
|
||||||
{
|
|
||||||
"label": "Nozzle Y Offset",
|
|
||||||
"description": "The y-coordinate of the offset of the nozzle.",
|
|
||||||
"type": "float",
|
|
||||||
"unit": "mm",
|
|
||||||
"default_value": 0,
|
|
||||||
"global_only": "True"
|
|
||||||
},
|
|
||||||
"machine_extruder_start_code":
|
|
||||||
{
|
|
||||||
"label": "Extruder Start G-Code",
|
|
||||||
"description": "Start g-code to execute whenever turning the extruder on.",
|
|
||||||
"type": "str",
|
|
||||||
"default_value": "",
|
|
||||||
"global_only": "True"
|
|
||||||
},
|
|
||||||
"machine_extruder_start_pos_abs":
|
|
||||||
{
|
|
||||||
"label": "Extruder Start Position Absolute",
|
|
||||||
"description": "Make the extruder starting position absolute rather than relative to the last-known location of the head.",
|
|
||||||
"type": "bool",
|
|
||||||
"default_value": false,
|
|
||||||
"global_only": "True"
|
|
||||||
},
|
|
||||||
"machine_extruder_start_pos_x":
|
|
||||||
{
|
|
||||||
"label": "Extruder Start Position X",
|
|
||||||
"description": "The x-coordinate of the starting position when turning the extruder on.",
|
|
||||||
"type": "float",
|
|
||||||
"unit": "mm",
|
|
||||||
"default_value": 0,
|
|
||||||
"global_only": "True"
|
|
||||||
},
|
|
||||||
"machine_extruder_start_pos_y":
|
|
||||||
{
|
|
||||||
"label": "Extruder Start Position Y",
|
|
||||||
"description": "The y-coordinate of the starting position when turning the extruder on.",
|
|
||||||
"type": "float",
|
|
||||||
"unit": "mm",
|
|
||||||
"default_value": 0,
|
|
||||||
"global_only": "True"
|
|
||||||
},
|
|
||||||
"machine_extruder_end_code":
|
|
||||||
{
|
|
||||||
"label": "Extruder End G-Code",
|
|
||||||
"description": "End g-code to execute whenever turning the extruder off.",
|
|
||||||
"type": "str",
|
|
||||||
"default_value": "",
|
|
||||||
"global_only": "True"
|
|
||||||
},
|
|
||||||
"machine_extruder_end_pos_abs":
|
|
||||||
{
|
|
||||||
"label": "Extruder End Position Absolute",
|
|
||||||
"description": "Make the extruder ending position absolute rather than relative to the last-known location of the head.",
|
|
||||||
"type": "bool",
|
|
||||||
"default_value": false,
|
|
||||||
"global_only": "True"
|
|
||||||
},
|
|
||||||
"machine_extruder_end_pos_x":
|
|
||||||
{
|
|
||||||
"label": "Extruder End Position X",
|
|
||||||
"description": "The x-coordinate of the ending position when turning the extruder off.",
|
|
||||||
"type": "float",
|
|
||||||
"unit": "mm",
|
|
||||||
"default_value": 0,
|
|
||||||
"global_only": "True"
|
|
||||||
},
|
|
||||||
"machine_extruder_end_pos_y":
|
|
||||||
{
|
|
||||||
"label": "Extruder End Position Y",
|
|
||||||
"description": "The y-coordinate of the ending position when turning the extruder off.",
|
|
||||||
"type": "float",
|
|
||||||
"unit": "mm",
|
|
||||||
"default_value": 0,
|
|
||||||
"global_only": "True"
|
|
||||||
},
|
|
||||||
"machine_use_extruder_offset_to_offset_coords":
|
"machine_use_extruder_offset_to_offset_coords":
|
||||||
{
|
{
|
||||||
"label": "Offset With Extruder",
|
"label": "Offset With Extruder",
|
||||||
@ -2201,15 +2120,6 @@
|
|||||||
"description": "Settings used for printing with multiple extruders.",
|
"description": "Settings used for printing with multiple extruders.",
|
||||||
"children":
|
"children":
|
||||||
{
|
{
|
||||||
"extruder_nr":
|
|
||||||
{
|
|
||||||
"label": "Extruder",
|
|
||||||
"description": "The extruder train used for printing. This is used in multi-extrusion.",
|
|
||||||
"type": "int",
|
|
||||||
"default_value": 0,
|
|
||||||
"minimum_value": "0",
|
|
||||||
"maximum_value": "machine_extruder_count - 1"
|
|
||||||
},
|
|
||||||
"adhesion_extruder_nr":
|
"adhesion_extruder_nr":
|
||||||
{
|
{
|
||||||
"label": "Platform Adhesion Extruder",
|
"label": "Platform Adhesion Extruder",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user