radius / 3 Then field_value += 1 * (1 - 3 * test_dist ^ 2 / radius ^ 10) ElseIf test_dist >= radius / 3 And test_dist < radius Then field_value += (3 / 2) * (1 - test_dist / radius) ^ 10
Not sure yet how to reduce the new angled beam artifacts.
The question remains whether there is a superior function that avoids bulge completely so I can start rationally designing bulk objects with mere lines.
Actually, if I move a parentheses to make both powers into divisors and tweak the sliders, I get rid of nearly all bulge, while improving the corners:
If test_dist > 0 And test_dist < radius / 3 Then field_value += 1 * (1 - 3 * test_dist ^ 2 / radius ^ 10) ElseIf test_dist >= radius / 3 And test_dist < radius Then field_value += (3 / 2) * (1 - test_dist / radius ^ 10)
That I can work with!
…
SiTI - Politecnico di Torino + ETH Computational Assessment Workshop at ETH - ValueLab - December 13, 2011 Assessment of 3 scenarios on the development of th...
nput parameter and then set the named values on the second?
protected override void BeforeSolveInstance() { Param_Integer param0 = Params.Input[0] as Param_Integer; Param_Integer param1 = Params.Input[1] as Param_Integer; param1.ClearNamedValues();
GH_Structure<GH_Integer> data = param0.VolatileData as GH_Structure<GH_Integer>; if (data.IsEmpty) return; foreach (GH_Integer value in data.AllData(true)) { switch (value.Value) { case 1: param1.AddNamedValue("First option for 1", 11); param1.AddNamedValue("Second option for 1", 12); param1.AddNamedValue("Third option for 1", 13); break;
case 2: param1.AddNamedValue("First option for 2", 21); param1.AddNamedValue("Second option for 2", 22); param1.AddNamedValue("Third option for 2", 23); break;
case 3: param1.AddNamedValue("First option for 3", 31); param1.AddNamedValue("Second option for 3", 32); param1.AddNamedValue("Third option for 3", 33); break; } return; } }
--
David Rutten
david@mcneel.com…
Added by David Rutten at 1:56am on December 18, 2013
the curves on surface issue it's solved seting flatten to the surface control point output. Still didnt know how to group points like:
1;1, 2;2, 3;3.....
1;2, 2;3, 3;4....
1;3, 2;4, 3;5...
....
ved from the source surface.
3. Send the center points to the VB component.
If you send 15 points to the VB component, it will then return 15 * 4 spirals.…
Added by June-Hao Hou at 9:41pm on December 2, 2010