mcjTeleBlenderFBX

Introduction

This Daz Script and the companion Blender scripts helps you export Daz Studio scenes

using the FBX file format and import them in Blender 2.80.

By default the fbx import/export process messes the animation and the materials are poor

BUT mcjTeleBlender + mcjBlendBot fixes most of those issues

History

January 10th 2020 - i disabled the EdgeSplit modifier on props because i had a hair prop with morphs that prevented the blender-side script to complete ... so the figure was all messed up

October 6th 2019 - release version 0.00

February 2nd 2020 - Blender made changes in version 2.81 - i fixed an issue with UV mapping,

MCJBLENDBOTFORBLENDER281_2020_02_02 is MY new kit of Blender scripts, it will detect if you use 2.80 or 2.81, so you can use both.

Note that in one of my test scenes i had a Hair Figure parented but not fitted to Aiko3's head and this prevented the FBX import to complete. So it would be better to convert that hair figure into a prop ( export/import .obj in Daz Studio then delete the hair figure )

Installation

You need to install 2 sets of files

1 - The Daz Scripts

The Daz Script portion of this system mcjTeleBlenderFBX.zip can be found at the bottom of this page

unzip it in your daz content folder, typically

C:\Program Files\DAZ\Studio\content\

once installed, it will appear in your content library, under Studio / Scripts / mcasual

2 - The Blender Scripts

The Blender portion of this system mcjBlendBotForBlender280....zip can be found at the bottom of this page

You must unzip it in the Blender 2.80 scripts\addons folder

typically : C:\Program Files\Blender Foundation\Blender\2.80\scripts\addons

How to use it ( to gain control of the usiverse )

The first time you run this mcjTeleBlenderFBX daz script, set The location of your Blender 2.8 program

see the Browse button of the section titled "Location of Blender.exe"

If you dont want to overwrite old fbx.py/bat files, set the "Export location and prefix for fbx py bat" to a different name before doing the actual export action.

in the "Render Engine" section, select one of the 2 renderers. Note that in the futur other options will be available (the same you had with TeleBlender3 )

I count oon you to figure the "Cycles Render Engine Settings" section

By default mcjTeleBlenderFBX produces two blender scripts, one to fix the animation issues, one to fix the materials issues, but experts may want to turn off their production and execution. This can be adjusted in the "Blender scripts to create and use after Blender loads the FBX" section.

I didnt test the Collect Maps option, so it may be better to leave this ON.

Note that for now, the image maps not handled by the FBX file will be taken from their location on your hard disk,

i count on you to figure the "World Environment" section. The R in RX, RY and RZ mean Rotation. Usually you only tweak the RY rotation

The "Standalone Blender Scripts" section is for experts, it creates the animation fix and materials fix scripts, which you can "manually" launch using Blender's Text Editor

"Export location and prefix for .fbx .py .bat";

This button will silently export the scene as an FBX file, and the companion Blender Script (.py) and batch (.bat) files

then it will run Blender, which will load the FBX, then execute the animation and materials script

"Export Scene as FBX" ... exports the scene as an FBX file, silently. but doesnt produce any fix script and doesnt' run Blender. Let's say it's for experts

"Make Blender Scripts But Dont Run Blender" typical use is 1- use the "Export Scene as FBX" button then use this button to produce the blender fix scripts and the batch (.bat) file, then later, use the .bat file to start Blender which loads the FBX, and executes fix scripts. So let's say it's for entermediate ners

"Make Blender scripts and run blender" for cases where you already Exported the FBX. Note that Blender only accepts binary FBXs, not ASCII ones.

"Restore defaults" sets all the mcjTeleBlenderFBX settings to the default values, so you will need to re-specify the location of Blender2.8 and re-specify the location of the environment map and re-specify the loacation of the fbx file .

"Help" button ... not much help for now

"webHelp" button, launches your internet browser and navigates to the page you are reading

SAFETY FIRST

Maybe it's due to my Video Card or Maybe Blender 2.8 is not stable yet BUT on occasion, while doing Cycles CPU or Cycles GPU renders, Blender crashed, we're talking scary crashes, Black screen, and then Blender closing and Daz Studio crashing

which means, Save your Daz Scene before using this script

and preferably, start Blender using the .bat file

and save your Blender .blend scene before Cycles-rendering

License

by mCasual/Jacques November 2014

You can use this script freely for personal or commercial use.

You may not sell, resell, sub-license or rent this models 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 NON-INFRINGEMENT. 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.