mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
Changed the way of getting point inside face for detecting same domain faces. Adding test case for this fix
26 lines
612 B
Plaintext
Executable File
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
|