Home | Trees | Index | Help |
|
---|
Module Curve :: Class Curve |
|
Method Summary | |
---|---|
PyNone |
add a new curve to this Curve. |
PyNone |
add a new control point to the indicated curve. |
float |
Get the Curve's bevel resolution value. |
list of floats |
Get the curve's control point value. |
float |
Get the Curve's ext1 value. |
float |
Get the Curve's ext2 value. |
integer bitfield |
Get the Curve flag value. |
a list of 3 floats. |
Get the curve's location value. |
list of Material Objects |
Returns a list of materials assigned to the Curve. |
string |
Get the name of this Curve Data object. |
int |
Get this Curve's path length. |
float |
Get the Curve's U-resolution value. |
float |
Get the Curve's V-resolution value. |
a list of 3 floats. |
Get the curve's rotation value. |
a list of 3 floats. |
Get the curve's size value. |
int |
Get the number of materials linked to the Curve. |
float |
Get the Curve's width value. |
integer |
method used to determine whether a CurNurb is of type Bezier or of type Nurb. |
PyNone |
Set the Curve's bevel resolution value. |
PyNone |
Set the Curve's controlpoint value. |
PyNone |
Set the Curve's ext1 value. |
PyNone |
Set the Curve's ext2 value. |
PyNone |
Set the Curve flag value. |
PyNone |
Set the curve's location value. |
PyNone |
Set the name of this Curve Data object. |
PyNone |
Set this Curve's path length. |
PyNone |
Set the Curve's U-resolution value. |
PyNone |
Set the Curve's V-resolution value. |
PyNone |
Set the Curve's rotation value. |
PyNone |
Set the curve size value. |
PyNone |
Set the number of materials linked to the Curve. |
PyNone |
Set the Curve's width value. |
PyNone |
Updates display list for a Curve. |
Class Variable Summary | |
---|---|
bevresol : The Curve Data bevel resolution. | |
ext1 : The Curve Data extent 1(for bevels). | |
ext2 : The Curve Data extent2 (for bevels). | |
flag : The Curve Data flag value; see function getFlag for the semantics. | |
loc : The Curve Data location(from the center). | |
name : The Curve Data name. | |
pathlen : The Curve Data path length. | |
resolu : The Curve Data U-resolution. | |
resolv : The Curve Data V-resolution. | |
rot : The Curve Data rotation(from the center). | |
size : The Curve Data size(from the center). | |
totcol : The Curve Data maximal number of linked materials. | |
width : The Curve Data width. |
Method Details |
---|
appendNurb(new_point)add a new curve to this Curve. The new point is added to the new curve. Blender does not support a curve with zero points. The new curve is added to the end of the list of curves in the Curve.
|
appendPoint(numcurve, new_control_point)add a new control point to the indicated curve.
|
getBevresol()Get the Curve's bevel resolution value.
|
getControlPoint(numcurve, numpoint)Get the curve's control point value. The numpoint arg is an index into the list of points and starts with 0.
|
getExt1()Get the Curve's ext1 value.
|
getExt2()Get the Curve's ext2 value.
|
getFlag()Get the Curve flag value. This item is a bitfield whose value is a combination of the following parameters.
|
getLoc()Get the curve's location value.
|
getMaterials()Returns a list of materials assigned to the Curve.
|
getName()Get the name of this Curve Data object.
|
getPathLen()Get this Curve's path length.
|
getResolu()Get the Curve's U-resolution value.
|
getResolv()Get the Curve's V-resolution value.
|
getRot()Get the curve's rotation value.
|
getSize()Get the curve's size value.
|
getTotcol()Get the number of materials linked to the Curve.
|
getWidth()Get the Curve's width value.
|
isNurb(curve_num)method used to determine whether a CurNurb is of type Bezier or of type Nurb.
|
setBevresol(bevelresol)Set the Curve's bevel resolution value.
|
setControlPoint(numcurve, numpoint, controlpoint)Set the Curve's controlpoint value. The numpoint arg is an index into the list of points and starts with 0.
|
setExt1(ext1)Set the Curve's ext1 value.
|
setExt2(ext2)Set the Curve's ext2 value.
|
setFlag(val)Set the Curve flag value. The flag corresponds to the Blender settings for 3D, Front, Back, CurvePath and CurveFollow. This parameter is a bitfield.
|
setLoc(location)Set the curve's location value.
|
setName(name)Set the name of this Curve Data object.
|
setPathLen(len)Set this Curve's path length.
|
setResolu(resolu)Set the Curve's U-resolution value.
|
setResolv(resolv)Set the Curve's V-resolution value.
|
setRot(rotation)Set the Curve's rotation value.
|
setSize(size)Set the curve size value.
|
setTotcol(totcol)Set the number of materials linked to the Curve.
|
setWidth(width)Set the Curve's width value.
|
update()Updates display list for a Curve. Used after making changes to control points. You must use this if you want to see your changes!
|
Class Variable Details |
---|
bevresolThe Curve Data bevel resolution. |
ext1The Curve Data extent 1(for bevels). |
ext2The Curve Data extent2 (for bevels). |
flagThe Curve Data flag value; see function getFlag for the semantics. |
locThe Curve Data location(from the center). |
nameThe Curve Data name. |
pathlenThe Curve Data path length. |
resoluThe Curve Data U-resolution. |
resolvThe Curve Data V-resolution. |
rotThe Curve Data rotation(from the center). |
sizeThe Curve Data size(from the center). |
totcolThe Curve Data maximal number of linked materials. |
widthThe Curve Data width. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Jan 4 13:43:06 2005 | http://epydoc.sf.net |