0030386: Modeling Algorithms - Unable to perform Cut operation
[occt.git] / tests / bugs / modalg_7 / bug30092
1 puts "========"
2 puts "OCC30092: Modeling Algorithms - Invalid result of Section operation"
3 puts "========"
4 puts ""
5
6
7 restore [locate_data_file bug26795_c.brep] c
8 explode c f
9
10 # modify c_2 face
11 line l 20004.7983876926 2164.22470816234 210.858020395251 -0.716336050762455 0.65536108806844 0.239508886314894
12 mkedge e l -0.2 0.2
13 settolerance e 0.04
14
15 bclearobjects
16 bcleartools
17 baddobjects c_2
18 baddtools e
19 bfillds
20 bsplit c_2
21
22 # perform section operation
23 bclearobjects
24 bcleartools
25 baddobjects e c_1
26 baddtools c_2
27 bfillds
28 bbop result 4
29
30 checkshape result
31 checknbshapes result -vertex 5 -edge 4
32 checkprops result -l 1250.44