mcjOptimalPoseA

Purpose

Select two nodes, example, a Tamoka's nose-tip-node and Gabrielle's blue hat

Select Tamoka's neck as the "actuator"

select the "Twist" control

Press go ... the script will find the optimal Twist setting that brings Tamoka's nose tip the closest to Gabrielle's head

History

June 4th 2018 6:43AM Added a button to process the whole playrange

March 10th 2016 8:50 AM added the undo

March 7th 2016 3:42 AM the script only worked when numSelectedNodes > 2, now isnumSelectedNodes >= 2

March 6th 2016 3:09 PM Release

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 2 nodes that need to be brought closer ( this is also a way to have a node point at something )

Start the script

Select which node will be turned or moved, we call it the "actuator"

Select which of the actuator's parameters/control will be adjusted

specify the percentage of the movement to be performed

For example if you want to bring a figure's hip closer to something, but not directly over it

you could make it travel 80% of the full distance.

Click the "GO" button

done

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.

// =====================================================================