Typos: Various workbenches and misc.

[skip ci]
This commit is contained in:
luzpaz
2017-12-24 09:48:11 -05:00
committed by wmayer
parent c18bc414bb
commit 128239b54a
55 changed files with 95 additions and 95 deletions

View File

@@ -82,7 +82,7 @@
</Attribute>
<Attribute Name="OutListRecursive" ReadOnly="true">
<Documentation>
<UserDocu>A list of all objects this object links to recursivly.</UserDocu>
<UserDocu>A list of all objects this object links to recursively.</UserDocu>
</Documentation>
<Parameter Name="OutListRecursive" Type="List"/>
</Attribute>
@@ -94,7 +94,7 @@
</Attribute>
<Attribute Name="InListRecursive" ReadOnly="true">
<Documentation>
<UserDocu>A list of all objects which link to this object recursivly.</UserDocu>
<UserDocu>A list of all objects which link to this object recursively.</UserDocu>
</Documentation>
<Parameter Name="InListRecursive" Type="List"/>
</Attribute>

View File

@@ -92,7 +92,7 @@ PyObject *Part::getPyObject()
// Python feature ---------------------------------------------------------
// Not quit sure yet makeing Part derivable in Python is good Idea!
// Not quite sure yet making Part derivable in Python is good Idea!
// JR 2014
//namespace App {

View File

@@ -59,13 +59,13 @@
*
* \section Motivation
*
* FreeCAD Base::Console() is capable of outputing to different targets, and has
* FreeCAD Base::Console() is capable of outputting to different targets, and has
* some basic enable/disable control of different types of logs. There is,
* however, no easy to use logging facility for various FC modules. This set of
* helper macros and function is aimed to provide a unified logging (and timing)
* however, no easy way to use logging facility for various FC modules. This set
* of helper macros and function is aimed to provide a unified logging (and timing)
* interface. The interface is mainly designed for C++ code. Python code can
* also take some advantage of log level control interface. The developer can
* now leave their logging code permantly active in the source code without
* now leave their logging code permanently active in the source code without
* impact on performance, and the log can be easily turned on/off dynamically
* using Python console for debugging purpose, even in release build.
*

View File

@@ -279,7 +279,7 @@ TYPEDEF_HIDES_STRUCT = NO
# For small to medium size projects (<1000 input files) the default value is
# probably good enough. For larger projects a too small cache size can cause
# doxygen to be busy swapping symbols to and from disk most of the time
# causing a significant performance penality.
# causing a significant performance penalty.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
# a logarithmic scale so increasing the size by one will rougly double the

View File

@@ -278,7 +278,7 @@ TYPEDEF_HIDES_STRUCT = NO
# For small to medium size projects (<1000 input files) the default value is
# probably good enough. For larger projects a too small cache size can cause
# doxygen to be busy swapping symbols to and from disk most of the time
# causing a significant performance penality.
# causing a significant performance penalty.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
# a logarithmic scale so increasing the size by one will rougly double the

View File

@@ -278,7 +278,7 @@ TYPEDEF_HIDES_STRUCT = NO
# For small to medium size projects (<1000 input files) the default value is
# probably good enough. For larger projects a too small cache size can cause
# doxygen to be busy swapping symbols to and from disk most of the time
# causing a significant performance penality.
# causing a significant performance penalty.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
# a logarithmic scale so increasing the size by one will rougly double the

View File

@@ -279,7 +279,7 @@ TYPEDEF_HIDES_STRUCT = NO
# For small to medium size projects (<1000 input files) the default value is
# probably good enough. For larger projects a too small cache size can cause
# doxygen to be busy swapping symbols to and from disk most of the time
# causing a significant performance penality.
# causing a significant performance penalty.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
# a logarithmic scale so increasing the size by one will rougly double the

View File

