mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
42 lines
1021 B
Plaintext
Executable File
42 lines
1021 B
Plaintext
Executable File
puts "TODO OCC11111 ALL: Faulty OCC21970"
|
|
puts "TODO OCC11111 ALL: Error : The command is not valid. The square is"
|
|
puts "TODO OCC11111 ALL: Error : The square of result shape is 0"
|
|
puts "TODO OCC11111 ALL: Error : is WRONG because number of"
|
|
|
|
puts "============"
|
|
puts "OCC21970"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# FPE exception in BRepMesh on degenerate face not handled in OCCT DRAW on WNT built with VC8 by WOK
|
|
######################################################
|
|
|
|
set BugNumber OCC21970
|
|
|
|
restore [locate_data_file OCC21970-stringers-f485.brep] result
|
|
|
|
set text [incmesh result 1]
|
|
set r [regexp {Failure} $text]
|
|
|
|
set status1 0
|
|
if {$r == 1} {
|
|
set status1 1
|
|
}
|
|
|
|
set square 624989
|
|
|
|
checknbshapes result -vertex 3806 -edge 3808 -wire 756 -face 730 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 9101
|
|
if { ${status1} != 0} {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|
|
|
|
vinit
|
|
tclean result
|
|
vsetdispmode 1
|
|
vdisplay result
|
|
vfit
|
|
|
|
set 3dviewer 1
|