mcjAddSphereMorphLite



Purpose


This script will add a morph to the second selected object

This morph transforms the object shape into a sphere

The center and radius of this sphere is given by the position of the 1st selected item and the height of the first selected item



History

February 22nd 2019 - Help features, safety feature: don't allow morph creation on subDs

June 4th  2016 9 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


2019 update The script now has a User Interface



Create a cylinder, 10 centimeters tall

Select it

Add to the selection a cube or any object you want to spherify

Run the script

something like this will be displayed

make sure your selection order is correct ( we dont want to add a morph to the cylinder! )


Click on the Yes button

bam ! the cube now has a morph that pulls all the cube vertices to the surface

of a 10 centimeters radius sphere, that sphere is centered where the cylinder is located

This is a script I made real quick ( because I want to generate stones ),

so I did cut corners when it comes to scaling issues notably

that's why it's called Lite

this script will work the best if your object to be morphed is not scaled moved

nor rotated from it's creation-time scale/position/rotation




---------


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



ċ
mcjAddSphereMorphLite.zip
(36k)
mCasual Jacques,
Feb 22, 2019, 5:13 PM
Comments