Package fabmetheus_utilities :: Module svg_writer
[hide private]
[frames] | no frames]

Module svg_writer

source code

Svg_writer is a class and collection of utilities to read from and write to an svg file.

Svg_writer uses the layer_template.svg file in the templates folder in the same folder as svg_writer, to output an svg file.


Date: $Date: 2008/02/05 $

Author: Enrique Perez (perez_enrique@yahoo.com)

License: GNU Affero General Public License http://www.gnu.org/licenses/agpl.html

Classes [hide private]
  SVGWriter
A base class to get an svg skein from a carving.
Functions [hide private]
 
getCarving(fileName)
Get a carving for the file using an import plugin.
source code
 
getCommentElement(xmlElement)
Get a carving for the file using an import plugin.
source code
 
getSliceDictionary(xmlElement)
Get the metadata slice attribute dictionary.
source code
 
getSliceXMLElements(xmlElement)
Get the slice elements.
source code
 
getSVGByLoopLayers(addLayerTemplateToSVG, carving, rotatedLoopLayers)
Get the svg text.
source code
 
setSVGCarvingCorners(cornerMaximum, cornerMinimum, layerThickness, rotatedLoopLayers)
Parse SVG text and store the layers.
source code
Variables [hide private]
  globalOriginalTextString = '<!-- Original XML Text:\n'
  __interpret_plugins_path__ = 'fabmetheus_utilities/fabmetheus_...
  __package__ = 'fabmetheus_utilities'
Variables Details [hide private]

__interpret_plugins_path__

Value:
'fabmetheus_utilities/fabmetheus_tools/interpret_plugins'