0027015: Sewing returns invalid shape if some faces are nearly plane cones
[occt.git] / tests / bugs / modalg_2 / bug307_2
CommitLineData
a87752f3 1puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_1"
58cf74e0 2puts "TODO OCC12345 ALL: Error : The area of result shape is"
a87752f3 3
4pload QAcommands
5
6puts "================"
7puts "OCC307"
8puts "SAM1265"
9puts "================"
10puts ""
11
12restore [locate_data_file OCC307.brep] f
13
14set che [checkshape f]
15if { [regexp {Faulty} $che] == 1} {
16 puts "Warning OCC307: Source shape is invalid. It was detected by Checkshape command"
17} else {
18 puts "OCC307 OK: Source shape is valid"
19}
20
21explode f f
22
23renamevar f w
24
25explode w w
26
27OCC307 result1 f_4 w_6 1
28OCC307 result2 f_5 result1 1
29
352ffd73 30checkshape result1
a87752f3 31renamevar result2 result
32
58cf74e0 33checkprops result -s 0
34checkshape result
5747059b 35checkview -display result -2d -path ${imagedir}/${test_image}.png