mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-14 11:12:54 +02:00
Refactoring. Use Model class for representing the plate in GUI
This commit is contained in:
1 parent
f55e057504
commit
0e8a0ef1ca
19 files changed
+610
-620
No files matched your search
@@ -118,8 +118,7 @@ sub slice {
|
||||
# process facets
|
||||
for my $region_id (0 .. $#{$self->meshes}) {
|
||||
my $mesh = $self->meshes->[$region_id] // next; # ignore undef meshes
|
||||
$mesh->repair;
|
||||
|
||||
|
||||
{
|
||||
my $loops = $mesh->slice([ map $_->slice_z, @{$self->layers} ]);
|
||||
for my $layer_id (0..$#$loops) {
|
||||
|
||||
Reference in new issue
Block a user