C.O.F.F.E.E. Code & Component Library...
Helper last edited by
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/05/2003 at 12:40, xxxxxxxx wrote:
Cinema 4D Version: 7.303
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
I'm coding my first C.O.F.F.E.E. plugin and got a little bit frustrated due to some limitations of C.O.F.F.E.E., e.g. the inability to resize arrays dynamically, the lack of some important string functions etc...
Of course I tried to compensate this by writing my own classes, but I think a Code & Component Library such as PEAR for PHP (http://pear.php.net) or CPAN for Perl (http://www.cpan.org) would have saved me days of coding time.
Many code examples have been posted to this forum, however, they would be more helpful if they were shown in a categorized manner and if they were coded in a reusable component/library style...
I want to encourage you as C.O.F.F.E.E. developpers to found such a Component Library and provide some of your C.O.F.F.E.E. classes. This would raise the acceptance and popularity of C.O.F.F.E.E...
There are many fields in which such libraries would help:
- String & Array Functions (pop, push, shuffle... ), Calculations
- Document Tree Manipulation (recursively seek for an element, manipulate all instances of a certain BaseObject by one command etc...)
- Object Creation (Creating Splines/Polygon Meshes by just one library call)
- Wrapper Classes to ensure compatibility between the different Cinema/C.O.F.F.E.E. versions (e.g. one uses a certain command to create a cube and doesn't have to care about the differences in R7/R8 C.O.F.F.E.E.)
By the way, I'd suggest the akronym T.E.A.C.U.P. (The Enormous Archive of C.O.F.F.E.E.-understanding Percolators) for this code library (A percolator is a machine that eases the preparation of coffee at home... which is a nice metaphor, since this code base should ease coding with C.O.F.F.E.E.)
awaiting your suggestions...