You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stephen S. Mitchell edited this page Apr 25, 2026
·
4 revisions
Namespace: AlibreScript.API
Kind: Class
Methods
GetPerpendicularVector
Gets a vector that is perpendicular to a vector
defGetPerpendicularVector(vector):
"""Gets a vector that is perpendicular to a vectorArgs:vector (list): Vector [X, Y, Z]Returns:Vector that is perpendicular [X, Y, Z]"""
TransformPointUsingVectors
Transforms a point based on two vectors
defTransformPointUsingVectors(source_vector, destination_vector, point):
"""Transforms a point based on two vectorsArgs:source_vector (list): Source vector [X, Y, Z]destination_vector (list): Destination vector [X, Y, Z]point (list): Point to transform [X, Y, Z]Returns:Transformed point [X, Y, Z]"""