mcjExportCamToBlender
DS1,2,3,4
Introduction
This is the first piece of my Studio to Blender Bridge Tools
History
version 5 Dec 21 2014 there is now a "scale" setting for cases where the scene was exported ( using mcjTeleBlender for example ) with a non-standard scale
version 4 Jun 26, 2013 same issue fixing as version 3 ... i suspect we reverted to version 2 at some point
version 3 Dec 22, 2013 changed change-frame operand which did not work with blender 2.69
Version 2 Feb 14, 2013 Changed the Blender/Studio scaling factor from 50 to 100
Version 1 Dec 17, 2011 release
Installation
the zip file containing the script for DS 1&2 and the script for DS 3 & 4
can be found in the attachments section at the bottom of this page
unzip it, preferably in your Daz Content folder, in the scripts folder
typically :C:\program files\daz\studio\content\scripts
once installed it will be in your library browser, in studio/scripts/mcasual
Use
Select an animated camera in Daz Studio
Launch the mcjExportCamToBlender script
Specify the range of frames ( by default, the current playrange is selected )
Using the "Export" button, select a destination folder and a name for the file that will be created, example : c:\testCamAnimation.py
you can close Daz Studio
Most often the scenes exported using mcjTeleBlender use a scale of 1 %
But if you exported the scene using a different scale
There is now (since dec 2014 ) the opportunity to export your animated cameras with the same scale
in Blender, create and select a new camera or select the default camera
in the Timeline panel, set the current frame to your liking
in the Text Editor panel, do Text / Open text Block
browse up to and select the file created previously ( ex: c:\testCamAnimation.py )
click the "Run Script" button
it's done for Blender
Tip about exporting .obj from Daz Studio to Blender
When the .obj export panel opens
select the preset named "Poser"
set the Scale to 1 % ( daz studio incorrectly states this as 2% )
Why not use the "Blender" preset?
because it will flip your scene and make it difficult to work with
License
MIT License
// by mCasual/Jacques
// December 17th 2011
// Copyright (c) <2011> <mCasual/Jacques>
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// 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.