algorithmic modeling for Rhino
I have two points A and B, that I would like to connect with a circular arc with the help of grasshopper ... the center of the circle is also given ...
Point A is fixed in its place ... Point B is parameterized and is doing circular motion around the circle ... How can I tell grasshopper to make an arc circular curve between the two points?
Thank you very much for the help and support ...
Tags:
Technically an arc defined by center point, start point and end point is overconstrained as the radius is defined by more than one value. However, assuming the distance from center-point to end-point is the one-and-only constraint for the radius, you can make this arc thusly:
It is also -in a way- underconstrained as the three points must define the plane of the arc. But this is not possible if all points are co-linear (i.e. for a 180 or 360 degree arc). It is also not entirely obvious whether you want the clockwise or counter-clockwise arc segment.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Hallo David,
thank you for your effort ...
The circular motion starts with a specific point on the circle and it goes counter-clockwise (mathematically positive) ... The arc is in the xy-plane ...
I am a beginner with this program and I still have some questions:
1- Could you please explain, what these symbols mean? What do they do? How to find them in the Program? What are they called? (The symbols in the photo)
2- Could you explain, what angles should I calculate?
3- Thanks again :)
From left to right:
In Rhino, arcs are defined by a Plane (which specifies both center point and orientation), a radius value and an angle domain. The hard part here is computing the correct angle domain, but you can do it using the [Vector Angle] component.
Because centre-start-end is such an awkward way to define an arc (both over and under-constrained as mentioned above) there is no standard component for it. In Rhino it's ok because you actually have to click in viewports to define these points and Rhino can thus harvest plane and sweep information from the motions of the mouse, but in GH this is not possible.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Ok David.
So from left to right:
- A plane parallel to the XY-Plane through the center Point ... hmmm ... Why can't I just take the XY-Plane?! :D ...
- Decompose a plane ... hmmm ... what is the output of this? ... what exactly is O? What is X? What is Y? What is Z? ... I guess X, Y and Z are the cartesian unit vectors ... X=(1,0,0) ... Y=(0,1,0) ... Z=(0,0,1) ... Is this true? If yes, I still don't know, what O is? :D ...
- A numeric domain from two points ... hmmm ... What is a numeric domain? What does a numeric domain do?! ... you put the two angles inside the "numeric domain" and what is then the output? ...
- Who mentioned angle domain? What is an angle domain?! ...
Hey David ... Thank you for your patience and your effort!!! :)
Thank you very much :) ... Done :)
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
© 2024 Created by Scott Davidson. Powered by