algorithmic modeling for Rhino
Private Sub RunScript(ByVal p0 As Point3d, ByVal p1 As Point3d, ByVal p2 As Point3d, ByRef A As Object)
Dim base As New Line(p0, p1)
Dim pp As Point3d = base.ClosestPointTo(p2, False)
Dim ex As Vector3d = p2 - pp
Dim rec As New Polyline(5)
rec.Add(p0)
rec.Add(p1)
rec.Add(p1 + ex)
rec.Add(p0 + ex)
rec.Add(p0)
A = rec
End Sub
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
© 2025 Created by Scott Davidson.
Powered by