1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/tests/bugs/moddata/bug278_3
apn 355c155147 Adding testing cases from chl group
Modified END file of all group bugs. Command nbshape moved to END file. Add begin with variable subgroup
Small correction in END file
Replaced test case bug726_3 from moddata to modalg
2012-12-28 18:50:48 +04:00

27 lines
824 B
Plaintext
Executable File

puts "========"
puts "OCC278"
puts " (case 3)"
puts "========"
######################################################################
##Command "checkshape" does not define self-crossing for some wires and assigns status "valid" for them.
## NOTE akm: there is no actual intersection - it was a bug in displaying complicated curves (my patch deals with it)
## NOTE akm: wire alone is only a curve in the space so it may intersect itself.
## NOTE akm: bug after putting it on plane checkshape found the pb.
#######################################################################
restore [locate_data_file OCC278c.brep] a
mkplane result a
decho off
set che [checkshape result]
decho on
if { [regexp "Faulty" $che] != 1 } {
puts "Error (case 3) : Checkshape command works wrongly"
}
set square 43.3075
set 2dviewer 0