0027341: Incorrect exact HLR results
[occt.git] / tests / bugs / modalg_6 / bug26296_1
CommitLineData
1867dc32 1puts "============"
2puts "OCC26296"
3puts "============"
4puts ""
5#######################################################################
6# Errors in BRepOffsetAPI_MakeOffset: failure because of wrong direction of bisector.
7#######################################################################
8
9restore [locate_data_file bug26296_wrong1_face.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 559.215
21checkshape result
22checksection result
1867dc32 23
24 set nbshapes_expected "
25Number of shapes in shape
26 VERTEX : 5
27 EDGE : 5
28 WIRE : 1
29 FACE : 0
30 SHELL : 0
31 SOLID : 0
32 COMPSOLID : 0
33 COMPOUND : 0
34 SHAPE : 11
35"
36 checknbshapes result -ref ${nbshapes_expected} -t -m "Offset"
37
38 display result
39 fit
40}
41
5747059b 42checkview -screenshot -2d -path ${imagedir}/${test_image}.png