mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
Duplication is now performed on generated toolpaths instead of mesh (speed boost). #179
This commit is contained in:
parent
90c6ed3b20
commit
e0e2023a5a
4 changed files with 63 additions and 41 deletions
|
@ -16,6 +16,7 @@ has 'edges_facets' => (is => 'ro', default => sub { [] }); # id => [ $f1_id, $f
|
|||
use constant MIN => 0;
|
||||
use constant MAX => 1;
|
||||
|
||||
# always make sure BUILD is idempotent
|
||||
sub BUILD {
|
||||
my $self = shift;
|
||||
|
||||
|
@ -303,6 +304,7 @@ sub duplicate {
|
|||
}
|
||||
}
|
||||
push @{$self->facets}, @new_facets;
|
||||
$self->BUILD;
|
||||
}
|
||||
|
||||
sub bounding_box {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue