Disable retract on layer change when doing spiral vase; also check that we're printing a single-material object
This commit is contained in:
parent
a73020c10e
commit
a86c48d85c
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,7 @@ sub _trigger_config {
|
||||||
$self->config->set('fill_density', 0);
|
$self->config->set('fill_density', 0);
|
||||||
$self->config->set('top_solid_layers', 0);
|
$self->config->set('top_solid_layers', 0);
|
||||||
$self->config->set('support_material', 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) {
|
if ((map @{$_->copies}, @{$self->objects}) > 1) {
|
||||||
die "The Spiral Vase option can only be used when printing a single object.\n";
|
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";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue