fabmetheus_utilities.solids.solid_utilities.solid ($Date: 2008/02/05 $)
index
/home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/solids/solid_utilities/solid.pyc

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

It can read from and write to a GNU Triangulated Surface (.gts) file.

The following examples carve the GNU Triangulated Surface file Screw Holder Bottom.stl. The examples are run in a terminal in the folder which contains Screw Holder Bottom.stl and trianglemesh.py.


>python
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import carve
>>> carve.main()
File Screw Holder Bottom.stl is being carved.
The carved file is saved as Screw Holder Bottom_carve.gcode
It took 3 seconds to carve the file.


>>> carve.writeOutput( 'Screw Holder Bottom.stl' )
File Screw Holder Bottom.gcode is being carved.
The carved file is saved as Screw Holder Bottom_carve.gcode
It took 3 seconds to carve the file.


>>> carve.getGcode("
54 162 108 Number of Vertices,Number of Edges,Number of Faces
-5.800000000000001 5.341893939393939 4.017841892579603 Vertex Coordinates XYZ
5.800000000000001 5.341893939393939 4.017841892579603
..
many lines of GNU Triangulated Surface vertices, edges and faces
..
")

 
Modules
       
__init__
fabmetheus_utilities.solids.solid_tools.matrix4x4

 
Classes
       
fabmetheus_utilities.solids.solid_tools.dictionary.Dictionary
Solid

 
class Solid(fabmetheus_utilities.solids.solid_tools.dictionary.Dictionary)
    A solid.
 
  Methods defined here:
__init__(self)
Add empty lists.
addXMLInnerSection(self, depth, output)
Add xml inner section for this object.
addXMLSection(self, depth, output)
Add the xml section for this object.
getAttributeDictionary(self)
Get attribute table.
getVisible(self)
Get visible.
setVisible(self, visible)
Set visible.

Methods inherited from fabmetheus_utilities.solids.solid_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, matrixChain)
Create the shape.
getType(self)
Get type.
getXMLClassName(self)
Get xml class name.
setToObjectAttributeDictionary(self)
Set the shape of this carvable object info.

 
Data
        __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
__credits__ = 'Art of Illusion <http://www.artofillusion.org/>'
__date__ = '$Date: 2008/02/05 $'
__license__ = 'GPL 3.0'
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/>