0027784: Thickness fails on cylinder with draft
[occt.git] / tests / bugs / modalg_7 / bug25395_2
1 puts "TODO OCC25395 ALL: Standard_ConstructionError"
2 puts "TODO OCC25395 ALL:TEST INCOMPLETE"
3
4 puts "========"
5 puts "OCC25395"
6 puts "========"
7 puts ""
8 #######################################################
9 # SIGSEGV in BRepOffsetAPI_MakeThickSolid
10 #######################################################
11
12 ellipse Ellipse-curve 0 0 0 100.87 22
13 mkedge Ellipse-edge Ellipse-curve 0 6.28318530718
14 wire Ellipse-wire Ellipse-edge
15 mkplane Ellipse Ellipse-wire
16 ttranslate Ellipse 0 -27 184.5
17
18 explode Ellipse E
19 wire Sweep-0-spine Ellipse_1
20 mksweep Sweep-0-spine
21
22 setsweep -CF
23
24 circle Circle-curve 0 0 0 18
25 mkedge Circle-edge Circle-curve 0 0
26 wire Circle Circle-edge
27 trotate Circle 0 0 0 0 -1 0 90
28 ttranslate Circle 0 -70 202.5
29
30 addsweep Circle 
31
32 buildsweep Sweep -C -S
33
34 box Box001 300 90 300
35 ttranslate Box001 -150 -27 0
36
37 bcut Cut031 Sweep Box001
38
39 box Box002 300 100 30
40 ttranslate Box002 -150 -100 202.5
41
42 bcut Cut032 Cut031 Box002
43 explode Cut032 F
44
45 offsetparameter 1e-7 p a
46 offsetload Cut032 1 Cut032_3 Cut032_2 Cut032_4
47 offsetperform Thickness
48
49 checkview -display Thickness -2d -path ${imagedir}/${test_image}.png