lem is that after the intersection component, the length is different for each set of intersections points (even I got some "nulls" results).
In the image is just a coincidence that each set have 19 elements.
I was thinking in a vb.net component with the "param viewer" as input,
that get the second char of the first line (ej: 0) and count until the line change to the next number (1) and put the counter on a list. Then do the same with the next number (1) and so on... the output will be the counter list.
I dont know how to do this in vb.net but tomorrow im gonna give it a try.
Any tips and suggestions are welcome.. thanks.…
er, but it does support other types of geometry. When it comes to curves Rhino actually has logic for a lot of different 'kinds' of curve:
Line
Polyline
Circle
Arc
Bezier
Polynomial
Polycurve
Nurbs
The first 6 types are just simpler than Nurbs curves. A line is defined by 2 points. A circle by a plane and a radius. etc. etc. However all these kinds of curves can be approximated by Nurbs curves. A line is defined by 2 points (and each point by 3 numbers, so in total 6 numbers define a single line), but you could make a nurbs curve that looks exactly the same. This curve would have two control-points, a degree integer, a knot vector containing 2 numbers, an integer specifying the dimensionality and maybe even a cached boundingbox and spatial-tree. Because of all this overhead we have a Line type to deal with just pure lines.
A polycurve is not really a 'type' of curve at all. It's just a topological construct that allows you to string together a bunch of curves of different type and different degrees into a single entity.
So when you have a curve that looks like a line, it can be any of the following (GH doesn't do beziers and polynomials):
an actual honest-to-goodness line
a polyline with a single segment (topologically and geometrically indistinguishable from a proper line)
a polyline with an arbitrary number of co-linear segments
a nurbs curve of degree=1 with two control-points
a nurbs curve of some arbitrary degree with an arbitrary number of co-linear control-points.
a polycurve combining any number of the above, provided all polycurve segments are co-linear.
In the first case Grasshopper will tell you you've got a "Line". In the other cases you're dealing with a "Line-like curve".
Very much the same goes for polylines, arcs and circles.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
works when position of loads and supports do not match.
Questions:
Are line loads get applied on centroids line or on original beam line?
I expect torsional moments in each section. This not occur. Why?
Support positions are related to centroids line or to original beam line?
Please have a look to attached imagen
Thanks for your help.
Best, Leonardo…
nes As New List (Of Plane) Dim Line1 As Line Dim Line2 As Line Dim Line1SP As Point3d Dim Line1EP As Point3d Dim Line2EP As Point3d Dim i As Int32 For i = 0 To LineList.Count - 2 Line1 = LineList(i) Line2 = LineList(i + 1) Line1SP = Line1.PointAt(0.0) Line1EP = Line1.PointAt(1.0) Line2EP = Line1.PointAt(1.0) ' create plane Dim RadiusPlane As New Plane(Line1SP, Line1EP, Line2EP) ' add to list RadiusPlanes.Add(RadiusPlane) Next A = RadiusPlanes…
st 4 characters of a line which is which I want to use a command similar to "left" in excel/VBA.
All of the syntaxes I have found online do not work in GH. GH doesn't know what to do with the term "left" - (1. Error (CS0103): The name 'Left' does not exist in the current context (line 75)). Does anyone know a syntax for this that GH will accept?
Furthermore, can someone explain why these syntax mismatches happen? surely c# is the same no matter where you are using it?
Thanks a bunch!
ken …
When the Fancy Wires option is enabled in the Grasshopper View menu, then the wire display tells you something about the data that flows through them. There are 4 different wire display types:
1. S…
Added by Mary Fugier at 11:59am on December 17, 2010
ersions - but it seems when the corner option was added it no longer worked - or maybe i'm doing something wrong. I've attached a definition as a simple demonstration of the problem. Thanks!…
Added by Glenn Wilcox at 9:19am on November 10, 2009