draftlibs::dxfImportObjects::LWpolyline Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__
def get_extrusion
def get_points

Public Attributes

 closed
 color_index
 data
 elevation
 extrusion
 flags
 num_points
 points
 space
 type

Detailed Description

Class for objects representing dxf LWpolylines.

Definition at line 203 of file dxfImportObjects.py.


Member Function Documentation

def draftlibs::dxfImportObjects::LWpolyline::__init__ (   self,
  obj 
)
Expects an entity object of type lwpolyline as input.

Definition at line 206 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::LWpolyline::__repr__ (   self  ) 

Definition at line 302 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::LWpolyline::get_extrusion (   self,
  data 
)
Find the axis of extrusion.

Used to get the objects Object Coordinate System (ocs).

Definition at line 286 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::LWpolyline::get_points (   self,
  data 
)
Gets points for a polyline type object.

Polylines have no fixed number of verts, and 
each vert can have a number of properties.
Verts should be coded as 
10:xvalue
20:yvalue
40:startwidth or 0
41:endwidth or 0
42:bulge or 0
for each vert

Definition at line 252 of file dxfImportObjects.py.


Member Data Documentation

Definition at line 241 of file dxfImportObjects.py.

Definition at line 223 of file dxfImportObjects.py.

Definition at line 211 of file dxfImportObjects.py.

Definition at line 229 of file dxfImportObjects.py.

Definition at line 245 of file dxfImportObjects.py.

Definition at line 235 of file dxfImportObjects.py.

Definition at line 214 of file dxfImportObjects.py.

Definition at line 244 of file dxfImportObjects.py.

Definition at line 217 of file dxfImportObjects.py.

Definition at line 210 of file dxfImportObjects.py.


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

Generated on Wed Nov 23 19:01:54 2011 for FreeCAD by  doxygen 1.6.1