@@ -1907,7 +1907,7 @@
<XPD:REF name="Associations[0]">8KD6N7QAJEChIE1a/RanLgAA</XPD:REF>
</XPD:OBJ>
<XPD:OBJ name="OwnedElements[2]" type="UMLClass" guid="vPty16sJ90SbG7aChALkZgAA">
<XPD:ATTR name="Name" type="string">Persistance</XPD:ATTR>
<XPD:ATTR name="Name" type="string">Persistence</XPD:ATTR>
<XPD:REF name="Namespace">iAYOWyQEKE++31JRAbi8kQAA</XPD:REF>
<XPD:ATTR name="#Views" type="integer">4</XPD:ATTR>
<XPD:REF name="Views[0]">d58NHGW8tkCxiyV+qSUYgQAA</XPD:REF>
@@ -3181,7 +3181,7 @@
<XPD:OBJ name="NameCompartment" type="UMLNameCompartmentView" guid="wm65Qe6sHU63AjyCEdPysAAA">
<XPD:OBJ name="NameLabel" type="LabelView" guid="2WV3Z7nlBk2NAFYK5HC66AAA">
<XPD:ATTR name="FontStyle" type="integer">1</XPD:ATTR>
<XPD:ATTR name="Text" type="string">Persistance</XPD:ATTR>
<XPD:ATTR name="Text" type="string">Persistence</XPD:ATTR>
</XPD:OBJ>
<XPD:OBJ name="StereotypeLabel" type="LabelView" guid="v+2UByeDhUK2/3UJTeyDkAAA">
<XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR>

View File

@@ -162,8 +162,8 @@ void NetworkRetriever::setProxy( const QString& proxy, const QString& user, cons
}
/**
* If \a recursive is true all referenced files are downloaded recursivly.
* As default recursivion is disabled. \a level specifies the maximum recursion
* If \a recursive is true all referenced files are downloaded recursively.
* As default recursion is disabled. \a level specifies the maximum recursion
* depth. If \a level is 0 the recursion depth is infinite. As default the level
* property is 1.
* \note: Use this with care!

View File

@@ -47,7 +47,7 @@ public:
virtual const char *getName(void) const;
/// Mesage handler
/// Message handler
virtual bool onMsg(const char* pMsg, const char** ppReturn);
virtual bool onHasMsg(const char* pMsg) const;
virtual void OnChange(ParameterGrp::SubjectType &rCaller,ParameterGrp::MessageType Reason);

View File

@@ -75,7 +75,7 @@ void AssemblyGuiExport initAssemblyGui()
Base::Interpreter().runString("import AssemblyGui");
Base::Interpreter().runString("import PartGui");
// instanciating the commands
// instantiating the commands
CreateAssemblyCommands();
CreateAssemblyConstraintCommands();

View File

@@ -84,7 +84,7 @@ public:
//hide and show in the normal way
virtual bool isShow(void) const;
//avoid unneeded context menu entrys
//avoid unneeded context menu entries
virtual void setupContextMenu(QMenu* menu, QObject* receiver, const char* member);
//only flat lines supported

View File

@@ -152,7 +152,7 @@ public:
bool Load(const TopoDS_Shape& aShape);
/** @brief loads input-shape and -mesh */
bool Load(const TopoDS_Shape& aShape, const MeshCore::MeshKernel& aMesh);
/** @brief sets parameter-values to initial state, tesselates the input
/** @brief sets parameter-values to initial state, tessellates the input
shape and computes a curvature-radius-value at each edge
contained in the input-shape */
bool Init();

View File

@@ -175,13 +175,13 @@ bool best_fit::Perform()
Runtime_BestFit << "Runtime Best-Fit" << std::endl;
cout << "tesselate shape" << endl;
cout << "tessellate shape" << endl;
sec1 = time(NULL);
Tesselate_Shape(m_Cad, m_CadMesh, 1); // Tesselates m_Cad Shape and stores Tesselation in m_CadMesh
Tesselate_Shape(m_Cad, m_CadMesh, 1); // Tessellates m_Cad Shape and stores Tessellation in m_CadMesh
sec2 = time(NULL);
Runtime_BestFit << "Tesselate Shape: " << sec2 - sec1 << " sec" << std::endl;
Runtime_BestFit << "Tessellate Shape: " << sec2 - sec1 << " sec" << std::endl;
sec1 = time(NULL);
Comp_Weights(); // m_pntCloud_1, m_weights, m_normals des/r Cad-Meshs/Punktewolke werden hier gefüllt

View File

