PATH: typo fixes
This commit is contained in:
@@ -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)))
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<Author Licence="LGPL" Name="Zheng, Lei" EMail="realthunder.dev@gmail.com" />
|
||||
<UserDocu>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.</UserDocu>
|
||||
</Documentation>
|
||||
<Methode Name="add" Keyword='true'>
|
||||
|
||||
@@ -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
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -160,7 +160,7 @@
|
||||
<item row="2" column="1">
|
||||
<widget class="QCheckBox" name="processPerimeter">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Check if this profile operation should also process the outside perimeter of the base geomtry shapes.</p></body></html></string>
|
||||
<string><html><head/><body><p>Check if this profile operation should also process the outside perimeter of the base geometry shapes.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Process Perimeter</string>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
#include <Gui/SoFCUnifiedSelection.h>
|
||||
|
||||
|
||||
#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
|
||||
|
||||
@@ -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.'''
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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.
|
||||
'''
|
||||
|
||||
@@ -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","")
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user