187 lines
14 KiB
HTML
187 lines
14 KiB
HTML
|
|
|
||
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
|
|
<html><head><title>Python: module fabmetheus_utilities.geometry.solids.cube</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>.cube</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/cube.py">/home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/geometry/solids/cube.py</a></font></td></tr></table>
|
||
|
|
<p><tt>Boolean geometry cube.</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>
|
||
|
|
</td><td width="25%" valign=top><a href="fabmetheus_utilities.geometry.geometry_utilities.evaluate.html">fabmetheus_utilities.geometry.geometry_utilities.evaluate</a><br>
|
||
|
|
</td><td width="25%" valign=top><a href="fabmetheus_utilities.geometry.creation.solid.html">fabmetheus_utilities.geometry.creation.solid</a><br>
|
||
|
|
</td><td width="25%" valign=top><a href="fabmetheus_utilities.geometry.solids.triangle_mesh.html">fabmetheus_utilities.geometry.solids.triangle_mesh</a><br>
|
||
|
|
</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#CubeDerivation">CubeDerivation</a>
|
||
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fabmetheus_utilities.geometry.solids.triangle_mesh.html#TriangleMesh">fabmetheus_utilities.geometry.solids.triangle_mesh.TriangleMesh</a>(<a href="fabmetheus_utilities.geometry.solids.group.html#Group">fabmetheus_utilities.geometry.solids.group.Group</a>)
|
||
|
|
</font></dt><dd>
|
||
|
|
<dl>
|
||
|
|
<dt><font face="helvetica, arial"><a href="fabmetheus_utilities.geometry.solids.cube.html#Cube">Cube</a>
|
||
|
|
</font></dt></dl>
|
||
|
|
</dd>
|
||
|
|
</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="Cube">class <strong>Cube</strong></a>(<a href="fabmetheus_utilities.geometry.solids.triangle_mesh.html#TriangleMesh">fabmetheus_utilities.geometry.solids.triangle_mesh.TriangleMesh</a>)</font></td></tr>
|
||
|
|
|
||
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
||
|
|
<td colspan=2><tt>A cube object.<br> </tt></td></tr>
|
||
|
|
<tr><td> </td>
|
||
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
||
|
|
<dd><a href="fabmetheus_utilities.geometry.solids.cube.html#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="Cube-addXMLSection"><strong>addXMLSection</strong></a>(self, depth, output)</dt><dd><tt>Add the xml section for this object.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-createShape"><strong>createShape</strong></a>(self)</dt><dd><tt>Create the shape.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-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.triangle_mesh.html#TriangleMesh">fabmetheus_utilities.geometry.solids.triangle_mesh.TriangleMesh</a>:<br>
|
||
|
|
<dl><dt><a name="Cube-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Add empty lists.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getCarveBoundaryLayers"><strong>getCarveBoundaryLayers</strong></a>(self)</dt><dd><tt>Get the boundary layers.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getCarveCornerMaximum"><strong>getCarveCornerMaximum</strong></a>(self)</dt><dd><tt>Get the corner maximum of the vertexes.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getCarveCornerMinimum"><strong>getCarveCornerMinimum</strong></a>(self)</dt><dd><tt>Get the corner minimum of the vertexes.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getCarveLayerHeight"><strong>getCarveLayerHeight</strong></a>(self)</dt><dd><tt>Get the layer height.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getFabmetheusXML"><strong>getFabmetheusXML</strong></a>(self)</dt><dd><tt>Return the fabmetheus XML.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getGeometryOutput"><strong>getGeometryOutput</strong></a>(self)</dt><dd><tt>Get geometry output dictionary.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getInterpretationSuffix"><strong>getInterpretationSuffix</strong></a>(self)</dt><dd><tt>Return the suffix for a triangle mesh.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getLoops"><strong>getLoops</strong></a>(self, importRadius, z)</dt><dd><tt>Get loops sliced through shape.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-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="Cube-getMinimumZ"><strong>getMinimumZ</strong></a>(self)</dt><dd><tt>Get the minimum z.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getTransformedVertexes"><strong>getTransformedVertexes</strong></a>(self)</dt><dd><tt>Get all transformed vertexes.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getTriangleMeshes"><strong>getTriangleMeshes</strong></a>(self)</dt><dd><tt>Get all triangleMeshes.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getVertexes"><strong>getVertexes</strong></a>(self)</dt><dd><tt>Get all vertexes.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-setCarveImportRadius"><strong>setCarveImportRadius</strong></a>(self, importRadius)</dt><dd><tt>Set the import radius.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-setCarveIsCorrectMesh"><strong>setCarveIsCorrectMesh</strong></a>(self, isCorrectMesh)</dt><dd><tt>Set the is correct mesh flag.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-setCarveLayerHeight"><strong>setCarveLayerHeight</strong></a>(self, layerHeight)</dt><dd><tt>Set the layer height.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-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="Cube-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="Cube-getMatrix4X4"><strong>getMatrix4X4</strong></a>(self)</dt><dd><tt>Get the matrix4X4.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getMatrixChainTetragrid"><strong>getMatrixChainTetragrid</strong></a>(self)</dt><dd><tt>Get the matrix chain tetragrid.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-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="Cube-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of this object info.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-addXML"><strong>addXML</strong></a>(self, depth, output)</dt><dd><tt>Add xml for this object.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-addXMLArchivableObjects"><strong>addXMLArchivableObjects</strong></a>(self, depth, output)</dt><dd><tt>Add xml for this object.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getAttributes"><strong>getAttributes</strong></a>(self)</dt><dd><tt>Get attribute table.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getComplexTransformedPathLists"><strong>getComplexTransformedPathLists</strong></a>(self)</dt><dd><tt>Get complex transformed path lists.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getFabricationExtension"><strong>getFabricationExtension</strong></a>(self)</dt><dd><tt>Get fabrication extension.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getFabricationText"><strong>getFabricationText</strong></a>(self, addLayerTemplate)</dt><dd><tt>Get fabrication text.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getPaths"><strong>getPaths</strong></a>(self)</dt><dd><tt>Get all paths.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getTransformedPaths"><strong>getTransformedPaths</strong></a>(self)</dt><dd><tt>Get all transformed paths.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getType"><strong>getType</strong></a>(self)</dt><dd><tt>Get type.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-getXMLLocalName"><strong>getXMLLocalName</strong></a>(self)</dt><dd><tt>Get xml local name.</tt></dd></dl>
|
||
|
|
|
||
|
|
<dl><dt><a name="Cube-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="CubeDerivation">class <strong>CubeDerivation</strong></a></font></td></tr>
|
||
|
|
|
||
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
||
|
|
<td colspan=2><tt>Class to hold cube variables.<br> </tt></td></tr>
|
||
|
|
<tr><td> </td>
|
||
|
|
<td width="100%">Methods defined here:<br>
|
||
|
|
<dl><dt><a name="CubeDerivation-__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="-addCube"><strong>addCube</strong></a>(elementNode, faces, inradius, vertexes)</dt><dd><tt>Add cube by inradius.</tt></dd></dl>
|
||
|
|
<dl><dt><a name="-getGeometryOutput"><strong>getGeometryOutput</strong></a>(elementNode, inradius)</dt><dd><tt>Get cube 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="-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>
|