mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
Changes:
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 adjustment value for 2D curve has been calrified with precision value in parametric space
Test case for issue CR25285
35 lines
643 B
Plaintext
Executable File
35 lines
643 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC25285"
|
|
puts "================"
|
|
puts ""
|
|
#######################################################################
|
|
# Wrong result of General Fuse operation for an edge and a face.
|
|
#######################################################################
|
|
|
|
restore [locate_data_file bug25285_qefx.brep] qefx
|
|
|
|
explode qefx
|
|
copy qefx_1 e
|
|
copy qefx_2 f
|
|
|
|
bclearobjects
|
|
bcleartools
|
|
baddobjects f e
|
|
|
|
bfillds
|
|
bbuild result
|
|
|
|
set square 8.83493
|
|
|
|
set nb_v_good 4
|
|
set nb_e_good 4
|
|
set nb_w_good 1
|
|
set nb_f_good 1
|
|
set nb_sh_good 0
|
|
set nb_sol_good 0
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 1
|
|
set nb_shape_good 11
|
|
|
|
set 3dviewer 1
|