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

27 lines
534 B
Plaintext

puts "========="
puts "OCC22027"
puts "========="
puts ""
###########################################################
# Bop command between two faces raises exception
###########################################################
circle c 0 0 0 25
ellipse e 0 0 0 25 10
mkedge c c
mkedge e e
wire w1 c
wire w2 e
mkplane f1 w1
mkplane f2 w2
bop f1 f2
bopcut result
checkprops result -s 1178.1
checkshape result
checknbshapes result -vertex 2 -edge 4 -wire 2 -face 2
checkview -display result -2d -path ${imagedir}/${test_image}.png