exportCSG Namespace Reference

Functions

def center (b)
 
def check_multmatrix (csg, ob, x, y, z)
 
def export (exportList, filename)
 
def mesh2polyhedron (mesh)
 
def process_object (csg, ob)
 
def shape2polyhedron (shape)
 
def vector2d (v)
 
def vertexs2polygon (vertex)
 

Variables

 conv = params.GetInt('exportConvexity',10)
 
string convexity = 'convexity = %d'
 
 fa = params.GetFloat('exportFa',12.0)
 
string fafs = '$fa = %f, $fs = %f'
 
 fs = params.GetFloat('exportFs',2.0)
 
 gui
 
 params = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/OpenSCAD")
 
 pythonopen = open
 

Function Documentation

def exportCSG.center (   b)

Referenced by process_object().

def exportCSG.check_multmatrix (   csg,
  ob,
  x,
  y,
  z 
)

Referenced by process_object().

def exportCSG.export (   exportList,
  filename 
)

References process_object(), and pythonopen.

def exportCSG.mesh2polyhedron (   mesh)

Referenced by shape2polyhedron().

def exportCSG.process_object (   csg,
  ob 
)
def exportCSG.shape2polyhedron (   shape)

References mesh2polyhedron().

Referenced by process_object().

def exportCSG.vector2d (   v)

Referenced by vertexs2polygon().

def exportCSG.vertexs2polygon (   vertex)

References vector2d().

Referenced by process_object().

Variable Documentation

exportCSG.conv = params.GetInt('exportConvexity',10)
string exportCSG.convexity = 'convexity = %d'
exportCSG.fa = params.GetFloat('exportFa',12.0)
string exportCSG.fafs = '$fa = %f, $fs = %f'
exportCSG.fs = params.GetFloat('exportFs',2.0)
exportCSG.gui
exportCSG.params = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/OpenSCAD")
exportCSG.pythonopen = open

Referenced by export().