Calculates the intersection of three planes.
rhinoscriptsyntax.IntersectPlanes (plane1, plane2, plane3)
rhinoscript.plane.IntersectPlanes (plane1, plane2, plane3)
plane1 |
Required. The first plane to intersect. |
plane2 |
Required. The second plane to intersect. |
plane3 |
Required. The third plane to intersect. |
Point3d |
The 3-D point of intersection is successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
plane1 = rs.WorldXYPlane()
plane2 = rs.WorldYZPlane()
plane3 = rs.WorldZXPlane()
point = rs.IntersectPlanes(plane1, plane2, plane3)
if point: rs.AddPoint(point)