More misc. typos

This commit is contained in:
luz.paz
2018-05-19 12:17:52 -04:00
parent 3534ebfbda
commit 43244aa762
27 changed files with 38 additions and 38 deletions

View File

@@ -246,7 +246,7 @@ def write_fenics_mesh_xdmf(fem_mesh_obj, outputfile, group_values_dict={}, encod
base_geometry = ET.SubElement(base_grid, "Geometry")
# TODO: for the general mesh: write out topology and geometry in grid node
# TOOD: for every marked group write own grid node with topology (ref if cells)
# TODO: for every marked group write own grid node with topology (ref if cells)
# geometry ref, attribute
#####################################

View File

@@ -810,7 +810,7 @@ int MeshGeomFacet::IntersectWithFacet (const MeshGeomFacet& rclFacet,
// With extremely acute-angled triangles it may happen that the algorithm
// claims an intersection but the intersection points are far outside the
// model. So, a plausability check is to verify that the intersection points
// model. So, a plausibility check is to verify that the intersection points
// are inside the bounding boxes of both triangles.
Base::BoundBox3f box1 = this->GetBoundBox();
if (!box1.IsInBox(rclPt0) || !box1.IsInBox(rclPt1))

View File

@@ -382,7 +382,7 @@ bool EarClippingTriangulator::Triangulate::Process(const std::vector<Base::Vecto
nv--;
/* resest error detection counter */
/* reset error detection counter */
count = 2*nv;
}
}

View File

@@ -1205,7 +1205,7 @@ Base::Placement AttachEngine3D::calculateAttachedPlacement(Base::Placement origP
case mmFrenetTN:
case mmFrenetTB:
case mmRevolutionSection:
case mmConcentric: {//all alignments to poing on curve
case mmConcentric: {//all alignments to point on curve
if (shapes.size() < 1)
throw Base::ValueError("AttachEngine3D::calculateAttachedPlacement: no subshapes specified (need one edge, and an optional vertex).");

View File

@@ -189,7 +189,7 @@ struct SuggestResult{
std::set<eRefType> nextRefTypeHint;
/**
* @brief reachableModes. List of modes that can be reached by selecing
* @brief reachableModes. List of modes that can be reached by selecting
* more references. Is a map, where key is the mode that can be reached,
* and value is a list of reference sequences that can be added to reach
* the mode (stuff already linked is omitted from these lists; only extra

View File

@@ -609,7 +609,7 @@ void CmdPartDesignMoveTip::activated(int iMsg)
doCommand(Gui,"Gui.activeDocument().show(\"%s\")", selFeature->getNameInDocument());
}
// TOOD: Hide all datum features after the Tip feature? But the user might have already hidden some and wants to see
// TODO: Hide all datum features after the Tip feature? But the user might have already hidden some and wants to see
// others, so we would have to remember their state somehow
updateActive();
}

View File

@@ -639,7 +639,7 @@ void TaskBoxPrimitives::setPrimitive(QString name)
// Execute the Python block
// No need to open a transaction because this is already done in the command
// class or when starting to edit a primitve.
// class or when starting to edit a primitive.
Gui::Command::runCommand(Gui::Command::Doc, cmd.toUtf8());
Gui::Command::runCommand(Gui::Command::Doc, "App.ActiveDocument.recompute()");
}

View File

@@ -151,7 +151,7 @@ protected Q_SLOTS:
PartDesignGui::ViewProviderTransformed *getTopTransformedView () const;
/**
* Returns the base transformated object
* Returns the base transformed object
* For stand alone features it will be objects associated with this object
* For features inside multitransform it will be the base multitransform object
*/

View File

@@ -3213,7 +3213,7 @@ void Area::toPath(Toolpath &path, const std::list<TopoDS_Shape> &shapes,
(pstart.*setter)(resume_height);
gp_Pnt plast,p;
// initial vertial rapid pull up to retraction (or start Z height if higher)
// initial vertical rapid pull up to retraction (or start Z height if higher)
(p.*setter)(std::max(retraction,(pstart.*getter)()));
addGCode(false,path,plast,p,"G0");
plast = p;
@@ -3225,7 +3225,7 @@ void Area::toPath(Toolpath &path, const std::list<TopoDS_Shape> &shapes,
plast = p;
p = pstart;
}
// vertial rapid down to feed start
// vertical rapid down to feed start
addGCode(false,path,plast,p,"G0");
plast = p;

View File

@@ -69,7 +69,7 @@ namespace geoff_geometry {
bool bClosed = Closed();
int nspans = nSpans();
if(bClosed) {
Get(nspans, curSpan, true); // assign previus span for closed
Get(nspans, curSpan, true); // assign previous span for closed
prevSpanOff = curSpan.Offset(offset);
nspans++; // read first again

View File

@@ -55,7 +55,7 @@ public:
void step(double tick);
void setToWaypoint(unsigned int n);
void setToTime(float t);
// apply the start axis angles and set to time 0. Restors the exact start position
// apply the start axis angles and set to time 0. Restores the exact start position
void reset(void);
double Pos;

View File

@@ -115,7 +115,7 @@ void GraphicsView::resizeEvent(QResizeEvent *event)
//QDialog *dialog = new QDialog(0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint);
////dialog->setWindowOpacity(0.8);
//dialog->setWindowTitle(tr("Titel"));
//dialog->setWindowTitle(tr("Title"));
//dialog->setLayout(new QVBoxLayout);
//dialog->layout()->addWidget(new QLabel(tr("Use mouse wheel to zoom model, and click and drag to rotate model")));
//dialog->layout()->addWidget(new QLabel(tr("Move the sun around to change the light position")));

View File

@@ -832,7 +832,7 @@ class SpreadsheetView(QtGui.QWidget):
self.table.item(r,c).setBackground(brush)
def changeCell(self,r,c,value=None):
"changes the contens of a cell"
"changes the contents of a cell"
if self.doNotChange:
if DEBUG: print("DoNotChange flag is set")
self.doNotChange = False

View File

@@ -166,7 +166,7 @@ void DrawViewDimension::onChanged(const App::Property* prop)
}
if (prop == &Arbitrary) {
if (!Arbitrary.getValue()) {
FormatSpec.setValue(getDefaultFormatSpec().c_str()); //restore a useable FormatSpec
FormatSpec.setValue(getDefaultFormatSpec().c_str()); //restore a usable FormatSpec
}
}