AppDrawingPy.cpp File Reference

#include "PreCompiled.h"
#include <Python.h>
#include <Mod/Part/App/TopoShapePy.h>
#include "ProjectionAlgos.h"
#include <Base/Console.h>
#include <Base/VectorPy.h>

Go to the source code of this file.

Functions

static PyObjectproject (PyObject *self, PyObject *args)
static PyObjectprojectEx (PyObject *self, PyObject *args)
static PyObjectprojectToDXF (PyObject *self, PyObject *args)
static PyObjectprojectToSVG (PyObject *self, PyObject *args)

Variables

struct PyMethodDef Drawing_methods []

Function Documentation

static PyObject* project ( PyObject self,
PyObject args 
) [static]
static PyObject* projectEx ( PyObject self,
PyObject args 
) [static]
static PyObject* projectToDXF ( PyObject self,
PyObject args 
) [static]
static PyObject* projectToSVG ( PyObject self,
PyObject args 
) [static]

Variable Documentation

struct PyMethodDef Drawing_methods[]
Initial value:
 {
   {"project"       ,project      ,METH_VARARGS,
     "[visiblyG0,visiblyG1,hiddenG0,hiddenG1] = project(TopoShape[,App.Vector Direction, string type]) -- Project a shape and return the visible/invisible parts of it."},
   {"projectEx"       ,projectEx      ,METH_VARARGS,
     "[V,V1,VN,VO,VI,H,H1,HN,HO,HI] = projectEx(TopoShape[,App.Vector Direction, string type]) -- Project a shape and return the all parts of it."},
   {"projectToSVG"       ,projectToSVG      ,METH_VARARGS,
     "string = projectToSVG(TopoShape[,App.Vector Direction, string type]) -- Project a shape and return the SVG representation as string."},
   {"projectToDXF"       ,projectToDXF      ,METH_VARARGS,
     "string = projectToDXF(TopoShape[,App.Vector Direction, string type]) -- Project a shape and return the DXF representation as string."},
    {NULL, NULL}        
}

Definition at line 162 of file AppDrawingPy.cpp.

Referenced by initDrawing().


Generated on Wed Nov 23 19:01:12 2011 for FreeCAD by  doxygen 1.6.1