Auto mesh Skinning

13 votes
Version: 
0.7
Date Updated: 
08/12/2013
Author Name: 
Blazej Kowalski


This script is for fast and accurate mesh skinning, but it won't generate skin for production ready. There will by always something to correct weights.

It's very simple all You have to do to set slice boxes. Just watch video and everything should be clear.

In version 0.6 there is simple automatic mirroring made. The rigg should be set in x=0 position.

All comments and suggestions are welcome.

------------ version 0.7 -----------

- Script didn't work with bones which had space in names - Not any more :]

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

------------ version 0.9dev -----------

- Open source version. There is some problems with this automatic symmetry, so I added buttons for manual symetery.

If there is some super script master and have some ideas how to make this recognition of symmetry better pleas do that!

Let's heal the autodesk World together!

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

Additional Info: 

To run it just drag and drop this to your viewport or use "run script" in MaxScript menu

Version Requirement: 
3ds max 9+
Video URL: 
AttachmentSize
skin_slice_skin_v06.mse9.3 KB
skin_slice_skin_v07.mse9.14 KB
skin_slice_skin_v09_dev.ms11.05 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dandezign's picture

Green To Blue Button

Whenever I press the mirror button it does nothing. v7 does it but when the script decides and v9 does nothing at all.

avengerxp's picture

3ds max 2013 getting stuck at slicing

I tried this more than 8 times and confirm the script makes 3ds max go "not responding" at slicing.

I dont know what i did wrong, it just makes max go not responding and only resolution is to kill it via task manager.

windows 7 64 bit - 3ds max 2013 64 bit.

Luchiano's picture

I have a problem

Hey hi all!
I try the script with CAT, but when i start to script slice, the result has less bones, have you an idea what is the problem?
Thanks!

Luchiano's picture

Look's great!!

I try right now!

pixhellmann's picture

Update

Ok after some more testing, I think the assignment is still mixed up.

At least it takes now all slice boxes.
Now we need a way to sync them back up with the bone IDs.
Can somebody help me with this?

Interactive, real-time, apps, games, character, animation, visualization, TV commercials, marketing and print material. Visit www.pipedream-media.com

pixhellmann's picture

Reload SB Bug found and fixed

Hey,

I think I found the bug of reloading SB and "No convertToPoly function" error message.

It's in the on BBreload pressed do ( ... ) part of the script.

3ds Max is counting the bones in a weird way. They are not numbered straight in an order starting from 0. The script tries to reload the bones and searches the scene for existing slice objects. Then it fills the slicerArray and the boneArray to match up and start slicing.
Since the slicer Array is filled with this line within a for loop that counts from 1 to numberOfBones:

b = execute ("$slicer_" + (x as string))

It assumes that the slicer objects have numbers from 1 to x. But they don't!!

So the fix would be to select the slicerObjects from the scene and match them again with the bones.

I tried:
b = slicerCheck[x]
but they don't come in the right order.
Could someone with more maxscript skills help me with this?

I attached the fixed script. It's in line 298.

Thanks

AttachmentSize
skinslicer.ms 11.12 KB

Interactive, real-time, apps, games, character, animation, visualization, TV commercials, marketing and print material. Visit www.pipedream-media.com

super_oko's picture

You right about encrypting

You right about encrypting free scripts, so I uploaded new open version. If you got time you can take a look inside the code. Maybe U will find other way to do that symmetry stuff.

pacermike's picture

Getting a symmetry bug

I'm trying to skin a symmetrical model (used symmetry modifier and collapsed to edit poly) but the script insists the model isn't symmetrical, so I have to manually fit the slice boxes on each side. Bummer.

It's too bad the script is encrypted. If I could look at the code I might be able to see what's causing the problem myself. Just curious, why encrypt a free script?

dpolcino's picture

Hand control?

Great script! hey, what's that hand control modifier?

rimbros's picture

Bug

I really love this Tool but have a true big bug, if u save the scene with the boxes ready to use in other models on same position u can use the Reload SB butom, but gotcha!!! atm u try Slice Hit, this message come up, --NO convertToPoly function for undefined, and u cant use more the boxes u need made new and readjust, hope the greath friend Kowalski can fix this.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.