0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_2 / bug2785_2
CommitLineData
61c421bf 1puts "============"
2puts "OCC2785"
3puts "============"
4puts ""
5######################################################
6# Cut and fuse operations for two faces that share same domain give invalid result
7######################################################
8# Cut and fuse operations for two faces that share same domain gives invalid
9# result, if one face has a hole and other face touches a boundary of this hole.
10######################################################
11## (old topology)
12## (cut)
13## (fuse)
14######################################################
15
16############# data #############
17pcylinder c1 2 10
18pcylinder c2 2 2
19explode c1 f
20explode c2 f
21mksurface gs c2_1
22trim trgs gs 1 2 2 4
23mkface ff trgs
24trim trgs gs 0 1 2 4
25mkface ff2 trgs
26
27bcut rcut1 c1_1 ff
28checkshape rcut1
29
30bcut rcut2 rcut1 ff2
31checkshape rcut2
32
33bfuse fuse1 rcut2 ff2
34checkshape fuse1
35
36bfuse result fuse1 ff
37
58cf74e0 38checkprops result -s 125.664
39checkshape result
5747059b 40checkview -display result -3d -path ${imagedir}/${test_image}.png