# Python: module fabmetheus_utilities.fabmetheus_tools.interpret_plugins.xml_plugins.fabmetheus

fabmetheus_utilities.fabmetheus_tools.interpret_plugins.xml_plugins.fabmetheus ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/fabmetheus_tools/interpret_plugins/xml_plugins/fabmetheus.py

Previous / Next / Contents

`
The xml.py script is an import translator plugin to get a carving from an Art of Illusion xml file.
An import plugin is a script in the interpret_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.
The getCarving function takes the file name of an xml file and returns the carving.
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.`

Previous / Next / Contents

Modules

``

__init__ fabmetheus_utilities.archive fabmetheus_utilities.geometry.geometry_utilities.boolean_geometry | fabmetheus_utilities.geometry.geometry_utilities.evaluate fabmetheus_utilities.gcodec fabmetheus_utilities.geometry.solids.group | os fabmetheus_utilities.settings sys | traceback fabmetheus_utilities.fabmetheus_tools.interpret_plugins.xml fabmetheus_utilities.xml_simple_reader

Classes

``

XMLBooleanGeometryProcessor

class XMLBooleanGeometryProcessor
`` | `A class to process xml boolean geometry elements.`

Methods defined here:

__init__(self)
  `Initialize processor.`

__repr__(self)
  `Get the string representation of this XMLBooleanGeometryProcessor.`

convertElementNode(self, elementNode, geometryOutput)
  `Convert the xml element.`

createChildNodes(self, geometryOutput, parentNode)
  `Create childNodes for the parentNode.`

processChildNodes(self, elementNode)
  `Process the childNodes of the xml element.`

processElementNode(self, elementNode)
  `Process the xml element.`

Functions

``

getCarvingFromParser(xmlParser)
  `Get the carving for the parser.`

processElementNode(elementNode)
  `Process the xml element.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __credits__ = 'Nophead <http://hydraraptor.blogspot.com/>\nArt of Illusion <http://www.artofillusion.org/>' __date__ = '$Date: 2008/21/04 $' __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
`` |  | Nophead <http://hydraraptor.blogspot.com/> Art of Illusion <http://www.artofillusion.org/>