draftguitools.gui_edit_sketcher_objects Namespace Reference

Functions

def get_supported_sketcher_objects ()
 
def getSketchPts (obj)
 
def updateSketch (obj, nodeIndex, v)
 

Function Documentation

◆ get_supported_sketcher_objects()

def draftguitools.gui_edit_sketcher_objects.get_supported_sketcher_objects ( )

◆ getSketchPts()

def draftguitools.gui_edit_sketcher_objects.getSketchPts (   obj)
Return the list of edipoints for the given single line sketch.

(WallTrace)
0 : startpoint
1 : endpoint

◆ updateSketch()

def draftguitools.gui_edit_sketcher_objects.updateSketch (   obj,
  nodeIndex,
  v 
)
Move a single line sketch vertex a certain displacement.

(single segment sketch object, node index as Int, App.Vector)
move a single line sketch (WallTrace) vertex according to a given App.Vector
0 : startpoint
1 : endpoint