Skip to content

Commit

Permalink
Fix various typos
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz authored and chennes committed Aug 13, 2023
1 parent 91cfb15 commit 3d0bfa2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Gui/View3DInventorViewer.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class GuiExport View3DInventorViewer : public Quarter::SoQTQuarterAdaptor, publi
//@{
enum ViewerMod {
ShowCoord=1, /**< Enables the Coordinate system in the corner. */
ShowFPS =2, /**< Enables the Frams per Second counter. */
ShowFPS =2, /**< Enables the Frames Per Second counter. */
SimpleBackground=4,/**< switch to a simple background. */
DisallowRotation=8,/**< switch off the rotation. */
DisallowPanning=16,/**< switch off the panning. */
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/femexamples/constraint_contact_shell_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

def get_information():
return {
"name": "Constraint Constact Shell Shell",
"name": "Constraint Contact Shell Shell",
"meshtype": "face",
"meshelement": "Tria3",
"constraints": ["fixed", "force", "contact"],
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Part/App/Attacher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ Base::Placement AttachEngine3D::calculateAttachedPlacement(const Base::Placement
try{
adapt.D2(u,p,d,dd);
} catch (Standard_Failure &e){
//ignore. This is brobably due to insufficient continuity.
//ignore. This is probably due to insufficient continuity.
dd = gp_Vec(0., 0., 0.);
Base::Console().Warning("AttachEngine3D::calculateAttachedPlacement: can't calculate second derivative of curve. OCC error: %s\n", e.GetMessageString());
}
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/PartDesign/fcgear/involute.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def _create_involute_profile(
# To get rid of the sin(t) part we assume phi "very small", i.e. sin(phi) becomes 0.
# This is justyfied because Rci is much larger than fi and the parallax error is
# neglectable. Next we substitute the parameter t by pi/2-q-pi. For one to account for the
# tangent angle definitions (see above), and then to turn our cicle by 180° as for the
# tangent angle definitions (see above), and then to turn our circle by 180° as for the
# inner fillet we need the third quadrant of the circle (NB: we are looking at the upper
# half of the right most tooth, i.e. the involute grows downwards!). This results in
# sqrt(2*fi*Rci*cos(-1/2*pi - q) + fi**2 + Rci**2) which simplifies to
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/Gui/EditModeConstraintCoinManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ void EditModeConstraintCoinManager::processConstraints(const GeoListFacade& geol
static_cast<const Part::GeomCircle*>(geo1);
const Part::GeomCircle* circle2 =
static_cast<const Part::GeomCircle*>(geo2);
// tangency between two cicles
// tangency between two circles
Base::Vector3d dir =
(circle2->getCenter() - circle1->getCenter()).Normalize();
pos = circle1->getCenter() + dir * circle1->getRadius();
Expand Down

0 comments on commit 3d0bfa2

Please sign in to comment.