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

28 lines
640 B
Plaintext
Executable File

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