Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.4x Bug Tracker: Browse
[#1110] BezTriple lacking information
Date:
2004-04-02 13:46
Priority:
3
State:
Closed
Submitted by:
Anders Nilsson (
breakin
)
Assigned to:
Stephen Swaney (stiv)
Group:
V 2.32 release
Resolution:
Approved
Category:
Python
Summary:
BezTriple lacking information
Detailed description
I'm not sure this is really a bug but the interface for
accessing IPO-curves seems broken or incomplete. The
following code snippet is what appears natural to the
users of blenders python-api:
Ipo=object.getIpo()
curve=Ipo.getCurve(curveName)
points=curve.getPoints()
for bezTriple in points:
...
But the bezTriple only holds a list of two float values
namely the x- and y-coordinate of the knot-points of
the ipo-curve, the control-points are nowhere to be
found. The interface says that getPoints should be used
on the bezTriple but that is always a list of 2 floats.
Using Ipo.getBezTriple(curveID, knotPoint) gives a list
of 9 floats which is what you want from the bezTriples.
Also the member bezierPoints of BezTriple is not
accessible but using print repr(bezTriple) all the
information you want is there so it's just something
with the interface.
This has been the case of Blender 2.28-2.32. Now the
type(bezTriple) works correctly though (that was
another bug but that one is fixed/closed).
Followup
No Followups Have Been Posted
Attached Files:
No Files Currently Attached
Changes:
Field
Old Value
Date
By
close_date
None
2004-04-06 23:06
stiv
status_id
Open
2004-04-06 23:06
stiv
Resolution
New
2004-04-04 06:47
stiv
assigned_to
none
2004-04-04 06:47
stiv