0025957: nurbsconvert modifies original shape
[occt.git] / tests / bugs / modalg_6 / bug26444
1 puts "========"
2 puts "OCC26444"
3 puts "========"
4 puts ""
5 ####################################################################################
6 # Boolean operation "bcut" gives invalid result between solid and halfspace solid.
7 ####################################################################################
8
9 restore [locate_data_file bug26444_cutting_shape.brep] a
10 restore [locate_data_file bug26444_shape_to_cut.brep] b
11 restore [locate_data_file bug26444_ref_out.brep] p2
12 dump p2
13 halfspace s1 a -0.541421905726473 0.200000002980232 0.00899999961256981
14 bcut result b s1
15
16 checkprops result -s 0.106547 
17 checkshape result
18 checkview -display result -2d -path ${imagedir}/${test_image}.png