@@ -108,7 +108,7 @@ public:
/*! \brief Computes a triangulation on shape.
\param shape specifies the shape to be tesselated
\param shape specifies the shape to be tessellated
\param mesh output-mesh to store the computed triangulation
\param deflection parameter which determines the accuracy of the
triangulation
@@ -117,7 +117,7 @@ public:
/*! \brief Computes a triangulation on aface.
\param aface specifies the face to be tesselated
\param aface specifies the face to be tessellated
\param mesh output-mesh to store the computed triangulation
\param deflection parameter which determines the accuracy of the
triangulation
@@ -201,7 +201,7 @@ private:
*/
inline bool TransMat(Base::Matrix4D &matrix, double translation, int translationAxis);
/*! \brief Tranforms the point-set \p pnts and the corresponding
/*! \brief Transforms the point-set \p pnts and the corresponding
surface-normals normals with reference to the input-matrix
\param pnts point-vector to transform
@@ -212,7 +212,7 @@ private:
std::vector<Base::Vector3f> &normals,
Base::Matrix4D &M);
/*! \brief Tranforms the point-set pnts with reference to the input-matrix
/*! \brief Transforms the point-set pnts with reference to the input-matrix
\param pnts point-vector to transform
\param M is the 4x4-input-matrix

View File

@@ -69,7 +69,7 @@ extern "C"
CamGui::Workbench ::init();
// instanciating the commands
// instantiating the commands
CreateCamCommands();
return;

View File

@@ -436,7 +436,7 @@ void SVGOutput::printGeneric(const BRepAdaptor_Curve& c, int id, std::ostream& o
}
out << "\" />" << endl;
} else if (c.GetType() == GeomAbs_Line) {
//BRep_Tool::Polygon3D assumes the edge has polygon representation - ie already been "tesselated"
//BRep_Tool::Polygon3D assumes the edge has polygon representation - ie already been "tessellated"
//this is not true for all edges, especially "floating edges"
double f = c.FirstParameter();
double l = c.LastParameter();

View File

@@ -203,7 +203,7 @@ def mid_point(prev_vertex,vertex,angle):
def split_records(line_record):
"""split_records(line_record)-> list of strings(records)
standard separator list separator is space, records containting encapsulated by " """
standard separator list separator is space, records containing encapsulated by " """
split_result=[]
quote_pos=line_record.find('"')
while quote_pos!=-1:
@@ -227,7 +227,7 @@ def process_emp(doc,filename,placement,board_thickness):
"""process_emp(doc,filename,placement,board_thickness) -> place components from emn file to board"""
filename=filename.partition(".emn")[0]+".emp"
empfile=pythonopen(filename, "r")
emp_unit=1.0 #presume milimeter like emn unit
emp_unit=1.0 #presume millimeter like emn unit
emp_version=2 #presume emn_version 2
comp_height=0 #presume 0 part height
comp_outline=[] #no part outline

View File

@@ -1,5 +1,5 @@
(c) 2010 Milos Koutny (milos.koutny@gmail.com)
All parts in this directory are suported by Milos Koutny
All parts in this directory are supported by Milos Koutny
and licensed under:
Creative Commons Attribution Share Alike

View File

@@ -105,7 +105,7 @@ private:
// Main simplification function
//
// target_count : target nr. of triangles
// agressiveness : sharpness to increase the threashold.
// agressiveness : sharpness to increase the threshold.
// 5..8 are good numbers
// more iterations yield higher quality
//

View File

@@ -155,11 +155,11 @@
<rdf:li>mesh</rdf:li>
<rdf:li>sphere</rdf:li>
<rdf:li>workbench</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:coverage />
<dc:description>Tesselated sphere mesh, lit from top</dc:description>
<dc:description>Tessellated sphere mesh, lit from top</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -189,7 +189,7 @@
<dc:title>Mesh_Export_Mesh</dc:title>
<cc:license
rdf:resource="https://www.gnu.org/copyleft/lesser.html" />
<dc:description>Tesselated cube mesh with arrow pointing away from document</dc:description>
<dc:description>Tessellated cube mesh with arrow pointing away from document</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
@@ -199,7 +199,7 @@
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>cube</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
<rdf:li>arrow</rdf:li>
<rdf:li>document</rdf:li>
</rdf:Bag>

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -221,12 +221,12 @@
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>plane</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
<rdf:li>normal</rdf:li>
<rdf:li>arrow</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Planar tesselatad mesh with each face having an arrow pointing upwards</dc:description>
<dc:description>Planar tessellated mesh with each face having an arrow pointing upwards</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -180,13 +180,13 @@
<rdf:Bag>
<rdf:li>cube</rdf:li>
<rdf:li>mesh</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
<rdf:li>arrow</rdf:li>
<rdf:li>file</rdf:li>
<rdf:li>document</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Tesselated cube mesh with arrow pointing towards document</dc:description>
<dc:description>Tessellated cube mesh with arrow pointing towards document</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -137,7 +137,7 @@
<dc:title>Mesh_Mesh_from_Shape</dc:title>
<cc:license
rdf:resource="https://www.gnu.org/copyleft/lesser.html" />
<dc:description>Solid cube with arrow pointing towards a tesselated cube mesh</dc:description>
<dc:description>Solid cube with arrow pointing towards a tessellated cube mesh</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -371,7 +371,7 @@
<dc:title>Mesh_Regular_Solid</dc:title>
<cc:license
rdf:resource="https://www.gnu.org/copyleft/lesser.html" />
<dc:description>A tesselated cube mesh in front of a tesselated cylindrical mesh</dc:description>
<dc:description>A tessellated cube mesh in front of a tessellated cylindrical mesh</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
@@ -394,7 +394,7 @@
<rdf:li>mesh</rdf:li>
<rdf:li>cube</rdf:li>
<rdf:li>cylinder</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:date>Fri Dec 20 16:28:14 2013 +0100</dc:date>

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -182,12 +182,12 @@
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<dc:description>Tesselated conic mesh, lit from top</dc:description>
<dc:description>Tessellated conic mesh, lit from top</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>cone</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:relation>http://www.freecadweb.org/wiki/index.php?title=Artwork</dc:relation>

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@@ -249,10 +249,10 @@
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>cube</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Tesselated cube mesh, lit from top</dc:description>
<dc:description>Tessellated cube mesh, lit from top</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -237,12 +237,12 @@
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<dc:description>Tesselated cylindrical mesh, lit from top</dc:description>
<dc:description>Tessellated cylindrical mesh, lit from top</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>cylinder</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:date>Sat Dec 21 21:54:56 2013 +1100</dc:date>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -292,10 +292,10 @@
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>ellipsoid</rdf:li>
<rdf:li>tessealted</rdf:li>
<rdf:li>tessellated</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Tesselated ellipsoid mesh, lit from top</dc:description>
<dc:description>Tessellated ellipsoid mesh, lit from top</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -202,10 +202,10 @@
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>sphere</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Tesselated sphere mesh, lit from top</dc:description>
<dc:description>Tessellated sphere mesh, lit from top</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -269,13 +269,13 @@
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<dc:description>Tesselated torus mesh, lit from top</dc:description>
<dc:description>Tessellated torus mesh, lit from top</dc:description>
<dc:coverage />
<dc:subject>
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>torus</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:date>Sat Dec 21 21:54:56 2013 +1100</dc:date>

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -133,10 +133,10 @@
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>plane</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Tesselated folded plane, lit from top</dc:description>
<dc:description>Tessellated folded plane, lit from top</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -899,12 +899,12 @@
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<dc:description>A tesselated planar mesh in between the blades of an open scissor</dc:description>
<dc:description>A tessellated planar mesh in between the blades of an open scissor</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>plane</rdf:li>
<rdf:li>tesselated</rdf:li>
<rdf:li>tessellated</rdf:li>
<rdf:li>scissors</rdf:li>
<rdf:li>cut</rdf:li>
</rdf:Bag>

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -20,7 +20,7 @@
#* *
#***************************************************************************
__title__="FreeCAD OpenSCAD Workbench - 2D helper fuctions"
__title__="FreeCAD OpenSCAD Workbench - 2D helper functions"
__author__ = "Sebastian Hoogen"
__url__ = ["http://www.freecadweb.org"]
@@ -277,7 +277,7 @@ def findConnectedEdges(edgelist,eps=1e-6,debug=False):
def endpointdistance(edges):
'''return the distance of of vertices in path (list of edges) as
maximum, mininum and distance between start and endpoint
maximum, minimum and distance between start and endpoint
it expects the edges to be traversed forward from starting from Vertex 0'''
numedges=len(edges)
if numedges == 1 and len(edges[0].Vertexes) == 1:
@@ -293,7 +293,7 @@ def endpointdistance(edges):
def endpointdistancedebuglist(debuglist):
'''return the distance of of vertices in path (list of edges) as
maximum, mininum and distance between start and endpoint
maximum, minimum and distance between start and endpoint
it it expects a 'not reversed' flag for every edge'''
numedges=len(debuglist)
if numedges == 1 and len(debuglist[0][0].Vertexes) == 1:

View File

@@ -20,7 +20,7 @@
#* *
#***************************************************************************
__title__="FreeCAD OpenSCAD Workbench - Utility Fuctions"
__title__="FreeCAD OpenSCAD Workbench - Utility Functions"
__author__ = "Sebastian Hoogen"
__url__ = ["http://www.freecadweb.org"]
@@ -89,7 +89,7 @@ def searchforopenscadexe():
return opath
def workaroundforissue128needed():
'''sets the import path depending on the OpenSCAD Verion
'''sets the import path depending on the OpenSCAD Version
for versions <= 2012.06.23 to the current working dir
for versions above to the inputfile dir
see https://github.com/openscad/openscad/issues/128'''
@@ -161,7 +161,7 @@ def callopenscad(inputfilename,outputfilename=None,outputext='csg',keepname=Fals
check_output2([osfilename,'-o',outputfilename, inputfilename])
return outputfilename
else:
raise OpenSCADError('OpenSCAD executeable unavailable')
raise OpenSCADError('OpenSCAD executable unavailable')
def callopenscadstring(scadstr,outputext='csg'):
'''create a tempfile and call the open scad binary
@@ -490,7 +490,7 @@ def process2D_ObjectsViaOpenSCADShape(ObjList,Operation,doc):
# TBD: assure the given doc is active
face = importDXFface(tmpfilename,None,None)
#clean up
filenames.append(tmpfilename) #delete the ouptut file as well
filenames.append(tmpfilename) #delete the output file as well
try:
os.unlink(tmpfilename)
except OSError:

View File

@@ -20,7 +20,7 @@
#* *
#***************************************************************************
__title__="FreeCAD OpenSCAD Workbench - 2D helper fuctions"
__title__="FreeCAD OpenSCAD Workbench - 2D helper functions"
__author__ = "Sebastian Hoogen"
__url__ = ["http://www.freecadweb.org"]

View File

@@ -20,7 +20,7 @@
#* *
#***************************************************************************
__title__="FreeCAD OpenSCAD Workbench - expand placements and matrices fuctions"
__title__="FreeCAD OpenSCAD Workbench - expand placements and matrices functions"
__author__ = "Sebastian Hoogen"
__url__ = ["http://www.freecadweb.org"]

View File

@@ -632,7 +632,7 @@ def process_linear_extrude(obj,h) :
def process_linear_extrude_with_twist(base,height,twist) :
newobj=doc.addObject("Part::FeaturePython",'twist_extrude')
Twist(newobj,base,height,-twist) #base is an FreeCAD Object, heigth and twist are floats
Twist(newobj,base,height,-twist) #base is an FreeCAD Object, height and twist are floats
if gui:
if FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/OpenSCAD").\
GetBool('useViewProviderTree'):

View File

@@ -390,7 +390,7 @@ class Node:
f=edgestofaces(edges)
except Part.OCCError:
FreeCAD.Console.PrintError(\
'processing of dxf import faild\nPlease rework \'%s\' manualy\n' % layera)
'processing of dxf import failed\nPlease rework \'%s\' manually\n' % layera)
f=Part.Shape() #empty Shape
obj=doc.addObject("Part::FeaturePython",'import_dxf_%s_%s'%(objname,layera))
#obj=doc.addObject('Part::Feature',)
@@ -549,7 +549,7 @@ class Node:
child.pprint(level+1)
def pprint2(self,path='root',pathjust=24):
"""prints the tree. Left column contains the the systax to access a child"""
"""prints the tree. Left column contains the syntax to access a child"""
if self.arguments:
argstr = ' (%s)' % self.arguments
else:

View File

@@ -20,12 +20,12 @@
#* *
#***************************************************************************
__title__="FreeCAD OpenSCAD Workbench - replace object fuction"
__title__="FreeCAD OpenSCAD Workbench - replace object function"
__author__ = "Sebastian Hoogen"
__url__ = ["http://www.freecadweb.org"]
'''
This fucntions allows to replace an object in the feature hierarchy
This functions allows to replace an object in the feature hierarchy
'''
def replaceobj(parent,oldchild,newchild):

View File

@@ -29,7 +29,7 @@
</Attribute>
<Attribute Name="Pos" ReadOnly="false">
<Documentation>
<UserDocu>End position (destination) of the the waypoint</UserDocu>
<UserDocu>End position (destination) of the waypoint</UserDocu>
</Documentation>
<Parameter Name="Pos" Type="Object"/>
</Attribute>
@@ -51,13 +51,13 @@ In Case of WAIT s wait time
</Attribute>
<Attribute Name="Tool" ReadOnly="false">
<Documentation>
<UserDocu>descripe which tool frame to use for that point</UserDocu>
<UserDocu>Describe which tool frame to use for that point</UserDocu>
</Documentation>
<Parameter Name="Tool" Type="Long"/>
</Attribute>
<Attribute Name="Base" ReadOnly="false">
<Documentation>
<UserDocu>descripe which Base frame to use for that point</UserDocu>
<UserDocu>Describe which Base frame to use for that point</UserDocu>
</Documentation>
<Parameter Name="Base" Type="Long"/>
</Attribute>

View File

@@ -436,7 +436,7 @@ void ChainIdSolver_Vereshchagin::getJointNullSpaceAcceleration(JntArray& nullspa
//This is not only a bias force energy but also includes generalized forces
//change type of parameter G
//this method should retur array of G's
//this method should return array of G's
void ChainIdSolver_Vereshchagin::getLinkBiasForceAcceleratoinEnergy(Eigen::VectorXd& G)
{
@@ -453,7 +453,7 @@ void ChainIdSolver_Vereshchagin::getLinkBiasForceAcceleratoinEnergy(Eigen::Vecto
}
//this method should retur array of R's
//this method should return array of R's
void ChainIdSolver_Vereshchagin::getLinkBiasForceMatrix(Wrenches& R_tilde)
{

View File

@@ -108,7 +108,7 @@ namespace KDL
/**
* Set the joint space weighting matrix
*
* weight_js joint space weighting symetric matrix,
* weight_js joint space weighting symmetric matrix,
* default : identity.
* @param Mq : This matrix being used as a
* weight for the norm of the joint space speed it HAS TO BE
@@ -133,7 +133,7 @@ namespace KDL
/**
* Set the task space weighting matrix
*
* weight_ts task space weighting symetric matrix,
* weight_ts task space weighting symmetric matrix,
* default: identity
* @param Mx : This matrix being used as a weight
* for the norm of the error (in terms of task space speed) it

View File

@@ -274,7 +274,7 @@ public:
Suppose V2 = R*V, (1)
V is expressed in frame B
V2 is expressed in frame A
This matrix R consists of 3 collumns [ X,Y,Z ],
This matrix R consists of 3 columns [ X,Y,Z ],
X,Y, and Z contain the axes of frame B, expressed in frame A
Because of linearity expr(1) is valid.
\endverbatim

View File

@@ -28,7 +28,7 @@ namespace KDL {
/*
* Set the joint space weighting matrix
*
* @param weight_js joint space weighting symetric matrix,
* @param weight_js joint space weighting symmetric matrix,
* default : identity. M_q : This matrix being used as a
* weight for the norm of the joint space speed it HAS TO BE
* symmetric and positive definite. We can actually deal with
@@ -53,7 +53,7 @@ namespace KDL {
/*
* Set the task space weighting matrix
*
* @param weight_ts task space weighting symetric matrix,
* @param weight_ts task space weighting symmetric matrix,
* default: identity M_x : This matrix being used as a weight
* for the norm of the error (in terms of task space speed) it
* HAS TO BE symmetric and positive definite. We can actually

View File

@@ -55,7 +55,7 @@ namespace KDL {
/**
* A 'Half' Trapezoidal VelocityProfile. A contructor flag
* A 'Half' Trapezoidal VelocityProfile. A constructor flag
* indicates if the calculated profile should be starting
* or ending.
* @ingroup Motion
@@ -93,7 +93,7 @@ class VelocityProfile_TrapHalf : public VelocityProfile
/**
* Plans a 'Half' Trapezoidal VelocityProfile between pos1 and pos2.
* If the distance is too short betweeen pos1 and pos2,
* If the distance is too short between pos1 and pos2,
* only the acceleration phase is set and the max velocity is not reached.
*
* \param pos1 Starting position

View File

@@ -1,7 +1,7 @@
# Examples to generate trajectories out of shapes
import FreeCADGui as Gui
# geting selected edges from the selection and sort them
# getting selected edges from the selection and sort them
count = 0
FirstPos1 = None
FirstPos2 = None

View File

@@ -47,7 +47,7 @@ class TempoVis(FrozenClass):
self.document = None
self.restore_on_delete = False # if true, restore() gets called upon object deletion. It becomes False after explicit call to Restore, and set to true by many methods.
self.links_are_lost = False # set to true after restore from JSON. Indictes to attempt to use ActiveDocument/ActiveViewer instead.
self.links_are_lost = False # set to true after restore from JSON. Indicates to attempt to use ActiveDocument/ActiveViewer instead.
self._freeze()

View File

@@ -69,7 +69,7 @@ PyMOD_INIT_FUNC(_TEMPLATE_Gui)
PyMOD_Return(0);
}
// instanciating the commands
// instantiating the commands
Create_TEMPLATE_Commands();
_TEMPLATE_Gui::Workbench::init();

View File

@@ -9,7 +9,7 @@ Usage:
Options:
-v, --verbose print out all files collected
-o --out-file=FILENAME use this file name for output, default resorces.qrc
-o --out-file=FILENAME use this file name for output, default resources.qrc
-d, --directory=DIRNAME directory to search, default PWD
-h, --help print this help message

View File

@@ -7,12 +7,12 @@ Usage:
examplePy2wiki [Optionen]
Options:
-o --out-file=FILENAME use this file name for output, default resorces.qrc
-o --out-file=FILENAME use this file name for output, default resources.qrc
-i, --in-file=FILENAME directory to search, default PWD
-h, --help print this help message
This program reads python files and generate a output suited for a Mediawiki page.
The python comments get translated to text and the code blocks get indended to
The python comments get translated to text and the code blocks get intended to
show up us code in the wiki.

View File

@@ -192,7 +192,7 @@ class XschemaElement:
# Attribute definitions for the current attributeGroup, if there is one.
self.attributeGroup = None
# List of names of attributes for this element.
# We will add the attribute defintions in each of these groups
# We will add the attribute definitions in each of these groups
# to this element in annotate().
self.attributeGroupNameList = []
self.topLevel = 0

View File

@@ -12,9 +12,9 @@ DEFINE_GUID(IID_IExtractImage,
#define IEIFLAG_ASYNC 0x0001 // ask the extractor if it supports ASYNC extract (free threaded)
#define IEIFLAG_CACHE 0x0002 // returned from the extractor if it does NOT cache the thumbnail
#define IEIFLAG_ASPECT 0x0004 // passed to the extractor to beg it to render to the aspect ratio of the supplied rect
#define IEIFLAG_OFFLINE 0x0008 // if the extractor shouldn't hit the net to get any content neede for the rendering
#define IEIFLAG_OFFLINE 0x0008 // if the extractor shouldn't hit the net to get any content needed for the rendering
#define IEIFLAG_GLEAM 0x0010 // does the image have a gleam ? this will be returned if it does
#define IEIFLAG_SCREEN 0x0020 // render as if for the screen (this is exlusive with IEIFLAG_ASPECT )
#define IEIFLAG_SCREEN 0x0020 // render as if for the screen (this is exclusive with IEIFLAG_ASPECT )
#define IEIFLAG_ORIGSIZE 0x0040 // render to the approx size passed, but crop if necessary
#define IEIFLAG_NOSTAMP 0x0080 // returned from the extractor if it does NOT want an icon stamp on the thumbnail
#define IEIFLAG_NOBORDER 0x0100 // returned from the extractor if it does NOT want an a border around the thumbnail

View File

@@ -142,7 +142,7 @@ sectionEnd
# http://forums.winamp.com/showthread.php?t=255747
function unSelectPythonPath
# Unselect the PYTHONPATH option
# Deselect the PYTHONPATH option
!insertmacro UnselectSection ${PythonPathSection}
functionEnd