-
Notifications
You must be signed in to change notification settings - Fork 71
249 Workflow Translations
- XPlaneMultiObj.py
- XPlaneExport8.py
- XPlaneExport8_util.py
- xplane_249_converter/init.py
The exporter recurses (if an empty starts with 'GRP') down the tree looking for Empty objects that start with 'OBJ', 'VRT', 'END', 'BGN'. These are exported as individual files with the name from the Empty's 'rname' property.
Anything not under one of these special empties is ignored.
This is basically exactly Root Object Mode. We're only supporting top level empties whose names start with "OBJ". Either the name - "OBJ" or rname
property can be used to fill out XPlaneLayer properties.
The exporter collects every valid object in the scene and writes an OBJ. The name is based off of the Scene name (or the .blend file name if the scene's name is "Scene").
We will make one Root Object and put all top level objects under it.
In both layers 1, 2, and 3 are used for determining what gets put in ATTR_LODs. Layers 4-20 are ignored.
Apparently, it doesn't matter if "OBJ" starting empties are at 0,0,0.