mcjExportFigureAnimToBlender
Purpose
For each figure in the scene
For each frame of the playRange
Export the figure pose-animation as Blender-Python-Script code
The resulting Blender Python Script can be used after manually importing
the FBX scene that was manually exported from Daz Studio
Note that this functionnality will be added to mcjTeleBlender 4 Beta
mcjTeleBlender can also create blender-python scripts to fix the materials produced by the FBX transfer
https://sites.google.com/site/mcasualsdazscripts9/mcjteleblender4temprelease
History
August 24th 2019 11:02 PM - Release v1
August 25th 2019 1:02 AM - Release v2 ( v1 only saved frames 1 to 180 )
August 25th 2019 2:05 AM - Added the pre-requisite Blender Python script mcjAnimImport.py
August 31st 2019 12:36PM - Better transfer of keyframe times (blender's 1-frame offset and FBX's 25fps)
Installation
The zip package is found at the bottom of this page
unzip it in your daz content folder,
typically :
C:\Users\USERNAME\Documents\DAZ 3D\Studio\My Library
once installed, it will appear in your content library, under
My Library / Scripts / mcasual
Starting with Windows 7 if you right click on the downloaded zip file
and select the [Extract All ....] pop-up menu item
you simply browse up to your Daz Studio Content Folder
and the files will fall in the proper folder
IMPORTANT
in the attachments at the bottom of this page you will find the Blender python script mcjAnimImport.py
this script must be placed in your Blender 2.8 folder 2.80\scripts\addons
Use
Adjust the Daz Studio PlayRange to your liking
Run the script
press the "Export Figures Animation to Blender" button
specify a filename and location
usually the same name and location as the FBX file you will or did export
done
my Daz Studio FBX export settings
for my tests so far i used these settings
you can leave "Animation" export on
And the script produced by mcjexportfigureanimtoblender
will replace the animation of the figures
Blender Import settings are the defaults
Note about Figure root nodes
for now the script transfers the positions of the root nodes correctly
the Rotations and scale animations may not be transfered
i will check/fix this someday soon
License
// =====================================================================
// by mCasual/Jacques
// You can use this script freely for personal or commercial use.
// You may not sell, resell, sub-license or rent this script in any way.
// you may credit this script to mCasual/Jacques
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.
// =====================================================================