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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-02-14 14:36:04 +0300
committerbubnikv <bubnikv@gmail.com>2017-02-14 14:36:04 +0300
commit420e38705524bb49c15020d4a0b05f21e85a7f9c (patch)
treedcdf5cbad60def17171f6199d61321745131e5d7 /lib
parentce8973b33a5b1422ad3f896378391cdf5e03ab23 (diff)
new feature: Clip multi-part objects one by the other.
This works the same way as if the XY compensation was set to a tiny value before, but without the overhead of an offset.
Diffstat (limited to 'lib')
-rw-r--r--lib/Slic3r/GUI/Tab.pm3
-rw-r--r--lib/Slic3r/Print.pm2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Slic3r/GUI/Tab.pm b/lib/Slic3r/GUI/Tab.pm
index 845c57b84..e06fde2ff 100644
--- a/lib/Slic3r/GUI/Tab.pm
+++ b/lib/Slic3r/GUI/Tab.pm
@@ -557,7 +557,7 @@ sub build {
external_perimeter_extrusion_width infill_extrusion_width solid_infill_extrusion_width
top_infill_extrusion_width support_material_extrusion_width
infill_overlap bridge_flow_ratio
- xy_size_compensation threads resolution
+ clip_multipart_objects xy_size_compensation threads resolution
));
$self->{config}->set('print_settings_id', '');
@@ -750,6 +750,7 @@ sub build {
}
{
my $optgroup = $page->new_optgroup('Other');
+ $optgroup->append_single_option_line('clip_multipart_objects');
$optgroup->append_single_option_line('xy_size_compensation');
$optgroup->append_single_option_line('threads') if $Slic3r::have_threads;
$optgroup->append_single_option_line('resolution');
diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm
index 5ccd38b41..87d0398ca 100644
--- a/lib/Slic3r/Print.pm
+++ b/lib/Slic3r/Print.pm
@@ -425,7 +425,7 @@ sub write_gcode {
# Wait for 1/4 seconds and try to rename once again.
select(undef, undef, undef, 0.25);
}
- Slic3r::debugf "Faild to remove the output G-code file from $tempfile to $file. Is $tempfile locked?\n" if ($i == 5);
+ Slic3r::debugf "Failed to remove the output G-code file from $tempfile to $file. Is $tempfile locked?\n" if ($i == 5);
}
}