Trees | Indices | Help |
---|
|
This object gives access to Curve and Surface data linked from Blender Objects.
|
|||
string |
|
||
None |
|
||
int |
|
||
None |
|
||
int |
|
||
None |
|
||
integer bitfield |
|
||
None |
|
||
float |
|
||
None |
|
||
float |
|
||
None |
|
||
float |
|
||
None |
|
||
float |
|
||
None |
|
||
float |
|
||
None |
|
||
float |
|
||
None |
|
||
list of floats |
|
||
None |
|
||
None |
|
||
CurNurb |
|
||
a list of 3 floats. |
|
||
None |
|
||
a list of 3 floats. |
|
||
None |
|
||
a list of 3 floats. |
|
||
None |
|
||
list of Material Objects |
|
||
Blender Object or None |
|
||
None |
|
||
Blender Object or None |
|
||
None |
|
||
None |
|
||
integer |
|
||
boolean |
|
||
|
|||
integer |
|
||
integer |
|
||
Key object or None |
|
||
None |
|
||
Curve |
|
|
|||
Blender Object or None |
bevob The Curve Bevel Object |
||
int |
bevresol The Curve Data bevel resolution. |
||
float |
ext1 The Curve Data extent1 Called "Extrude" in the user interface (for bevels only). |
||
float |
ext2 The Curve Data extent2 - Called "Bevel Depth" in the user interface (for bevels only). |
||
flag The Curve Data flag value; see getFlag() for the semantics. |
|||
Blender Key |
key The Key object associated with this Curve, if any. |
||
list of 3 floats |
loc The Curve Data location(from the center). |
||
list of Materials |
materials The curves's materials. |
||
string |
name The Curve Data name. |
||
int |
pathlen The Curve Data path length, used to set the number of frames for an animation (not the physical length). |
||
int |
resolu The Curve Data U-resolution (used for curve and surface resolution) [0 - 1024]. |
||
int |
resolv The Curve Data V-resolution (used for surface resolution) [0 - 1024]. |
||
list of 3 floats |
rot The Curve Data rotation(from the center). |
||
list of 3 floats |
size The Curve Data size(from the center). |
||
Blender Object or None |
taperob The Curve Taper Object |
||
int |
totcol The Curve Data maximal number of linked materials. |
||
float |
width The Curve Data width [0 - 2]. |
|
Set the name of this Curve Data object.
|
Get this Curve's path frame length, used for an animated path.
|
Set this Curve's path length.
|
Get the number of materials linked to the Curve.
|
Set the number of materials linked to the Curve. Note: this method will probably be deprecated in the future.
Warning: It is not advisable to use this method unless you know what you are doing; it's possible to corrupt a .blend file if you don't know what you're doing. If you want to change the number of materials, use the materials attribute. |
Get the Curve flag value. This item is a bitfield whose value is a combination of the following parameters.
|
Set the Curve flag value. The flag corresponds to the Blender settings for 3D, Front, Back, CurvePath and CurveFollow. This parameter is a bitfield.
|
Set the Curve's bevel resolution value.
|
Set the Curve's U-resolution value. [0 - 1024] This is used for surfaces and curves.
|
Set the Curve's V-resolution value. [0 - 1024]. This is used for surfaces only.
|
Set the Curve's width value.
|
Set the Curve's ext1 value.
|
Set the Curve's ext2 value.
|
Get the curve's control point value (deprecated). The numpoint arg is an index into the list of points and starts with 0. Note: new scripts should use the [] operator on Curves and CurNurbs. Example: curve = Blender.Curve.Get('Curve') p0 = curve[0][0] # get first point from first nurb # -- OR -- nurb = curve[0] # get first nurb p0 = nurb[0] # get nurb's first point
|
Set the Curve's controlpoint value. The numpoint arg is an index into the list of points and starts with 0.
|
Add a new control point to the indicated curve (deprecated). New scripts should use CurNurb.append().
|
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.
|
Set the curve's location value.
|
Set the Curve's rotation value.
|
Set the curve size value.
|
Returns a list of materials assigned to the Curve.
|
Returns the Bevel Object (BevOb) assigned to the Curve.
|
Assign a Bevel Object (BevOb) to the Curve. Passing None as the object parameter removes the bevel.
|
Returns the Taper Object (TaperOb) assigned to the Curve.
|
Assign a Taper Object (TaperOb) to the Curve. Passing None as the object parameter removes the taper.
|
Updates display list for a Curve. Used after making changes to control points. You must use this if you want to see your changes!
|
Tells type of a CurNurb (deprecated). New scripts should use CurNurb.isNurb().
|
Tells whether or not a CurNurb is cyclic (closed) (deprecated). New scripts should use CurNurb.isCyclic().
|
Reverse the direction of a curve.
|
Get the number of control points in the curve (deprecated). New scripts should use the len operator (len(curve)).
|
Make a copy of this curve
|
|
bevresolThe Curve Data bevel resolution. [0 - 32]
|
materialsThe curves's materials. Each curve can reference up to 16 materials. Empty slots in the curve's list are represented by None. Note: Object.colbits needs to be set correctly for each object in order for these materials to be used instead of the object's materials. Note: The list that's returned is not linked to the original curve. curve.materials.append(material) won't do anything. Use curve.materials += [material] instead.
|
totcolThe Curve Data maximal number of linked materials. Read-only.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Oct 24 10:23:51 2008 | http://epydoc.sourceforge.net |