|
Ok I’m a noob at scripting and just threw this little curve control script together. its not very sophisticated. but this tiny little issue is just nagging at me so i had to ask.
after putting in the print “done” part, it adds
makeIdentity -apply true -t 1 -r 1 -s 1 -n 0;
I dont get why its doing this. If I take away the print line it doesnt do it…
this is the script::
//Box
curve -d 1 -p -27.008657 44.853711 99.100793 -p 17.845053 44.853711 99.100793 -p 17.845053 4.2704e-007 99.100793 -p -27.008657 4.2704e-007 99.100793 -p -27.008657 44.853711 99.100793 -p -27.008657 44.853711 54.247083 -p -27.008657 4.2704e-007 54.247083 -p -27.008657 4.2704e-007 99.100793 -p 17.845053 4.2704e-007 99.100793 -p 17.845053 4.2704e-007 54.247083 -p -27.008657 4.2704e-007 54.247083 -p -27.008657 4.2704e-007 99.100793 -p 17.845053 4.2704e-007 99.100793 -p 17.845053 4.2704e-007 54.247083 -p 17.845053 44.853711 54.247083 -p 17.845053 44.853711 99.100793 -p -27.008657 44.853711 99.100793 -p -27.008657 44.853711 54.247083 -p 17.845053 44.853711 54.247083 -k 0 -k 1 -k 2 -k 3 -k 4 -k 5 -k 6 -k 7 -k 8 -k 9 -k 10 -k 11 -k 12 -k 13 -k 14 -k 15 -k 16 -k 17 -k 18 ;
CenterPivot;
xform -t 103.306892 0 9.241844;
makeIdentity -apply true -t 1 -r 1 -s 1 -n 0;
//Diamond
curve -d 1 -p 6.448087 6.936389 69.701258 -p 6.448087 21.038633 83.803502 -p -7.654158 6.936389 83.803502 -p 6.448087 6.936389 69.701258 -p 20.550331 6.936389 83.803502 -p 6.448087 21.038633 83.803502 -p 6.448087 6.936389 97.905747 -p 20.550331 6.936389 83.803502 -p 6.448087 -7.165855 83.803502 -p 6.448087 6.936389 97.905747 -p -7.654158 6.936389 83.803502 -p 6.448087 -7.165855 83.803502 -p 6.448087 6.936389 69.701258 -k 0 -k 1 -k 2 -k 3 -k 4 -k 5 -k 6 -k 7 -k 8 -k 9 -k 10 -k 11 -k 12 ;
CenterPivot;
xform -t 95.391146 81.146799 0;
makeIdentity -apply true -t 1 -r 1 -s 1 -n 0;
//Hip
curve -d 1 -p -0.656168 -1.968504 0 -p -0.656168 -0.984252 0 -p -0.328084 -0.984252 0 -p -0.328084 -1.312336 0 -p 0.328084 -1.312336 0 -p 0.328084 -0.984252 0 -p 0.656168 -0.984252 0 -p 0.656168 -1.968504 0 -p 0.328084 -1.968504 0 -p 0.328084 -1.64042 0 -p -0.328084 -1.64042 0 -p -0.328084 -1.968504 0 -p -0.656168 -1.968504 0 -k 0 -k 1 -k 2 -k 3 -k 4 -k 5 -k 6 -k 7 -k 8 -k 9 -k 10 -k 11 -k 12 ;
CenterPivot;
rotate -r -ws -90 0 0 ;
scale -r -ws 50 50 50;
xform -t 99.903623 68.401968 84;
FreezeTransformations;
makeIdentity -apply true -t 1 -r 1 -s 1 -n 0;
select -cl ;
//Orb
circle -ch on -o on -nr 0 1 0 -r 12 -n OrbControl;
duplicate -rr;
rotate -r -ws 90 0 0;
makeIdentity -apply true -t 1 -r 1 -s 1 -n 0;
duplicate -rr;
rotate -r -ws 0 90 0;
makeIdentity -apply true -t 1 -r 1 -s 1 -n 0;
select -r OrbControl;
parent -r -s OrbControl1Shape;
select -r OrbControl;
parent -r -s OrbControl2Shape;
select -r OrbControl1 OrbControl2;
doDelete;
move -absolute 106 118 80 OrbControl;
makeIdentity -apply true -t 1 -r 1 -s 1 -n 0 OrbControl;
select -cl;
print “done”;
| Attachment
|
|
|
|
|