Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2021-11-24 15:03:33 +0300
committerGhostkeeper <rubend@tutanota.com>2021-11-24 15:03:33 +0300
commit9a4836a7b082c7778d1fccea51c9d221c18ccf7b (patch)
tree04c2599ded5397c13c7c73178e48fd9b297f6aab /resources/definitions/creality_base.def.json
parent1df859e0467016eccde7b7cb34e548d81995024e (diff)
Increase top distance by 1 layer for profiles using tree support
We changed tree support to have a correct top distance now. If you ask for 0 top distance, you get 0 top distance. If you ask for 0.2mm top distance, you get 0.2mm top distance (rounded to layers). Previously the top distance was too high. Yet it seems that people were happy with how easily Tree Support was removed from the print. So this is a best-effort attempt to keep the final result similar to what it was originally. It won't work for everything, I fear. But it's about as good as we can make it. Contributes to issue CURA-7624.
Diffstat (limited to 'resources/definitions/creality_base.def.json')
-rw-r--r--resources/definitions/creality_base.def.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/definitions/creality_base.def.json b/resources/definitions/creality_base.def.json
index ccf085bb11..ff7cb23ab2 100644
--- a/resources/definitions/creality_base.def.json
+++ b/resources/definitions/creality_base.def.json
@@ -247,7 +247,8 @@
"support_use_towers": { "value": false },
"support_xy_distance": { "value": "wall_line_width_0 * 2" },
"support_xy_distance_overhang": { "value": "wall_line_width_0" },
- "support_z_distance": { "value": "layer_height if layer_height >= 0.16 else layer_height*2" },
+ "support_z_distance": { "value": "layer_height if layer_height >= 0.16 else layer_height * 2" },
+ "support_top_distance": { "value": "extruderValue(support_roof_extruder_nr if support_roof_enable else support_infill_extruder_nr, 'support_z_distance') + (layer_height if support_structure == 'tree' else 0)"},
"support_xy_overrides_z": { "value": "'xy_overrides_z'" },
"support_wall_count": { "value": 1 },
"support_brim_enable": { "value": true },