mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
Refactoring: moved slicing code to new TriangleMesh class, leaving in STL just what's needed to read that particular input format. Slic3r will now warn if model is not manifold. #16
This commit is contained in:
@@ -20,7 +20,12 @@ sub go {
|
||||
# skein the STL into layers
|
||||
# each layer has surfaces with holes
|
||||
$self->status_cb->(10, "Processing triangulated mesh...");
|
||||
my $print = Slic3r::Print->new_from_stl($self->input_file);
|
||||
my $print;
|
||||
{
|
||||
my $mesh = Slic3r::STL->read_file($self->input_file);
|
||||
$mesh->check_manifoldness;
|
||||
$print = Slic3r::Print->new_from_mesh($mesh);
|
||||
}
|
||||
|
||||
# make skirt
|
||||
$self->status_cb->(15, "Generating skirt...");
|
||||
|
||||
Reference in New Issue
Block a user