mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08:00
class BOPTools_AlgoTools
1. method Standard_Boolean FindPointInFace(const TopoDS_Face& aF,
const gp_Pnt& aP,
gp_Dir& aDB,
gp_Pnt& aPOut,
Handle(IntTools_Context)& theContext,
GeomAPI_ProjectPointOnSurf& aProjPL,
const Standard_Real aDt,
const Standard_Real aTolE)
Use different method of finding a point in the face if the start and projected points are close to each other.
2. method Standard_Real MinStep3D(const TopoDS_Edge& theE1,
const TopoDS_Face& theF1,
const BOPTools_ListOfCoupleOfShape& theLCS,
const gp_Pnt& aP)
The min 3D step has been increased for the spherical faces.
Test case for issue CR25600
Correction of test case for issue CR25600
29 lines
563 B
Plaintext
29 lines
563 B
Plaintext
puts "============"
|
|
puts "OCC24154"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Wrong result of CUT operation
|
|
######################################################
|
|
|
|
restore [locate_data_file bug24154_t.brep] b1
|
|
restore [locate_data_file bug24154_b.brep] b2
|
|
|
|
bop b1 b2
|
|
bopcut result
|
|
|
|
set square 2.68434e+06
|
|
|
|
# Analysis of "nbshapes res"
|
|
set nb_v_good 18
|
|
set nb_e_good 27
|
|
set nb_w_good 11
|
|
set nb_f_good 11
|
|
set nb_sh_good 1
|
|
set nb_sol_good 1
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 1
|
|
set nb_shape_good 70
|
|
|
|
set 2dviewer 1
|