# - Check memory use!!
#
# ---------------------------------------------------------------------
-#
-# Changelog:
-#
-# vrm-0.3.py - ...
-# * Adapted to blender API 2.45
-# * First release after code restucturing.
-# Now the script offers a useful set of functionalities
-# and it can render animations, too.
-# * Optimization in Renderer.doEdgeStyle(), build a topology cache
-# so to speed up the lookup of adjacent faces of an edge.
-# Thanks ideasman42.
-# * The SVG output is now SVG 1.0 valid.
-# Checked with: http://jiggles.w3.org/svgvalidator/ValidatorURI.html
-# * Progress indicator during HSR.
-# * Initial SWF output support (using ming)
-# * Fixed a bug in the animation code, now the projection matrix is
-# recalculated at each frame!
-# * PDF output (using reportlab)
-# * Fixed another problem in the animation code the current frame was off
-# by one in the case of camera movement.
-# * Use fps as specified in blender when VectorWriter handles animation
-# * Remove the real file opening in the abstract VectorWriter
-# * View frustum clipping
-# * Scene clipping done using bounding box instead of object center
-# * Fix camera type selection for blender>2.43 (Thanks to Thomas Lachmann)
-# * Compatibility with python 2.3
-# * Process only object that are on visible layers.
-# * Saving config to registry (Thanks to Thomas Lachmann for a draft
-# implementation)
-#
-# ---------------------------------------------------------------------
import Blender
from Blender import Scene, Object, Mesh, NMesh, Material, Lamp, Camera, Window
from math import *
import sys, time
+try:
+ set()
+except NameError:
+ from sets import Set as set
+
+
def uniq(alist):
tmpdict = dict()
return [tmpdict.setdefault(e,e) for e in alist if e not in tmpdict]