INSPIRATION
For my inspiration I chose the wing dress to cause it has the procedural aspect to it as you can see the pattern like most of the Guo Pie dresses. Also they a slight randomness which I knew I can apply in Python by importing Random.

THE SCRIPT
It's a very simple script with 2 functions, one to create the shape the other one to call it.
In the first function above I created a desired shape using 2 curves then lofting them as polygons. then storing it in an array. and then creating a empty group.
Then I create multiple instances of the shape created before then place them randomly along y axis within a range i.e uniform random. I used the random command ( credits: Autodesk SDK channel). Then the created instances are stored in the empty group I created before. 
Then I center the instance groups pivot. Then I select the parent object and extrude it so as to extrude all instances. and get the desired look. Then I add a bend deformer to the parent shape which then bends all it's instances.
Then I delete the curves and history, just a clean up. Then I define another function so as to make multiple layers of feathers. The user can put the number of feathers and amount of curvature and then the number of layers.
FINAL RENDER
BUGS, USER TESTING AND CHALLENGES
Known bugs:
1) Extrude doesn't extrude the following layers
2)As you add more layers The curvature of the bend increases.
User testing:
1)Prof. Rauh wanted an parameter to add more twist to the tips
2) Alex found out a bug which where if we run the script more than once then the bend deformer dose't work
Challenges:
The biggest challenge for me in this language was to translate the mel syntax to python and debugging the script ans the script editor would't show the line on which the error is. 
I tried The twist deformer first but wasn't getting the desired look so i switched to the bend deformer, now I have more control over the shape.

CONCLUSION
Python was very forgiving language to work in for example it doesn't need any brackets or variable type declaration. I have had occasions were on the first try I didn't get any syntax error. It's a very powerful language and I am looking forward to use it in other application like Nuke and Houdini.

You may also like

Back to Top