algorithmic modeling for Rhino
Namaste All,
Simple question, Why is it that when drawing an arc, if I feed a line drawn in the XY plane as the input for P(plane) value of an arc component,the arc is drawn in the YZ plane?.
The coordinates of the points are (0,0,0) and (10,0,0).
What I thought was, given the coordinates of the points, the line can either have XY plane or XZ plane. but the arc here is being drawn in the YZ plane?.
Thanks.
Tags:
Hi.
What makes you think that you could replace a plane when you supply a line?
In this case, your line is recognized as a vector, and if it is connected as a Plane, it'll be recognized as a Normal vector and an "Implicit data type conversion" will occur.
The same principle applies when you connect a line to a radius node.
If you connect your line to the "Plane" parameter, you'll know what it means.
Hi Kim, I wasn't trying to replace the plane here, I expected the arc to be drawn in the plan of the line(XY), hadn't come across "Implicit data type conversion" before this.
Thanks a ton.
Plus both the points had XY as their plane, so I reasoned the line and the arc should also be in that as well.
All GH component inputs require a specific data type, and if you place the mouse on any input node, you can check it through the pop up tooltip.
Usually, when a different data type is supplied, the GH component changes to red to indicate an error or, cleverly performs an implicit data type conversion automatically.
both the points had XY as their plane
There are an infinite number of planes that pass through any two points. A third point is needed to establish a plane. A plane has a point property (origin) but a point doesn't have any associated plane property.
As Hyungsoo Kim said, a line passed as a plane input will be interpreted as the Z (normal) vector of a plane, with plane origin at the start point of the line.
Thanks @Joseph Oster
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