exportDRAWEXE Namespace Reference

Classes

class  Drawexporter
 

Functions

def ax2_xdir (normal)
 
def export (exportList, filename)
 
def f2s (n, angle=False, axis=False)
 
def formatobjtype (ob)
 
def isDeform (ob)
 
def isDraftCircle (ob)
 
def isDraftClone (ob)
 
def isDraftEllipse (ob)
 
def isDraftFeature (ob)
 
def isDraftPoint (ob)
 
def isDraftPolygon (ob)
 
def isDraftShape2DView (ob)
 
def isDraftWire (ob)
 
def isOpenSCADFeature (ob)
 
def isOpenSCADMultMatrixFeature (ob)
 
def occversiontuple ()
 
def placement2draw (placement, name='object')
 
def polygonstr (r, pcount)
 
def quaternionToString (rot)
 
def saveShape (csg, filename, shape, name, hasplacement=True, cleanshape=False)
 

Variables

 pythonopen
 

Function Documentation

def exportDRAWEXE.ax2_xdir (   normal)
def exportDRAWEXE.export (   exportList,
  filename 
)
def exportDRAWEXE.f2s (   n,
  angle = False,
  axis = False 
)
convert to numerical value to string
try to remove no significant digits, by guessing a former rounding

Referenced by exportDRAWEXE.Drawexporter.export_annotations(), placement2draw(), polygonstr(), and exportDRAWEXE.Drawexporter.process_object().

def exportDRAWEXE.formatobjtype (   ob)
def exportDRAWEXE.isDeform (   ob)
tests whether the object is a Matrix transformation
that does a non-uniform scaling

References isOpenSCADMultMatrixFeature().

Referenced by exportDRAWEXE.Drawexporter.process_object().

def exportDRAWEXE.isDraftCircle (   ob)
def exportDRAWEXE.isDraftClone (   ob)
def exportDRAWEXE.isDraftEllipse (   ob)
def exportDRAWEXE.isDraftFeature (   ob)
def exportDRAWEXE.isDraftPoint (   ob)
def exportDRAWEXE.isDraftPolygon (   ob)
def exportDRAWEXE.isDraftShape2DView (   ob)
def exportDRAWEXE.isDraftWire (   ob)
def exportDRAWEXE.isOpenSCADFeature (   ob)
def exportDRAWEXE.isOpenSCADMultMatrixFeature (   ob)

Referenced by isDeform().

def exportDRAWEXE.occversiontuple ( )
def exportDRAWEXE.placement2draw (   placement,
  name = 'object' 
)
converts a FreeCAD Placement to trotate and ttranslate commands

References f2s().

Referenced by exportDRAWEXE.Drawexporter.process_object().

def exportDRAWEXE.polygonstr (   r,
  pcount 
)
def exportDRAWEXE.quaternionToString (   rot)
def exportDRAWEXE.saveShape (   csg,
  filename,
  shape,
  name,
  hasplacement = True,
  cleanshape = False 
)

Variable Documentation

exportDRAWEXE.pythonopen