JSON: new: z_seam_type; bugfix: inherit for top/bottom when 100% infill

This commit is contained in:
Tim Kuipers 2015-08-24 12:05:31 +02:00
parent 6047d85c7f
commit 48ea630896

View file

@ -321,7 +321,7 @@
"default": 6,
"type": "int",
"visible": false,
"inherit_function": "0 if support_infill_rate == 100 else math.ceil(parent_value / layer_height)"
"inherit_function": "0 if infill_sparse_density == 100 else math.ceil(parent_value / layer_height)"
}
}
},
@ -341,7 +341,7 @@
"default": 6,
"type": "int",
"visible": false,
"inherit_function": "999999 if support_infill_rate == 100 else math.ceil(parent_value / layer_height)"
"inherit_function": "999999 if infill_sparse_density == 100 else math.ceil(parent_value / layer_height)"
}
}
}
@ -433,6 +433,18 @@
"type": "float",
"default": 0,
"visible": false
},
"z_seam_type": {
"label": "Z Seam Alignment",
"description": "Starting point of each part in a layer. When parts in consecutive layers start at the same point a vertical seam may show on the print. When aligning these at the back, the seam is easiest to remove. When placed randomly the inaccuracies at the part start will be less noticable. When taking the shortest path the print will be more quick.",
"type": "enum",
"options": [
"Back",
"Shortest",
"Random"
],
"default": "Shortest",
"visible": false
}
}
},