1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_6/bug26427
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

32 lines
672 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"
checkview -display result -2d -path ${imagedir}/${test_image}.png