diff --git a/src/Mod/Arch/OfflineRenderingUtils.py b/src/Mod/Arch/OfflineRenderingUtils.py index 0bc2e47308..b9f9e3a542 100755 --- a/src/Mod/Arch/OfflineRenderingUtils.py +++ b/src/Mod/Arch/OfflineRenderingUtils.py @@ -297,7 +297,7 @@ def render(outputfile,scene=None,camera=None,zoom=False,width=400,height=300,bac the given coin camera (ortho or perspective). If zoom is True the camera will be resized to fit all objects. The outputfile must be a file path to save a png image. Optionally a light direction as a (x,y,z) tuple can be given. In this case, a directional light will be added and shadows will - be turned on. This might not work with soem 3D drivers.""" + be turned on. This might not work with some 3D drivers.""" # On Linux, the X server must have indirect rendering enabled in order to be able to do offline # PNG rendering. Unfortunately, this is turned off by default on most recent distros. The easiest @@ -428,7 +428,7 @@ def viewer(scene=None,background=(1.0,1.0,1.0),lightdir=None): a standalone coin viewer with the contents of the given scene. You can give a background color, and optionally a light direction as a (x,y,z) tuple. In this case, a directional light will be added and shadows will - be turned on. This might not work with soem 3D drivers.""" + be turned on. This might not work with some 3D drivers.""" # Initialize Coin. This returns a main window to use from pivy import sogui diff --git a/src/Mod/Draft/importSVG.py b/src/Mod/Draft/importSVG.py index 4d80332ba5..39f1fc2158 100644 --- a/src/Mod/Draft/importSVG.py +++ b/src/Mod/Draft/importSVG.py @@ -31,7 +31,7 @@ __url__ = ["http://www.freecadweb.org"] # # This module provides support for importing and exporting SVG files. It # enables importing/exporting objects directly to/from the 3D document, but -# doesn't handle the SVG output from the Drawng and TechDraw modules. +# doesn't handle the SVG output from the Drawing and TechDraw modules. ''' This script imports SVG files in FreeCAD. Currently only reads the following entities: @@ -43,7 +43,7 @@ currently unsupported: use, image # handle image element (external references and inline base64) # debug Problem with 'Sans' font from Inkscape # debug Problem with fill color -# implement inherting fill style from group +# implement inheriting fill style from group # handle relative units import xml.sax, string, FreeCAD, os, math, re, Draft, DraftVecUtils @@ -528,7 +528,7 @@ class svgHandler(xml.sax.ContentHandler): self.svgdpi = 96.0 if 'style' in data: if not data['style']: - pass#empty style attribute stops inhertig from parent + pass#empty style attribute stops inheriting from parent else: content = data['style'].replace(' ','') content = content.split(';') diff --git a/src/Mod/Mesh/App/Core/Evaluation.cpp b/src/Mod/Mesh/App/Core/Evaluation.cpp index 31562bbe91..e27dd6bce2 100644 --- a/src/Mod/Mesh/App/Core/Evaluation.cpp +++ b/src/Mod/Mesh/App/Core/Evaluation.cpp @@ -840,7 +840,7 @@ bool MeshEvalNeighbourhood::Evaluate () } else { // we handle only the cases for 1 and 2, for all higher - // values we have a non-manifold that is ignorned here + // values we have a non-manifold that is ignored here if (count == 2) { const MeshFacet& rFace0 = rclFAry[f0]; const MeshFacet& rFace1 = rclFAry[f1]; @@ -906,7 +906,7 @@ std::vector MeshEvalNeighbourhood::GetIndices() const } else { // we handle only the cases for 1 and 2, for all higher - // values we have a non-manifold that is ignorned here + // values we have a non-manifold that is ignored here if (count == 2) { const MeshFacet& rFace0 = rclFAry[f0]; const MeshFacet& rFace1 = rclFAry[f1]; @@ -982,7 +982,7 @@ void MeshKernel::RebuildNeighbours (unsigned long index) } else { // we handle only the cases for 1 and 2, for all higher - // values we have a non-manifold that is ignorned here + // values we have a non-manifold that is ignored here if (count == 2) { MeshFacet& rFace0 = this->_aclFacetArray[f0]; MeshFacet& rFace1 = this->_aclFacetArray[f1]; @@ -1005,7 +1005,7 @@ void MeshKernel::RebuildNeighbours (unsigned long index) } // we handle only the cases for 1 and 2, for all higher - // values we have a non-manifold that is ignorned here + // values we have a non-manifold that is ignored here if (count == 2) { MeshFacet& rFace0 = this->_aclFacetArray[f0]; MeshFacet& rFace1 = this->_aclFacetArray[f1]; diff --git a/src/Tools/fcinfo b/src/Tools/fcinfo index dba861e787..0b71f0b76f 100755 --- a/src/Tools/fcinfo +++ b/src/Tools/fcinfo @@ -130,7 +130,7 @@ class FreeCADFileHandler(xml.sax.ContentHandler): elif tag == "Property": self.prop = None - # skip "internal" properties, unuseful for a diff + # skip "internal" properties, useless for a diff if attributes["name"] not in ["Symbol","AttacherType","MapMode","MapPathParameter","MapReversed", "AttachmentOffset","SelectionStyle","TightGrid","GridSize","GridSnap", "GridStyle","Lighting","Deviation","AngularDeflection","BoundingBox", @@ -252,6 +252,3 @@ if __name__ == '__main__': print("Document: "+sys.argv[-1]+" ("+s+")") print(" SHA1: "+str(hashlib.sha1(open(sys.argv[-1],'rb').read()).hexdigest())) xml.sax.parseString(doc,FreeCADFileHandler(zfile,short)) - - -