00001
00002
00003
00004 #ifndef PART_TOPOSHAPEPY_H
00005 #define PART_TOPOSHAPEPY_H
00006
00007 #include <App/ComplexGeoDataPy.h>
00008 #include <Mod/Part/App/TopoShape.h>
00009 #include <string>
00010
00011 namespace Part
00012 {
00013
00014
00015
00016
00017
00020 class PartExport TopoShapePy : public Data::ComplexGeoDataPy
00021 {
00022 public:
00023 static PyTypeObject Type;
00024 static PyMethodDef Methods[];
00025 static PyGetSetDef GetterSetter[];
00026 static PyParentObject Parents[];
00027 virtual PyTypeObject *GetType(void) {return &Type;};
00028 virtual PyParentObject *GetParents(void) {return Parents;}
00029
00030 public:
00031 TopoShapePy(TopoShape *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~TopoShapePy();
00035
00036 typedef TopoShape* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044 static PyObject * staticCallback_read (PyObject *self, PyObject *args);
00046 PyObject* read(PyObject *args);
00048 static PyObject * staticCallback_writeInventor (PyObject *self, PyObject *args);
00050 PyObject* writeInventor(PyObject *args);
00052 static PyObject * staticCallback_exportIges (PyObject *self, PyObject *args);
00054 PyObject* exportIges(PyObject *args);
00056 static PyObject * staticCallback_exportStep (PyObject *self, PyObject *args);
00058 PyObject* exportStep(PyObject *args);
00060 static PyObject * staticCallback_exportBrep (PyObject *self, PyObject *args);
00062 PyObject* exportBrep(PyObject *args);
00064 static PyObject * staticCallback_exportStl (PyObject *self, PyObject *args);
00066 PyObject* exportStl(PyObject *args);
00068 static PyObject * staticCallback_extrude (PyObject *self, PyObject *args);
00070 PyObject* extrude(PyObject *args);
00072 static PyObject * staticCallback_revolve (PyObject *self, PyObject *args);
00074 PyObject* revolve(PyObject *args);
00076 static PyObject * staticCallback_check (PyObject *self, PyObject *args);
00078 PyObject* check(PyObject *args);
00080 static PyObject * staticCallback_fuse (PyObject *self, PyObject *args);
00082 PyObject* fuse(PyObject *args);
00084 static PyObject * staticCallback_oldFuse (PyObject *self, PyObject *args);
00086 PyObject* oldFuse(PyObject *args);
00088 static PyObject * staticCallback_common (PyObject *self, PyObject *args);
00090 PyObject* common(PyObject *args);
00092 static PyObject * staticCallback_section (PyObject *self, PyObject *args);
00094 PyObject* section(PyObject *args);
00096 static PyObject * staticCallback_slices (PyObject *self, PyObject *args);
00098 PyObject* slices(PyObject *args);
00100 static PyObject * staticCallback_slice (PyObject *self, PyObject *args);
00102 PyObject* slice(PyObject *args);
00104 static PyObject * staticCallback_cut (PyObject *self, PyObject *args);
00106 PyObject* cut(PyObject *args);
00108 static PyObject * staticCallback_sewShape (PyObject *self, PyObject *args);
00110 PyObject* sewShape(PyObject *args);
00112 static PyObject * staticCallback_removeInternalWires (PyObject *self, PyObject *args);
00114 PyObject* removeInternalWires(PyObject *args);
00116 static PyObject * staticCallback_mirror (PyObject *self, PyObject *args);
00118 PyObject* mirror(PyObject *args);
00120 static PyObject * staticCallback_transformGeometry (PyObject *self, PyObject *args);
00122 PyObject* transformGeometry(PyObject *args);
00124 static PyObject * staticCallback_transformShape (PyObject *self, PyObject *args);
00126 PyObject* transformShape(PyObject *args);
00128 static PyObject * staticCallback_translate (PyObject *self, PyObject *args);
00130 PyObject* translate(PyObject *args);
00132 static PyObject * staticCallback_rotate (PyObject *self, PyObject *args);
00134 PyObject* rotate(PyObject *args);
00136 static PyObject * staticCallback_scale (PyObject *self, PyObject *args);
00138 PyObject* scale(PyObject *args);
00140 static PyObject * staticCallback_makeFillet (PyObject *self, PyObject *args);
00142 PyObject* makeFillet(PyObject *args);
00144 static PyObject * staticCallback_makeChamfer (PyObject *self, PyObject *args);
00146 PyObject* makeChamfer(PyObject *args);
00148 static PyObject * staticCallback_makeThickness (PyObject *self, PyObject *args);
00150 PyObject* makeThickness(PyObject *args);
00152 static PyObject * staticCallback_makeOffsetShape (PyObject *self, PyObject *args);
00154 PyObject* makeOffsetShape(PyObject *args);
00156 static PyObject * staticCallback_reverse (PyObject *self, PyObject *args);
00158 PyObject* reverse(PyObject *args);
00160 static PyObject * staticCallback_complement (PyObject *self, PyObject *args);
00162 PyObject* complement(PyObject *args);
00164 static PyObject * staticCallback_nullify (PyObject *self, PyObject *args);
00166 PyObject* nullify(PyObject *args);
00168 static PyObject * staticCallback_isClosed (PyObject *self, PyObject *args);
00170 PyObject* isClosed(PyObject *args);
00172 static PyObject * staticCallback_isSame (PyObject *self, PyObject *args);
00174 PyObject* isSame(PyObject *args);
00176 static PyObject * staticCallback_isEqual (PyObject *self, PyObject *args);
00178 PyObject* isEqual(PyObject *args);
00180 static PyObject * staticCallback_isNull (PyObject *self, PyObject *args);
00182 PyObject* isNull(PyObject *args);
00184 static PyObject * staticCallback_isValid (PyObject *self, PyObject *args);
00186 PyObject* isValid(PyObject *args);
00188 static PyObject * staticCallback_fix (PyObject *self, PyObject *args);
00190 PyObject* fix(PyObject *args);
00192 static PyObject * staticCallback_hashCode (PyObject *self, PyObject *args);
00194 PyObject* hashCode(PyObject *args);
00196 static PyObject * staticCallback_tessellate (PyObject *self, PyObject *args);
00198 PyObject* tessellate(PyObject *args);
00200 static PyObject * staticCallback_project (PyObject *self, PyObject *args);
00202 PyObject* project(PyObject *args);
00204 static PyObject * staticCallback_makeShapeFromMesh (PyObject *self, PyObject *args);
00206 PyObject* makeShapeFromMesh(PyObject *args);
00208 static PyObject * staticCallback_toNurbs (PyObject *self, PyObject *args);
00210 PyObject* toNurbs(PyObject *args);
00212 static PyObject * staticCallback_copy (PyObject *self, PyObject *args);
00214 PyObject* copy(PyObject *args);
00216 static PyObject * staticCallback_replaceShape (PyObject *self, PyObject *args);
00218 PyObject* replaceShape(PyObject *args);
00220 static PyObject * staticCallback_removeShape (PyObject *self, PyObject *args);
00222 PyObject* removeShape(PyObject *args);
00224 static PyObject * staticCallback_isInside (PyObject *self, PyObject *args);
00226 PyObject* isInside(PyObject *args);
00228
00229
00232
00233 static PyObject * staticCallback_getShapeType (PyObject *self, void *closure);
00235 Py::String getShapeType(void) const;
00237 static int staticCallback_setShapeType (PyObject *self, PyObject *value, void *closure);
00238
00240 static PyObject * staticCallback_getOrientation (PyObject *self, void *closure);
00242 Py::String getOrientation(void) const;
00244 static int staticCallback_setOrientation (PyObject *self, PyObject *value, void *closure);
00246 void setOrientation(Py::String arg);
00248 static PyObject * staticCallback_getFaces (PyObject *self, void *closure);
00250 Py::List getFaces(void) const;
00252 static int staticCallback_setFaces (PyObject *self, PyObject *value, void *closure);
00253
00255 static PyObject * staticCallback_getVertexes (PyObject *self, void *closure);
00257 Py::List getVertexes(void) const;
00259 static int staticCallback_setVertexes (PyObject *self, PyObject *value, void *closure);
00260
00262 static PyObject * staticCallback_getShells (PyObject *self, void *closure);
00264 Py::List getShells(void) const;
00266 static int staticCallback_setShells (PyObject *self, PyObject *value, void *closure);
00267
00269 static PyObject * staticCallback_getSolids (PyObject *self, void *closure);
00271 Py::List getSolids(void) const;
00273 static int staticCallback_setSolids (PyObject *self, PyObject *value, void *closure);
00274
00276 static PyObject * staticCallback_getCompSolids (PyObject *self, void *closure);
00278 Py::List getCompSolids(void) const;
00280 static int staticCallback_setCompSolids (PyObject *self, PyObject *value, void *closure);
00281
00283 static PyObject * staticCallback_getEdges (PyObject *self, void *closure);
00285 Py::List getEdges(void) const;
00287 static int staticCallback_setEdges (PyObject *self, PyObject *value, void *closure);
00288
00290 static PyObject * staticCallback_getWires (PyObject *self, void *closure);
00292 Py::List getWires(void) const;
00294 static int staticCallback_setWires (PyObject *self, PyObject *value, void *closure);
00295
00297 static PyObject * staticCallback_getCompounds (PyObject *self, void *closure);
00299 Py::List getCompounds(void) const;
00301 static int staticCallback_setCompounds (PyObject *self, PyObject *value, void *closure);
00302
00304 static PyObject * staticCallback_getLength (PyObject *self, void *closure);
00306 Py::Float getLength(void) const;
00308 static int staticCallback_setLength (PyObject *self, PyObject *value, void *closure);
00309
00311 static PyObject * staticCallback_getArea (PyObject *self, void *closure);
00313 Py::Float getArea(void) const;
00315 static int staticCallback_setArea (PyObject *self, PyObject *value, void *closure);
00316
00318 static PyObject * staticCallback_getVolume (PyObject *self, void *closure);
00320 Py::Float getVolume(void) const;
00322 static int staticCallback_setVolume (PyObject *self, PyObject *value, void *closure);
00323
00325
00327 PyObject *getCustomAttributes(const char* attr) const;
00329 int setCustomAttributes(const char* attr, PyObject *obj);
00330 PyObject *_getattr(char *attr);
00331 int _setattr(char *attr, PyObject *value);
00332
00334 TopoShape *getTopoShapePtr(void) const;
00335
00338
00340 };
00341
00342 #define PARENTSPartTopoShapePy &TopoShapePy::Type,PARENTSDataComplexGeoDataPy
00343
00344 }
00345
00346 #endif // PART_TOPOSHAPEPY_H
00347
00348