0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / modalg_5 / bug25298_07
1 puts "============"
2 puts "OCC25298"
3 puts "============"
4 puts ""
5 #######################################################################
6 # New option of BRepOffsetAPI_MakeOffset algorithm: processing of sharp corners in mode GeomAbs_Intersection
7 #######################################################################
8
9 circle cc 0 0 0 10
10 trim cc cc pi 3*pi/2
11 mkedge e1 cc
12 polyline pp 0 -10 0 -10 -10 0 -10 0 0
13 wire ww e1 pp
14
15 smallview
16 display ww
17 fit
18
19 if [catch { mkoffset resoffset ww 1 -0.2 i } ] {
20   puts "Error : mkoffset is wrong"
21 } else {
22   renamevar resoffset_1 result
23
24   set length 24.2333
25
26   checknbshapes result -vertex 3 -edge 3 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 7
27   display result
28   fit
29 }
30
31 set only_screen_axo 1