Subtracts a 3-D point or a 3-D vector from a 3-D point.
rhinoscriptsyntax.PointSubtract (point1, point2)
rhinoscript.pointvector.PointSubtract (point1, point2)
point1 |
Required. List of 3 numbers or Point3d. The 3-D point to subtract from. |
point2 |
Required. Array. List of 3 numbers or Point3d. The 3-D point or a 3-D vector to subtract. |
Point3d |
The resulting 3-D point if successful. |
None |
On error. |
import rhinoscriptsyntax as rs
point1 = (1,1,1)
point2 = (2,2,2)
point = rs.PointSubtract(point1, point2)
print point