mcjDropToTop DS 1,2,3,4

 


Introduction


The idea for this script was suggested by TugPsx fro the Daz3D forums

here's other scripts to drop things or people onto floors and terrains








History

March 24th 2016 version 2 has a UI to select the target node and animation support
Nov 24, 2012, 3:37 PM Released, no G.U.I.



Installation


 A Zip file containing the script(s) can be found at the bottom of this page, in the "attachments" section

Unzip this file in your Daz Contents folder, typically this means

c:\program files\daz\studio\content.


On Windows 7 it's more likely something like

C:\Users\YOURUSERNAME\Documents\DAZ 3D\Studio\My Library\

or

C:\Users\YOURUSERNAME\Documents\DAZ 3D\Studio3\content


Once installed you will find the script in your library, in Studio/scripts/mCasual



Use


1 select the target, example, a table

2 select an object that will fall on the top of the bounding box of the Table, example, a cup

3 launch the mcjDropToTop script

the script will move the bottom of the bounding box of the cup

to the top of the bounding box of the table

New in version 2

You can now select the floor node through a dialog window, so the selection order is now less annoying

you can process a whole range of frame for your animations




Special cases


if the target object is something like a bowl, the cup will not reach the surface on the bowl

in a case like that, you should create a primitive plane, hide it at the bottom of the bowl

and use that plane as the target

DeltaX15's MoveOrigin script found here http://forum.daz3d.com/viewtopic.php?t=40845

archived Daz Forum post may also be of help

http://forumarchive.daz3d.com/viewtopic.php?t=40845


download links mentioned in the archived post

http://www.4shared.com/dir/722776/10801f63/DS_Scripts.html


License



// Copyright (c) <2016> <mCasual/Jacques>

// Permission is hereby granted, free of charge, to any persoration

// 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.

ċ
mcjDropToTop.zip
(12k)
mCasual Jacques,
Mar 24, 2016, 12:07 PM
Comments