mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Using of input tolerance has been eliminated in Geom2dInt_GInter algorithm called from BRepClass_Intersector::Perform(...) method. Now, the input tolerance is used only for check ON-status of classification.
(cherry picked from commit 748c9dc6ae0d6018018fca585b6d8cf511c0dd0b)
(cherry picked from commit 204e98c0b1
)
25 lines
563 B
Plaintext
25 lines
563 B
Plaintext
puts "========"
|
|
puts "OCC29887: Wrong result of CUT operation due to incorrect point-face classification"
|
|
puts "========"
|
|
puts ""
|
|
|
|
brestore [locate_data_file bug29887_ar_shape_to_cuts.brep] s1
|
|
brestore [locate_data_file bug29887_ar_cutting_shapes.brep] s2
|
|
|
|
bcut result s1 s2
|
|
checknbshapes result -face 2 -wire 2
|
|
|
|
checkshape result
|
|
|
|
if {[regexp "Faulties" [bopargcheck result]]} {
|
|
puts "Error: bopargcheck has found some faulties in result"
|
|
}
|
|
|
|
checkprops result -s 319.71
|
|
|
|
smallview
|
|
don result
|
|
fit
|
|
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|