1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_6/bug26427
2015-12-17 14:52:19 +03:00

32 lines
621 B
Plaintext
Executable File

puts "============"
puts "OCC26427"
puts "============"
puts ""
###############################
## Draft angle algorithm produces wrong shape
###############################
restore [locate_data_file OCC26426-prism_shape.brep] b1
explode b1 f
depouille result b1 0 0 -1 b1_1 -10 0 0 -40 0 0 1
set square 2245.39
set nbshapes_expected "
Number of shapes in shape
VERTEX : 16
EDGE : 24
WIRE : 10
FACE : 10
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 62
"
checknbshapes result -ref ${nbshapes_expected} -t -m "Shape produced by Draft angle algorithm"
set 2dviewer 0