< Previous | Contents | Manuals Home | Boris FX
Blendermash Importer
Blendermash is a mashup of the Sizzle-based Blender exporter with SyPy3 to create a scene update importer that runs inside blender (which requires python 3). This demonstrates the advantages of SyPy's bring-your-own-python approach.
The nominal workflow is as follows:
- Track your scene in SynthEyes
- Export to blender 2.80+ using the normal SynthEyes blender exporter
- Via auto-run or Run Script in Blender, run the initial export.
- Work on the scene in blender.
- You update the tracking in SynthEyes
- At this point, you could export to Blender again using the "Update" option of the exporter, so that it can update the existing scene. However, you'd rather do the following....
- Open the blendermash.py script in blender's script editor.
- Click Run Script, and blendermash pulls the updated scene from SynthEyes (read setup info below.)
- From this point on, you can continue to change the SynthEyes tracking, and simply click Run Script again to repeatedly pull updates from SynthEyes into blender.
In order to do this, you must have done some preliminary setup work.
First, you must install SyPy3 into Blender's python installation. It can typically be found inside the blender installation folder; look for a folder named with the version number, ie a folder named 2.80 for blender 2.80. Inside that folder, see python/lib — that's where SyPy3 must go.
Second, you must arrange for SyPy3 in blender to be able to get the port and pin information for SynthEyes. You can do that a number of ways, probably using command line arguments for one or both applications and/or setting them in blendermash.
©2023 Boris FX, Inc. — UNOFFICIAL — Converted from original PDF.