mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user