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/bug25625
emv ee5ee7db3b 0025625: Boolean COMMON cannot be built
class BOPTools_AlgoTools2D
method void BOPTools_AlgoTools2D::Make2D (const TopoDS_Edge& aE,
                                   const TopoDS_Face& aF,
                                   Handle(Geom2d_Curve)& aC2D,
                                   Standard_Real& aFirst,
                                   Standard_Real& aLast,
                                   Standard_Real& aToler)

Perform projection with the tolerance of the edge.

Test case for issue CR25625
2014-12-25 18:01:31 +03:00

28 lines
523 B
Plaintext

puts "================"
puts "OCC25625"
puts "================"
puts ""
####################################
# Boolean COMMON cannot be built
####################################
restore [locate_data_file bug25625_shape1_fix.brep] b1
restore [locate_data_file bug25625_shape2_fix.brep] b2
bop b1 b2
bopcommon result
set square 0.985997
set nb_v_good 10
set nb_e_good 11
set nb_w_good 2
set nb_f_good 2
set nb_sh_good 1
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 27
set 2dviewer 1