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 ;”

Leave a Reply

Your email address will not be published. Required fields are marked *