5 #################################################
6 # Boolean Operations algorithm does not preserve the orientations of the faces
7 #################################################
9 brestore [locate_data_file bug29293_etchable_face_compound.brep] a
10 brestore [locate_data_file bug29293_top_shell.brep] b
26 checkprops result -s 13460
27 checknbshapes result -vertex 4 -edge 4 -wire 1 -face 1 -shell 1
34 # Check that the normal directions have been preserved.
35 # Both input faces faces have normals
36 # directed stricly to the top (0, 0, 1). So, it is necessary to check
37 # that the reuslting face has the same normal direction.
39 if {![regexp "(0, 0, 100)" [normals result -length 100 -print]]} {
40 puts "Error: the orientation is changed"
43 checkview -screenshot -2d -path ${imagedir}/${test_image}_1.png