0027322: geom/revolution_00/A1: Incorrect pcurve creation
[occt.git] / tests / bugs / modalg_5 / bug25298_16
CommitLineData
c19dd45e 1puts "============"
2puts "OCC25298"
3puts "============"
4puts ""
5#######################################################################
6# New option of BRepOffsetAPI_MakeOffset algorithm: processing of sharp corners in mode GeomAbs_Intersection
7#######################################################################
8
9restore [locate_data_file bug25298_Offset_Test.brep] a
10
11smallview
12display a
13fit
14
15if [catch { mkoffset resoffset a 1 -5. i } ] {
16 puts "Error : mkoffset is wrong"
17} else {
18 renamevar resoffset_1 result
19
58cf74e0 20 checkprops result -l 409.27
21checkshape result
22checksection result
c19dd45e 23
a4eba920 24 checknbshapes result -vertex 7 -edge 7 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 15
c19dd45e 25 display result
26 fit
27}
28
5747059b 29checkview -screenshot -2d -path ${imagedir}/${test_image}.png