0023853: BOP regression (2) - BRepAlgoAPI_Cut.
[occt.git] / tests / bugs / modalg_5 / bug23876
1 puts "============"
2 puts "OCC23876"
3 puts "============"
4 puts ""
5 ###############################################################################################
6 # New Boolean Operation algorithm works incorrect with cylinder made by revolution and torus
7 ###############################################################################################
8
9 vertex v1 10 0 0
10 vertex v2 20 0 0
11 vertex v3 10 0 50
12 vertex v4 20 0 50
13 edge e1 v1 v3
14 edge e2 v3 v4
15 edge e3 v2 v4
16 edge e4 v2 v1
17 wire w e1 e2 e3 e4
18 mkplane f w
19 revol b1 f 0 0 0 0 0 1 360
20 don b1
21 ptorus b2 15 5
22 ttranslate b2 0 0 50
23
24 bop b1 b2
25 bopcommon result
26
27 set square 2422.92
28 set 2dviewer 0
29