importDXF Namespace Reference

Classes

class  fcformat

Functions

def addObject
def addText
def addToBlock
def attribs
def calcBulge
def decodeName
def drawArc
def drawBlock
def drawCircle
def drawFace
def drawInsert
def drawLayerBlock
def drawLine
def drawMesh
def drawPolyline
def drawSolid
def drawSpline
def export
def exportPage
def getACI
def getArcData
def getBlock
def getGroup
def getSplineSegs
def getWire
def insert
def locateLayer
def open
def prec
def processdxf
def rawValue
def vec
def warn
def writeMesh
def writeShape

Variables

string __author__ = "Yorik van Havre <yorik@gmx.fr>"
string __title__ = "FreeCAD Draft Workbench - DXF importer/exporter"
list __url__ = ["http://yorik.orgfree.com","http://free-cad.sourceforge.net"]
 pythonopen = open

Function Documentation

def importDXF::addObject (   shape,
  name = "Shape",
  layer = None 
)

Definition at line 602 of file importDXF.py.

def importDXF::addText (   text,
  attrib = False 
)

Definition at line 614 of file importDXF.py.

def importDXF::addToBlock (   shape,
  layer 
)

Definition at line 640 of file importDXF.py.

def importDXF::attribs (   insert  ) 

Definition at line 582 of file importDXF.py.

def importDXF::calcBulge (   v1,
  bulge,
  v2 
)
calculates intermediary vertex for curved segments.
algorithm from http://www.afralisp.net/lisp/Bulges1.htm

Definition at line 84 of file importDXF.py.

def importDXF::decodeName (   name  ) 

Definition at line 61 of file importDXF.py.

def importDXF::drawArc (   arc,
  shapemode = False 
)

Definition at line 348 of file importDXF.py.

def importDXF::drawBlock (   blockref  ) 

Definition at line 509 of file importDXF.py.

def importDXF::drawCircle (   circle,
  shapemode = False 
)

Definition at line 367 of file importDXF.py.

def importDXF::drawFace (   face  ) 

Definition at line 384 of file importDXF.py.

def importDXF::drawInsert (   insert  ) 

Definition at line 549 of file importDXF.py.

def importDXF::drawLayerBlock (   shapeslist  ) 

Definition at line 573 of file importDXF.py.

def importDXF::drawLine (   line,
  shapemode = False 
)

Definition at line 278 of file importDXF.py.

def importDXF::drawMesh (   mesh  ) 

Definition at line 398 of file importDXF.py.

def importDXF::drawPolyline (   polyline,
  shapemode = False 
)

Definition at line 293 of file importDXF.py.

def importDXF::drawSolid (   solid  ) 

Definition at line 436 of file importDXF.py.

def importDXF::drawSpline (   spline,
  shapemode = False 
)

Definition at line 467 of file importDXF.py.

def importDXF::export (   objectslist,
  filename,
  nospline = False 
)

Definition at line 1129 of file importDXF.py.

def importDXF::exportPage (   page,
  filename 
)

Definition at line 1194 of file importDXF.py.

def importDXF::getACI (   ob,
  text = False 
)

Definition at line 106 of file importDXF.py.

def importDXF::getArcData (   edge  ) 

Definition at line 966 of file importDXF.py.

def importDXF::getBlock (   obj  ) 

Definition at line 1057 of file importDXF.py.

def importDXF::getGroup (   ob,
  exportList 
)

Definition at line 97 of file importDXF.py.

def importDXF::getSplineSegs (   edge  ) 

Definition at line 998 of file importDXF.py.

def importDXF::getWire (   wire,
  nospline = False 
)

Definition at line 1018 of file importDXF.py.

def importDXF::insert (   filename,
  docname 
)

Definition at line 950 of file importDXF.py.

def importDXF::locateLayer (   wantedLayer  ) 

Definition at line 73 of file importDXF.py.

def importDXF::open (   filename  ) 

Definition at line 942 of file importDXF.py.

def importDXF::prec (  ) 
def importDXF::processdxf (   document,
  filename 
)

Definition at line 647 of file importDXF.py.

def importDXF::rawValue (   entity,
  code 
)

Definition at line 121 of file importDXF.py.

def importDXF::vec (   pt  ) 

Definition at line 274 of file importDXF.py.

def importDXF::warn (   dxfobject  ) 

Definition at line 937 of file importDXF.py.

def importDXF::writeMesh (   ob,
  dxfobject 
)

Definition at line 1114 of file importDXF.py.

def importDXF::writeShape (   ob,
  dxfobject,
  nospline = False 
)

Definition at line 1063 of file importDXF.py.

Referenced by Raytracing::RayFeature::execute(), getPartAsPovray(), and writePartFile().


Variable Documentation

string importDXF::__author__ = "Yorik van Havre <yorik@gmx.fr>"

Definition at line 27 of file importDXF.py.

string importDXF::__title__ = "FreeCAD Draft Workbench - DXF importer/exporter"

Definition at line 26 of file importDXF.py.

list importDXF::__url__ = ["http://yorik.orgfree.com","http://free-cad.sourceforge.net"]

Definition at line 28 of file importDXF.py.

Definition at line 55 of file importDXF.py.


Generated on Wed Nov 23 19:02:13 2011 for FreeCAD by  doxygen 1.6.1