Hello,
I have prepared a grasshopper defination that can place a given number of row houses (using number slider in grasshopper) along a line in rhino .
This works perfectly fine but the problem is: for each input curve, Iam getting same number of houses. (4 houses for curve 1, 2 and 3)
I want to automate it and the script should work with iterartions. That means for each new input curve I should be able to apply diiferent number of houses. For curve 1, 3 houses, when I draw curve 2, I can chouse 6 houses and so on.
I have tried two to three strategies as mentioned here but nothing worked for me: What can trigger Geometry Pipeline component refreshing? - Grasshopper - McNeel Forum
I am newbie in grasshopper. I am looking forward to help at this amazing platform. I have attached my GH def. line to brep - 1.gh (48.4 KB)
Hello, Thanks for your reply.
I have already internalized the geometry. There might be some problem I am unaware of.
However, I have again attached the file with geometry construction. I hope the file works fine this time.
Per-object parameters make sense… what about making more sliders?
Instead of geometry pipeline, you should use a Curve param and do “Set multiple curves…” and select in a specific order your curves (avoid window selection).
Then, you create same amount of sliders, connect them to a “Merge” component in the correct order, and proceed with your script.
Is this what you want, or is this what you are trying to avoid?
PS your geometries are still not internalized.
You have to right click over the Crv param at the start of the .gh document and do “Internalize”.
Thats exactly what Iam trying to avoid. I dont want to select curves from rhino one by one and assign house numbers to them. I want to automate the process by using pipeline.
Suppose, I draw one curve in rhino. That curve just indicates that the houses should be aligned with that line. Than he can select the number of houses from GH Def. Those number of houses get displayed along the line.
Once Iam done with the first curve. I can draw an other curve on rhino and user can again select the number of houses to be drawn along the curve 2 using number slider in GH Def.
Thats how I want to achieve specific number of houses against every curve input in rhino.
I have question about an absurd behaviour: when I draw a new curve, WHY all of a sudden, every house disappers. When I enter number of houses for the new curve, everything comes back to normal.
Not happening here. But I don’t have your “First - End Item” component, so I replaced it with some split list component… I’m unsure I’m looking at your same result. line to brep - 2.gh (44.9 KB)
I have no idea. Never used Human, never installed once.
It’s probably a good plugin but I can’t help you with that.
Also, if that’s your goal, you should have specified from start.
I don’t know what is the workflow you are expecting, neither what are the Human plugin capabilities and features.
It’s worth if you give a complete description about it, from start to end, on a new dedicated thread. Other users that use Human could reply you there.