Hallo,
punchik punchik hat gesagt: // punchik punchik wrote:

> is it possible to access to the increment variable in repeat?  when  i repeat 
> a geo in gem having access to the "i " variable allows me creating diferent 
> 3d patterns....
> 
> how can i do something like this with repeat?
> 
> 
> for (i = 0; i = 10 ; i ++) {
> if (i%5 ==0 continue;
> cube 
> translate (i * 2) 0 0;
> }

You just put a trigger after the repeat and start counting. E.g.

 [repeat 10]
 |
 [t a b]
 |    |
 |    [f ]X[+ 1] <= "i"
 |    |
 |    [mod 5]
 |    |
 [translateXYZ]

Ciao
-- 
Frank

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to