mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Make angle increment (i.e. angle resolution) configurable
This commit is contained in:
@@ -79,7 +79,7 @@ sub check_angle {
|
||||
|
||||
# our epsilon is equal to the steps used by the bridge detection algorithm
|
||||
###use XXX; YYY [ rad2deg($result), $expected ];
|
||||
return defined $result && abs(rad2deg($result) - $expected) < rad2deg(PI/36);
|
||||
return defined $result && abs(rad2deg($result) - $expected) < rad2deg($bd->resolution);
|
||||
}
|
||||
|
||||
__END__
|
||||
|
||||
Reference in New Issue
Block a user