atic functions on it that allow you to specify Rotational transformations.
Dim ln As New line(A, B)
ln.Transform(Transform.Rotation(0.5 * Math.Pi, Vector3d.ZAxis, Point3d.Origin))
or... probably neater:
Dim ln As New line(A, B)
Dim X As Transform = Transform.Rotation(0.5 * Math.Pi, Vector3d.ZAxis, Point3d.Origin)
ln.Transform(X)
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
but arent working properly in Grasshopper (only parts of the curves are filled, lots of artifacts) so for the moment the only animation I have is of the lines.
Andrew, great workshop, have tons of ideas... I'll keep posting!…
Added by Noah Marble at 7:55am on February 26, 2014
tion is constrained to a 2D plane then there are only 2 possible perpendicular vectors.
Other than that the problem is now clear to me. There may well be a trigonometric exact solution to this problem, but perhaps you'd be happy with a solution using Galapagos?
--
David Rutten
david@mcneel.com…
tunately does not, my model is kind like individual points on different line which need to be arranged in order so that i could create a poly line along those point,
i attached my grasshopper file, i tried to use panels which is a long process , was wondering if there is a quicker way to do it
…
n a closed polyline) Does the Area need to stay the same? Do any points have specific priorities (for instance would the top segments left or right point need to move to straighten the line, or maybe the line rotates from its center point to straighten) In short there probably many ways but you really cant do anything until you decide what your design parameters are. …
gin by a falling off distance that is derived by that original points distance to a Curve Closest Point on a repulsor curve. The idea is that the closer the origin point is to the CurveCP point [on repulsor], the farther away it should get pushed. Ive attached the rhino file and GH def of what im working on now, the logic is that this line could be a way to move agents away from that line(s).…
or rectangular with corner fillet and line will not be possible to find out this relation. Could anyone has this experience before? pls. advise.
Thanks,
James
CCX-tA.png…