c19dd45e |
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 | restore [locate_data_file bug25225_2869_open.brep] a |
10 | |
11 | smallview |
12 | display a |
13 | fit |
14 | |
15 | if [catch { openoffset resoffset a 1 -10 i } ] { |
16 | puts "Error : mkoffset is wrong" |
17 | } else { |
18 | renamevar resoffset_1 result |
19 | |
20 | set length 159.96 |
21 | |
a4eba920 |
22 | checknbshapes result -vertex 3 -edge 2 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 6 |
c19dd45e |
23 | display result |
24 | fit |
25 | } |
26 | |
27 | set only_screen_axo 1 |