mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 10:47:50 -06:00
Completely rewritten the slicing algorithm
It should work with any model now. There are still problems with some bridges.
This commit is contained in:
parent
ad27f25c71
commit
459577f9a2
8 changed files with 137 additions and 246 deletions
|
@ -16,10 +16,13 @@ sub go {
|
|||
my $t0 = [gettimeofday];
|
||||
|
||||
# skein the STL into layers
|
||||
# each layer has surfaces with holes; surfaces are distinguished
|
||||
# in top/bottom/internal
|
||||
# each layer has surfaces with holes
|
||||
my $print = Slic3r::Print->new_from_stl($self->input_file);
|
||||
|
||||
# this will detect the type of each surface (top/bottom/internal)
|
||||
# by splitting them if necessary
|
||||
$print->detect_surfaces_type;
|
||||
|
||||
# this will remove unprintable surfaces
|
||||
# (those that are too tight for extrusion)
|
||||
$print->remove_small_surfaces;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue