mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Bugfixes and improvements in surface detection
This commit is contained in:
1 parent
f1a36502e1
commit
2da5ee7448
13 files changed
+202
-67
No files matched your search
@@ -97,4 +97,14 @@ sub nearest_point_to {
|
||||
return Slic3r::Point->cast($point);
|
||||
}
|
||||
|
||||
sub has_segment {
|
||||
my $self = shift;
|
||||
my ($line) = @_;
|
||||
|
||||
for ($self->lines) {
|
||||
return 1 if $_->has_segment($line);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
1;
|
||||
Reference in new issue
Block a user