Typos: user-facing and trivial

Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
This commit is contained in:
luzpaz
2017-11-30 06:48:51 -05:00
committed by wmayer
parent af0477fc4a
commit 56111a0810
20 changed files with 60 additions and 67 deletions

View File

@@ -354,7 +354,7 @@ struct placement_accessor {
template<typename T>
void finalize(T& t) {
//need to do it at once as setting every value step by step would always normalize the rotation and
//therefor give a false value
//therefore give a false value
Base::Rotation rot(q0,q1,q2,q3);
t.setRotation(rot);
t.setPosition(vec);

View File

@@ -5226,7 +5226,7 @@ class _BezCurve(_DraftObject):
def _segpoleslst(self,fp):
"""split the points into segments"""
if not fp.Closed and len(fp.Points) >= 2: #allow lower degree segement
if not fp.Closed and len(fp.Points) >= 2: #allow lower degree segment
poles=fp.Points[1:]
elif fp.Closed and len(fp.Points) >= fp.Degree: #drawable
#poles=fp.Points[1:(fp.Degree*(len(fp.Points)//fp.Degree))]+fp.Points[0:1]

View File

@@ -432,7 +432,7 @@ DEF_STD_CMD_A(CmdDrawingOpenBrowserView);
CmdDrawingOpenBrowserView::CmdDrawingOpenBrowserView()
: Command("Drawing_OpenBrowserView")
{
// seting the
// setting the
sGroup = QT_TR_NOOP("Drawing");
sMenuText = QT_TR_NOOP("Open &browser view");
sToolTipText = QT_TR_NOOP("Opens the selected page in a browser view");
@@ -470,7 +470,7 @@ DEF_STD_CMD_A(CmdDrawingAnnotation);
CmdDrawingAnnotation::CmdDrawingAnnotation()
: Command("Drawing_Annotation")
{
// seting the
// setting the
sGroup = QT_TR_NOOP("Drawing");
sMenuText = QT_TR_NOOP("&Annotation");
sToolTipText = QT_TR_NOOP("Inserts an Annotation view in the active drawing");
@@ -518,7 +518,7 @@ DEF_STD_CMD_A(CmdDrawingClip);
CmdDrawingClip::CmdDrawingClip()
: Command("Drawing_Clip")
{
// seting the
// setting the
sGroup = QT_TR_NOOP("Drawing");
sMenuText = QT_TR_NOOP("&Clip");
sToolTipText = QT_TR_NOOP("Inserts a clip group in the active drawing");
@@ -563,7 +563,7 @@ DEF_STD_CMD_A(CmdDrawingSymbol);
CmdDrawingSymbol::CmdDrawingSymbol()
: Command("Drawing_Symbol")
{
// seting the
// setting the
sGroup = QT_TR_NOOP("Drawing");
sMenuText = QT_TR_NOOP("&Symbol");
sToolTipText = QT_TR_NOOP("Inserts a symbol from a svg file in the active drawing");
@@ -619,7 +619,7 @@ DEF_STD_CMD_A(CmdDrawingExportPage);
CmdDrawingExportPage::CmdDrawingExportPage()
: Command("Drawing_ExportPage")
{
// seting the
// setting the
sGroup = QT_TR_NOOP("File");
sMenuText = QT_TR_NOOP("&Export page...");
sToolTipText = QT_TR_NOOP("Export a page to an SVG file");
@@ -671,7 +671,7 @@ DEF_STD_CMD_A(CmdDrawingProjectShape);
CmdDrawingProjectShape::CmdDrawingProjectShape()
: Command("Drawing_ProjectShape")
{
// seting the
// setting the
sGroup = QT_TR_NOOP("Drawing");
sMenuText = QT_TR_NOOP("Project shape...");
sToolTipText = QT_TR_NOOP("Project shape onto a user-defined plane");
@@ -707,7 +707,7 @@ DEF_STD_CMD_A(CmdDrawingDraftView);
CmdDrawingDraftView::CmdDrawingDraftView()
: Command("Drawing_DraftView")
{
// seting the
// setting the
sGroup = QT_TR_NOOP("Drawing");
sMenuText = QT_TR_NOOP("&Draft View");
sToolTipText = QT_TR_NOOP("Inserts a Draft view of the selected object(s) in the active drawing");
@@ -738,7 +738,7 @@ DEF_STD_CMD_A(CmdDrawingSpreadsheetView);
CmdDrawingSpreadsheetView::CmdDrawingSpreadsheetView()
: Command("Drawing_SpreadsheetView")
{
// seting the
// setting the
sGroup = QT_TR_NOOP("Drawing");
sMenuText = QT_TR_NOOP("&Spreadsheet View");
sToolTipText = QT_TR_NOOP("Inserts a view of a selected spreadsheet in the active drawing");

View File

@@ -185,7 +185,7 @@ class BINARY(str):
self._fixed = fixed
# Check implicit width
if (width!=-1) and not fixed:
raise ValueError("The 'width' parameter is passed but 'fixed' is still false. Please explicitely set 'fixed' to True to avoid implicit declaration")
raise ValueError("The 'width' parameter is passed but 'fixed' is still false. Please explicitly set 'fixed' to True to avoid implicit declaration")
# First check the string length if 'fixed' is set to True
if fixed:
if len(value) != width:

View File

@@ -141,7 +141,7 @@ void ViewProviderInspection::show(void)
void ViewProviderInspection::attach(App::DocumentObject *pcFeat)
{
// creats the standard viewing modes
// creates the standard viewing modes
inherited::attach(pcFeat);
SoShapeHints * flathints = new SoShapeHints;

View File

@@ -242,7 +242,7 @@ void ViewProviderMeshCurvature::slotChangedObject(const App::DocumentObject& Obj
void ViewProviderMeshCurvature::attach(App::DocumentObject *pcFeat)
{
// creats the standard viewing modes
// creates the standard viewing modes
inherited::attach(pcFeat);
attachDocument(pcFeat->getDocument());

View File

@@ -68,7 +68,7 @@ ViewProviderMeshTransform::~ViewProviderMeshTransform()
void ViewProviderMeshTransform::attach(App::DocumentObject *pcFeat)
{
// creats the standard viewing modes
// creates the standard viewing modes
ViewProviderMesh::attach(pcFeat);
SoSeparator* pcEditRoot = new SoSeparator();

View File

@@ -76,7 +76,7 @@ ViewProviderMeshTransformDemolding::~ViewProviderMeshTransformDemolding()
void ViewProviderMeshTransformDemolding::attach(App::DocumentObject *pcFeat)
{
// creats the satandard viewing modes
// creates the standard viewing modes
ViewProviderMesh::attach(pcFeat);
SoGroup* pcDemoldRoot = new SoGroup();

View File

@@ -312,7 +312,7 @@ The underlying geometry of the following shapes may change:
For example, a circle may be transformed into an ellipse when
applying an affinity transformation. It may also happen that
the circle then is represented as a b-spline curve.
the circle then is represented as a B-spline curve.
The transformation is applied to:
- all the curves which support edges of the shape, and
@@ -514,7 +514,7 @@ makePerspectiveProjection(shape, pnt)
</Methode>
<Methode Name="makeShapeFromMesh">
<Documentation>
<UserDocu>Make a compund shape out of mesh data.
<UserDocu>Make a compound shape out of mesh data.
Note: This should be used for rather small meshes only.</UserDocu>
</Documentation>
</Methode>
@@ -522,8 +522,8 @@ Note: This should be used for rather small meshes only.</UserDocu>
<Documentation>
<UserDocu>Conversion of the complete geometry of a shape into NURBS geometry.
For example, all curves supporting edges of the basis shape are converted
into BSpline curves, and all surfaces supporting its faces are converted
into BSpline surfaces.</UserDocu>
into B-spline curves, and all surfaces supporting its faces are converted
into B-spline surfaces.</UserDocu>
</Documentation>
</Methode>
<Methode Name="copy" Const="true">
@@ -534,7 +534,7 @@ into BSpline surfaces.</UserDocu>
<Methode Name="cleaned" Const="true">
<Documentation>
<UserDocu>This creates a cleaned copy of the shape with the triangulation removed.
This can be useful to reduce file size when exporting as a BRep file.
This can be useful to reduce file size when exporting as a BREP file.
Warning: Use the cleaned shape with care because certain algorithms may work incorrectly
if the shape has no internal triangulation any more.
</UserDocu>
@@ -754,7 +754,7 @@ infos contains additional info on the solutions. It is a list of tuples:
</Attribute>
<Attribute Name="Compounds" ReadOnly="true">
<Documentation>
<UserDocu>List of coumpounds in this shape.</UserDocu>
<UserDocu>List of compounds in this shape.</UserDocu>
</Documentation>
<Parameter Name="Compounds" Type="List"/>
</Attribute>

View File

@@ -139,7 +139,7 @@ App::DocumentObjectExecReturn *Loft::execute(void)
mkTS.Build();
if (!mkTS.IsDone())
return new App::DocumentObjectExecReturn("Loft could not be build");
return new App::DocumentObjectExecReturn("Loft could not be built");
//build the shell use simulate to get the top and bottom wires in an easy way
shells.push_back(mkTS.Shape());

View File

@@ -491,7 +491,7 @@ DEF_STD_CMD_A(CmdRaytracingExportProject);
CmdRaytracingExportProject::CmdRaytracingExportProject()
: Command("Raytracing_ExportProject")
{
// seting the
// setting the
sAppModule = "Raytracing";
sGroup = QT_TR_NOOP("File");
sMenuText = QT_TR_NOOP("&Export project...");
@@ -798,7 +798,7 @@ DEF_STD_CMD_A(CmdRaytracingResetCamera);
CmdRaytracingResetCamera::CmdRaytracingResetCamera()
: Command("Raytracing_ResetCamera")
{
// seting the
// setting the
sAppModule = "Raytracing";
sGroup = QT_TR_NOOP("Raytracing");
sMenuText = QT_TR_NOOP("&Reset Camera");

View File

@@ -637,7 +637,7 @@ DEF_STD_CMD_A(CmdTechDrawClip);
CmdTechDrawClip::CmdTechDrawClip()
: Command("TechDraw_Clip")
{
// seting the
// setting the
sGroup = QT_TR_NOOP("TechDraw");
sMenuText = QT_TR_NOOP("&Clip");
sToolTipText = QT_TR_NOOP("Inserts a clip group in the active drawing");
@@ -999,7 +999,7 @@ DEF_STD_CMD_A(CmdTechDrawSpreadsheet);
CmdTechDrawSpreadsheet::CmdTechDrawSpreadsheet()
: Command("TechDraw_Spreadsheet")
{
// seting the
// setting the
sGroup = QT_TR_NOOP("TechDraw");
sMenuText = QT_TR_NOOP("Spreadsheet");
sToolTipText = QT_TR_NOOP("Inserts a view of a selected spreadsheet into a drawing");