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_1/buc60926
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

22 lines
649 B
Plaintext
Executable File

puts "============"
puts "BUC60926"
puts "============"
puts ""
######################################################################
## Creating a sphere of radius 1 at 0,0,0 and a cone with r1=1 r2=2 height=2 angle=3*PI/2 at 1,1,0 and
## then using BRepAlgoAPI_Fuse on the two solids will trigger a segmentation fault.
######################################################################
restore [locate_data_file shading_132.brep] a
checkshape a
restore [locate_data_file BUC60926-2.brep] b
checkshape b
bfuse result a b
checkprops result -s 41.7175
checkshape result
checkview -display result -2d -path ${imagedir}/${test_image}.png