15 and >90 then add "red" to the strings/int list.
pseudocode :
create list of strings
load bitmap from file path
get bitmap height
get bitmap width
count pixels -> (width*height) -> create a new int (pixelCount)
check every pixels color :
loop till i = pixelCount-1
if hue < 20 and >80 then add "red" to string list
if hue >20 and <40 then add ... etc.
output string list
…
this target list:
(a1, b1, c1, d1)
(a2, b2, c2, d2)
(a3, b3, c3, d3)
....
What I want to do is injecting one more value (arbitrary angle in my case) to each point before I cull many of them - so that each point brings its angle data along.
Any hep would be greatly appreciated. TIA
…
p slit, as would the Y.
I would like to put a ~2" Slit in My X, and a ~8" slit in my Y.
Application:
I am building shelves to store Architectural Drawing sets. I want to maintain the rigidity of the horizontal Pieces (shelves), while allowing the vertical elements (dividers) to slot in primarily for convenience. …
thankssssss
.74-.80 may is ok not big differents .. but i have to control each group of triangles :)
___
sorry the version is
rhino 4.9
gr 0.8.0004 version
thanks :)
Added by architecture at 6:26am on December 20, 2011
ven if the number of panels inside each cell varies. The current solution works when the number of panels inside each cell is always two or other same numbers, but it wouldn't work if the number of panels inside frames are different in each cell. It would be perfect, if numbering of panels are automatically added correctly next to the cell number based on the number of panel division instead of feeding the fixed number.
To take an example, let's assume that the cell #80 has three panels and the #81 has two ones. In this case, three panels within the cell #80 would be numbered like 80-1, 80-2, 80-3, while two panels within the #81 would be numbered such as 81-1 and 81-2 automatically. …
rence not set to an instance of an object. (line: 80)
Both .dlls appear to have been successfully imported.
Thanks in advance,
Charles
RStatSystem rs = ri as RStatSystem;
List<Line> slines = new List<Line>();
foreach(RStatBeam b0 in rs.Beams) { <------ line 80
if (b0.StiffnessMultiplier < 0.3) continue;
slines.Add(new Line(b0.P0.ToPoint3d(), b0.P1.ToPoint3d())); }
A = slines;
…
ded a circle and been able to draw the two lines and cull out the correct distances but do not know how to pull out those two original lines - the one from the starting point to the circle division + the circle division to the end point.
To recap - I'm looking for a way to have 2 lines = 80" when the direct path between two points is 60". I do not want the 2 new lines to be equal in length but variable lengths.
thanks!
_patrick
…