Fix various typos

This commit is contained in:
luz paz
2021-07-30 11:24:33 -04:00
committed by Bernd Hahnebach
parent 3962c347ac
commit eab17ddff5
10 changed files with 15 additions and 15 deletions

View File

@@ -77,7 +77,7 @@ public:
void commit(void);
/// cancels the recording session
void cancel(void);
/// indicates if a macro recording in in progress
/// indicates if a macro recording is in progress
bool isOpen(void) const {return openMacro;}
/// insert a new line in the macro
void addLine(LineType Type,const char* sLine,bool pending=false);

View File

@@ -1537,7 +1537,7 @@ class ViewProviderComponent:
return False
def colorize(self,obj,force=False):
"""If an object is a clone, set it it to copy the color of its parent.
"""If an object is a clone, set it to copy the color of its parent.
Only change the color of the clone if the clone and its parent have
colors that are distinguishably different from each other.

View File

@@ -60,11 +60,11 @@ const char* FemPostPipeline::ModeEnums[]= {"Serial","Parallel",NULL};
FemPostPipeline::FemPostPipeline()
{
ADD_PROPERTY_TYPE(Filter, (0), "Pipeline", App::Prop_None, "The filter used in in this pipeline");
ADD_PROPERTY_TYPE(Filter, (0), "Pipeline", App::Prop_None, "The filter used in this pipeline");
ADD_PROPERTY_TYPE(Functions, (0), "Pipeline", App::Prop_Hidden, "The function provider which groups all pipeline functions");
ADD_PROPERTY_TYPE(Mode,(long(0)), "Pipeline", App::Prop_None, "Selects the pipeline data transition mode. In serial every filter"
"gets the output of the previous one as input, in parallel every"
"filter gets the pipelien source as input.");
ADD_PROPERTY_TYPE(Mode,(long(0)), "Pipeline", App::Prop_None, "Selects the pipeline data transition mode. In serial, every filter"
"gets the output of the previous one as input. In parallel, every"
"filter gets the pipeline source as input.");
Mode.setEnums(ModeEnums);
}

View File

@@ -397,7 +397,7 @@ def read_frd_result(
CalculiX uses a different node order in
input file *.inp and result file *.frd for hexa20 (C3D20)
according to Guido (the developer of ccx):
see note in in first line of cgx manuel part element types
see note in the first line of cgx manual part element types
ccx (and thus the *.inp) follows the ABAQUS convention
documented in the ccx-documentation
cgx (and thus the *.frd) follows the FAM2 convention

View File

@@ -709,7 +709,7 @@ def matProperWidget(parent=None, matproperty=None, Type="String", Value=None,
"Not known unit for property: {}. Probably the Quantity does not have a unit.\n"
.format(matproperty)
)
# the Gui::InputField is used for Floats too, because of the diggits
# the Gui::InputField is used for Floats too, because of the digits
elif Type == "Integer":
@@ -718,7 +718,7 @@ def matProperWidget(parent=None, matproperty=None, Type="String", Value=None,
# elif Type == "Float":
# widget = ui.createWidget("Gui::PrefDoubleSpinBox")
# has only 2 diggits precision, but for example RelativePermittivity needs much more
# has only 2 digit precision, but for example RelativePermittivity needs much more
# see material card for Air, thus Workaround
# a "Gui::InputField" without unit is used

View File

@@ -759,8 +759,8 @@ bool ProfileBased::checkLineCrossesFace(const gp_Lin &line, const TopoDS_Face &f
return false;
#else
// This is not as easy as it looks, because a distance of zero might be OK if
// the axis touches the sketchshape in in a linear edge or a vertex
// Note: This algorithm does not catch cases where the sketchshape touches the
// the axis touches the sketchshape in a linear edge or a vertex
// Note: This algorithm doesn't catch cases where the sketchshape touches the
// axis in two or more points
// Note: And it only works on closed outer wires
TopoDS_Wire outerWire = ShapeAnalysis::OuterWire(face);

View File

@@ -35,7 +35,7 @@
namespace KDL {
/**
* A Dirac VelocityProfile generates an infinite velocity
* so that the position jumps from A to B in in infinite short time.
* so that the position jumps from A to B in an infinite short time.
* In practice, this means that the maximum values are ignored and
* for any t : Vel(t) == 0 and Acc(t) == 0.
* Further Pos( -0 ) = pos1 and Pos( +0 ) = pos2.

View File

@@ -2359,7 +2359,7 @@ int Sketch::addTangentConstraint(int geoId1, int geoId2)
//This function handles any type of tangent, perpendicular and angle
// constraint that involves a point.
// i.e. endpoint-to-curve, endpoint-to-endpoint and tangent-via-point
//geoid1, geoid2 and geoid3 as in in the constraint object.
//geoid1, geoid2 and geoid3 as in the constraint object.
//For perp-ty and tangency, angle is used to lock the direction.
//angle==0 - autodetect direction. +pi/2, -pi/2 - specific direction.
int Sketch::addAngleAtPointConstraint(

View File

@@ -85,7 +85,7 @@ hTrimCurve::hTrimCurve(Handle(Geom2d_Curve) hCurveIn,
//just a convenient struct for now.
}
//All this OCC math is being done on on edges(&vertices) that have been through the center/scale/mirror process.
//All this OCC math is being done on edges(&vertices) that have been through the center/scale/mirror process.
//TODO: this needs to be exposed to Python
void DrawDimHelper::makeExtentDim(DrawViewPart* dvp,

View File

@@ -106,7 +106,7 @@ TaskCenterLine::TaskCenterLine(TechDraw::DrawViewPart* partFeat,
setUiEdit();
// connect the dialog objects
setUiConnect();
// save the existing centerline to restore in in case the user rejects the changes
// save the existing centerline to restore in case the user rejects the changes
orig_cl = *m_cl;
}