1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/modalg_5/bug24040
emv e656bcbe59 0024040: The result of CUT operation is not correct
Changed the way of getting point inside face for detecting same domain faces.
Adding test case for this fix
2013-07-04 14:19:17 +04:00

26 lines
612 B
Plaintext
Executable File

puts "================"
puts "OCC24040"
puts "================"
puts ""
#######################################################################
# The result of CUT operation is not correct
#######################################################################
restore [locate_data_file bug24040_b1.brep] b1
restore [locate_data_file bug24040_b2.brep] b2
bop b1 b2
bopcut result
#the result should be empty compound
# Analysis of "nbshapes res"
set nb_v_good 0
set nb_e_good 0
set nb_w_good 0
set nb_f_good 0
set nb_sh_good 0
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 1