ou will see all of the available components on a ribbon at once so there is no need to keep clicking drop down menus.
It's all about discoverability with GH. What if you're a beginner and don't know about the Create Facility (dbl click canvas) how can you find Extr?
Even if you hover over every component or use the drop down lists you will not see the name Extr appear anywhere.
Sure it makes sense that Extr is short for Extrude but it's also the Nick Name of Extrude to Point component
So you can easily miss the fact that one has a Distance Input verses a Point Input.
I think I made the move to Icons around about the move from version 0.5 to 0.6, possibly before. I initially thought that I would go back to text because I loved the mono chromatic look of the text but I soon realised that Icons were the way forward. The greatest benefit is speed. You don't need to digest and decipher every component (which is written 90 degrees to the norm).
I'm not saying you should move to Icons forthwith but at least consider that once you have a better knowledge and understanding of GH, Icons will set you free.
My top ten tips that I would highly recommend to anyone wanting to better themselves with GH.
1) Turn on Draw Icons
2) Turn on Draw Fancy Wires
3) Turn on Obscure Components
4) Use the Create Facility like a Command Line eg "Slider=-1<0.75<2" or "Shiftlist=-1"
5) Use Component Aliases to customise your use of the Create Facility eg giving the Point XYZ component an alias of XYZ will bring it up as the first option on the Create Facility as opposed to the other possibilities.
6) Try to answer other people's questions even if it's not relevant to your own area. By looking into solving a problem outside of your comfort zone and then posting your results it is very rewarding but it also lets you see the other approaches that get posted in a new light.
7) Take the time to understand Data/Path structures.
8) Buy a second monitor - There is nothing that can compare to real estate when working in Grasshopper.
9) Read Rajaa Issa's Essential Mathematics
10) Pick a panel in a tab on the ribbon and get to know every component inside and out and then move on. Start with the Sets Tab > List Panel…
ve' ist nicht möglich. (line 85)
Unfortunately I don't know how to have it displayed in English but it is saying that it can't convert 'Rhino.Geometry.Curve[]' to 'Rhino.Geometry.Curve'. This is my code:
Point3d pt1 = new Point3d(0, 0, 0); Point3d pt2 = new Point3d(1, 0, 0); Point3d pt3 = new Point3d(1, 1, 0); Line line1 = new Line(pt1, pt2); Line line2 = new Line(pt2, pt3); Curve crv1 = line1.ToNurbsCurve(); Curve crv2 = line2.ToNurbsCurve(); List <Curve> crvlist = new List<Curve>(); crvlist.Add(crv1); crvlist.Add(crv2); Curve joined = Curve.JoinCurves(crvlist); A = joined;
What needs to change? Also, do I really need to convert things like lines etc. to NurbsCurves each time I do this, or is there a more direct way? I am quite new to C# and would be thankful for any tips on how to make the above code shorter and more efficient.
Cheers,
Max…
Added by Max Marschall at 7:58am on November 13, 2016
) function if you've already got a boolean value.
This expression:
x < 12
results in exactly the same things as this expression:
If( x < 12, True, False )
If() is only really useful when you want to return non-boolean data, like so:
If( x < 12, x, 100-x )
In this case, the expression will return either x, or 100-x if x is larger than or equal to 12:
x result
1 1
2 2
10 10
11 11
12 88
13 87
14 86
18 82
70 30
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 7:22am on August 10, 2011