Adverti horiz upsell

Hair grabber 2.9.9 for Maya (maya script)

A helper tool for authoring hair cards for game assets.

License
Button download
3,068 Downloads

Reviews

Rating: 5.0
(8)

Compatibility

  • 2016

Operating Systems

  • Windows

History

Created:03/11/2016
Last Modified:09/08/2017
File Size: 134 KB

Keywords

hair

A tool for batch selection population and manipulation of hair cards on characters or other poly plane assets. Gives the ability to select roots tips middles and other selection options for multiple hair card objects. Reconstructs proper orientation for hair cards that have lost their transforms. Fill the space between hair cards with more cards procedually. Randomize translation and rotation on cards and snap them to another object.

smooths out and evens out polygons on cards.

Helps with batch unfolding and keeping the UVs square, as well as transfering UVs from haircap to hairs.

There is also a hotkey file. if you want to install the hotkeys copy and paste the code in it to a python tab and run. you can figure out the keys if you look at the lowest rows of the code. itll make a new hotkey set called 'hairgrabberKeys' so you can turn it off easily through windows>settings>hotkey editor.

The tool uses UVs to figure out the orientation of the card to determine the roots and the tips. a UV set must be loaded in to the tool for it to work properly.current version still uses pymel for everything.future plans might include:

general unification and cleanup of the code

rewriting the main processing parts to maya API2 for speed increase

attempt an alternate to tip finding method using neighbours on boundry and vert to check the angle in relation to each other.small enough angle = tip. use UVs to split top from bottom*make script more modular.

Installation:

unzip and place .py file in "documsnts\maya\mayaVersion\scripts\" , .png file in "documsnts\maya\mayaVersion\prefs\icons\"

in the python tab in maya type "

import hairGrabber2

reload(hairGrabber2)

grab = hairGrabber2.HairGrabberUI()

"

 

I have included other related tools as well here. 

* Reduce by angle tool to reduce the poly count of plane geo by the angle of it's edges. The script will select edges that are within a certain tolerance to remove them where they are least needed. It will also try to maintain a certain distance between edges to avoid big gaps between edge loops. It also has an increase option that will select edges that have a very sharp angle so the user can bevel them.

to use copy and paste in a python tab in Maya and execute.

*  Hair NCoth script to automate coth assignment to planes to simulate it curve around an object. There is a version that needs hairGrabber running in the background and a standalone version.

copy and paste code in to a python tab in Maya. Middle click and drag to desired location on shelf to have it handy.

 

you can middle click drag it to the icon shelf on the top to keep it accessible

cheers!



Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • hk
    hk
  • moohyun jang
    moohyun jang
  • 鹏
  • tony yang
    tony yang
  • renderitus
    renderitus
  • pilot chiao
    pilot chiao
  • rushcg
    rushcg
  • P Brochu
    P Brochu