algorithmic modeling for Rhino
I'm new to VB coding in GH, and I would like to develop a recursive loop that draws a line from a point through the tangent edge of a circle, creates a new circle at the end of the line, and draws a new line from the same origin point through the tangent edge of the second circle, and so on to some specified number of circles are drawn.
Is there a way to extract the VB script from the GH component (Tangent Edge)? If not I where do I start with something like this?
I actually have a grasshopper definition that deals with this, but I have to continuously copy a certain section of the definition over and over. I'm trying to avoid this with the VB editor.
Any suggestions would be helpful, Thanks!
Tags:
I did a little digging, and I did find OsnapModes and the tangent enumeration, but how exactly do I use it?
If you're just dealing with lines and circles in 2D I recommend using trigonometry to solve your problem. I attached the function I wrote for the [Tangent Lines] component.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
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