mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
# reduce enlarging by half to avoid regressions on some blend tests.
This commit is contained in:
@@ -257,8 +257,8 @@ GeomPlate_MakeApprox::GeomPlate_MakeApprox(const Handle(GeomPlate_Surface)& Surf
|
||||
|
||||
Standard_Real U0=0., U1=0., V0=0., V1=0.;
|
||||
myPlate->RealBounds(U0, U1, V0, V1);
|
||||
Standard_Real aDU = (U1 - U0) * (EnlargeCoeff - 1);
|
||||
Standard_Real aDV = (V1 - V0) * (EnlargeCoeff - 1);
|
||||
Standard_Real aDU = (U1 - U0) * (EnlargeCoeff - 1) * 0.5;
|
||||
Standard_Real aDV = (V1 - V0) * (EnlargeCoeff - 1) * 0.5;
|
||||
U0 = U0 - aDU;
|
||||
U1 = U1 + aDU;
|
||||
V0 = V0 - aDV;
|
||||
|
@@ -44,7 +44,7 @@ don a_1 new_edges
|
||||
# compute plate surface
|
||||
pullupface r a_1 old_edges new_edges a_2 -bnd -order 1 -mr 0.4 -step 0.4 -deg 3 -enlarge 1.1
|
||||
|
||||
checkprops r -s 341.201
|
||||
checkprops r -s 286.683
|
||||
|
||||
# check distance from vertices of the initial face to the new face
|
||||
foreach v [explode a_1 v] {
|
||||
|
@@ -44,7 +44,7 @@ don a_1 new_edges
|
||||
# compute plate surface
|
||||
pullupface r a_1 old_edges new_edges a_2 -bnd -order 1 -mr 0.4 -step 0.2 -deg 3 -enlarge 1.1
|
||||
|
||||
checkprops r -s 10.5986
|
||||
checkprops r -s 9.02637
|
||||
|
||||
# check distance from vertices of the initial face to the new face
|
||||
foreach v [explode a_1 v] {
|
||||
|
Reference in New Issue
Block a user