mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 17:40:24 +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
32 lines
600 B
Plaintext
32 lines
600 B
Plaintext
puts "=========="
|
|
puts "OCC25600"
|
|
puts "=========="
|
|
puts ""
|
|
####################################################
|
|
# Wrong result of Boolean FUSE operation
|
|
####################################################
|
|
|
|
restore [locate_data_file bug25600_helix_pipe.brep] b1
|
|
restore [locate_data_file bug25600_sphere_2.brep] b2
|
|
|
|
bclearobjects
|
|
bcleartools
|
|
baddobjects b1
|
|
baddtools b2
|
|
bfillds -s
|
|
bbop result 1
|
|
|
|
set square 12.2258
|
|
|
|
set nb_v_good 3
|
|
set nb_e_good 6
|
|
set nb_w_good 3
|
|
set nb_f_good 3
|
|
set nb_sh_good 1
|
|
set nb_sol_good 1
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 1
|
|
set nb_shape_good 18
|
|
|
|
set 2dviewer 1
|