mcjBatchDufToPz2
Purpose
This script for daz studio 4 lets you convert a collection of .duf pose files into .pz2 Poser pose files
History
May 10th 2016 7:58am - Version 7 - There was a bug in the "get bone list from duf" option ( the word 'nones' instead of 'bones' at line 345 )
April 28th 1:31 PM Version 6 you can disable the export of the 3 rotation and 3 translation channels for the root node and the hip node
April 28th 2:33 AM Version 5 option to get the list of bones from the ( non-compressed ) .duf file and pz2-export only those. WebHelp button. User interface state saved restored upon exis/start
April 27th 2016, 1:29 AM Version 4 - option to write jpg copies of the 3DViewport for each pose
APR 26, 2016, 3:26 PM Version 3 using contentManager instead of importManager, export folder can be different from import folder
April 25th 2016 11:33PM version 2 - Rotations now in the pz2 files, thumbnail filenames poser compatible, removed the extraneous closing bracket at the bottom of the pz2 which caused Poser to complain
April 25th 2016 4 am version 1
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
Use
Select a figure, usually in the Scene Tab
Run the script
Click the 'Go' button
browse up to the folder containing your .duf pose files
and optionally, the matching thumbnail pictures ( ex: mypose.duf mypose.duf.png )
note that all the .duf files in that folder will be processed !!!
you should see the figure on-screen go through all the poses for each .duf pose file
the .pz2 files will be created in the same folder as the .duf files
if present, the thumbnail images will be duplicated and renamed from .duf.png to .pz2.png
note: the script will overwrite the .pz2 files if they already exist in that folder, no mercy
but the .duf files are safe
Improvements
New in version 5
version 5 has a checkbox titled "Get bone from duf"
when you enable this option, the script will inspect the .duf file content
and build a list of the bones targeted by this .duf pose file.
Then during the pz2 export, only bones from that list get their pose exported
New in version 6
version 6 has twelve checkboxes which lets you disable the export of the rotation and translation channels
for the root ( figure ) and the hip nodes.
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.
// =====================================================================