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' % conv |
| fa = params.GetFloat('exportFa', 12.0) | |
| string | fafs = '$fa = %f, $fs = %f' % (fa, fs) |
| fs = params.GetFloat('exportFs', 2.0) | |
| bool | gui = True |
| params = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/OpenSCAD") | |
| pythonopen = open | |
| 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 | |||
| ) |
References center(), check_multmatrix(), process_object(), shape2polyhedron(), and vertexs2polygon().
Referenced by export(), and process_object().
| 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().
| exportCSG.conv = params.GetInt('exportConvexity', 10) |
| string exportCSG.convexity = 'convexity = %d' % conv |
| exportCSG.fa = params.GetFloat('exportFa', 12.0) |
| exportCSG.fs = params.GetFloat('exportFs', 2.0) |
| bool exportCSG.gui = True |
| exportCSG.params = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/OpenSCAD") |
| exportCSG.pythonopen = open |
Referenced by export().