not work if line1 is from A to B and line2 from B to A, which is quite weird because I compare lines and not vectors, so from a geometrical point of view, line1 should be equal to line2, even if start and end points are reversed.
I tried to use line.Equals method, but the problem is the same.
I tried to use the Line.Equality operator, but I can't find the syntax for it.
I would like to avoid comparing start and end points, because I think it would be faster, but I don't know...
Any idea ?…
y i have 5,000 seats, they exist in Revit (there are a few types of chairs). I took there locations into rhino/gh by exporting a dxf line in each of their places. (i used a line instead a point for both position and orientation)
With this i used the 5,000 seat locations and orientation to create a seat colour pattern layout. What is the best way for me to input this colour data back into revit seat family. So that the existing revit seats take the gh colour?
What would be the best way for me to attempt this? Geometry gym, Chameleon, Excel (lunchbox? Ghowl?)
Thank you…
Added by Nick Tyrer at 4:04am on December 31, 2012
gle A. The top of the arc is perpendicular to the vertical line.
I'd like to have sliders for to change each of the three numerical values shown.
Any thoughts?
I'm convinced that this is enough data to construct the geometry, but I am somehow forgetting a geometric identity/property to write the solution.
Thanks in advance.…
with the python translation? PYTHON: import rhinoscriptsyntax as rs ln = rs.AddLine(pt1, pt2) a = ln b = ln.Length C#: Line ln; ln = new Line(pt1, pt2); A = ln; B = ln.Length;
Many thanks,
Arthur…
the basic line or vector of my object in Grasshopper, and not the actual shape. IE: A circle only comes up as a single half-arc, while a cylinder only show two circles with a single line between them. I've played around with view and preview settings but nothing seems to change it. I can only see the actual object in rhino when I've Baked it.
Is there anyway to fix this so that my manipulations in Grasshopper are previewing in Rhino in realtime? I'll try to get a picture posted to show what I mean.
Thanks,
BC…
e of how it should work:
The only way I thought is to compare two at a time with the "smaller than" component, picking out the smaller and then comparing it with the next. But what if I have a big number of lists? Is there any better way to do so?
…
trying to do.
i have a spiral that i divided in grasshopper into 360 points, that bit i managed to do, what i want is to connect point 1 to point 2 with a line, then connect point 1 to point 3 with a line and so on till point 1 is connected to all the other 359 points in that order, once i have done that i want to then connect point 2 to point 3 and so on, i want to repeat this till i have a connection all the way down the spiral, i'm pretty sure that once the first set of points are dealt with then it should be fairly easy to replicate the procedure to do the other point connections.
Michael…
ttern in plan while being variable in the z direction so that it undulates like a tree canopy. Each panel needs a slope of 1/2" / foot for drainage (this is worked out in a separate file).
The goal is now to reduce the number of unique glass panels for fabrication. My current strategy is to reduce the number of unique line lengths which will lead to a finite number of glass sizes. I've grouped similar line lengths and tried to use springs to pull them to their average, but the system is over constrained and resists resolving itself without drastically altering the geometry.
Any help you can offer would be much appreciated.…
have less than a given area (done)
-Cull the ones that have a "street front"(edge) lower than a given lenght. I am having trouble on making grasshopper identify the edges that opens to the "road" (see attachment 2)(note: it will not always be the shortest edge.)
-I was thinking on making the "road" into a line and somehow the closest edge of each curve will be the one closer to the line. I am having trouble doing this plus this would only work if you have a single "road" and not many blocks of building sites. Does anyone have a better idea?
thank you very much…
ints 'Z' value changes. I have all of this working. I deconstruct the points, and reconstruct them with the existing x,y points, and the new z points from the image.
Now I want to create a line that goes through the points. When I simply feed them into a "pline" component, it goes linearly by each row that the original surface was divided into. However, I want the line to move through the points going from the lowest point in z-direction to the highest.
Any suggestions
Thanks
ew…
Added by Eddie Winn at 8:32am on September 15, 2014