mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Disable retract on layer change when doing spiral vase; also check that we're printing a single-material object
This commit is contained in:
@@ -70,6 +70,7 @@ sub _trigger_config {
|
||||
$self->config->set('fill_density', 0);
|
||||
$self->config->set('top_solid_layers', 0);
|
||||
$self->config->set('support_material', 0);
|
||||
$self->config->set('retract_layer_change', [0]); # TODO: only apply this to the spiral layers
|
||||
}
|
||||
}
|
||||
|
||||
@@ -197,6 +198,9 @@ sub validate {
|
||||
if ((map @{$_->copies}, @{$self->objects}) > 1) {
|
||||
die "The Spiral Vase option can only be used when printing a single object.\n";
|
||||
}
|
||||
if (@{$self->regions} > 1) {
|
||||
die "The Spiral Vase option can only be used when printing single material objects.\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user