diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2015-01-19 11:52:24 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2015-01-19 11:52:24 +0300 |
commit | 7b980c1dc934eacb2f54694cad3b4b5b3f73e00e (patch) | |
tree | d725ec5d35e41a97a673df775c1ae8cddd2b6da7 /xs/src/libslic3r/PrintConfig.hpp | |
parent | fc5437f6d34e51c0354d54e6b18e996fd255fde4 (diff) |
New option for vertical distance between object and support material, with special handling of the 0 case that disabled bridge flow/speed in order to allow for soluble material. #2491 #2272 #2069 #1942 #2435 #1703
Diffstat (limited to 'xs/src/libslic3r/PrintConfig.hpp')
-rw-r--r-- | xs/src/libslic3r/PrintConfig.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xs/src/libslic3r/PrintConfig.hpp b/xs/src/libslic3r/PrintConfig.hpp index 500babb88..e622f2e95 100644 --- a/xs/src/libslic3r/PrintConfig.hpp +++ b/xs/src/libslic3r/PrintConfig.hpp @@ -133,6 +133,7 @@ class PrintObjectConfig : public virtual StaticPrintConfig ConfigOptionEnum<SeamPosition> seam_position; ConfigOptionBool support_material; ConfigOptionInt support_material_angle; + ConfigOptionFloat support_material_contact_distance; ConfigOptionInt support_material_enforce_layers; ConfigOptionInt support_material_extruder; ConfigOptionFloatOrPercent support_material_extrusion_width; @@ -159,6 +160,7 @@ class PrintObjectConfig : public virtual StaticPrintConfig this->seam_position.value = spAligned; this->support_material.value = false; this->support_material_angle.value = 0; + this->support_material_contact_distance.value = 0.2; this->support_material_enforce_layers.value = 0; this->support_material_extruder.value = 1; this->support_material_extrusion_width.value = 0; @@ -186,6 +188,7 @@ class PrintObjectConfig : public virtual StaticPrintConfig if (opt_key == "seam_position") return &this->seam_position; if (opt_key == "support_material") return &this->support_material; if (opt_key == "support_material_angle") return &this->support_material_angle; + if (opt_key == "support_material_contact_distance") return &this->support_material_contact_distance; if (opt_key == "support_material_enforce_layers") return &this->support_material_enforce_layers; if (opt_key == "support_material_extruder") return &this->support_material_extruder; if (opt_key == "support_material_extrusion_width") return &this->support_material_extrusion_width; |