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

20 lines
638 B
Plaintext

puts "=========="
puts "OCC25715"
puts "=========="
puts ""
#############################################################
# Intersection between cylinders produces excess vertices
#############################################################
# don't change nbshapes values according to 25715
pcylinder s1 0.069 0.6
pcylinder s2 0.024, 0.4
trotate s1 0 0 0 0 0 1 90
trotate s2 0 0 0 0 1 0 90
trotate s2 0 0 0 1 0 0 -45
ttranslate s2 -0.2 0 0.48
bcut result s1 s2
checknbshapes result -vertex 4 -edge 6 -wire 6 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 23
checkview -display result -2d -path ${imagedir}/${test_image}.png