algorithmic modeling for Rhino
Tags:
Private Sub RunScript(ByVal pt As Point3d, ByVal y As Double, ByRef A As Object)
Dim pattern As New List(Of Line)
Dim pt2 As Point3d = pt
pt2.X += 5
Dim ln As New Line(pt, pt2)
pattern.Add(ln)
Dim pt3 As Point3d = ln.From
Dim pt4 As Point3d = ln.To
Dim ln2 As Line = ln
ln2.Transform(Transform.Translation(ln.Direction))
ln2.Transform(transform.Rotation(y, Vector3d.ZAxis, pt3))
pattern.Add(ln2)
A = pattern
End Sub
Dim pline As New Polyline(New Point3d(){ln.From, ln.To})
Dim pline As New Polyline()
pline.Add(ln.From)
pline.Add(ln.To)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by