/blender-cf-exporter

Exports roblox CFrames out from blender

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Blender CFrame Exporter

A simple, lightweight addon to export CFrame data out from blender. This tool dumps only CFrames and nothing else. It is intended to be used as an initial step in a larger toolchain.

Installation

Download the latest addon.py and save it somewhere. To install the addon, in Blender, go to Edit > Preferences > Addons and click the Install button near the top right corner. Navigate to wherever you saved the addon.py file, select it, and confirm the installation. Lastly, make sure you enable the addon.

Export Setup

For quick setup reference, you can download and open the example file from the releases page.

In the outliner panel, right-click to create a new collection, and name it EXPORT, as shown below.

alt text

When running the exporter, any object inside of this EXPORT collection will have CFrame data written out on export.

Optionally, you can also have the transforms objects be calculated relative to a root transform on export. (Useful if you want to move an entire rig in blender without baking that translation to animation data.)

This behavior can be achieved by having an object named CF_ROOT somwhere in the hierarchy. The root object does not have to be in the EXPORT collection.

alt text

You can determine range of frames exported by changing the start and end positions of the scene playback.

alt text

Finally, to export CFrames, go to File > Export > Roblox CFrames, and save the file wherever you'd like.

alt text