Returns the normal vector and center point for a plane that contains a list of input curve parts .
findProfilePlane ( curves As List ) As List
Argument | Type | Description |
---|---|---|
curve | List | This is a list of curve parts that form a profile. The curves should all be in the same plane, or an error will occur. |
Child Line_1 As Line
thruPoint1 = point(0,0,0)
thruPoint2 = point(1,0,0)
End Child
Child Line_2 As Line
thruPoint1 = point(1,0,0)
thruPoint2 = point(1,1,0)
End Child
Child Line_3 As Line
thruPoint1 = point(1,1,0)
thruPoint2 = point(1,1,1)
End Child
Intent >findProfilePlane({Line_1, Line_2})
--> {Point_(0.0, 0.0, 0.0, WorldFrame()), Vector_(0.0, 0.0, 1.0, WorldFrame())}
This result says that the two lines form a profile on the x, y plane. Intent >findProfilePlane({Line_1, Line_2, Line_3})
Result: error This causes an error because the third line does not lie in the same plane as the other two