Class for generating python code. More...
#include <PythonConverter.h>
Public Member Functions | |
PythonConverter ()=delete | |
~PythonConverter ()=delete | |
Static Public Member Functions | |
static std::string | convert (const Part::Geometry *geo) |
Convert a geometry into the string representing the command creating it. More... | |
static std::string | convert (const Sketcher::Constraint *constraint) |
static std::string | convert (const std::string &doc, const std::vector< Part::Geometry * > &geos) |
Convert a vector of geometries into the string representing the command creating them. More... | |
static std::string | convert (const std::string &doc, const std::vector< Sketcher::Constraint * > &constraints) |
Class for generating python code.
Given C++ structures, it generates the python code that should be written in the console to create such objects.
|
explicitdelete |
|
delete |
|
static |
Convert a geometry into the string representing the command creating it.
Referenced by convert().
|
static |
|
static |
Convert a vector of geometries into the string representing the command creating them.
References draftfunctions.move::move().
|
static |
References convert().