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

19 lines
688 B
Plaintext

puts "========"
puts "OCC26444"
puts "========"
puts ""
####################################################################################
# Boolean operation "bcut" gives invalid result between solid and halfspace solid.
####################################################################################
restore [locate_data_file bug26444_cutting_shape.brep] a
restore [locate_data_file bug26444_shape_to_cut.brep] b
restore [locate_data_file bug26444_ref_out.brep] p2
dump p2
halfspace s1 a -0.541421905726473 0.200000002980232 0.00899999961256981
bcut result b s1
checkprops result -s 0.106547
checkshape result
checkview -display result -2d -path ${imagedir}/${test_image}.png