1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-20 12:45:50 +03:00
occt/tests/bugs/heal/bug25823
akz 696d81d000 0025823: Self Intersecting wire translated from STEP file
The number of points to divide the edge curve on a segments to compute a
boundary box does not provide a good tolerance. So a resultant boundary
box has an incorrect bounds. As a result the intersection near to a
tangent of curve does not detected.

Test case for issue CR25823
2015-02-19 15:14:57 +03:00

24 lines
570 B
Plaintext
Executable File

puts "================"
puts "OCC25823"
puts "================"
puts ""
#######################################################################################
# Self Intersecting wire translated from STEP file
#######################################################################################
set BugNumber OCC25823
set aFile [locate_data_file bug25823_280612.stp]
stepread $aFile a *
set aLog [checkshape a_1]
if {$aLog == "This shape seems to be valid" } {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}
smallview
fit
set only_screen_axo 1