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]Returns:Vector that is perpendicular [X, Y]"""
defRotatePoint(point, angle):
"""Rotates a pointArgs:point (list): Point to rotate as [X, Y]angle (float): Angle to rotate in degreesReturns:Rotated point as [RX, RY]"""