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_2/bug2986_1
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

31 lines
714 B
Plaintext
Executable File

puts "============"
puts "OCC2986"
puts "============"
puts ""
######################################################
# Cut&fuse oprs. for 2 toroidal faces, sharing the same domain give invalid result
######################################################
## (new topology)
## (bop)
## (bopcut)
## (bfuse)
######################################################
############# data #############
ptorus p1 10 4
explode p1 f
mksurface gs p1_1
trim trgs gs 1 2 1 2
mkface ff trgs
############# testing faces are: p1_1 ff #############
bop p1_1 ff
bopcut rcut1
checkshape rcut1
bfuse result rcut1 ff
checkprops result -s 1579.81
checkshape result
checkview -display result -3d -path ${imagedir}/${test_image}.png