<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module skeinforge_tools.import_plugins.xml</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="skeinforge_tools.html"><font color="#ffffff">skeinforge_tools</font></a>.<a href="skeinforge_tools.import_plugins.html"><font color="#ffffff">import_plugins</font></a>.xml</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/pyRepRap/skeinforge_tools/import_plugins/xml.py">/home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/import_plugins/xml.py</a></font></td></tr></table> <p> <a href="skeinforge_tools.import_plugins.svg.html">Previous</a> / <a href="skeinforge_tools.meta.html">Next</a> / <a href="contents.html">Contents</a> </p> <p><tt><br> The xml.py script is an import translator plugin to get a carving from an Art of Illusion xml file.<br> <br> An import plugin is a script in the import_plugins folder which has the function getCarving. It is meant to be run from the interpret tool. To ensure that the plugin works on platforms which do not handle file capitalization properly, give the plugin a lower case name.<br> <br> The getCarving function takes the file name of an xml file and returns the carving.<br> <br> This example gets a triangle mesh for the xml file boolean.xml. This example is run in a terminal in the folder which contains boolean.xml and xml.py.<br> <br> <br> > python<br> Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)<br> [GCC 4.2.1 (SUSE Linux)] on linux2<br> Type "help", "copyright", "credits" or "license" for more information.<br> >>> import xml<br> >>> xml.<a href="#-getCarving">getCarving</a>().getCarveRotatedBoundaryLayers()<br> [-1.159765625, None, [[(-18.925000000000001-2.4550000000000001j), (-18.754999999999981-2.4550000000000001j)<br> ..<br> many more lines of the carving<br> ..<br> <br> <br> An xml file can be exported from Art of Illusion by going to the "File" menu, then going into the "Export" menu item, then picking the XML choice. This will bring up the XML file chooser window, choose a place to save the file then click "OK". Leave the "compressFile" checkbox unchecked. All the objects from the scene will be exported, this plugin will ignore the light and camera. If you want to fabricate more than one object at a time, you can have multiple objects in the Art of Illusion scene and they will all be carved, then fabricated together.</tt> <br /> <br /> <p> <a href="skeinforge_tools.import_plugins.svg.html">Previous</a> / <a href="skeinforge_tools.meta.html">Next</a> / <a href="contents.html">Contents</a> </p> <hr> </p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> <td colspan=3 valign=bottom> <br> <font color="#fffff" 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="skeinforge_tools.skeinforge_utilities.euclidean.html">skeinforge_tools.skeinforge_utilities.euclidean</a><br> </td><td width="25%" valign=top><a href="skeinforge_tools.skeinforge_utilities.gcodec.html">skeinforge_tools.skeinforge_utilities.gcodec</a><br> <a href="skeinforge_tools.skeinforge_utilities.intercircle.html">skeinforge_tools.skeinforge_utilities.intercircle</a><br> </td><td width="25%" valign=top><a href="math.html">math</a><br> <a href="sys.html">sys</a><br> </td><td width="25%" valign=top><a href="skeinforge_tools.skeinforge_utilities.triangle_mesh.html">skeinforge_tools.skeinforge_utilities.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="skeinforge_tools.import_plugins.xml.html#Matrix4By4">Matrix4By4</a> </font></dt><dt><font face="helvetica, arial"><a href="skeinforge_tools.import_plugins.xml.html#TriangleMeshObjectInfo">TriangleMeshObjectInfo</a> </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="skeinforge_tools.import_plugins.xml.html#CSGObjectObjectInfo">CSGObjectObjectInfo</a> </font></dt><dt><font face="helvetica, arial"><a href="skeinforge_tools.import_plugins.xml.html#CubeObjectInfo">CubeObjectInfo</a> </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="skeinforge_tools.import_plugins.xml.html#CylinderObjectInfo">CylinderObjectInfo</a> </font></dt><dt><font face="helvetica, arial"><a href="skeinforge_tools.import_plugins.xml.html#SphereObjectInfo">SphereObjectInfo</a> </font></dt></dl> </dd> </dl> </dd> <dt><font face="helvetica, arial"><a href="skeinforge_tools.import_plugins.xml.html#XMLCarving">XMLCarving</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="CSGObjectObjectInfo">class <strong>CSGObjectObjectInfo</strong></a>(<a href="skeinforge_tools.import_plugins.xml.html#TriangleMeshObjectInfo">TriangleMeshObjectInfo</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>An Art of Illusion CSG object info.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="CSGObjectObjectInfo-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of this object info.</tt></dd></dl> <dl><dt><a name="CSGObjectObjectInfo-getIntersectedLoops"><strong>getIntersectedLoops</strong></a>(self, importRadius, subObjectInfoLoopsList)</dt><dd><tt>Get intersected loops sliced through shape.</tt></dd></dl> <dl><dt><a name="CSGObjectObjectInfo-getJoinedLoops"><strong>getJoinedLoops</strong></a>(self, importRadius, subObjectInfoLoopsList)</dt><dd><tt>Get joined loops sliced through shape.</tt></dd></dl> <dl><dt><a name="CSGObjectObjectInfo-getLoops"><strong>getLoops</strong></a>(self, importRadius, z)</dt><dd><tt>Get loops sliced through shape.</tt></dd></dl> <dl><dt><a name="CSGObjectObjectInfo-getSubtractedLoops"><strong>getSubtractedLoops</strong></a>(self, importRadius, subObjectInfoLoopsList)</dt><dd><tt>Get subtracted loops sliced through shape.</tt></dd></dl> <dl><dt><a name="CSGObjectObjectInfo-getVertices"><strong>getVertices</strong></a>(self)</dt><dd><tt>Get all vertices.</tt></dd></dl> <dl><dt><a name="CSGObjectObjectInfo-setShape"><strong>setShape</strong></a>(self, matrix4By4)</dt><dd><tt>Set the shape of this carvable object info.</tt></dd></dl> <hr> Methods inherited from <a href="skeinforge_tools.import_plugins.xml.html#TriangleMeshObjectInfo">TriangleMeshObjectInfo</a>:<br> <dl><dt><a name="CSGObjectObjectInfo-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Set name to None.</tt></dd></dl> <dl><dt><a name="CSGObjectObjectInfo-getNewCarvableObjectInfo"><strong>getNewCarvableObjectInfo</strong></a>(self, objectInfoElement)</dt><dd><tt>Get new carvable object info.</tt></dd></dl> <dl><dt><a name="CSGObjectObjectInfo-getTransformAttributeTable"><strong>getTransformAttributeTable</strong></a>(self, coords, transformName)</dt><dd><tt>Get the transform attributes.</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="CubeObjectInfo">class <strong>CubeObjectInfo</strong></a>(<a href="skeinforge_tools.import_plugins.xml.html#TriangleMeshObjectInfo">TriangleMeshObjectInfo</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>An Art of Illusion Cube object info.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="CubeObjectInfo-setBottomTopTriangleMesh"><strong>setBottomTopTriangleMesh</strong></a>(self, edgeTriples, matrix4By4, vertexPairs, vertices)</dt><dd><tt>Set the bottom, top and triangle mesh of this carvable object info.</tt></dd></dl> <dl><dt><a name="CubeObjectInfo-setShape"><strong>setShape</strong></a>(self, matrix4By4)</dt><dd><tt>Set the shape of this carvable object info.</tt></dd></dl> <hr> Methods inherited from <a href="skeinforge_tools.import_plugins.xml.html#TriangleMeshObjectInfo">TriangleMeshObjectInfo</a>:<br> <dl><dt><a name="CubeObjectInfo-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Set name to None.</tt></dd></dl> <dl><dt><a name="CubeObjectInfo-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of this object info.</tt></dd></dl> <dl><dt><a name="CubeObjectInfo-getLoops"><strong>getLoops</strong></a>(self, importRadius, z)</dt><dd><tt>Get loops sliced through shape.</tt></dd></dl> <dl><dt><a name="CubeObjectInfo-getNewCarvableObjectInfo"><strong>getNewCarvableObjectInfo</strong></a>(self, objectInfoElement)</dt><dd><tt>Get new carvable object info.</tt></dd></dl> <dl><dt><a name="CubeObjectInfo-getTransformAttributeTable"><strong>getTransformAttributeTable</strong></a>(self, coords, transformName)</dt><dd><tt>Get the transform attributes.</tt></dd></dl> <dl><dt><a name="CubeObjectInfo-getVertices"><strong>getVertices</strong></a>(self)</dt><dd><tt>Get all vertices.</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="CylinderObjectInfo">class <strong>CylinderObjectInfo</strong></a>(<a href="skeinforge_tools.import_plugins.xml.html#CubeObjectInfo">CubeObjectInfo</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>An Art of Illusion Cylinder object info.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="skeinforge_tools.import_plugins.xml.html#CylinderObjectInfo">CylinderObjectInfo</a></dd> <dd><a href="skeinforge_tools.import_plugins.xml.html#CubeObjectInfo">CubeObjectInfo</a></dd> <dd><a href="skeinforge_tools.import_plugins.xml.html#TriangleMeshObjectInfo">TriangleMeshObjectInfo</a></dd> </dl> <hr> Methods defined here:<br> <dl><dt><a name="CylinderObjectInfo-setShape"><strong>setShape</strong></a>(self, matrix4By4)</dt><dd><tt>Set the shape of this carvable object info.</tt></dd></dl> <hr> Methods inherited from <a href="skeinforge_tools.import_plugins.xml.html#CubeObjectInfo">CubeObjectInfo</a>:<br> <dl><dt><a name="CylinderObjectInfo-setBottomTopTriangleMesh"><strong>setBottomTopTriangleMesh</strong></a>(self, edgeTriples, matrix4By4, vertexPairs, vertices)</dt><dd><tt>Set the bottom, top and triangle mesh of this carvable object info.</tt></dd></dl> <hr> Methods inherited from <a href="skeinforge_tools.import_plugins.xml.html#TriangleMeshObjectInfo">TriangleMeshObjectInfo</a>:<br> <dl><dt><a name="CylinderObjectInfo-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Set name to None.</tt></dd></dl> <dl><dt><a name="CylinderObjectInfo-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of this object info.</tt></dd></dl> <dl><dt><a name="CylinderObjectInfo-getLoops"><strong>getLoops</strong></a>(self, importRadius, z)</dt><dd><tt>Get loops sliced through shape.</tt></dd></dl> <dl><dt><a name="CylinderObjectInfo-getNewCarvableObjectInfo"><strong>getNewCarvableObjectInfo</strong></a>(self, objectInfoElement)</dt><dd><tt>Get new carvable object info.</tt></dd></dl> <dl><dt><a name="CylinderObjectInfo-getTransformAttributeTable"><strong>getTransformAttributeTable</strong></a>(self, coords, transformName)</dt><dd><tt>Get the transform attributes.</tt></dd></dl> <dl><dt><a name="CylinderObjectInfo-getVertices"><strong>getVertices</strong></a>(self)</dt><dd><tt>Get all vertices.</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="Matrix4By4">class <strong>Matrix4By4</strong></a></font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>A four by four matrix.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="Matrix4By4-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Add empty lists.</tt></dd></dl> <dl><dt><a name="Matrix4By4-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of this four by four matrix.</tt></dd></dl> <dl><dt><a name="Matrix4By4-getFromAttributeTable"><strong>getFromAttributeTable</strong></a>(self, attributeTable)</dt><dd><tt>Get the from row column attribute strings, counting from one.</tt></dd></dl> <dl><dt><a name="Matrix4By4-getMultiplied"><strong>getMultiplied</strong></a>(self, otherMatrix)</dt><dd><tt>Get this matrix multiplied by the other matrix.</tt></dd></dl> <dl><dt><a name="Matrix4By4-setMatrixToZero"><strong>setMatrixToZero</strong></a>(self)</dt><dd><tt>Get the matrix elements to zero.</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="SphereObjectInfo">class <strong>SphereObjectInfo</strong></a>(<a href="skeinforge_tools.import_plugins.xml.html#CubeObjectInfo">CubeObjectInfo</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>An Art of Illusion Sphere object info.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="skeinforge_tools.import_plugins.xml.html#SphereObjectInfo">SphereObjectInfo</a></dd> <dd><a href="skeinforge_tools.import_plugins.xml.html#CubeObjectInfo">CubeObjectInfo</a></dd> <dd><a href="skeinforge_tools.import_plugins.xml.html#TriangleMeshObjectInfo">TriangleMeshObjectInfo</a></dd> </dl> <hr> Methods defined here:<br> <dl><dt><a name="SphereObjectInfo-setShape"><strong>setShape</strong></a>(self, matrix4By4)</dt><dd><tt>Set the shape of this carvable object info.</tt></dd></dl> <hr> Methods inherited from <a href="skeinforge_tools.import_plugins.xml.html#CubeObjectInfo">CubeObjectInfo</a>:<br> <dl><dt><a name="SphereObjectInfo-setBottomTopTriangleMesh"><strong>setBottomTopTriangleMesh</strong></a>(self, edgeTriples, matrix4By4, vertexPairs, vertices)</dt><dd><tt>Set the bottom, top and triangle mesh of this carvable object info.</tt></dd></dl> <hr> Methods inherited from <a href="skeinforge_tools.import_plugins.xml.html#TriangleMeshObjectInfo">TriangleMeshObjectInfo</a>:<br> <dl><dt><a name="SphereObjectInfo-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Set name to None.</tt></dd></dl> <dl><dt><a name="SphereObjectInfo-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of this object info.</tt></dd></dl> <dl><dt><a name="SphereObjectInfo-getLoops"><strong>getLoops</strong></a>(self, importRadius, z)</dt><dd><tt>Get loops sliced through shape.</tt></dd></dl> <dl><dt><a name="SphereObjectInfo-getNewCarvableObjectInfo"><strong>getNewCarvableObjectInfo</strong></a>(self, objectInfoElement)</dt><dd><tt>Get new carvable object info.</tt></dd></dl> <dl><dt><a name="SphereObjectInfo-getTransformAttributeTable"><strong>getTransformAttributeTable</strong></a>(self, coords, transformName)</dt><dd><tt>Get the transform attributes.</tt></dd></dl> <dl><dt><a name="SphereObjectInfo-getVertices"><strong>getVertices</strong></a>(self)</dt><dd><tt>Get all vertices.</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="TriangleMeshObjectInfo">class <strong>TriangleMeshObjectInfo</strong></a></font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>An Art of Illusion object info.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="TriangleMeshObjectInfo-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Set name to None.</tt></dd></dl> <dl><dt><a name="TriangleMeshObjectInfo-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of this object info.</tt></dd></dl> <dl><dt><a name="TriangleMeshObjectInfo-getLoops"><strong>getLoops</strong></a>(self, importRadius, z)</dt><dd><tt>Get loops sliced through shape.</tt></dd></dl> <dl><dt><a name="TriangleMeshObjectInfo-getNewCarvableObjectInfo"><strong>getNewCarvableObjectInfo</strong></a>(self, objectInfoElement)</dt><dd><tt>Get new carvable object info.</tt></dd></dl> <dl><dt><a name="TriangleMeshObjectInfo-getTransformAttributeTable"><strong>getTransformAttributeTable</strong></a>(self, coords, transformName)</dt><dd><tt>Get the transform attributes.</tt></dd></dl> <dl><dt><a name="TriangleMeshObjectInfo-getVertices"><strong>getVertices</strong></a>(self)</dt><dd><tt>Get all vertices.</tt></dd></dl> <dl><dt><a name="TriangleMeshObjectInfo-setShape"><strong>setShape</strong></a>(self, matrix4By4)</dt><dd><tt>Set the shape of this carvable object info.</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="XMLCarving">class <strong>XMLCarving</strong></a></font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>An svg carving.<br> </tt></td></tr> <tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="XMLCarving-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Add empty lists.</tt></dd></dl> <dl><dt><a name="XMLCarving-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get the string representation of this carving.</tt></dd></dl> <dl><dt><a name="XMLCarving-getCarveCornerMaximum"><strong>getCarveCornerMaximum</strong></a>(self)</dt><dd><tt>Get the corner maximum of the vertices.</tt></dd></dl> <dl><dt><a name="XMLCarving-getCarveCornerMinimum"><strong>getCarveCornerMinimum</strong></a>(self)</dt><dd><tt>Get the corner minimum of the vertices.</tt></dd></dl> <dl><dt><a name="XMLCarving-getCarveLayerThickness"><strong>getCarveLayerThickness</strong></a>(self)</dt><dd><tt>Get the layer thickness.</tt></dd></dl> <dl><dt><a name="XMLCarving-getCarveRotatedBoundaryLayers"><strong>getCarveRotatedBoundaryLayers</strong></a>(self)</dt><dd><tt>Get the rotated boundary layers.</tt></dd></dl> <dl><dt><a name="XMLCarving-getExtruderPaths"><strong>getExtruderPaths</strong></a>(self, z)</dt><dd><tt>Get extruder loops.</tt></dd></dl> <dl><dt><a name="XMLCarving-getZAddExtruderPaths"><strong>getZAddExtruderPaths</strong></a>(self, z)</dt><dd><tt>Get next z and add extruder loops.</tt></dd></dl> <dl><dt><a name="XMLCarving-parseXML"><strong>parseXML</strong></a>(self, xmlText)</dt><dd><tt>Parse XML text and store the layers.</tt></dd></dl> <dl><dt><a name="XMLCarving-setActualMinimumZ"><strong>setActualMinimumZ</strong></a>(self, halfHeight, layerTop)</dt><dd><tt>Get the actual minimum z at the lowest rotated boundary layer.</tt></dd></dl> <dl><dt><a name="XMLCarving-setCarveBridgeLayerThickness"><strong>setCarveBridgeLayerThickness</strong></a>(self, bridgeLayerThickness)</dt><dd><tt>Set the bridge layer thickness. If the infill is not in the direction of the bridge, the bridge layer thickness should be given as None or not set at all.</tt></dd></dl> <dl><dt><a name="XMLCarving-setCarveImportRadius"><strong>setCarveImportRadius</strong></a>(self, importRadius)</dt><dd><tt>Set the import radius.</tt></dd></dl> <dl><dt><a name="XMLCarving-setCarveIsCorrectMesh"><strong>setCarveIsCorrectMesh</strong></a>(self, isCorrectMesh)</dt><dd><tt>Set the is correct mesh flag.</tt></dd></dl> <dl><dt><a name="XMLCarving-setCarveLayerThickness"><strong>setCarveLayerThickness</strong></a>(self, layerThickness)</dt><dd><tt>Set the layer thickness.</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="-addCarvableObjectInfo"><strong>addCarvableObjectInfo</strong></a>(carvableObjectInfos, objectInfoElement)</dt><dd><tt>Add the object info if it is carvable.</tt></dd></dl> <dl><dt><a name="-addCarvableObjectInfoWithMatrix"><strong>addCarvableObjectInfoWithMatrix</strong></a>(carvableObjectInfos, matrix4By4, objectInfoElement)</dt><dd><tt>Add the object info if it is carvable.</tt></dd></dl> <dl><dt><a name="-addLineLoopsIntersections"><strong>addLineLoopsIntersections</strong></a>(loopLoopsIntersections, loops, pointBegin, pointEnd)</dt><dd><tt>Add intersections of the line with the loops.</tt></dd></dl> <dl><dt><a name="-addLineXSegmentIntersection"><strong>addLineXSegmentIntersection</strong></a>(lineLoopsIntersections, segmentFirstX, segmentSecondX, vector3First, vector3Second, y)</dt><dd><tt>Add intersections of the line with the x segment.</tt></dd></dl> <dl><dt><a name="-addLoopLoopsIntersections"><strong>addLoopLoopsIntersections</strong></a>(loop, loopsLoopsIntersections, otherLoops)</dt><dd><tt>Add intersections of the loop with the other loops.</tt></dd></dl> <dl><dt><a name="-addLoopXSegmentIntersections"><strong>addLoopXSegmentIntersections</strong></a>(lineLoopsIntersections, loop, segmentFirstX, segmentSecondX, segmentYMirror, y)</dt><dd><tt>Add intersections of the loop with the x segment.</tt></dd></dl> <dl><dt><a name="-addLoopsXSegmentIntersections"><strong>addLoopsXSegmentIntersections</strong></a>(lineLoopsIntersections, loops, segmentFirstX, segmentSecondX, segmentYMirror, y)</dt><dd><tt>Add intersections of the loops with the x segment.</tt></dd></dl> <dl><dt><a name="-getBottom"><strong>getBottom</strong></a>(points)</dt><dd><tt>Get the bottom of the points.</tt></dd></dl> <dl><dt><a name="-getCarvableClassObjectInfoTable"><strong>getCarvableClassObjectInfoTable</strong></a>()</dt><dd><tt>Get the carvable class object info table.</tt></dd></dl> <dl><dt><a name="-getCarvableObjectInfo"><strong>getCarvableObjectInfo</strong></a>(objectInfoElement)</dt><dd><tt>Get the object info if it is carvable.</tt></dd></dl> <dl><dt><a name="-getCarving"><strong>getCarving</strong></a>(fileName<font color="#909090">=''</font>)</dt><dd><tt>Get the carving for the xml file.</tt></dd></dl> <dl><dt><a name="-getInBetweenPointsFromLoops"><strong>getInBetweenPointsFromLoops</strong></a>(importRadius, loops)</dt><dd><tt>Get the in between points from loops.</tt></dd></dl> <dl><dt><a name="-getInBetweenPointsFromLoopsBoundarySideOtherLoops"><strong>getInBetweenPointsFromLoopsBoundarySideOtherLoops</strong></a>(inside, importRadius, loops, otherLoops, radiusSide)</dt><dd><tt>Get the in between points from loops.</tt></dd></dl> <dl><dt><a name="-getJoinedList"><strong>getJoinedList</strong></a>(originalLists)</dt><dd><tt>Get the lists as one joined list.</tt></dd></dl> <dl><dt><a name="-getLoopsListsIntersections"><strong>getLoopsListsIntersections</strong></a>(loopsList)</dt><dd><tt>Get intersections betweens the loops lists.</tt></dd></dl> <dl><dt><a name="-getLoopsLoopsIntersections"><strong>getLoopsLoopsIntersections</strong></a>(loops, otherLoops)</dt><dd><tt>Get all the intersections of the loops with the other loops.</tt></dd></dl> <dl><dt><a name="-getPointsBoundarySideLoops"><strong>getPointsBoundarySideLoops</strong></a>(inside, loops, points, radius)</dt><dd><tt>Get the points inside the loops.</tt></dd></dl> <dl><dt><a name="-getSubObjectInfoLoopsList"><strong>getSubObjectInfoLoopsList</strong></a>(importRadius, subObjectInfos, z)</dt><dd><tt>Get subObjectInfo loops list.</tt></dd></dl> <dl><dt><a name="-getTop"><strong>getTop</strong></a>(points)</dt><dd><tt>Get the top of the points.</tt></dd></dl> <dl><dt><a name="-getTransformedByList"><strong>getTransformedByList</strong></a>(floatList, point)</dt><dd><tt>Get the point transformed by the array.</tt></dd></dl> <dl><dt><a name="-getValueInQuotes"><strong>getValueInQuotes</strong></a>(name, text, value)</dt><dd><tt>Get value in quotes after the name.</tt></dd></dl> <dl><dt><a name="-getVector3TransformedByMatrix"><strong>getVector3TransformedByMatrix</strong></a>(matrix, vector3)</dt><dd><tt>Get the vector3 multiplied by a vector3.</tt></dd></dl> <dl><dt><a name="-isPointOrEitherBoundarySideInsideLoops"><strong>isPointOrEitherBoundarySideInsideLoops</strong></a>(inside, loops, pointBegin, pointCenter, pointEnd, radius)</dt><dd><tt>Determine if the point or a point on either side of the point, is inside the loops.</tt></dd></dl> <dl><dt><a name="-isPointOrEitherLineBoundarySideInsideLoops"><strong>isPointOrEitherLineBoundarySideInsideLoops</strong></a>(inside, loops, pointBegin, pointCenter, pointEnd, radius)</dt><dd><tt>Determine if the point or a point on either side of the point, is inside the loops.</tt></dd></dl> <dl><dt><a name="-main"><strong>main</strong></a>()</dt><dd><tt>Display the inset dialog.</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> = 'GPL 3.0'<br> <strong>absolute_import</strong> = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)<br> <strong>globalCarvableClassObjectInfoTable</strong> = {'CSGObject': CSGObjectObjectInfo, 'Cube': CubeObjectInfo, 'Cylinder': CylinderObjectInfo, 'Sphere': SphereObjectInfo, 'TriangleMesh': TriangleMeshObjectInfo}</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>