cool, ty for the help but i am still having some trouble. Below is what I am practicing, and what I have so far.
#In this skills test you are to research and replicate the situation below.
#For each skill test, you are required to make an independant script containing:
# Header
# Commenting
# Printing that the script works.
#Create the code below and answer the question within your script by commenting.
# Create a NURBS sphere.
# What do the flags s and nsp do? What are their long names?
# Transform the NURBS sphere.
#TX: 6.544 TY: 2.481 TZ: -1.86
#SX: 2.012 SY: 2.012 SZ: 2.012
# Create a non-linear BEND squash.
# What does the fac flag do? What does lb and hb do? What are their long name?
# Set the fac flag to -1.
# Document how to delete history and freeze transforms.
# What are their commands and which flags are important.
Now here is what I have so far
import maya.cmds as cmds
#Skills Test 2 header
cmds.sphere(p= [0, 0, 0], ax= [0, 1, 0], ssw= 0, esw= 360, r= 1, d= 3, ut= 0, tol= 0.01, s= 8, nsp= 4, ch=1)
#S or Sections, determains the resolution of the surface in the sweep direction
#nsp or Spans, determines the resolution of the surface in the opposite direction
cmds.select( 'nurbsSphere1' )
cmds.move(6.544, 2.481, -1.86)
cmds.scale(2.012, 2.012, 2.012)
cmds.nonLinear(type='bend'
#lb or lowBound places a straight nurbs curve below the midpoint of the sphere
#hb or highBound places a straight nurbs curve above the midpoint of the sphere
#in both instances of lb or hb 0 means off, but in lb -1 is on and in hb 1 is on
The problem I am having at the moment is trying to figure out what fac is, lb and hb were easy to figure out, but I am going out of my mind trying to figure out what fac does. This does not show up in the help docs and web searches for this seems to be useless.
On top of that, when I input cmds.nonLinear(type='bend', fac= -1) it gives me this error
# Error: A deformer type was expected.
# Traceback (most recent call last):
# File "<maya console>", line 11, in <module>
# RuntimeError: A deformer type was expected
Any insight would be helpful
-----signature-----
Boredom is the Root of all Evil, This being said, I am the most evil Person on the face of this earth
http://www.Gnawbie-Art.com
http://gimpchimp.etilader.com/s.php?u=REIVIIR
http://www.EmilysToyBox.com