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/bug25237
emv 3e594885aa 0025237: Wrong result of COMMON operation
Modifications in Edge/Edge intersection algorithm:
1. Condition to create common part of type TopAbs_EDGE is changed.
2. Correct treatment of closed edges.

Small correction to eliminate warning.

Test case for issue #25237
2014-09-25 15:58:17 +04:00

24 lines
470 B
Plaintext

puts "================"
puts "OCC25237"
puts "================"
puts ""
####################################
# Wrong result of COMMON operation
####################################
restore [locate_data_file bug25237_b26.brep] e1
restore [locate_data_file bug25237_b5.brep] e2
bop e1 e2
bopcommon result
set nb_v_good 2
set nb_e_good 1
set nb_w_good 1
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 5