fabmetheus_utilities.geometry.solids.triangle_mesh ($Date: 2008/02/05 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/geometry/solids/triangle_mesh.py

`Triangle Mesh holds the faces and edges of a triangular mesh.`

Modules
`` |  |
__init__ cmath fabmetheus_utilities.geometry.geometry_tools.dictionary fabmetheus_utilities.euclidean | fabmetheus_utilities.geometry.geometry_utilities.evaluate fabmetheus_utilities.geometry.geometry_tools.face fabmetheus_utilities.geometry.solids.group fabmetheus_utilities.intercircle | math fabmetheus_utilities.geometry.geometry_utilities.matrix fabmetheus_utilities.settings fabmetheus_utilities.geometry.geometry_tools.vertex | fabmetheus_utilities.xml_simple_writer

Classes
`` |  | fabmetheus_utilities.geometry.solids.group.Group(fabmetheus_utilities.geometry.geometry_tools.dictionary.Dictionary) TriangleMesh EdgePair ZoneArrangement
class EdgePair
`` |  | Methods defined here: __init__(self) `Pair of edges on a face.` __repr__(self) `Get the string representation of this EdgePair.` getFromIndexesEdges(self, edgeIndexes, edges) `Initialize from edge indices.`
class TriangleMesh(fabmetheus_utilities.geometry.solids.group.Group)
`` | `A triangle mesh.`
| Method resolution order: TriangleMesh fabmetheus_utilities.geometry.solids.group.Group fabmetheus_utilities.geometry.geometry_tools.dictionary.Dictionary Methods defined here: __init__(self) `Add empty lists.` addXMLSection(self, depth, output) `Add the xml section for this object.` getCarveCornerMaximum(self) `Get the corner maximum of the vertexes.` getCarveCornerMinimum(self) `Get the corner minimum of the vertexes.` getCarveLayerThickness(self) `Get the layer thickness.` getCarveRotatedBoundaryLayers(self) `Get the rotated boundary layers.` getFabmetheusXML(self) `Return the fabmetheus XML.` getGeometryOutput(self) `Get geometry output dictionary.` getInterpretationSuffix(self) `Return the suffix for a triangle mesh.` getLoops(self, importRadius, z) `Get loops sliced through shape.` getLoopsFromMesh(self, z) `Get loops from a carve of a mesh.` getMinimumZ(self) `Get the minimum z.` getTransformedVertexes(self) `Get all transformed vertexes.` getTriangleMeshes(self) `Get all triangleMeshes.` getVertexes(self) `Get all vertexes.` getZAddExtruderPaths(self, z) `Get next z and add extruder loops.` liftByMinimumZ(self, minimumZ) `Lift the triangle mesh to the altitude.` setCarveImportRadius(self, importRadius) `Set the import radius.` setCarveInfillInDirectionOfBridge(self, infillInDirectionOfBridge) `Set the infill in direction of bridge.` setCarveIsCorrectMesh(self, isCorrectMesh) `Set the is correct mesh flag.` setCarveLayerThickness(self, layerThickness) `Set the layer thickness.` setEdgesForAllFaces(self) `Set the face edges of all the faces.` Methods inherited from fabmetheus_utilities.geometry.solids.group.Group: addXMLInnerSection(self, depth, output) `Add xml inner section for this object.` getMatrix4X4(self) `Get the matrix4X4.` getMatrixChainTetragrid(self) `Get the matrix chain tetragrid.` getVisible(self) `Get visible.` setToXMLElement(self, xmlElement) `Set to xmlElement.` Methods inherited from fabmetheus_utilities.geometry.geometry_tools.dictionary.Dictionary: __repr__(self) `Get the string representation of this object info.` addXML(self, depth, output) `Add xml for this object.` addXMLArchivableObjects(self, depth, output) `Add xml for this object.` createShape(self) `Create the shape.` getAttributeDictionary(self) `Get attribute table.` getComplexTransformedPathLists(self) `Get complex transformed path lists.` getFabricationExtension(self) `Get fabrication extension.` getFabricationText(self, addLayerTemplate) `Get fabrication text.` getPaths(self) `Get all paths.` getTransformedPaths(self) `Get all transformed paths.` getType(self) `Get type.` getXMLClassName(self) `Get xml class name.`
class ZoneArrangement
`` | `A zone arrangement.`
| Methods defined here: __init__(self, layerThickness, vertexes) `Initialize the zone interval and the zZone table.` getEmptyZ(self, z) `Get the first z which is not in the zone table.`

Functions
`` |  | addEdgePair(edgePairTable, edges, faceEdgeIndex, remainingEdgeIndex, remainingEdgeTable) `Add edge pair to the edge pair table.` addFacesByConcaveLoop(faces, indexedLoop) `Add faces from a polygon which is concave.` addFacesByConvex(faces, indexedLoop) `Add faces from a convex polygon.` addFacesByConvexBottomTopLoop(faces, indexedLoopBottom, indexedLoopTop) `Add faces from loops.` addFacesByConvexLoops(faces, indexedLoops) `Add faces from loops.` addFacesByConvexReversed(faces, indexedLoop) `Add faces from a reversed convex polygon.` addFacesByGrid(faces, grid) `Add faces from grid.` addFacesByLoop(faces, indexedLoop) `Add faces from a polygon which may be concave.` addFacesByLoopReversed(faces, indexedLoop) `Add faces from a reversed convex polygon.` addLoopToPointTable(loop, pointTable) `Add the points in the loop to the point table.` addPillarByLoops(faces, indexedLoops) `Add pillar by loops which may be concave.` addPillarFromConvexLoopsGridTop(faces, indexedGridTop, indexedLoops) `Add pillar from convex loops and grid top.` addPillarFromConvexLoopsGrids(faces, indexedGrids, indexedLoops) `Add pillar from convex loops and grids.` addPointsAtZ(edgePair, points, radius, vertexes, z) `Add point complexes on the segment between the edge intersections with z.` addSymmetricXPath(outputs, path, x) `Add x path output to outputs.` addSymmetricXPaths(outputs, paths, x) `Add x paths outputs to outputs.` addSymmetricYPath(outputs, path, y) `Add y path output to outputs.` addSymmetricYPaths(outputs, paths, y) `Add y paths outputs to outputs.` addWithLeastLength(importRadius, loops, point) `Insert a point into a loop, at the index at which the loop would be shortest.` convertXMLElement(geometryOutput, xmlElement) `Convert the xml element to a TriangleMesh xml element.` getAddIndexedGrid(grid, vertexes, z) `Get and add an indexed grid.` getAddIndexedLoop(loop, vertexes, z) `Get and add an indexed loop.` getAddIndexedLoops(loop, vertexes, zList) `Get and add indexed loops.` getAdditionalLoopLength(loop, point, pointIndex) `Get the additional length added by inserting a point into a loop.` getBridgeDirection(belowLoops, layerLoops, layerThickness) `Get span direction for the majority of the overhanging extrusion perimeter, if any.` getBridgeLoops(layerThickness, loop) `Get the inset bridge loops from the loop.` getCarveIntersectionFromEdge(edge, vertexes, z) `Get the complex where the carve intersects the edge.` getDescendingAreaLoops(allPoints, corners, importRadius) `Get descending area loops which include most of the points.` getDescendingAreaOrientedLoops(allPoints, corners, importRadius) `Get descending area oriented loops which include most of the points.` getDoubledRoundZ(overhangingSegment, segmentRoundZ) `Get doubled plane angle around z of the overhanging segment.` getGeometryOutputByFacesVertexes(faces, vertexes) `Get geometry output dictionary by faces and vertexes.` getGeometryOutputCopy(object) `Get the geometry output copy.` getIndexedCellLoopsFromIndexedGrid(grid) `Get indexed cell loops from an indexed grid.` getIndexedLoopFromIndexedGrid(indexedGrid) `Get indexed loop from around the indexed grid.` getInsetPoint(loop, tinyRadius) `Get the inset vertex.` getIsPathEntirelyOutsideTriangle(begin, center, end, vector3Path) `Determine if a path is entirely outside another loop.` getIsPointCloseInline(close, loop, point, pointIndex) `Insert a point into a loop, at the index at which the loop would be shortest.` getLoopsFromCorrectMesh(edges, faces, vertexes, z) `Get loops from a carve of a correct mesh.` getLoopsFromUnprovenMesh(edges, faces, importRadius, vertexes, z) `Get loops from a carve of an unproven mesh.` getLoopsWithCorners(corners, importRadius, loops, pointTable) `Add corners to the loops.` getNextEdgeIndexAroundZ(edge, faces, remainingEdgeTable) `Get the next edge index in the mesh carve.` getOrientedLoops(loops) `Orient the loops which must be in descending order.` getOverhangDirection(belowOutsetLoops, segmentBegin, segmentEnd) `Add to span direction from the endpoint segments which overhang the layer below.` getOverlapRatio(loop, pointTable) `Get the overlap ratio between the loop and the point table.` getPath(edges, pathIndexes, loop, z) `Get the path from the edge intersections.` getPillarOutput(loops) `Get pillar output.` getPillarsOutput(loopLists) `Get pillars output.` getRemainingEdgeTable(edges, vertexes, z) `Get the remaining edge hashtable.` getRemainingLoopAddFace(faces, remainingLoop) `Get the remaining loop and add face.` getSharedFace(firstEdge, faces, secondEdge) `Get the face which is shared by two edges.` getSymmetricXLoop(path, vertexes, x) `Get symmetrix x loop.` getSymmetricYLoop(path, vertexes, y) `Get symmetrix y loop.` getUnifiedOutput(outputs) `Get unified output.` getUniqueVertexes(loops) `Get unique vertexes.` getWideAnglePointIndex(loop) `Get a point index which has a wide enough angle, most point indexes have a wide enough angle, this is just to make sure.` getZAddExtruderPathsBySolidCarving(rotatedLoopLayer, solidCarving, z) `Get next z and add extruder loops by solid carving.` isInline(beginComplex, centerComplex, endComplex) `Determine if the three complex points form a line.` isPathAdded(edges, faces, loops, remainingEdgeTable, vertexes, z) `Get the path indexes around a triangle mesh carve and add the path to the flat loops.` processXMLElement(xmlElement) `Process the xml element.` setEdgeMaximumMinimum(edge, vertexes) `Set the edge maximum and minimum.` sortLoopsInOrderOfArea(isDescending, loops) `Sort the loops in the order of area according isDescending.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __credits__ = 'Art of Illusion <http://www.artofillusion.org/>' __date__ = '$Date: 2008/02/05 $' __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)

Credits
`` |  | Art of Illusion <http://www.artofillusion.org/>