mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
51 lines
1.2 KiB
Plaintext
Executable File
51 lines
1.2 KiB
Plaintext
Executable File
puts "============"
|
|
puts "OCC22695"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# The algorithm BRepFilletAPI_MakeFillet2d crashes in cases when some original edges of the face degenerate (become punctual)
|
|
#######################################################################
|
|
|
|
set BugNumber OCC22695
|
|
|
|
smallview
|
|
|
|
polyline pp 0 0 0 10 0 0 10 10 0 0 10 0 0 0 0
|
|
mkplane ff pp
|
|
explode ff e
|
|
fit
|
|
|
|
donly ff ff_1 ff_2
|
|
if { [catch {chfi2d res1 ff ff_1 ff_2 F 5} catch_result] } {
|
|
puts "Faulty ${BugNumber}"
|
|
}
|
|
|
|
#checkprops result -l 37.854
|
|
|
|
explode res1 e
|
|
donly res1 res1_3 res1_4
|
|
if { [catch {chfi2d res2 res1 res1_3 res1_4 F 5} catch_result] } {
|
|
puts "Faulty ${BugNumber}"
|
|
}
|
|
|
|
#checkprops result -l 35.708
|
|
|
|
explode res2 e
|
|
donly res2 res2_1 res2_5
|
|
if { [catch {chfi2d res3 res2 res2_1 res2_5 F 5} catch_result] } {
|
|
puts "Faulty ${BugNumber}"
|
|
}
|
|
|
|
#checkprops result -l 33.5619
|
|
|
|
explode res3 e
|
|
donly res3 res3_4 res3_5
|
|
if { [catch {chfi2d result res3 res3_4 res3_5 F 5} catch_result] } {
|
|
puts "Faulty ${BugNumber}"
|
|
}
|
|
|
|
checkprops result -l 31.4159
|
|
checkshape result
|
|
checksection result
|
|
checkview -display result -3d -path ${imagedir}/${test_image}.png
|