mcjMechAnim

   


Introduction

A Script for Daz Studio to help you animate planar mechanisms



History


December 7th 2014 3:00 am - improved robustness and implemented DS1/DS2 compatibility, completed the manual
December 6th 2014 11:30 am - Rush release





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\ 
or

C:\Program Files (x86)\DAZ\Studio\content\


once installed, it will appear in your content library, under Studio / Scripts / mcasual 


or

C:\Users\Public\Documents\My DAZ 3D Library\


once installed, it will appear in your content library, under My DAZ 3D Library / Scripts / mcasual
 





Use





Prerequisite

Your scene must contain a primitive plane named 'machinePlane'
This plane lets the script know how your planar mechanism is oriented



Joint Solver - maintains the joint between 2 arms
You must select:
1 - end 1: a child node of the first arm
2 - end 2: a child node of the second arm



Reach Solver - bends a joint so that the 'hand' reaches a target
You must select:
1 - hand: a node parented to the foreArm node which is parented to the shoulder node
2 - the target node


Piston Solver maintains a joint between a push rod and a piston
The joint will be formed between the end of the pushrod and the origin of the piston
You must select:
1 - Piston end node - a node parented to the extremity of the piston
2 - Push rod end node - a node parented to the extremity of the push rod

Point Arm At - will maintain the arm pointed at the target
You must select:
1- end Node: a child node of the arm
2- target node



Three Point Circle - Marks the center of the target's motion.
The script will add a null node named "mark" to the scene
or re-use any existing "mark" node.
This node will be placed at the center of the path/circle
The "Scale" parameter is set to the radius of that circle.

The position will be sampled at the beginning, quarter and half of the playrange.
Exceptionally you may need to tweak your playrange to avoid duplicate positions.
You must select:
1- the target node


License

// December 6th 2014
// 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 NON-INFRINGEMENT. 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.

ċ
mcjMechAnim.zip
(26k)
mCasual Jacques,
Dec 7, 2014, 12:00 AM
Comments