Hi
I'm trying to write a simple script to offset a curve muliptle times (using a 'for loop') but I don't know the vb dotNet syntax. I'm sure lines 84, 88 & 89 are wrong. Any ideas.
Thanks. P
Added by Paul Wintour at 8:25am on September 28, 2010
inal surface, creating buckling.
http://www.grasshopper3d.com/forum/topics/differential-growth-in-curves?id=2985220%3ATopic%3A1313465&page=1#comments
I experimented with many different texture effects. In the end I decided i liked the idea of the outer surface being eroded smooth. With the articulate texture protected within folds.
Full GH (Kangaroo - Meshmachine - Weaverbird - Millipede)…
Added by Nick Tyrer at 5:25am on December 10, 2015
me in 19 different pipeline components. Marginally better, but I'll still need to do this operation approx. 80 times...gulp.
Here's a wishlist request for David: expose string inputs in the Geometry Pipeline for Layer and Name. If I had that, I could change one string to swap my whole geometry set! (My layers have names like "B1 red rail", "B1 blue rail" etc., then the next time I'll want "B2 red rail", "B2 blue rail" etc.)
BTW, I'm happy to script something in C# if it will help: maybe I could write something like the Geometry Pipeline that takes a string input for layer name? Hmmm...
…
ase to give the same result using a graph mapper with a parabola as in the attached file
Unfortunately it never gave the same result ..... is it a mistake in the book ?!…
hope it will do the job (maybe its not the cleanest way, but it works for me sometimes. Depending on the ending of the lists you should wrap or not the shift component.
Good luck…
Added by Pep Tornabell at 2:05am on November 19, 2009
to an instance of an object. (line: 79) error on the marked line.
private void RunScript(object ri, ref object A, ref object B){RStatSystem rs = ri as RStatSystem;
List<Line> slines = new List<Line>();
foreach(RStatBeam b0 in rs.Beams) {
if (b0.StiffnessMultiplier < 0.3) continue;
slines.Add(new Line(b0.P0.ToPoint3d(), b0.P1.ToPoint3d()));}
A = slines;}
Also to be more clear, I'm attaching a screenshot.
Does anyone know a solution for this?
Best,
Gediminas…