<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module fabmetheus_utilities.geometry.solids.cylinder</title> </head><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#7799ee"> <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="fabmetheus_utilities.html"><font color="#ffffff">fabmetheus_utilities</font></a>.<a href="fabmetheus_utilities.geometry.html"><font color="#ffffff">geometry</font></a>.<a href="fabmetheus_utilities.geometry.solids.html"><font color="#ffffff">solids</font></a>.cylinder</strong></big></big> ($Date: 2008/21/04 $)</font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/geometry/solids/cylinder.py">/home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/geometry/solids/cylinder.py</a></font></td></tr></table> <p><tt>Boolean geometry cylinder.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="__init__.html">__init__</a><br> <a href="fabmetheus_utilities.geometry.solids.cube.html">fabmetheus_utilities.geometry.solids.cube</a><br> <a href="fabmetheus_utilities.euclidean.html">fabmetheus_utilities.euclidean</a><br> </td><td width="25%" valign=top><a href="fabmetheus_utilities.geometry.geometry_utilities.evaluate.html">fabmetheus_utilities.geometry.geometry_utilities.evaluate</a><br> <a href="fabmetheus_utilities.geometry.creation.lineation.html">fabmetheus_utilities.geometry.creation.lineation</a><br> <a href="math.html">math</a><br> </td><td width="25%" valign=top><a href="fabmetheus_utilities.geometry.geometry_utilities.matrix.html">fabmetheus_utilities.geometry.geometry_utilities.matrix</a><br> <a href="fabmetheus_utilities.geometry.creation.solid.html">fabmetheus_utilities.geometry.creation.solid</a><br> <a href="fabmetheus_utilities.geometry.solids.triangle_mesh.html">fabmetheus_utilities.geometry.solids.triangle_mesh</a><br> </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> <td width="100%"><dl> <dt><font face="helvetica, arial"><a href="fabmetheus_utilities.geometry.solids.cube.html#Cube">fabmetheus_utilities.geometry.solids.cube.Cube</a>(<a href="fabmetheus_utilities.geometry.solids.triangle_mesh.html#TriangleMesh">fabmetheus_utilities.geometry.solids.triangle_mesh.TriangleMesh</a>) </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="fabmetheus_utilities.geometry.solids.cylinder.html#Cylinder">Cylinder</a> </font></dt></dl> </dd> <dt><font face="helvetica, arial"><a href="fabmetheus_utilities.geometry.solids.cylinder.html#CylinderDerivation">CylinderDerivation</a> </font></dt></dl> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="Cylinder">class <strong>Cylinder</strong></a>(<a href="fabmetheus_utilities.geometry.solids.cube.html#Cube">fabmetheus_utilities.geometry.solids.cube.Cube</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>A cylinder object.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="fabmetheus_utilities.geometry.solids.cylinder.html#Cylinder">Cylinder</a></dd> <dd><a href="fabmetheus_utilities.geometry.solids.cube.html#Cube">fabmetheus_utilities.geometry.solids.cube.Cube</a></dd> <dd><a href="fabmetheus_utilities.geometry.solids.triangle_mesh.html#TriangleMesh">fabmetheus_utilities.geometry.solids.triangle_mesh.TriangleMesh</a></dd> <dd><a href="fabmetheus_utilities.geometry.solids.group.html#Group">fabmetheus_utilities.geometry.solids.group.Group</a></dd> <dd><a href="fabmetheus_utilities.geometry.geometry_tools.dictionary.html#Dictionary">fabmetheus_utilities.geometry.geometry_tools.dictionary.Dictionary</a></dd> </dl> <hr> Methods defined here:<br> <dl><dt><a name="Cylinder-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Add empty lists.</tt></dd></dl> <dl><dt><a name="Cylinder-createShape"><strong>createShape</strong></a>(self)</dt><dd><tt>Create the shape.</tt></dd></dl> <dl><dt><a name="Cylinder-setToElementNode"><strong>setToElementNode</strong></a>(self, elementNode)</dt><dd><tt>Set to elementNode.</tt></dd></dl> <hr> Methods inherited from <a href="fabmetheus_utilities.geometry.solids.cube.html#Cube">fabmetheus_utilities.geometry.solids.cube.Cube</a>:<br> <dl><dt><a name="Cylinder-addXMLSection"><strong>addXMLSection</strong></a>(self, depth, output)</dt><dd><tt>Add the xml section for this object.</tt></dd></dl> <hr> Methods inherited from <a href="fabmetheus_utilities.geometry.solids.triangle_mesh.html#TriangleMesh">fabmetheus_utilities.geometry.solids.triangle_mesh.TriangleMesh</a>:<br> <dl><dt><a name="Cylinder-getCarveBoundaryLayers"><strong>getCarveBoundaryLayers</strong></a>(self)</dt><dd><tt>Get the boundary layers.</tt></dd></dl> <dl><dt><a name="Cylinder-getCarveCornerMaximum"><strong>getCarveCornerMaximum</strong></a>(self)</dt><dd><tt>Get the corner maximum of the vertexes.</tt></dd></dl> <dl><dt><a name="Cylinder-getCarveCornerMinimum"><strong>getCarveCornerMinimum</strong></a>(self)</dt><dd><tt>Get the corner minimum of the vertexes.</tt></dd></dl> <dl><dt><a name="Cylinder-getCarveLayerHeight"><strong>getCarveLayerHeight</strong></a>(self)</dt><dd><tt>Get the layer height.</tt></dd></dl> <dl><dt><a name="Cylinder-getFabmetheusXML"><strong>getFabmetheusXML</strong></a>(self)</dt><dd><tt>Return the fabmetheus XML.</tt></dd></dl> <dl><dt><a name="Cylinder-getGeometryOutput"><strong>getGeometryOutput</strong></a>(self)</dt><dd><tt>Get geometry output dictionary.</tt></dd></dl> <dl><dt><a name="Cylinder-getInterpretationSuffix"><strong>getInterpretationSuffix</strong></a>(self)</dt><dd><tt>Return the suffix for a triangle mesh.</tt></dd></dl> <dl><dt><a name="Cylinder-getLoops"><strong>getLoops</strong></a>(self, importRadius, z)</dt><dd><tt>Get loops sliced through shape.</tt></dd></dl> <dl><dt><a name="Cylinder-getLoopsFromMesh"><strong>getLoopsFromMesh</strong></a>(self, z)</dt><dd><tt>Get loops from a carve of a mesh.</tt></dd></dl> <dl><dt><a name="Cylinder-getMinimumZ"><strong>getMinimumZ</strong></a>(self)</dt><dd><tt>Get the minimum z.</tt></dd></dl> <dl><dt><a name="Cylinder-getTransformedVertexes"><strong>getTransformedVertexes</strong></a>(self)</dt><dd><tt>Get all transformed vertexes.</tt></dd></dl> <dl><dt><a name="Cylinder-getTriangleMeshes"><strong>getTriangleMeshes</strong></a>(self)</dt><dd><tt>Get all triangleMeshes.</tt></dd></dl> <dl><dt><a name="Cylinder-getVertexes"><strong>getVertexes</strong></a>(self)</dt><dd><tt>Get all vertexes.</tt></dd></dl> <dl><dt><a name="Cylinder-setCarveImportRadius"><strong>setCarveImportRadius</strong></a>(self, importRadius)</dt><dd><tt>Set the import radius.</tt></dd></dl> <dl><dt><a name="Cylinder-setCarveIsCorrectMesh"><strong>setCarveIsCorrectMesh</strong></a>(self, isCorrectMesh)</dt><dd><tt>Set the is correct mesh flag.</tt></dd></dl> <dl><dt><a name="Cylinder-setCarveLayerHeight"><strong>setCarveLayerHeight</strong></a>(self, layerHeight)</dt><dd><tt>Set the layer height.</tt></dd></dl> <dl><dt><a name="Cylinder-setEdgesForAllFaces"><strong>setEdgesForAllFaces</strong></a>(self)</dt><dd><tt>Set the face edges of all the faces.</tt></dd></dl> <hr> Methods inherited from <a href="fabmetheus_utilities.geometry.solids.group.html#Group">fabmetheus_utilities.geometry.solids.group.Group</a>:<br> <dl><dt><a name="Cylinder-addXMLInnerSection"><strong>addXMLInnerSection</strong></a>(self, depth, output)</dt><dd><tt>Add xml inner section for this object.</tt></dd></dl> <dl><dt><a name="Cylinder-getMatrix4X4"><strong>getMatrix4X4</strong></a>(self)</dt><dd><tt>Get the matrix4X4.</tt></dd></dl> <dl><dt><a name="Cylinder-getMatrixChainTetragrid"><strong>getMatrixChainTetragrid</strong></a>(self)</dt><dd><tt>Get the matrix chain tetragrid.</tt></dd></dl> <dl><dt><a name="Cylinder-getVisible"><strong>getVisible</strong></a>(self)</dt><dd><tt>Get visible.</tt></dd></dl> <hr> Methods inherited from <a href="fabmetheus_utilities.geometry.geometry_tools.dictionary.html#Dictionary">fabmetheus_utilities.geometry.geometry_tools.dictionary.Dictionary</a>:<br> <dl><dt><a name="Cylinder-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of this object info.</tt></dd></dl> <dl><dt><a name="Cylinder-addXML"><strong>addXML</strong></a>(self, depth, output)</dt><dd><tt>Add xml for this object.</tt></dd></dl> <dl><dt><a name="Cylinder-addXMLArchivableObjects"><strong>addXMLArchivableObjects</strong></a>(self, depth, output)</dt><dd><tt>Add xml for this object.</tt></dd></dl> <dl><dt><a name="Cylinder-getAttributes"><strong>getAttributes</strong></a>(self)</dt><dd><tt>Get attribute table.</tt></dd></dl> <dl><dt><a name="Cylinder-getComplexTransformedPathLists"><strong>getComplexTransformedPathLists</strong></a>(self)</dt><dd><tt>Get complex transformed path lists.</tt></dd></dl> <dl><dt><a name="Cylinder-getFabricationExtension"><strong>getFabricationExtension</strong></a>(self)</dt><dd><tt>Get fabrication extension.</tt></dd></dl> <dl><dt><a name="Cylinder-getFabricationText"><strong>getFabricationText</strong></a>(self, addLayerTemplate)</dt><dd><tt>Get fabrication text.</tt></dd></dl> <dl><dt><a name="Cylinder-getPaths"><strong>getPaths</strong></a>(self)</dt><dd><tt>Get all paths.</tt></dd></dl> <dl><dt><a name="Cylinder-getTransformedPaths"><strong>getTransformedPaths</strong></a>(self)</dt><dd><tt>Get all transformed paths.</tt></dd></dl> <dl><dt><a name="Cylinder-getType"><strong>getType</strong></a>(self)</dt><dd><tt>Get type.</tt></dd></dl> <dl><dt><a name="Cylinder-getXMLLocalName"><strong>getXMLLocalName</strong></a>(self)</dt><dd><tt>Get xml local name.</tt></dd></dl> <dl><dt><a name="Cylinder-transformGeometryOutput"><strong>transformGeometryOutput</strong></a>(self, geometryOutput)</dt><dd><tt>Transform the geometry output by the local matrix4x4.</tt></dd></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="CylinderDerivation">class <strong>CylinderDerivation</strong></a></font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>Class to hold cylinder variables.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="CylinderDerivation-__init__"><strong>__init__</strong></a>(self, elementNode)</dt><dd><tt>Set defaults.</tt></dd></dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#eeaa77"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> <td width="100%"><dl><dt><a name="-addCylinder"><strong>addCylinder</strong></a>(faces, inradius, sides, topOverBottom, vertexes)</dt><dd><tt>Add cylinder by inradius.</tt></dd></dl> <dl><dt><a name="-addCylinderOutputByEndStart"><strong>addCylinderOutputByEndStart</strong></a>(endZ, inradiusComplex, outputs, sides, start, topOverBottom<font color="#909090">=1.0</font>)</dt><dd><tt>Add cylinder triangle mesh by endZ, inradius and start.</tt></dd></dl> <dl><dt><a name="-getGeometryOutput"><strong>getGeometryOutput</strong></a>(inradius, sides, topOverBottom)</dt><dd><tt>Get cylinder triangle mesh by inradius.</tt></dd></dl> <dl><dt><a name="-getNewDerivation"><strong>getNewDerivation</strong></a>(elementNode)</dt><dd><tt>Get new derivation.</tt></dd></dl> <dl><dt><a name="-getTopOverBottom"><strong>getTopOverBottom</strong></a>(angle, endZ, inradiusComplex, startZ)</dt><dd><tt>Get topOverBottom by angle in radians, endZ, inradius and start.</tt></dd></dl> <dl><dt><a name="-processElementNode"><strong>processElementNode</strong></a>(elementNode)</dt><dd><tt>Process the xml element.</tt></dd></dl> </td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> <td width="100%"><strong>__author__</strong> = 'Enrique Perez (perez_enrique@yahoo.com)'<br> <strong>__credits__</strong> = 'Nophead <http://hydraraptor.blogspot.com/><font color="#c040c0">\n</font>Art of Illusion <http://www.artofillusion.org/>'<br> <strong>__date__</strong> = '$Date: 2008/21/04 $'<br> <strong>__license__</strong> = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'<br> <strong>absolute_import</strong> = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)</td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#7799ee"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr> <tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td> <td width="100%">Enrique Perez (perez_enrique@yahoo.com)</td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#7799ee"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Credits</strong></big></font></td></tr> <tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td> <td width="100%">Nophead <<a href="http://hydraraptor.blogspot.com/">http://hydraraptor.blogspot.com/</a>><br> Art of Illusion <<a href="http://www.artofillusion.org/">http://www.artofillusion.org/</a>></td></tr></table> </body></html>