mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Refactored Model.cpp/hpp to C++x11 loops, simplified the mesh / bbox handling.
This commit is contained in:
@@ -28,9 +28,6 @@ my %opt = ();
|
||||
|
||||
{
|
||||
my $model = Slic3r::Model->read_from_file($ARGV[0]);
|
||||
|
||||
# make sure all objects have at least one defined instance
|
||||
$model->add_default_instances;
|
||||
$_->center_around_origin for @{$model->objects}; # and align to Z = 0
|
||||
|
||||
my $app = Slic3r::ViewMesh->new;
|
||||
|
||||
Reference in New Issue
Block a user