draftmake.make_line Namespace Reference

Functions

def make_line (first_param, last_param=None)
 

Variables

 makeLine = make_line
 

Function Documentation

◆ make_line()

def draftmake.make_line.make_line (   first_param,
  last_param = None 
)
makeLine(first_param, p2)

Creates a line from 2 points or from a given object.

Parameters
----------
first_param : 
    Base.Vector -> First point of the line (if p2 == None)
    Part.LineSegment -> Line is created from the given Linesegment
    Shape -> Line is created from the give Shape

last_param : Base.Vector
    Second point of the line, if not set the function evaluates 
    the first_param to look for a Part.LineSegment or a Shape

Variable Documentation

◆ makeLine

draftmake.make_line.makeLine = make_line