mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Bugfixes and improvements in surface detection
This commit is contained in:
@@ -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