#include "PreCompiled.h"
#include <Python.h>
#include <Base/Console.h>
#include "PovTools.h"
#include "FreeCADpov.h"
#include <Mod/Part/App/TopoShape.h>
#include <Mod/Part/App/TopoShapePy.h>
#include <App/Application.h>
Go to the source code of this file.
Functions | |
static PyObject * | copyResource (PyObject *self, PyObject *args) |
write project file | |
static PyObject * | getPartAsPovray (PyObject *self, PyObject *args) |
get part file as string | |
static PyObject * | getProjectFile (PyObject *self, PyObject *args) |
write project file | |
static PyObject * | writeCameraFile (PyObject *self, PyObject *args) |
write project file | |
static PyObject * | writeDataFile (PyObject *self, PyObject *args) |
write part file | |
static PyObject * | writePartFile (PyObject *self, PyObject *args) |
write part file | |
static PyObject * | writePartFileCSV (PyObject *self, PyObject *args) |
write part file as CSV | |
static PyObject * | writeProjectFile (PyObject *self, PyObject *args) |
write empty project file | |
Variables | |
struct PyMethodDef | Raytracing_methods [] |
write project file
Definition at line 189 of file AppRaytracingPy.cpp.
References Base::Console(), App::GetApplication(), App::Application::GetHomePath(), and Py_Return.
get part file as string
Definition at line 71 of file AppRaytracingPy.cpp.
References FemExample::b, Py::new_reference_to(), Part::TopoShapePy::Type, and importDXF::writeShape().
write project file
Definition at line 148 of file AppRaytracingPy.cpp.
References RobotExample::l, Py_Error, and Py_Return.
write part file
Definition at line 114 of file AppRaytracingPy.cpp.
References SketcherExample::f, Py_Return, and Data::ComplexGeoDataPy::Type.
write part file
Definition at line 97 of file AppRaytracingPy.cpp.
References Py_Return, Part::TopoShapePy::Type, and importDXF::writeShape().
write part file as CSV
Definition at line 132 of file AppRaytracingPy.cpp.
References Base::Length, Py_Return, and Part::TopoShapePy::Type.
write empty project file
Definition at line 44 of file AppRaytracingPy.cpp.
struct PyMethodDef Raytracing_methods[] |
{ {"writeProjectFile", writeProjectFile, 1}, {"getProjectFile", getProjectFile , 1}, {"writePartFile", writePartFile , 1}, {"writePartFileCSV", writePartFileCSV, 1}, {"getPartAsPovray", getPartAsPovray , 1}, {"writeDataFile", writeDataFile , 1}, {"writeCameraFile", writeCameraFile , 1}, {"copyResource", copyResource , 1}, {NULL, NULL} }
Definition at line 215 of file AppRaytracingPy.cpp.
Referenced by initRaytracing().