12 for the number of steps. So, you need to edit the Quad Stepper Firmata for Motor A (for example). On line 29, you need to change the line to: #define DIR_PIN_A 10 and then change line 30 to: #define STEP_PIN_A 12. Then, upload this to your board and then go through your Grasshopper process. Note, the Firefly shield only uses one easy stepper driver... so you'll only be able to control a single stepper. In the example outlined above, we modified it so it works with Motor A (or Motor 1). So, in your Grasshopper example the only one you will be able to control is the M1 input. …
a seed, and instead creating a pattern where each color has a seed/control slider for each row? For example, row 1: brown 2, tan 6, yellow 7, purple 3, repeat. row 2: brown 6, tan 1, yellow 4, purple 10, repeat. row 3: yellow 5, purple 1, brown 3, tan 10, repeat. row 4: purple 2, brown 7, tan 3, yellow 4, repeat. Then repeat that sequence up the wall? For each color, the number in the sequence should be adjustable.
Thank you again for your help!…
the parameter as the first polyline + the change:
if the first polyline segments was :
pt80{8,9,0}, pt81{10,10,0}, pt82{12,11,0}, pt83{16,11,0}, pt84{19,12,0}...pt89{26,20,0}
then in the new polyline I want it to be (with a change in the x axis of 8 segments)
pt80B{8+8,9,0}, pt81B{10+8,10,0}, pt82B{12+8,11,0}, pt83B{16+8,11,0}, pt84B{19/19+8,12,0}...pt89B{26,20,0}
Thank you for all the help
and you made everything to sound so easy…
) function if you've already got a boolean value.
This expression:
x < 12
results in exactly the same things as this expression:
If( x < 12, True, False )
If() is only really useful when you want to return non-boolean data, like so:
If( x < 12, x, 100-x )
In this case, the expression will return either x, or 100-x if x is larger than or equal to 12:
x result
1 1
2 2
10 10
11 11
12 88
13 87
14 86
18 82
70 30
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 7:22am on August 10, 2011
ggle A
7. Toggle A
8. Toggle 2
9. Toggle 3
10. Toggle A
11. Toggle A
12. Toggle 3
I was thinking to use somehow slider and animate option....but without luck
Any idea would be appreciated…