mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06: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:
parent
15d060019f
commit
d51a37a0ae
16 changed files with 642 additions and 451 deletions
|
@ -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...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue