0026668: Eliminate compile warnings obtained by building occt with vc14: conversion...
[occt.git] / tests / bugs / modalg_3 / bug5805_6
CommitLineData
61c421bf 1puts "============"
2puts "OCC5805"
3puts "============"
4puts ""
5######################################################
6# BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
7######################################################
8
9set BugNumber OCC5805
10
11restore [locate_data_file OCC5805.brep] a
12
13decho off
14set che_a [checkshape a]
15decho on
16if { [regexp {Faulty} $che_a] } {
17 puts "Faulty ${BugNumber} : checkshape is wrong for a"
18}
19
20if { [catch { offsetshape result a -1 } catch_result] } {
21 puts "Faulty ${BugNumber} : offsetshape is wrong"
22}
23
fb60057d 24checkmaxtol result -min_tol 1.
61c421bf 25
26set square 876.584
27
a4eba920 28checknbshapes result -vertex 10 -edge 15 -wire 7 -face 7 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 41
61c421bf 29set 2dviewer 0