diff --git a/src/Mod/Path/App/AreaParams.h b/src/Mod/Path/App/AreaParams.h index 9fe578a419..49c65bf802 100644 --- a/src/Mod/Path/App/AreaParams.h +++ b/src/Mod/Path/App/AreaParams.h @@ -91,7 +91,7 @@ ((short,min_arc_points,MinArcPoints,4,"Minimum segments for arc discretization"))\ ((short,max_arc_points,MaxArcPoints,100,"Maximum segments for arc discretization (ignored currently)"))\ ((double,clipper_scale,ClipperScale,1e7,\ - "ClipperLib operate on intergers. This is the scale factor to convert\n"\ + "ClipperLib operate on integers. This is the scale factor to convert\n"\ "floating points.",App::PropertyFloat)) /** Pocket parameters @@ -109,7 +109,7 @@ ((double,angle,Angle,45,"Pattern angle in degree",App::PropertyAngle))\ ((double,angle_shift,AngleShift,0.0,"Pattern angle shift for each section", App::PropertyAngle))\ ((double,shift,Shift,0.0,"Pattern shift distance for each section.\n"\ - "The pocket patter will be shifted in othgnal direction by this amount for each section.\n"\ + "The pocket patter will be shifted in orthogonal direction by this amount for each section.\n"\ "This gives a 3D pattern mainly for 3D printing. The shift only applies to 'Offset', 'Grid'\n"\ "and 'Triangle'", App::PropertyDistance)) @@ -137,9 +137,9 @@ "'BoundBox' means relative Z height to the bounding box of all the children shape.\n"\ "'Workplane' means relative to workplane, minus SectionOffset.\n"\ "Note that OCC has trouble getting the minimum bounding box of some solids, particularly\n"\ - "those with non-planar surface. It is recommended to use Workplane to specifiy the intended\n"\ + "those with non-planar surface. It is recommended to use Workplane to specify the intended\n"\ "starting z height.\n",(Absolute)(BoundBox)(Workplane)))\ - ((bool,project,Project,false, "The section is produced by normal pojecting the outline\n"\ + ((bool,project,Project,false, "The section is produced by normal projecting the outline\n"\ "of all added shapes to the section plane, instead of slicing.")) /** Section parameters */ @@ -152,7 +152,7 @@ "a positive value means offset downward, and if bottom up, it means upward",App::PropertyDistance))\ ((double,tolerance,SectionTolerance,1e-6,"Offset value added when hitting the boundary.\n"\ "When the section hits or over the shape boundary, a section with the height of that boundary\n"\ - "will be created. A small offset is usually required to avoid the tagnetial cut.",\ + "will be created. A small offset is usually required to avoid the tangential cut.",\ App::PropertyPrecision))\ AREA_PARAMS_SECTION_EXTRA @@ -188,7 +188,7 @@ "and the corresponding GCode will be inserted.\n"\ "'Auto' means the plane is determined by the first encountered arc plane. If the found\n"\ "plane does not align to any GCode plane, XY plane is used.\n"\ - "'Variable' means the arc plane can be changed during operation to align to the the\n"\ + "'Variable' means the arc plane can be changed during operation to align to the\n"\ "arc encountered.",\ (None)(Auto)(XY)(ZX)(YZ)(Variable))) diff --git a/src/Mod/Path/App/AreaPy.xml b/src/Mod/Path/App/AreaPy.xml index d9737e0a88..79b65ae177 100644 --- a/src/Mod/Path/App/AreaPy.xml +++ b/src/Mod/Path/App/AreaPy.xml @@ -15,7 +15,7 @@ FreeCAD python wrapper of libarea\n Path.Area(key=value ...)\n -The constuctor accepts the same parameters as setParams(...) to configure the object +The constructor accepts the same parameters as setParams(...) to configure the object All arguments are optional. diff --git a/src/Mod/Path/App/ParamsHelper.h b/src/Mod/Path/App/ParamsHelper.h index dccea8125d..9fc2e47c3f 100644 --- a/src/Mod/Path/App/ParamsHelper.h +++ b/src/Mod/Path/App/ParamsHelper.h @@ -105,10 +105,10 @@ * keyword \a _short, and supply all relavant macros. It's quite trivial * actually. * - * - \c arg is the agument name. It is intended to be used as function argument. + * - \c arg is the argument name. It is intended to be used as function argument. * By convention, the name shall be all small cases, but that's not required. * This \c arg can be repurposed, if the parameter is not going to be used as - * function agument. The #AREA_PARAMS_CAREA parameters repurposed this field + * function argument. The #AREA_PARAMS_CAREA parameters repurposed this field * to CArea internal setting variables to implement save, apply and restore * function using CAreaConfig class. * @@ -157,7 +157,7 @@ * Boost.PP tuple, and is usually supplied by various \ref ParamLooper "looper macros" * * You can of course directly use various Boost.PP sequence looper to pass - * aditional arguments to the operation macro. See #PARAM_PY_DICT_SET_VALUE for + * additional arguments to the operation macro. See #PARAM_PY_DICT_SET_VALUE for * an example of using tuple, and the more complex example #PARAM_ENUM_CONVERT * * Note that when generating comma separated list, the first and last comma are @@ -247,7 +247,7 @@ /** Apply macro \a _op to each parameter in sequence \a _seq * - * Operation macro \a _op shoud be defined as, + * Operation macro \a _op should be defined as, * \code * _op(_param) * \endcode @@ -261,7 +261,7 @@ /** Apply macro \a _op to each parameter in sequence \a _seq with additional index * - * Operation macro \a _op shoud be defined as, + * Operation macro \a _op should be defined as, * \code * _op(_i,_param) * \endcode @@ -447,7 +447,7 @@ * * This assumes the user defined enum type is given in \ref ParamSeq "seq_type" * of the parameter definition, and it has the same postfix as the ones - * speficied in \ref ParamSeq "seq" member of the parameter definition. See + * specified in \ref ParamSeq "seq" member of the parameter definition. See * \ref ParamEnumHelper "here" for implementations * * \ingroup ParamEnumHelper diff --git a/src/Mod/Path/Gui/Resources/panels/DogboneEdit.ui b/src/Mod/Path/Gui/Resources/panels/DogboneEdit.ui index 85575a6c01..d74447b32b 100644 --- a/src/Mod/Path/Gui/Resources/panels/DogboneEdit.ui +++ b/src/Mod/Path/Gui/Resources/panels/DogboneEdit.ui @@ -111,7 +111,7 @@ - <html><head/><body><p>Determines the incision length of the bone to be inserted into the profile.</p><p><span style=" font-weight:600; font-style:italic;">adaptive</span> ... the length is adapted to cover the corner based on the angle of it's edges, taking the current tool radius into account (default)</p><p><span style=" font-weight:600; font-style:italic;">fixed</span> ... is the same as adaptive for straight angles. For T-bones it's the radius of the tool (R) and for dogbones it's R * (2/√2 - 1).</p><p><span style=" font-weight:600; font-style:italic;">custom</span> ... let's you sepcify a custom (fixed) length below</p></body></html> + <html><head/><body><p>Determines the incision length of the bone to be inserted into the profile.</p><p><span style=" font-weight:600; font-style:italic;">adaptive</span> ... the length is adapted to cover the corner based on the angle of its edges, taking the current tool radius into account (default)</p><p><span style=" font-weight:600; font-style:italic;">fixed</span> ... is the same as adaptive for straight angles. For T-bones it's the radius of the tool (R) and for dogbones it's R * (2/√2 - 1).</p><p><span style=" font-weight:600; font-style:italic;">custom</span> ... let's you specify a custom (fixed) length below</p></body></html> 2 diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpProfileFullEdit.ui b/src/Mod/Path/Gui/Resources/panels/PageOpProfileFullEdit.ui index 529167c15f..821b84709c 100644 --- a/src/Mod/Path/Gui/Resources/panels/PageOpProfileFullEdit.ui +++ b/src/Mod/Path/Gui/Resources/panels/PageOpProfileFullEdit.ui @@ -160,7 +160,7 @@ - <html><head/><body><p>Check if this profile operation should also process the outside perimeter of the base geomtry shapes.</p></body></html> + <html><head/><body><p>Check if this profile operation should also process the outside perimeter of the base geometry shapes.</p></body></html> Process Perimeter diff --git a/src/Mod/Path/Gui/ViewProviderPath.cpp b/src/Mod/Path/Gui/ViewProviderPath.cpp index 3dd94733c0..0993814bf5 100644 --- a/src/Mod/Path/Gui/ViewProviderPath.cpp +++ b/src/Mod/Path/Gui/ViewProviderPath.cpp @@ -58,7 +58,7 @@ #include -#define ARC_MIN_SEGMENTS 20.0 // minimum # segements to interpolate an arc +#define ARC_MIN_SEGMENTS 20.0 // minimum # segments to interpolate an arc #ifndef M_PI #define M_PI 3.14159265358979323846 diff --git a/src/Mod/Path/PathScripts/PathAreaOp.py b/src/Mod/Path/PathScripts/PathAreaOp.py index 5f993de4f4..f3d8e8032b 100644 --- a/src/Mod/Path/PathScripts/PathAreaOp.py +++ b/src/Mod/Path/PathScripts/PathAreaOp.py @@ -49,7 +49,7 @@ def translate(context, text, disambig=None): class ObjectOp(PathOp.ObjectOp): '''Base class for all Path.Area based operations. Provides standard features including debugging properties AreaParams, - PathParams and removalshape, all hidding. + PathParams and removalshape, all hidden. The main reason for existence is to implement the standard interface to Path.Area so subclasses only have to provide the shapes for the operations.''' @@ -104,7 +104,7 @@ class ObjectOp(PathOp.ObjectOp): pass def opOnChanged(self, obj, prop): - '''opOnChanged(obj, prop) ... base implemenation of the notification framework - do not overwrite. + '''opOnChanged(obj, prop) ... base implementation of the notification framework - do not overwrite. The base implementation takes a stab at determining Heights and Depths if the operations's Base changes. Do not overwrite, overwrite areaOpOnChanged(obj, prop) instead.''' diff --git a/src/Mod/Path/PathScripts/PathDressupDragknife.py b/src/Mod/Path/PathScripts/PathDressupDragknife.py index 88ea0a35a6..e7b67bea5b 100644 --- a/src/Mod/Path/PathScripts/PathDressupDragknife.py +++ b/src/Mod/Path/PathScripts/PathDressupDragknife.py @@ -163,7 +163,7 @@ class ObjectDressup: def arcTwist(self, obj, queue, lastXY, twistCW=False): '''returns gcode to do an arc move toward an arc to perform - a corner action twist. Inclues lifting and plungeing the knife''' + a corner action twist. Includes lifting and plungeing the knife''' global currLocation pivotheight = obj.pivotheight @@ -176,7 +176,7 @@ class ObjectDressup: else: arcdir = "G2" - # move to the pivot heigth + # move to the pivot height zdepth = currLocation["Z"] retract = Path.Command("G0", {"Z": pivotheight}) results.append(retract) diff --git a/src/Mod/Path/PathScripts/PathGeom.py b/src/Mod/Path/PathScripts/PathGeom.py index b12581ffcd..c2b8b3629e 100644 --- a/src/Mod/Path/PathScripts/PathGeom.py +++ b/src/Mod/Path/PathScripts/PathGeom.py @@ -396,7 +396,7 @@ class PathGeom: def splitArcAt(cls, edge, pt): """(edge, pt) Returns a list of 2 edges which together form the original arc split at the given point. - The Vector pt has to represnt a point on the given arc.""" + The Vector pt has to represent a point on the given arc.""" p1 = edge.valueAt(edge.FirstParameter) p2 = pt p3 = edge.valueAt(edge.LastParameter) diff --git a/src/Mod/Path/PathScripts/PathGetPoint.py b/src/Mod/Path/PathScripts/PathGetPoint.py index dc86fc1b1f..56d598001e 100644 --- a/src/Mod/Path/PathScripts/PathGetPoint.py +++ b/src/Mod/Path/PathScripts/PathGetPoint.py @@ -33,7 +33,7 @@ from pivy import coin __title__ = "Path GetPoint UI" __author__ = "sliptonic (Brad Collette)" __url__ = "http://www.freecadweb.org" -__doc__ = "Helper class to use FreeCADGUi.Snapper to let the user enter arbitray points while the task panel is active." +__doc__ = "Helper class to use FreeCADGUi.Snapper to let the user enter arbitrary points while the task panel is active." PathLog.setLevel(PathLog.Level.INFO, PathLog.thisModule()) #PathLog.track(PathLog.thisModule()) diff --git a/src/Mod/Path/PathScripts/PathGui.py b/src/Mod/Path/PathScripts/PathGui.py index 1144d0d31a..30ddcd3b5f 100644 --- a/src/Mod/Path/PathScripts/PathGui.py +++ b/src/Mod/Path/PathScripts/PathGui.py @@ -73,7 +73,7 @@ def setProperty(obj, prop, value): def updateInputField(obj, prop, widget, onBeforeChange=None): '''updateInputField(obj, prop, widget) ... update obj's property prop with the value of widget. The property's value is only assigned if the new value differs from the current value. -This prevents onChanged notifications where the value didn't acutally change. +This prevents onChanged notifications where the value didn't actually change. Gui::InputField and Gui::QuantitySpinBox widgets are supported - and the property can be of type Quantity or Float. If onBeforeChange is specified it is called before a new value is assigned to the property. diff --git a/src/Mod/Path/PathScripts/PathOp.py b/src/Mod/Path/PathScripts/PathOp.py index 175387bb5b..dbb913618d 100644 --- a/src/Mod/Path/PathScripts/PathOp.py +++ b/src/Mod/Path/PathScripts/PathOp.py @@ -36,7 +36,7 @@ from PySide import QtCore __title__ = "Base class for all operations." __author__ = "sliptonic (Brad Collette)" __url__ = "http://www.freecadweb.org" -__doc__ = "Base class and properties implemenation for all Path operations." +__doc__ = "Base class and properties implementation for all Path operations." if False: PathLog.setLevel(PathLog.Level.DEBUG, PathLog.thisModule()) diff --git a/src/Mod/Path/PathScripts/PathOpGui.py b/src/Mod/Path/PathScripts/PathOpGui.py index 91dad36e89..6427f594cc 100644 --- a/src/Mod/Path/PathScripts/PathOpGui.py +++ b/src/Mod/Path/PathScripts/PathOpGui.py @@ -685,7 +685,7 @@ class TaskPanel(object): This class only implements the framework and takes care of bringing all pages up and down in a controller fashion. It implements the standard editor behaviour for OK, Cancel and Apply and tracks if the model is still in sync with the UI. - However, all display and processing of fields is handled by the page contollers which are managed in a list. All + However, all display and processing of fields is handled by the page controllers which are managed in a list. All event callbacks and framework actions are forwarded to the page controllers in turn and each page controller is expected to process all events concerning the data it manages. ''' diff --git a/src/Mod/Path/PathScripts/post/dynapath_post.py b/src/Mod/Path/PathScripts/post/dynapath_post.py index eac2efcfd0..f3942ec1c5 100644 --- a/src/Mod/Path/PathScripts/post/dynapath_post.py +++ b/src/Mod/Path/PathScripts/post/dynapath_post.py @@ -51,7 +51,7 @@ Strip comments and white spaces Add file name in brackets limited to 8 alpha numeric no spaces all caps as first line in file Change Q to K For depth of peck on G83 Fix tool change -Limit comments length and characters to Uppercase, alpha numeric and spaces add / prior to coments +Limit comments length and characters to Uppercase, alpha numeric and spaces add / prior to comments import linuxcnc_post linuxcnc_post.export(object,"/path/to/file.ncc","") diff --git a/src/Mod/Path/libarea/AreaClipper.cpp b/src/Mod/Path/libarea/AreaClipper.cpp index 0c7fa24240..b2d485a83f 100644 --- a/src/Mod/Path/libarea/AreaClipper.cpp +++ b/src/Mod/Path/libarea/AreaClipper.cpp @@ -71,7 +71,7 @@ static void AddVertex(const CVertex& vertex, const CVertex* prev_vertex) phit=-(ang2-ang1); } - //what is the delta phi to get an accurancy of aber + //what is the delta phi to get an accuracy of aber double radius = sqrt(dx*dx + dy*dy); dphi=2*acos((radius-CArea::m_accuracy)/radius); diff --git a/src/Mod/Path/libarea/Curve.cpp b/src/Mod/Path/libarea/Curve.cpp index 5da9b54ecd..de103cb8e1 100644 --- a/src/Mod/Path/libarea/Curve.cpp +++ b/src/Mod/Path/libarea/Curve.cpp @@ -300,7 +300,7 @@ void CCurve::UnFitArcs() phit=-(ang2-ang1); } - //what is the delta phi to get an accurancy of aber + //what is the delta phi to get an accuracy of aber double radius = sqrt(dx*dx + dy*dy); dphi=2*acos((radius-CArea::m_accuracy)/radius); diff --git a/src/Mod/Path/libarea/kurve/Finite.cpp b/src/Mod/Path/libarea/kurve/Finite.cpp index 464a4c6f5f..367502be8b 100644 --- a/src/Mod/Path/libarea/kurve/Finite.cpp +++ b/src/Mod/Path/libarea/kurve/Finite.cpp @@ -220,7 +220,7 @@ namespace geoff_geometry { } Line::Line(const Span& sp){ - // contructor from linear span + // constructor from linear span p0 = sp.p0; v = sp.vs * sp.length; length = sp.length;