mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027325: [Regression to 6.9.1] geom/revolution_00/A1: BOPTools_AlgoTools2D::AttachExistingPCurve doesn't work
1. Check, if edge is same-range, is now made with some tolerance (not strictly) in GeomLib_CheckCurveOnSurface class. Default value of this tolerance is Precision::PConfusion(). However, this value can be changed with corresponding interface. 2. DRAW-command "attachpcurve" has been added to BOPTest_UtilityCommands.cxx file. This command creates p-curve of given edge on given face. It can assign 2D-curve of one of the edge already included in the face or (if it is not possible) rebuilds new 2D-curve. Creation of test case for this issue. Adjusting test case boolean volumemaker A8 according to its new behavior on Windows.
This commit is contained in:
@@ -114,7 +114,7 @@ Standard_Integer BOPTools_AlgoTools2D::AttachExistingPCurve
|
||||
Handle(Geom_Surface) aSF = BRep_Tool::Surface(aF);
|
||||
//
|
||||
bComp = IntTools_Tools::ComputeTolerance
|
||||
(aCE1, aC2DT, aSF, aT11, aT12, aTolSP, aTMax);
|
||||
(aCE1, aC2DT, aSF, aT11, aT12, aTolSP, aTMax, aTolPPC);
|
||||
if (!bComp) {
|
||||
iRet = 3;
|
||||
return iRet;
|
||||
|
Reference in New Issue
Block a user