PartDesign: Fix previous commit + more typos

This commit is contained in:
luzpaz
2017-11-16 21:37:53 -05:00
committed by wmayer
parent cc87c20afe
commit fa0f8cd9a7
2 changed files with 3 additions and 3 deletions

View File

@@ -239,7 +239,7 @@ std::vector<App::DocumentObject*> 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<Part::Datum*>(copy);

View File

@@ -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