mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 05:54:03 -06:00
Cleanup lines resulting from plane intersection before detecting polygons. This allows for more tolerance with dirty models. Performance impact depends on how many layers are detected as dirty. #16 #28
This commit is contained in:
parent
fec816b065
commit
c5d5e4d244
10 changed files with 259 additions and 132 deletions
|
@ -31,13 +31,9 @@ has 'retract_speed' => (
|
|||
default => sub { $Slic3r::retract_speed * 60 }, # mm/min
|
||||
);
|
||||
|
||||
use Slic3r::Geometry qw(points_coincide);
|
||||
use Slic3r::Geometry qw(points_coincide PI X Y);
|
||||
use XXX;
|
||||
|
||||
use constant PI => 4 * atan2(1, 1);
|
||||
use constant X => 0;
|
||||
use constant Y => 1;
|
||||
|
||||
sub move_z {
|
||||
my $self = shift;
|
||||
my ($z) = @_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue