draftmake.make_wire Namespace Reference

Functions

def make_wire (pointslist, closed=False, placement=None, face=None, support=None, bs2wire=False)
 

Variables

 makeWire = make_wire
 

Function Documentation

◆ make_wire()

def draftmake.make_wire.make_wire (   pointslist,
  closed = False,
  placement = None,
  face = None,
  support = None,
  bs2wire = False 
)
makeWire(pointslist,[closed],[placement])

Creates a Wire object from the given list of vectors.  If face is
true (and wire is closed), the wire will appear filled. Instead of
a pointslist, you can also pass a Part Wire.

Parameters
----------
pointlist : [Base.Vector]
    List of points to create the polyline

closed : bool
    If closed is True or first and last points are identical, 
    the created polyline will be closed.

placement : Base.Placement
    If a placement is given, it is used.

face : Bool
    If face is False, the rectangle is shown as a wireframe, 
    otherwise as a face.   

support : 
    TODO: Describe

bs2wire : bool
    TODO: Describe

Variable Documentation

◆ makeWire

draftmake.make_wire.makeWire = make_wire