oning behind using the equality component to test for even numbers is flawed because of the data matching used by gh. It is testing like this:
0==0 True
2==1 False
4==2 False
6==3 False
etc
.............
Where as a Modulo 2 would work like this
0%2 = 0
1%2 = 1
2%2 = 0
3%2 = 1
4%2 = 0
5%2 = 1
6%2 = 0
7%2 = 1
8%2 = 0
9%2 = 1
......
Also I notice you have some errors in your expressions producing Nulls.
If you want it to be twice the value then you should have 2*D in the Expression and 10*D in the other
....
I attach a working version.…
Like you've done. Use List Item and input an integer which represents the curve you want to select. Your slider will need to be able to handle integers 0, 1, 2, 3, 4, and 5 since you have 6 curves.
ts, a value for each point.This script is wrinting in C#, not C++. And of course, can be done with standard components, perhaps someone else help you with that.…
x and min values for x,y,z and calculate energy for each optionand collect these results in excel sheet ...
option No. x y z Annual coiling demand(by DIva)
1 10 10 10
2 10 15 20
3 11 10 19
4 12 14 17
5 15 16 15
6 16 11 14
7 18 12 12
.
.
etc
Regards ...
hossam
Hossam.wefki@gmail.com…
Create surface for wall (can be done manually)
2) Get vertical edge curve (can be done manually)
3) Divide curve randomly into 2" and 6" segments
4) Put a segment of predetermined length after each 2 or 6 inch segment (say 1/4") for reveals
5) get end points of segments
6) generate horizontal curves based on length of the surface's horizontal edge curve
7) split original surface with new curves
8) move reveals backward a certain distance opposite of original surfaces normal
9) extrude reveal curves backward the same distance so the 2" and 6" boards appear solid
I'm going for an effect similar to the boards in this image
…
could accomplish this by adding something like '5.0 + Slider * 3.0' into the expression field... (and having an integer slider with domain 0 to 6).
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 10:19am on February 24, 2011