JSON feat: z seam position (CURA-1461)

This commit is contained in:
Tim Kuipers 2016-11-11 12:01:41 +01:00
parent bde1e05273
commit 2c1028e137
2 changed files with 29 additions and 1 deletions

View file

@ -264,6 +264,8 @@ class CuraApplication(QtApplication):
shell shell
wall_thickness wall_thickness
top_bottom_thickness top_bottom_thickness
z_seam_x
z_seam_y
infill infill
infill_sparse_density infill_sparse_density
material material

View file

@ -950,13 +950,39 @@
"type": "enum", "type": "enum",
"options": "options":
{ {
"back": "Back", "back": "User Specified",
"shortest": "Shortest", "shortest": "Shortest",
"random": "Random" "random": "Random"
}, },
"default_value": "shortest", "default_value": "shortest",
"settable_per_mesh": true "settable_per_mesh": true
}, },
"z_seam_x":
{
"label": "Z Seam X",
"description": "The X coordinate of the position near where to start printing each part in a layer.",
"unit": "mm",
"type": "float",
"default_value": 100.0,
"value": "machine_width / 2",
"enabled": "'back' in extruderValues('z_seam_type')",
"settable_per_mesh": false,
"settable_per_extruder": false,
"settable_per_meshgroup": 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": "machine_depth / 2",
"enabled": "'back' in extruderValues('z_seam_type')",
"settable_per_mesh": true,
"settable_per_extruder": false,
"settable_per_meshgroup": true
},
"skin_no_small_gaps_heuristic": "skin_no_small_gaps_heuristic":
{ {
"label": "Ignore Small Z Gaps", "label": "Ignore Small Z Gaps",