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