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

21 lines
756 B
Plaintext
Executable File

puts "========"
puts "OCC278"
puts " (case 1)"
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 OCC278a.brep] a
mkplane result a
checkshape result
checkprops result -s 2914.99
checkview -display result -2d -path ${imagedir}/${test_image}.png