Arch: Typos

Source comment documentation typos + misc.
This commit is contained in:
luzpaz
2017-12-24 09:56:11 -05:00
committed by wmayer
parent 048c787e32
commit 7e2fce45c2
4 changed files with 6 additions and 5 deletions

View File

@@ -1094,7 +1094,7 @@ def toggleIfcBrepFlag(obj):
def makeCompoundFromSelected(objects=None):
"""makeCompoundFromSelected([objects]): Creates a new compound object from the given
subobjects (faces, edges) or from the the selection if objects is None"""
subobjects (faces, edges) or from the selection if objects is None"""
import FreeCADGui,Part
so = []
if not objects:

View File

@@ -444,7 +444,7 @@ class Component:
return None
def rebase(self,shape):
"""returns a shape that is a copy ofthe original shape
"""returns a shape that is a copy of the original shape
but centered on the (0,0) origin, and a placement that is needed to
reposition that shape to its original location/orientation"""
import DraftGeomUtils,math

View File

@@ -37,7 +37,7 @@
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<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>
@@ -49,6 +49,7 @@
<rdf:li>mesh</rdf:li>
<rdf:li>solid</rdf:li>
<rdf:li>convert</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: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -1319,10 +1319,10 @@ def getIfcExtrusionData(obj,scale=1,nosubs=False):
return None
def getIfcBrepFacesData(obj,scale=1,sub=False,tessellation=1):
"""getIfcBrepFacesData(obj,[scale,tesselation]): returns a list(0) of lists(1) of lists(2) of lists(3),
"""getIfcBrepFacesData(obj,[scale,tessellation]): returns a list(0) of lists(1) of lists(2) of lists(3),
list(3) being a list of vertices defining a loop, list(2) describing a face from one or
more loops, list(1) being the whole solid made of several faces, list(0) being the list
of solids inside the object. Scale can indicate a scaling factor. Tesselation is the tesselation
of solids inside the object. Scale can indicate a scaling factor. Tessellation is the tessellation
factor to apply on curved faces."""
shape = None
if sub: