mcjWrapABand

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

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

Introduction

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

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

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

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

History

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

February 9th 2019 - 18h29- v1 Released

February 9th 2019 - 19h45 - v2 Released - progress bar , interruptable

February 10th 2019 - 20h17 - v3 Released - Convex Hull is now optional

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

Installation

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

First you need my mcjCollider plugin found here

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

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

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

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

Pre-requisite

make sure you downloaded the mcjCollider plugin for your computer

as of this writing there's a 32-bit and 64bit version for PCs and a 64-bit version for MACs

those files need to be in your Daz Studio Application sub-folder named plugins

1 - Select the object(s) you want to wrap

if you select the root of a figure, then all facets of the figure will be part of the process so this can be slower

If you only want to make a head-band, select only the head of the figure.

You can select many objects, example: two pulleys to make a strap.

2 - Create the mcjCollider node using the daz studio menu "Create"

3 - Create a Primitive-plane and position it where you want the band to be created

here i want to make a headband

important: the center of the plane is inside the object to be wrap-banded

4 - parent the collider to that plane

we do this so that the collider will "live" in the frame of reference of the plane

5 - select the plane

the collider already "knows" it must collide against the head surfaces

with the plane selected the script knows where to build the band

6 - Launch the script and set the desired band specs

i want a 32-columns ( sides ) band ( Num, Cols = 32 )

i want it to be 5 rows, so it follows the curve of the skull ( Num. Rows = 5 )

i want the band width to be 5cm wide ( Band Width = 5.00 )

i want the band to float 2mm above the skin ( push-ppull = 2 )

i don't want UV coordinates rotated 90 degrees ( SWAP U V = unchecked )

i don't want to invert the texture horizontally ( Mirror UV U = unchecked )

i don't want to invert the texture verticaly ( Mirror UV V = unchecked )

i don-t want rough UV mapping, i want well tailored ones ( Rough UV Maps = off )

i don't want the band to be projected as far as possible from the center of the plane

though in this case it would be ok and would endure the band would float above the ears

( far out wrap = unchecked

7 - Run !

Click on the Do It button

processing time will depend on the complexity of the obhect being wrapped and the resolution of your wrapping band

8 - Load your brand new band prop

Click on the "Load Your New Prop!" button

and tada, a brand new well fitted wrap-band

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.

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