o type in the values less than -1 x 10^-6 in "Floating point value", can be bypassed by multiplying this value with another -1 x 10^-6. That way I will get -1 x 10^-12, right? And so on, and so on?
What is the minimum "Floating point value" Panel (String) can take?
Thank you.…
am however having a problem with something simple - limiting a set of values between a fixed set that I need help with please?
For example, I'd like to transform this list . . .
(2, 16, 4, 65, 12, 41, 7, 1, 22)
into this one . . .
(5, 16, 5, 25, 12, 25, 7, 5, 22)
i.e. selecting all numbers below 5 and changing them to 5 and selecting all numbers above 25 and changing them to 25.
I know it's possible with a simple If, Not, Then series but I'm rubbish at code!
Also, is there a simple way to apply dimensions to rhino objects from within GH?
Thanks for your help!
Cheers
James…
ant it. After 12 hours the data seems to repeat itself. Could anyone help me figure out how to fix this.
Thanks in advance! Included: gh file + the epw file i'm using gemmtempnederlandv4gh.gh
NLD_Amsterdam.062400_IWEC.epw…
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. …