mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0033394: Modeling Algorithms - Wrong usage of BRepClass_FaceClassifier with 3d tolerance
Added the function Tolerance2d(). Now 2d-tolerance is used instead of 3d-tolerance where it's necessary.
This commit is contained in:
14
tests/bugs/modalg_8/bug33394
Normal file
14
tests/bugs/modalg_8/bug33394
Normal file
@@ -0,0 +1,14 @@
|
||||
puts "========================"
|
||||
puts "0033394: Modeling Algorithms - Wrong usage of BRepClass_FaceClassifier with 3d tolerance"
|
||||
puts "========================"
|
||||
puts ""
|
||||
|
||||
pload MODELING
|
||||
restore [locate_data_file bug33394.brep] fb
|
||||
vertex vert 1016.3915670000133 17180 -5689.3758362036951
|
||||
distmini aa fb vert
|
||||
set tolerance [checkmaxtol aa]
|
||||
|
||||
if { [dval aa_val] > ${tolerance} } {
|
||||
puts "Error: The distance should be 0"
|
||||
}
|
Reference in New Issue
Block a user