mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08:00
Small correction in intersection between Cone and Torus with collinear axes. Test case for issue CR24844
27 lines
497 B
Plaintext
27 lines
497 B
Plaintext
puts "============"
|
|
puts "OCC24844"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Wrong result of Boolean Cut operation
|
|
######################################################
|
|
|
|
restore [locate_data_file bug24844_Comp.brep] c
|
|
explode c
|
|
|
|
bcut result c_1 c_2
|
|
|
|
set square 9.82018
|
|
|
|
set nb_v_good 5
|
|
set nb_e_good 11
|
|
set nb_w_good 6
|
|
set nb_f_good 6
|
|
set nb_sh_good 1
|
|
set nb_sol_good 1
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 1
|
|
set nb_shape_good 31
|
|
|
|
set 2dviewer 1
|