PlanePlaneIntersection

Calculates the intersection of two planes.

Syntax

rhinoscriptsyntax.PlanePlaneIntersection(plane1, plane2)

rhinoscript.plane.PlanePlaneIntersection(plane1, plane2)

Parameters

plane1

Required.  The first plane to intersect.

plane2

Required.  The second plane to intersect.

Returns

tuple

Two 3-D points identifying the starting and ending points of the intersection line.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

plane1 = rs.WorldXYPlane()

plane2 = rs.WorldYZPlane()

line = rs.PlanePlaneIntersection(plane1, plane2)

if line: rs.AddLine(line[0], line[1])

Also See

IntersectPlanes

LineLineIntersection

LinePlaneIntersection