0026342: No materials are read from STEP
[occt.git] / tests / bugs / modalg_6 / bug26296_3
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_v6_linearc_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
20 set length 622.764
21
22 set nbshapes_expected "
23Number of shapes in shape
24 VERTEX : 5
25 EDGE : 5
26 WIRE : 1
27 FACE : 0
28 SHELL : 0
29 SOLID : 0
30 COMPSOLID : 0
31 COMPOUND : 0
32 SHAPE : 11
33"
34 checknbshapes result -ref ${nbshapes_expected} -t -m "Offset"
35
36 display result
37 fit
38}
39
40set only_screen_axo 1