mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08:00
Changes:
class BOPAlgo_WireSplitter
static function:
Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
const TopoDS_Edge& aE,
const TopoDS_Face& myFace,
const Standard_Real aA1,
const Standard_Real aA2,
Standard_Real& aA)
The contents of Domain 2D for the straight line has been changed.
class BOPTools_AlgoTools2D
method:
void BOPTools_AlgoTools2D::AdjustPCurveOnFace
(const TopoDS_Face& aF,
const Standard_Real aFirst,
const Standard_Real aLast,
const Handle(Geom2d_Curve)& aC2D,
Handle(Geom2d_Curve)& aC2DA)
The treatment of cylindrical surfaces has been changed taking into account
existing values of tolerances of the edges.
Test cases for issue CR25163
32 lines
654 B
Plaintext
32 lines
654 B
Plaintext
puts "============"
|
|
puts "OCC25163"
|
|
puts "============"
|
|
puts ""
|
|
###############################################################################################
|
|
# Wrong result of common operation for faces.
|
|
###############################################################################################
|
|
|
|
restore [locate_data_file bug25163_qf_25_39.brep] b
|
|
|
|
explode b f
|
|
copy b_1 b1
|
|
copy b_2 b2
|
|
|
|
bop b1 b2
|
|
bopcommon result
|
|
|
|
set square 3417.71
|
|
|
|
# Analysis of "nbshapes result"
|
|
set nb_v_good 4
|
|
set nb_e_good 4
|
|
set nb_w_good 1
|
|
set nb_f_good 1
|
|
set nb_sh_good 1
|
|
set nb_sol_good 0
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 1
|
|
set nb_shape_good 12
|
|
|
|
set 2dviewer 1
|