I am trying to get an old xaml exporter working in blender 2.79.
I have managed to get it showing up in the add-ons list but it when trying to enable it, i get a bunch of errors. I think the Blender API has changed because it won't import Blender. What can I do (not a python programmer) Or if anyone knows of a Xaml Exporter thats working, let me know.
bl_info = {
"name": "XAML format (.xaml)",
"author": "Daniel Lehenbauer and Robert Hogue",
"version": (0, 0, 48),
"blender": (2, 71, 0),
"location": "File > Export > XAML",
"description": "Export mesh to XAML",
"warning": "",
"wiki_url": "https://archive.codeplex.com/?p=xamlexporter",
"category": "Import-Export"}
from io import StringIO
from math import *
# ERROR HERE
import Blender
from Blender import Scene
from Blender import Texture
from Blender import Mathutils
from Blender import Lamp
import BPyMesh
import BPyObject
I have done some more work on it. The code is on PasteBin I am getting the error shown in the image.
import Blender
is an indicator the addon is older than 2.5 (whenbpy
module was introduced) Could update the addon, or install blender 2.49b 8*( $\endgroup$