Fix various typos and grammatical refinements

This commit is contained in:
luz paz
2021-12-08 15:47:13 -05:00
committed by Chris Hennes
parent 5575ae5e09
commit 430aadb791
6 changed files with 12 additions and 12 deletions

View File

@@ -510,7 +510,7 @@ double Helix::safePitch()
double X = Xmax - Xmin, Y = Ymax - Ymin, Z = Zmax - Zmin;
gp_Vec boundingBoxVec(X, Y, Z);
// Below is an approximation becaue since we take the bounding box it is
// Below is an approximation because since we take the bounding box it is
// impossible to calculate it precisely. For example a circle has as bounding
// box a square and thus results in a larger pitch than really necessary
@@ -518,7 +518,7 @@ double Helix::safePitch()
double pitch0 = boundingBoxVec * direction;
if (mode == HelixMode::height_turns_growth) {
// if the distange perpendicular to axisVec
// if the distance perpendicular to axisVec
// between two turns is larger than the bounding box size in this direction
// the minimal necessary pitch is zero
if (abs(growthValue) > abs(boundingBoxVec * directionStart))
@@ -527,7 +527,7 @@ double Helix::safePitch()
return pitch0;
}
else {
// if the angle is so large that the distange perpendicular to axisVec
// if the angle is so large that the distance perpendicular to axisVec
// between two turns is larger than the bounding box size in this direction
// the pitch can be smaller than pitch0
if (tan(abs(angle)) * pitch0 > abs(boundingBoxVec * directionStart))

View File

@@ -77,7 +77,7 @@ bool ReferenceSelection::allow(App::Document* pDoc, App::DocumentObject* pObj, c
return allowDatum(body, pObj);
}
// The flag was used to be set. So, this block will never be treated and doesn't make really sense anyway
// The flag was used to be set. So, this block will never be treated and really doesn't make sense anyway
#if 0
if (!type.testFlag(AllowSelection::OTHERBODY)) {
if (support == NULL)