Page MenuHome

Curve.py-knotflags-1.patch

Authored By
Gergely Erdelyi (dyce)
Nov 13 2013, 12:59 PM
Size
1 KB
Subscribers
None

Curve.py-knotflags-1.patch

Index: Curve.py
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/doc/Curve.py,v
retrieving revision 1.9
diff -d -u -r1.9 Curve.py
--- Curve.py 13 Jan 2005 03:42:53 -0000 1.9
+++ Curve.py 13 Apr 2005 11:22:21 -0000
@@ -359,6 +377,9 @@
The CurNurb supports the python iterator protocol which means you can use a python for statement to access the points in a curve.
The CurNurb also supports the sequence protocol which means you can access the control points of a CurNurb using the [] operator.
+
+ @cvar flagU: The CurNurb knot flag U (0: uniform, 1: endpoints, 2: bezier)
+ @cvar flagV: The CurNurb knot flag V (0: uniform, 1: endpoints, 2: bezier)
"""
@@ -401,5 +422,36 @@
@return: True or False
"""
-
+ def getFlagU():
+ """
+ Get the CurNurb knot flag U
+ @rtype: integer
+ @return: 0 - uniform, 1 - endpoints, 2 - bezier
+ """
+
+ def setFlagU( value ):
+ """
+ Set the CurNurb knot flag U (knots are recalculated automatically)
+ @type value: integer
+ @param value: CurNurb knot flag (0 - uniform, 1 - endpoints, 2 - bezier)
+ @rtype: PyNone
+ @return: PyNone
+ """
+
+ def getFlagV():
+ """
+ Get the CurNurb knot flag V
+ @rtype: integer
+ @return: 0 - uniform, 1 - endpoints, 2 - bezier
+ """
+
+ def setFlagV( value ):
+ """
+ Set the CurNurb knot flag V (knots are recalculated automatically)
+ @type value: integer
+ @param value: CurNurb knot flag (0 - uniform, 1 - endpoints, 2 - bezier)
+ @rtype: PyNone
+ @return: PyNone
+ """
+

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
aa/5b/8f81955ae8881e159388986b189d

Event Timeline