mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Merge pull request #5935 from trouch/feature/z-seam-position
feat: "Z-Seam Position" presets to ease XY setting
This commit is contained in:
commit
00b5abda94
1 changed files with 44 additions and 20 deletions
|
@ -1399,29 +1399,53 @@
|
||||||
"limit_to_extruder": "wall_0_extruder_nr",
|
"limit_to_extruder": "wall_0_extruder_nr",
|
||||||
"settable_per_mesh": true
|
"settable_per_mesh": true
|
||||||
},
|
},
|
||||||
"z_seam_x":
|
"z_seam_position":
|
||||||
{
|
{
|
||||||
"label": "Z Seam X",
|
"label": "Z Seam Position",
|
||||||
"description": "The X coordinate of the position near where to start printing each part in a layer.",
|
"description": "The position near where to start printing each part in a layer.",
|
||||||
"unit": "mm",
|
"type": "enum",
|
||||||
"type": "float",
|
"options":
|
||||||
"default_value": 100.0,
|
{
|
||||||
"value": "machine_width / 2",
|
"backleft": "Back Left",
|
||||||
|
"back": "Back",
|
||||||
|
"backright": "Back Right",
|
||||||
|
"right": "Right",
|
||||||
|
"frontright": "Front Right",
|
||||||
|
"front": "Front",
|
||||||
|
"frontleft": "Front Left",
|
||||||
|
"left": "Left"
|
||||||
|
},
|
||||||
"enabled": "z_seam_type == 'back'",
|
"enabled": "z_seam_type == 'back'",
|
||||||
|
"default_value": "back",
|
||||||
"limit_to_extruder": "wall_0_extruder_nr",
|
"limit_to_extruder": "wall_0_extruder_nr",
|
||||||
"settable_per_mesh": true
|
"settable_per_mesh": true,
|
||||||
},
|
"children":
|
||||||
"z_seam_y":
|
{
|
||||||
{
|
"z_seam_x":
|
||||||
"label": "Z Seam Y",
|
{
|
||||||
"description": "The Y coordinate of the position near where to start printing each part in a layer.",
|
"label": "Z Seam X",
|
||||||
"unit": "mm",
|
"description": "The X coordinate of the position near where to start printing each part in a layer.",
|
||||||
"type": "float",
|
"unit": "mm",
|
||||||
"default_value": 100.0,
|
"type": "float",
|
||||||
"value": "machine_depth * 3",
|
"default_value": 100.0,
|
||||||
"enabled": "z_seam_type == 'back'",
|
"value": "0 if (z_seam_position == 'frontleft' or z_seam_position == 'left' or z_seam_position == 'backleft') else machine_width/2 if (z_seam_position == 'front' or z_seam_position == 'back') else machine_width",
|
||||||
"limit_to_extruder": "wall_0_extruder_nr",
|
"enabled": "z_seam_type == 'back'",
|
||||||
"settable_per_mesh": true
|
"limit_to_extruder": "wall_0_extruder_nr",
|
||||||
|
"settable_per_mesh": true
|
||||||
|
},
|
||||||
|
"z_seam_y":
|
||||||
|
{
|
||||||
|
"label": "Z Seam Y",
|
||||||
|
"description": "The Y coordinate of the position near where to start printing each part in a layer.",
|
||||||
|
"unit": "mm",
|
||||||
|
"type": "float",
|
||||||
|
"default_value": 100.0,
|
||||||
|
"value": "0 if (z_seam_position == 'frontleft' or z_seam_position == 'front' or z_seam_position == 'frontright') else machine_depth/2 if (z_seam_position == 'left' or z_seam_position == 'right') else machine_depth",
|
||||||
|
"enabled": "z_seam_type == 'back'",
|
||||||
|
"limit_to_extruder": "wall_0_extruder_nr",
|
||||||
|
"settable_per_mesh": true
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"z_seam_corner":
|
"z_seam_corner":
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue