mcjHatsAreTheFashionOfTheDay

Note: if you downloaded the mcjCollider plugin before february 15th 2019 you probably experienced problems

when dealing with Genesis 3 or Genesis 8 figures. get the new version that fix those problems ! Life is good.

https://sites.google.com/site/mcasualsdazscripts2/mcjcolliderds45

Note: make sure you get version 2 of the script, when your hair prop was a subdivided shape, this could cause a scene saved to crash next time you try to load it!!

================================================================================

Introduction

================================================================================

This script uses the services from my Daz Studio plugin named mcjCollider.

It can create ring-bands around objects or figures or limbs

mcjCollider is compatible with PCs and Macs 64-bit !!!

================================================================================

History

================================================================================

February 20th 2019 16:23 - V4 - Help buttons, new Far Hits option

February 17th 2019 - 02:12 - V3 - Gives the viewport engine more time to regenerate the cachedGeom

February 16th 2019 - 21:11 - V2 - Release important update plus it fixes for "air gap"

February 12th 2019 - 03:10- V1 - Released

================================================================================

Installation

================================================================================

First you need my mcjCollider plugin found here

https://sites.google.com/site/mcasualsdazscripts2/mcjcolliderds45

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

For the script itself, 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

The Daz Script will be found in 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

================================================================================

This manual may be expanded later

it's 3AM so lets keep it short

EACH STEP IS VERY IMPORTANT

1 - create a primitive plane, 1ft x 1ft it must be created Positive Y Axis as the Primary Axis

2 - Parent the plane to the head of the figure

3 - Position the plane where the hat meets the skull

the center of the plane must be inside the skull

4 - select the head of the figure

5 - Having installed the mcjCollider plugin as you were told earlier,

use the Daz Studio Top Menu "Create" to create the mcjCollider node

since you selected the head, the collider will "see" the head surface and

will be able to pull the hair onto the skull

6 - deselect everything, the select in this order

a) the plane

b) the hair prop or figure

7 - Run the script

8 - specify how many centimeters below the plane you want the hair to taper and

how many millimeters above the skull you want the hair to float

9 - press the DoIt button !

the duration of the process depends on

the number of facets in your figure's head ( and the subdivision resolution )

the number of facets in the hair prop/figure

your CPU

the hair in my example took 50 seconds

------------------------------------------------

New Option added 02/20/2019

------------------------------------------------

if you checkmark the 'Far Hit ( it's far out man ) checkbox, instead of stopping at the inner wall of the skull they will stop at the last hit point , so, for example, at the surface of the ears, or at the surface of the eyeballs

License

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

// by mCasual/Jacques

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

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