MEL generated hardback book

This model was generated using the following script, it is an example script from chapter 3 of the MEL Companion book.

“polyCube
-width 2.2
-height 0.4
-depth 3.2
-axis 0 1 0
-constructionHistory off
-name book ;
select
-replace book.f[0] book.f[2] book.f[4];
polyExtrudeFacet
-constructionHistory off
-keepFacesTogether on
-localScale 1 0.782538 1 ;
polyExtrudeFacet
-constructionHistory off
-keepFacesTogether on
book.f[0] book.f[2] book.f[4] ;
move
-relative
0 0 -0.0434924
book.f[0] ;
move
-relative
-0.0434924 0 0
book.f[4] ;
move
-relative
0 0 0.0434924
book.f[2] ;
select
-replace
book.f[16] book.f[19] ;
move
-relative
0.0434924 0 0 ;
polySoftEdge
-angle 0
-constructionHistory 0
book.e[0:43] ;
select -clear ;”

Learning

I’m trying to learn thingsĀ and I intend to post updates about my progress here.

ZBrush

Learning ZBrush is like trying to roll a mountain up the side of a boulder but I’m sticking with it. I’ve got a background in 3D modelling software but ZBrush plays by its own rules. I’m following Introducing ZBrush Third Edition by Eric Keller.

MEL

Life would be easier if could write my own MEL scripts. This is something new for me so I’m following The MEL Companion: Maya Scripting for 3d Artists By David Stripinis.