PartDesign: Fix previous commit + more typos
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user