draftguitools.gui_edit_sketcher_objects.SketcherSketchObjectGuiTools Class Reference

Public Member Functions

def get_edit_points (self, obj)
 
def update_object_from_edit_points (self, obj, node_idx, v, alt_edit_mode=0)
 
- Public Member Functions inherited from draftguitools.gui_edit_base_object.GuiTools
def get_edit_obj_context_menu (self, edit_command, obj, position)
 
def get_edit_point_context_menu (self, edit_command, obj, node_idx)
 
def get_edit_points (self, obj)
 
def get_object_style (self, obj)
 
def init_preview_object (self, obj)
 
def restore_object_style (self, obj, modes)
 
def set_object_editing_style (self, obj)
 
def update_object_from_edit_points (self, obj, node_idx, v, alt_edit_mode=0)
 
def update_preview_object (self, edit_command, obj, node_idx, v)
 

Member Function Documentation

◆ get_edit_points()

def draftguitools.gui_edit_sketcher_objects.SketcherSketchObjectGuiTools.get_edit_points (   self,
  obj 
)
Return the list of edipoints for the given single line sketch.
(WallTrace)
0 : startpoint
1 : endpoint

Reimplemented from draftguitools.gui_edit_base_object.GuiTools.

◆ update_object_from_edit_points()

def draftguitools.gui_edit_sketcher_objects.SketcherSketchObjectGuiTools.update_object_from_edit_points (   self,
  obj,
  node_idx,
  v,
  alt_edit_mode = 0 
)
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

Reimplemented from draftguitools.gui_edit_base_object.GuiTools.


The documentation for this class was generated from the following file: