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 = open | |
def exportDRAWEXE.ax2_xdir | ( | normal | ) |
Referenced by exportDRAWEXE.Drawexporter.process_object().
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 | ) |
Referenced by exportDRAWEXE.Drawexporter.process_object().
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 | ) |
References isDraftFeature().
Referenced by exportDRAWEXE.Drawexporter.process_object().
def exportDRAWEXE.isDraftClone | ( | ob | ) |
Referenced by exportDRAWEXE.Drawexporter.process_object().
def exportDRAWEXE.isDraftEllipse | ( | ob | ) |
References isDraftFeature().
Referenced by exportDRAWEXE.Drawexporter.process_object().
def exportDRAWEXE.isDraftFeature | ( | ob | ) |
Referenced by isDraftCircle(), isDraftEllipse(), isDraftPoint(), isDraftPolygon(), isDraftShape2DView(), and isDraftWire().
def exportDRAWEXE.isDraftPoint | ( | ob | ) |
References isDraftFeature().
Referenced by exportDRAWEXE.Drawexporter.process_object().
def exportDRAWEXE.isDraftPolygon | ( | ob | ) |
References isDraftFeature().
Referenced by exportDRAWEXE.Drawexporter.process_object().
def exportDRAWEXE.isDraftShape2DView | ( | ob | ) |
References isDraftFeature().
Referenced by exportDRAWEXE.Drawexporter.process_object().
def exportDRAWEXE.isDraftWire | ( | ob | ) |
References isDraftFeature().
Referenced by exportDRAWEXE.Drawexporter.process_object().
def exportDRAWEXE.isOpenSCADFeature | ( | ob | ) |
def exportDRAWEXE.isOpenSCADMultMatrixFeature | ( | ob | ) |
Referenced by isDeform().
def exportDRAWEXE.occversiontuple | ( | ) |
Referenced by exportDRAWEXE.Drawexporter.process_object().
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 | |||
) |
References f2s().
Referenced by exportDRAWEXE.Drawexporter.process_object().
def exportDRAWEXE.quaternionToString | ( | rot | ) |
def exportDRAWEXE.saveShape | ( | csg, | |
filename, | |||
shape, | |||
name, | |||
hasplacement = True , |
|||
cleanshape = False |
|||
) |
Referenced by exportDRAWEXE.Drawexporter.process_object(), and exportDRAWEXE.Drawexporter.saveSweep().
exportDRAWEXE.pythonopen = open |