Logo
Explore Help
Register Sign In
griefith/test2
1
0
Fork 0
You've already forked test2
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
bbdfacfde30df4fc0a402d0c19490a5ff3670e69
test2/source/blender/python/api2_2x/CurNurb.h

12 lines
254 B
C
Raw Normal View History

New Curve method Curve.appendPoint( numcurve, newpoint ) to add points to a Curve. New supporting module CurNurb to provide access to the curves in a Curve and their associated points. Curve module now supports Python iterator and sequence protocols. This allows typical python programming idioms using 'for' statement and the [] operator. # example 1 for curve in a_curve: for point in curve: print point #example 2 curnurb = a_curve[0] curnurb.append( [1,1,1,1] ) Still under construction. Epydoc will follow.
2004-07-21 21:01:15 +00:00
#ifndef EXPP_NURB_H
#define EXPP_NURB_H
PyObject* CurNurb_getPoint( BPy_CurNurb* self, int index );
PyObject* CurNurb_pointAtIndex( Nurb* nurb, int index );
PyObject* CurNurb_appendPointToNurb( Nurb* nurb, PyObject* args );
#endif /* EXPP_NURB_H */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 37ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API