diff options
author | Ghostkeeper <rubend@tutanota.com> | 2022-02-03 17:55:31 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2022-02-03 17:55:31 +0300 |
commit | 5cc8fdeb7ac076f4074634b76eafc1ca6a3388d2 (patch) | |
tree | a8031ac8741cbcf65e23c50714840ff0b889dd5c /cura | |
parent | d1540ff65294e0045484d37324357ca4785a972d (diff) |
Count multiple raft interface layers
We need the raft thickness to determine the maximum height of the model. If using multiple interface layers, this height should be reduced.
Contributes to issue CURA-8915.
Diffstat (limited to 'cura')
-rwxr-xr-x | cura/BuildVolume.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 64dc4faceb..2aefb4823a 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -601,6 +601,7 @@ class BuildVolume(SceneNode): if self._adhesion_type == "raft": self._raft_thickness = ( self._global_container_stack.getProperty("raft_base_thickness", "value") + + self._global_container_stack.getProperty("raft_interface_layers", "value") * self._global_container_stack.getProperty("raft_interface_thickness", "value") + self._global_container_stack.getProperty("raft_surface_layers", "value") * self._global_container_stack.getProperty("raft_surface_thickness", "value") + @@ -1214,7 +1215,7 @@ class BuildVolume(SceneNode): _machine_settings = ["machine_width", "machine_depth", "machine_height", "machine_shape", "machine_center_is_zero"] _skirt_settings = ["adhesion_type", "skirt_gap", "skirt_line_count", "skirt_brim_line_width", "brim_width", "brim_line_count", "raft_margin", "draft_shield_enabled", "draft_shield_dist", "initial_layer_line_width_factor"] - _raft_settings = ["adhesion_type", "raft_base_thickness", "raft_interface_thickness", "raft_surface_layers", "raft_surface_thickness", "raft_airgap", "layer_0_z_overlap"] + _raft_settings = ["adhesion_type", "raft_base_thickness", "raft_interface_layers", "raft_interface_thickness", "raft_surface_layers", "raft_surface_thickness", "raft_airgap", "layer_0_z_overlap"] _extra_z_settings = ["retraction_hop_enabled", "retraction_hop"] _prime_settings = ["extruder_prime_pos_x", "extruder_prime_pos_y", "prime_blob_enable"] _tower_settings = ["prime_tower_enable", "prime_tower_size", "prime_tower_position_x", "prime_tower_position_y", "prime_tower_brim_enable"] |