mcjParent




Introduction


This script for DS1, 2, 3, 4 will let you do animations tasks like picking and leaving an object ( a sword for example

It cam also let you do simple parenting. In fact initially i wrote this because my Daz Studio 3

regularly loses the ability to parent one node to another after an hour of work on a scene.

So instead of saving my scene, closing DS3, restarting DS3 and re-loading the scene, i use this script

YouTube Video



History


March 30 2013 released

June 28 2015 9:07 am - Version 2, has better "parent in place" support


Installation


The zip package is 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




simple parenting


with your mouse select the egg, select the robot's wrist, while  pressing the CTRL key



run mcjParent

select the wrist as the parent

make sure only "parent to parent" is checked

click the OK button


 

Advanced : Picking and dropping an object


we are at frame 45, the egg is not parented to anything

the robot arm was brought to this position "manually"



- create a null node, rename it to "grabber"

- select grabber and select the egg

- run mcjParent


- select the egg as the parent

- only check-mark "Move to Parent Position"

- in "range to be processed" select "Current Frame only"

- click the OK button

the "grabber" jumped to the position of the egg

- select "grabber" and select the arm's wrist

- run mcjParent

- select the wrist as the parent node

- make sure only "Parent to parent" is checked

- click the OK button




From now on, the robot's arm can swing around and the grabber will follow

We want the egg to follow the wrist, but only from frame 45 to 120

- select the egg and the grabber

- launch mcjParent



- select grabber as the parent node

- select "custom Frame Range" and type in the values 45 and 120

- make sure "step" slider is at 1

- check-mark "Move to parent position"

- check-mark "Orient like parent"

- click OK


the egg now follows the wrist from frame 45 to 120

before and after that, the egg is independent











License

//===================================================================
// by mCasual/Jacques
//===================================================================
// ( MIT License )
// Copyright (c) <2013> <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.
//===============================================================================================



ċ
mcjParent.zip
(23k)
mCasual Jacques,
Jun 28, 2015, 6:07 AM
Ċ
mCasual Jacques,
Mar 30, 2013, 5:35 AM
Comments