JSON: made parent-child relations logical (CURA-1171)

the child should depend foremost on the parent
no parent may be used in the engine
This commit is contained in:
Tim Kuipers 2016-03-15 17:48:58 +01:00
parent 0bf41cf528
commit 65499bd06c

View File

@ -374,14 +374,6 @@
}
}
},
"alternate_extra_perimeter": {
"label": "Alternate Extra Wall",
"description": "Make an extra wall at every second layer, so that infill will be caught between an extra wall above and one below. This results in a better cohesion between infill and walls, but might have an impact on the surface quality.",
"type": "boolean",
"default": false,
"visible": false,
"inherit": false
},
"top_bottom_thickness": {
"label": "Bottom/Top Thickness",
"description": "This controls the thickness of the bottom and top layers. The number of solid layers put down is calculated from the layer thickness and this value. Having this value a multiple of the layer thickness makes sense. Keep it near your wall thickness to make an evenly strong part.",
@ -439,6 +431,15 @@
}
}
},
"alternate_extra_perimeter": {
"label": "Alternate Extra Wall",
"description": "Make an extra wall at every second layer, so that infill will be caught between an extra wall above and one below. This results in a better cohesion between infill and walls, but might have an impact on the surface quality.",
"type": "boolean",
"default": false,
"visible": false,
"inherit": false
},
"remove_overlapping_walls_enabled": {
"label": "Remove Overlapping Wall Parts",
"description": "Remove parts of a wall which share an overlap which would result in overextrusion in some places. These overlaps occur in thin pieces in a model and sharp corners.",
@ -996,8 +997,8 @@
"default": true,
"visible": false,
"enabled": "retraction_combing",
"global_only": "True",
"children": {
"global_only": "True"
},
"travel_avoid_distance": {
"label": "Avoid Distance",
"description": "The distance to stay clear of parts which are avoided during travel.",
@ -1008,10 +1009,8 @@
"max_value_warning": "machine_nozzle_tip_outer_diameter * 5",
"visible": false,
"inherit": false,
"enabled": "retraction_combing",
"enabled": "retraction_combing and travel_avoid_other_parts",
"global_only": "True"
}
}
},
"coasting_enable": {
"label": "Enable Coasting",
@ -1071,8 +1070,8 @@
"description": "Enable the cooling fan during the print. The extra cooling from the cooling fan helps parts with small cross sections that print each layer quickly.",
"type": "boolean",
"default": true,
"global_only": "True",
"children": {
"global_only": "True"
},
"cool_fan_speed": {
"label": "Fan Speed",
"description": "Fan speed used for the print cooling fan on the printer head.",
@ -1083,6 +1082,7 @@
"default": 100,
"visible": false,
"inherit_function": "100.0 if parent_value else 0.0",
"enabled": "cool_fan_enabled",
"global_only": "True",
"children": {
"cool_fan_speed_min": {
@ -1094,6 +1094,7 @@
"max_value": "100",
"default": 100,
"visible": false,
"enabled": "cool_fan_enabled",
"global_only": "True"
},
"cool_fan_speed_max": {
@ -1105,11 +1106,10 @@
"max_value": "100",
"default": 100,
"visible": false,
"enabled": "cool_fan_enabled",
"global_only": "True"
}
}
}
}
},
"cool_fan_full_at_height": {
"label": "Fan Full on at Height",
@ -1457,8 +1457,8 @@
"min_value": "0",
"max_value_warning": "10",
"visible": false,
"enabled": "support_enable and support_use_towers",
"children": {
"enabled": "support_enable and support_use_towers"
},
"support_minimal_diameter": {
"label": "Minimum Diameter",
"description": "Minimum diameter in the X/Y directions of a small area which is to be supported by a specialized support tower.",
@ -1471,8 +1471,6 @@
"inherit": true,
"visible": false,
"enabled": "support_enable and support_use_towers"
}
}
},
"support_tower_roof_angle": {
"label": "Tower Roof Angle",