DraftVecUtils Namespace Reference

Functions

def angle (u, v=Vector(1, 0, 0), normal=Vector(0, 0, 1))
 
def closest (vector, vlist)
 
def dist (u, v)
 
def equals (u, v)
 
def find (vector, vlist)
 
def getPlaneRotation (u, v, w=None)
 
def getRotation (vector, reference=Vector(1, 0, 0))
 
def isColinear (vlist)
 
def isNull (vector)
 
def neg (u)
 
def precision ()
 
def project (u, v)
 
def removeDoubles (vlist)
 
def rotate (u, angle, axis=Vector(0, 0, 1))
 
def rotate2D (u, angle)
 
def rounded (v)
 
def scale (u, scalar)
 
def scaleTo (u, l)
 
def toString (u)
 
def tup (u, array=False)
 
def typecheck (args_and_types, name="?")
 

Variables

 params = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft")