mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 21:46:30 +01:00
Optimization: split meshes automatically when avoid_crossing_perimeters is enabled, so that we reduce the complexity of the MotionPlanner graphs. This commit includes a very large refactoring of the Model class which is now responsible for duplication and arrangement
This commit is contained in:
1 parent
e33ca54943
commit
08a0bbd7f0
12 files changed
+300
-109
No files matched your search
+3
-1
@@ -30,7 +30,9 @@ sub model {
|
||||
}
|
||||
|
||||
my $model = Slic3r::Model->new;
|
||||
$model->add_object(vertices => $vertices)->add_volume(facets => $facets);
|
||||
my $object = $model->add_object(vertices => $vertices);
|
||||
$object->add_volume(facets => $facets);
|
||||
$object->add_instance(offset => [0,0]);
|
||||
return $model;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user