diff --git a/src/Mod/PartDesign/Gui/TaskFeaturePick.cpp b/src/Mod/PartDesign/Gui/TaskFeaturePick.cpp index 465def011e..177b259931 100644 --- a/src/Mod/PartDesign/Gui/TaskFeaturePick.cpp +++ b/src/Mod/PartDesign/Gui/TaskFeaturePick.cpp @@ -239,7 +239,7 @@ std::vector TaskFeaturePick::buildFeatures() QString t = item->data(Qt::UserRole).toString(); auto obj = App::GetApplication().getDocument(documentName.c_str())->getObject(t.toLatin1().data()); - //build the dependend copy or reference if wanted by the user + //build the dependent copy or reference if wanted by the user if (*st == otherBody || *st == otherPart || *st == notInBody) { if (!ui->radioXRef->isChecked()) { auto copy = makeCopy(obj, "", ui->radioIndependent->isChecked()); @@ -366,7 +366,7 @@ App::DocumentObject* TaskFeaturePick::makeCopy(App::DocumentObject* obj, std::st obj->getClassTypeId().getName(), name.c_str() ); //we need to reference the individual datums and make again datums. This is important as - //datum adjust their size dependend on the part size, hence simply copying the shape is + //datum adjust their size dependent on the part size, hence simply copying the shape is //not enough long int mode = mmDeactivated; Part::Datum *datumCopy = static_cast(copy); diff --git a/src/Mod/PartDesign/Scripts/Gear.py b/src/Mod/PartDesign/Scripts/Gear.py index cff57c3421..2846006799 100644 --- a/src/Mod/PartDesign/Scripts/Gear.py +++ b/src/Mod/PartDesign/Scripts/Gear.py @@ -36,7 +36,7 @@ def compute(): FreeCAD.Console.PrintError("Wrong input! Only numbers allowed...\n") - #tooth hieght + #tooth height h=2*y*m+c #pitch diameter