1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

22 lines
824 B
Plaintext
Executable File

puts "REQUIRED All: Faulty shapes in variables faulty_1 to faulty_"
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
checkshape result
checkprops result -s 43.3075
checkview -display result -2d -path ${imagedir}/${test_image}.png