The python export class for TopoShape. More...

#include <TopoShapeSolidPy.h>

Public Types

typedef TopoShapePointerType
 
- Public Types inherited from Part::TopoShapePy
typedef TopoShapePointerType
 
- Public Types inherited from Data::ComplexGeoDataPy
typedef ComplexGeoDataPointerType
 
- Public Types inherited from Base::PersistencePy
typedef PersistencePointerType
 
- Public Types inherited from Base::BaseClassPy
typedef BaseClassPointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 }
 

Public Member Functions

virtual PyTypeObject * GetType (void)
 
virtual int PyInit (PyObject *args, PyObject *k)
 PyInit method Override this method to initialize a newly created instance of the class (Constructor) More...
 
std::string representation (void) const
 
 TopoShapeSolidPy (TopoShape *pcObject, PyTypeObject *T=&Type)
 
- Public Member Functions inherited from Part::TopoShapePy
std::string representation (void) const
 
 TopoShapePy (TopoShape *pcObject, PyTypeObject *T=&Type)
 
PyObjectread (PyObject *args)
 implementer for the read() method More...
 
PyObjectwriteInventor (PyObject *args, PyObject *kwd)
 implementer for the writeInventor() method More...
 
PyObjectexportIges (PyObject *args)
 implementer for the exportIges() method More...
 
PyObjectexportStep (PyObject *args)
 implementer for the exportStep() method More...
 
PyObjectexportBrep (PyObject *args)
 implementer for the exportBrep() method More...
 
PyObjectexportBinary (PyObject *args)
 implementer for the exportBinary() method More...
 
PyObjectexportBrepToString (PyObject *args)
 implementer for the exportBrepToString() method More...
 
PyObjectdumpToString (PyObject *args)
 implementer for the dumpToString() method More...
 
PyObjectexportStl (PyObject *args)
 implementer for the exportStl() method More...
 
PyObjectimportBrep (PyObject *args)
 implementer for the importBrep() method More...
 
PyObjectimportBinary (PyObject *args)
 implementer for the importBinary() method More...
 
PyObjectimportBrepFromString (PyObject *args)
 implementer for the importBrepFromString() method More...
 
PyObjectextrude (PyObject *args)
 implementer for the extrude() method More...
 
PyObjectrevolve (PyObject *args)
 implementer for the revolve() method More...
 
PyObjectcheck (PyObject *args)
 implementer for the check() method More...
 
PyObjectfuse (PyObject *args)
 implementer for the fuse() method More...
 
PyObjectmultiFuse (PyObject *args)
 implementer for the multiFuse() method More...
 
PyObjectoldFuse (PyObject *args)
 implementer for the oldFuse() method More...
 
PyObjectcommon (PyObject *args)
 implementer for the common() method More...
 
PyObjectsection (PyObject *args)
 implementer for the section() method More...
 
PyObjectslices (PyObject *args)
 implementer for the slices() method More...
 
PyObjectslice (PyObject *args)
 implementer for the slice() method More...
 
PyObjectcut (PyObject *args)
 implementer for the cut() method More...
 
PyObjectgeneralFuse (PyObject *args)
 implementer for the generalFuse() method More...
 
PyObjectsewShape (PyObject *args)
 implementer for the sewShape() method More...
 
PyObjectchildShapes (PyObject *args)
 implementer for the childShapes() method More...
 
PyObjectancestorsOfType (PyObject *args)
 implementer for the ancestorsOfType() method More...
 
PyObjectremoveInternalWires (PyObject *args)
 implementer for the removeInternalWires() method More...
 
PyObjectmirror (PyObject *args)
 implementer for the mirror() method More...
 
PyObjecttransformGeometry (PyObject *args)
 implementer for the transformGeometry() method More...
 
PyObjecttransformShape (PyObject *args)
 implementer for the transformShape() method More...
 
PyObjecttranslate (PyObject *args)
 implementer for the translate() method More...
 
PyObjectrotate (PyObject *args)
 implementer for the rotate() method More...
 
PyObjectscale (PyObject *args)
 implementer for the scale() method More...
 
PyObjectmakeFillet (PyObject *args)
 implementer for the makeFillet() method More...
 
PyObjectmakeChamfer (PyObject *args)
 implementer for the makeChamfer() method More...
 
PyObjectmakeThickness (PyObject *args)
 implementer for the makeThickness() method More...
 
PyObjectmakeOffsetShape (PyObject *args, PyObject *kwd)
 implementer for the makeOffsetShape() method More...
 
PyObjectmakeOffset2D (PyObject *args, PyObject *kwd)
 implementer for the makeOffset2D() method More...
 
PyObjectreverse (PyObject *args)
 implementer for the reverse() method More...
 
PyObjectcomplement (PyObject *args)
 implementer for the complement() method More...
 
PyObjectnullify (PyObject *args)
 implementer for the nullify() method More...
 
PyObjectisClosed (PyObject *args)
 implementer for the isClosed() method More...
 
PyObjectisPartner (PyObject *args)
 implementer for the isPartner() method More...
 
PyObjectisSame (PyObject *args)
 implementer for the isSame() method More...
 
PyObjectisEqual (PyObject *args)
 implementer for the isEqual() method More...
 
PyObjectisNull (PyObject *args)
 implementer for the isNull() method More...
 
PyObjectisValid (PyObject *args)
 implementer for the isValid() method More...
 
PyObjectfix (PyObject *args)
 implementer for the fix() method More...
 
PyObjecthashCode (PyObject *args)
 implementer for the hashCode() method More...
 
PyObjecttessellate (PyObject *args)
 implementer for the tessellate() method More...
 
PyObjectproject (PyObject *args)
 implementer for the project() method More...
 
PyObjectmakeParallelProjection (PyObject *args)
 implementer for the makeParallelProjection() method More...
 
PyObjectmakePerspectiveProjection (PyObject *args)
 implementer for the makePerspectiveProjection() method More...
 
PyObjectreflectLines (PyObject *args, PyObject *kwd)
 implementer for the reflectLines() method More...
 
PyObjectmakeShapeFromMesh (PyObject *args)
 implementer for the makeShapeFromMesh() method More...
 
PyObjecttoNurbs (PyObject *args)
 implementer for the toNurbs() method More...
 
PyObjectcopy (PyObject *args)
 implementer for the copy() method More...
 
PyObjectcleaned (PyObject *args)
 implementer for the cleaned() method More...
 
PyObjectreplaceShape (PyObject *args)
 implementer for the replaceShape() method More...
 
PyObjectremoveShape (PyObject *args)
 implementer for the removeShape() method More...
 
PyObjectdefeaturing (PyObject *args)
 implementer for the defeaturing() method More...
 
PyObjectisInside (PyObject *args)
 implementer for the isInside() method More...
 
PyObjectremoveSplitter (PyObject *args)
 implementer for the removeSplitter() method More...
 
PyObjectproximity (PyObject *args)
 implementer for the proximity() method More...
 
PyObjectdistToShape (PyObject *args)
 implementer for the distToShape() method More...
 
PyObjectgetElement (PyObject *args)
 implementer for the getElement() method More...
 
PyObjectgetTolerance (PyObject *args)
 implementer for the getTolerance() method More...
 
PyObjectoverTolerance (PyObject *args)
 implementer for the overTolerance() method More...
 
PyObjectinTolerance (PyObject *args)
 implementer for the inTolerance() method More...
 
PyObjectglobalTolerance (PyObject *args)
 implementer for the globalTolerance() method More...
 
PyObjectfixTolerance (PyObject *args)
 implementer for the fixTolerance() method More...
 
PyObjectlimitTolerance (PyObject *args)
 implementer for the limitTolerance() method More...
 
PyObjectoptimalBoundingBox (PyObject *args)
 implementer for the optimalBoundingBox() method More...
 
Py::String getShapeType (void) const
 getter for the ShapeType attribute More...
 
Py::String getOrientation (void) const
 getter for the Orientation attribute More...
 
void setOrientation (Py::String arg)
 setter for the Orientation attribute More...
 
Py::List getFaces (void) const
 getter for the Faces attribute More...
 
Py::List getVertexes (void) const
 getter for the Vertexes attribute More...
 
Py::List getShells (void) const
 getter for the Shells attribute More...
 
Py::List getSolids (void) const
 getter for the Solids attribute More...
 
Py::List getCompSolids (void) const
 getter for the CompSolids attribute More...
 
Py::List getEdges (void) const
 getter for the Edges attribute More...
 
Py::List getWires (void) const
 getter for the Wires attribute More...
 
Py::List getCompounds (void) const
 getter for the Compounds attribute More...
 
Py::Float getLength (void) const
 getter for the Length attribute More...
 
Py::Float getArea (void) const
 getter for the Area attribute More...
 
Py::Float getVolume (void) const
 getter for the Volume attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
TopoShapegetTopoShapePtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Data::ComplexGeoDataPy
 ComplexGeoDataPy (ComplexGeoData *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectgetFacesFromSubelement (PyObject *args)
 implementer for the getFacesFromSubelement() method More...
 
Py::Object getBoundBox (void) const
 getter for the BoundBox attribute More...
 
Py::Object getPlacement (void) const
 getter for the Placement attribute More...
 
void setPlacement (Py::Object arg)
 setter for the Placement attribute More...
 
Py::Object getMatrix (void) const
 getter for the Matrix attribute More...
 
void setMatrix (Py::Object arg)
 setter for the Matrix attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
ComplexGeoDatagetComplexGeoDataPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::PersistencePy
 PersistencePy (Persistence *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectdumpContent (PyObject *args, PyObject *kwd)
 implementer for the dumpContent() method More...
 
PyObjectrestoreContent (PyObject *args)
 implementer for the restoreContent() method More...
 
Py::String getContent (void) const
 getter for the Content attribute More...
 
Py::Int getMemSize (void) const
 getter for the MemSize attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
PersistencegetPersistencePtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::BaseClassPy
 BaseClassPy (BaseClass *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectisDerivedFrom (PyObject *args)
 implementer for the isDerivedFrom() method More...
 
PyObjectgetAllDerivedFrom (PyObject *args)
 implementer for the getAllDerivedFrom() method More...
 
Py::String getTypeId (void) const
 getter for the TypeId attribute More...
 
Py::String getModule (void) const
 getter for the Module attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
BaseClassgetBaseClassPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::PyObjectBase
PyObjectBaseDecRef (void)
 decref method wrapper (see python extending manual)
More...
 
PyObjectBaseIncRef (void)
 incref method wrapper (see python extending manual) More...
 
bool isConst ()
 
bool isNotTracking () const
 
bool isValid ()
 
 PyObjectBase (void *, PyTypeObject *T)
 Constructor Sets the Type of the object (for inheritance) and decrease the the reference count of the PyObject. More...
 
void setConst ()
 
void setInvalid ()
 
void setNotTracking (bool on=true)
 
void setShouldNotify (bool on)
 
bool shouldNotify () const
 
void startNotify ()
 

Static Public Member Functions

static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
- Static Public Member Functions inherited from Part::TopoShapePy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback___getstate__ (PyObject *self, PyObject *args)
 callback for the getstate() method More...
 
static PyObjectstaticCallback___setstate__ (PyObject *self, PyObject *args)
 callback for the setstate() method More...
 
static PyObjectstaticCallback_read (PyObject *self, PyObject *args)
 callback for the read() method More...
 
static PyObjectstaticCallback_writeInventor (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the writeInventor() method More...
 
static PyObjectstaticCallback_exportIges (PyObject *self, PyObject *args)
 callback for the exportIges() method More...
 
static PyObjectstaticCallback_exportStep (PyObject *self, PyObject *args)
 callback for the exportStep() method More...
 
static PyObjectstaticCallback_exportBrep (PyObject *self, PyObject *args)
 callback for the exportBrep() method More...
 
static PyObjectstaticCallback_exportBinary (PyObject *self, PyObject *args)
 callback for the exportBinary() method More...
 
static PyObjectstaticCallback_exportBrepToString (PyObject *self, PyObject *args)
 callback for the exportBrepToString() method More...
 
static PyObjectstaticCallback_dumpToString (PyObject *self, PyObject *args)
 callback for the dumpToString() method More...
 
static PyObjectstaticCallback_exportStl (PyObject *self, PyObject *args)
 callback for the exportStl() method More...
 
static PyObjectstaticCallback_importBrep (PyObject *self, PyObject *args)
 callback for the importBrep() method More...
 
static PyObjectstaticCallback_importBinary (PyObject *self, PyObject *args)
 callback for the importBinary() method More...
 
static PyObjectstaticCallback_importBrepFromString (PyObject *self, PyObject *args)
 callback for the importBrepFromString() method More...
 
static PyObjectstaticCallback_extrude (PyObject *self, PyObject *args)
 callback for the extrude() method More...
 
static PyObjectstaticCallback_revolve (PyObject *self, PyObject *args)
 callback for the revolve() method More...
 
static PyObjectstaticCallback_check (PyObject *self, PyObject *args)
 callback for the check() method More...
 
static PyObjectstaticCallback_fuse (PyObject *self, PyObject *args)
 callback for the fuse() method More...
 
static PyObjectstaticCallback_multiFuse (PyObject *self, PyObject *args)
 callback for the multiFuse() method More...
 
static PyObjectstaticCallback_oldFuse (PyObject *self, PyObject *args)
 callback for the oldFuse() method More...
 
static PyObjectstaticCallback_common (PyObject *self, PyObject *args)
 callback for the common() method More...
 
static PyObjectstaticCallback_section (PyObject *self, PyObject *args)
 callback for the section() method More...
 
static PyObjectstaticCallback_slices (PyObject *self, PyObject *args)
 callback for the slices() method More...
 
static PyObjectstaticCallback_slice (PyObject *self, PyObject *args)
 callback for the slice() method More...
 
static PyObjectstaticCallback_cut (PyObject *self, PyObject *args)
 callback for the cut() method More...
 
static PyObjectstaticCallback_generalFuse (PyObject *self, PyObject *args)
 callback for the generalFuse() method More...
 
static PyObjectstaticCallback_sewShape (PyObject *self, PyObject *args)
 callback for the sewShape() method More...
 
static PyObjectstaticCallback_childShapes (PyObject *self, PyObject *args)
 callback for the childShapes() method More...
 
static PyObjectstaticCallback_ancestorsOfType (PyObject *self, PyObject *args)
 callback for the ancestorsOfType() method More...
 
static PyObjectstaticCallback_removeInternalWires (PyObject *self, PyObject *args)
 callback for the removeInternalWires() method More...
 
static PyObjectstaticCallback_mirror (PyObject *self, PyObject *args)
 callback for the mirror() method More...
 
static PyObjectstaticCallback_transformGeometry (PyObject *self, PyObject *args)
 callback for the transformGeometry() method More...
 
static PyObjectstaticCallback_transformShape (PyObject *self, PyObject *args)
 callback for the transformShape() method More...
 
static PyObjectstaticCallback_translate (PyObject *self, PyObject *args)
 callback for the translate() method More...
 
static PyObjectstaticCallback_rotate (PyObject *self, PyObject *args)
 callback for the rotate() method More...
 
static PyObjectstaticCallback_scale (PyObject *self, PyObject *args)
 callback for the scale() method More...
 
static PyObjectstaticCallback_makeFillet (PyObject *self, PyObject *args)
 callback for the makeFillet() method More...
 
static PyObjectstaticCallback_makeChamfer (PyObject *self, PyObject *args)
 callback for the makeChamfer() method More...
 
static PyObjectstaticCallback_makeThickness (PyObject *self, PyObject *args)
 callback for the makeThickness() method More...
 
static PyObjectstaticCallback_makeOffsetShape (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the makeOffsetShape() method More...
 
static PyObjectstaticCallback_makeOffset2D (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the makeOffset2D() method More...
 
static PyObjectstaticCallback_reverse (PyObject *self, PyObject *args)
 callback for the reverse() method More...
 
static PyObjectstaticCallback_complement (PyObject *self, PyObject *args)
 callback for the complement() method More...
 
static PyObjectstaticCallback_nullify (PyObject *self, PyObject *args)
 callback for the nullify() method More...
 
static PyObjectstaticCallback_isClosed (PyObject *self, PyObject *args)
 callback for the isClosed() method More...
 
static PyObjectstaticCallback_isPartner (PyObject *self, PyObject *args)
 callback for the isPartner() method More...
 
static PyObjectstaticCallback_isSame (PyObject *self, PyObject *args)
 callback for the isSame() method More...
 
static PyObjectstaticCallback_isEqual (PyObject *self, PyObject *args)
 callback for the isEqual() method More...
 
static PyObjectstaticCallback_isNull (PyObject *self, PyObject *args)
 callback for the isNull() method More...
 
static PyObjectstaticCallback_isValid (PyObject *self, PyObject *args)
 callback for the isValid() method More...
 
static PyObjectstaticCallback_fix (PyObject *self, PyObject *args)
 callback for the fix() method More...
 
static PyObjectstaticCallback_hashCode (PyObject *self, PyObject *args)
 callback for the hashCode() method More...
 
static PyObjectstaticCallback_tessellate (PyObject *self, PyObject *args)
 callback for the tessellate() method More...
 
static PyObjectstaticCallback_project (PyObject *self, PyObject *args)
 callback for the project() method More...
 
static PyObjectstaticCallback_makeParallelProjection (PyObject *self, PyObject *args)
 callback for the makeParallelProjection() method More...
 
static PyObjectstaticCallback_makePerspectiveProjection (PyObject *self, PyObject *args)
 callback for the makePerspectiveProjection() method More...
 
static PyObjectstaticCallback_reflectLines (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the reflectLines() method More...
 
static PyObjectstaticCallback_makeShapeFromMesh (PyObject *self, PyObject *args)
 callback for the makeShapeFromMesh() method More...
 
static PyObjectstaticCallback_toNurbs (PyObject *self, PyObject *args)
 callback for the toNurbs() method More...
 
static PyObjectstaticCallback_copy (PyObject *self, PyObject *args)
 callback for the copy() method More...
 
static PyObjectstaticCallback_cleaned (PyObject *self, PyObject *args)
 callback for the cleaned() method More...
 
static PyObjectstaticCallback_replaceShape (PyObject *self, PyObject *args)
 callback for the replaceShape() method More...
 
static PyObjectstaticCallback_removeShape (PyObject *self, PyObject *args)
 callback for the removeShape() method More...
 
static PyObjectstaticCallback_defeaturing (PyObject *self, PyObject *args)
 callback for the defeaturing() method More...
 
static PyObjectstaticCallback_isInside (PyObject *self, PyObject *args)
 callback for the isInside() method More...
 
static PyObjectstaticCallback_removeSplitter (PyObject *self, PyObject *args)
 callback for the removeSplitter() method More...
 
static PyObjectstaticCallback_proximity (PyObject *self, PyObject *args)
 callback for the proximity() method More...
 
static PyObjectstaticCallback_distToShape (PyObject *self, PyObject *args)
 callback for the distToShape() method More...
 
static PyObjectstaticCallback_getElement (PyObject *self, PyObject *args)
 callback for the getElement() method More...
 
static PyObjectstaticCallback_getTolerance (PyObject *self, PyObject *args)
 callback for the getTolerance() method More...
 
static PyObjectstaticCallback_overTolerance (PyObject *self, PyObject *args)
 callback for the overTolerance() method More...
 
static PyObjectstaticCallback_inTolerance (PyObject *self, PyObject *args)
 callback for the inTolerance() method More...
 
static PyObjectstaticCallback_globalTolerance (PyObject *self, PyObject *args)
 callback for the globalTolerance() method More...
 
static PyObjectstaticCallback_fixTolerance (PyObject *self, PyObject *args)
 callback for the fixTolerance() method More...
 
static PyObjectstaticCallback_limitTolerance (PyObject *self, PyObject *args)
 callback for the limitTolerance() method More...
 
static PyObjectstaticCallback_optimalBoundingBox (PyObject *self, PyObject *args)
 callback for the optimalBoundingBox() method More...
 
static PyObjectstaticCallback_getShapeType (PyObject *self, void *closure)
 getter callback for the ShapeType attribute More...
 
static int staticCallback_setShapeType (PyObject *self, PyObject *value, void *closure)
 setter callback for the ShapeType attribute More...
 
static PyObjectstaticCallback_getOrientation (PyObject *self, void *closure)
 getter callback for the Orientation attribute More...
 
static int staticCallback_setOrientation (PyObject *self, PyObject *value, void *closure)
 setter callback for the Orientation attribute More...
 
static PyObjectstaticCallback_getFaces (PyObject *self, void *closure)
 getter callback for the Faces attribute More...
 
static int staticCallback_setFaces (PyObject *self, PyObject *value, void *closure)
 setter callback for the Faces attribute More...
 
static PyObjectstaticCallback_getVertexes (PyObject *self, void *closure)
 getter callback for the Vertexes attribute More...
 
static int staticCallback_setVertexes (PyObject *self, PyObject *value, void *closure)
 setter callback for the Vertexes attribute More...
 
static PyObjectstaticCallback_getShells (PyObject *self, void *closure)
 getter callback for the Shells attribute More...
 
static int staticCallback_setShells (PyObject *self, PyObject *value, void *closure)
 setter callback for the Shells attribute More...
 
static PyObjectstaticCallback_getSolids (PyObject *self, void *closure)
 getter callback for the Solids attribute More...
 
static int staticCallback_setSolids (PyObject *self, PyObject *value, void *closure)
 setter callback for the Solids attribute More...
 
static PyObjectstaticCallback_getCompSolids (PyObject *self, void *closure)
 getter callback for the CompSolids attribute More...
 
static int staticCallback_setCompSolids (PyObject *self, PyObject *value, void *closure)
 setter callback for the CompSolids attribute More...
 
static PyObjectstaticCallback_getEdges (PyObject *self, void *closure)
 getter callback for the Edges attribute More...
 
static int staticCallback_setEdges (PyObject *self, PyObject *value, void *closure)
 setter callback for the Edges attribute More...
 
static PyObjectstaticCallback_getWires (PyObject *self, void *closure)
 getter callback for the Wires attribute More...
 
static int staticCallback_setWires (PyObject *self, PyObject *value, void *closure)
 setter callback for the Wires attribute More...
 
static PyObjectstaticCallback_getCompounds (PyObject *self, void *closure)
 getter callback for the Compounds attribute More...
 
static int staticCallback_setCompounds (PyObject *self, PyObject *value, void *closure)
 setter callback for the Compounds attribute More...
 
static PyObjectstaticCallback_getLength (PyObject *self, void *closure)
 getter callback for the Length attribute More...
 
static int staticCallback_setLength (PyObject *self, PyObject *value, void *closure)
 setter callback for the Length attribute More...
 
static PyObjectstaticCallback_getArea (PyObject *self, void *closure)
 getter callback for the Area attribute More...
 
static int staticCallback_setArea (PyObject *self, PyObject *value, void *closure)
 setter callback for the Area attribute More...
 
static PyObjectstaticCallback_getVolume (PyObject *self, void *closure)
 getter callback for the Volume attribute More...
 
static int staticCallback_setVolume (PyObject *self, PyObject *value, void *closure)
 setter callback for the Volume attribute More...
 
- Static Public Member Functions inherited from Data::ComplexGeoDataPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_getFacesFromSubelement (PyObject *self, PyObject *args)
 callback for the getFacesFromSubelement() method More...
 
static PyObjectstaticCallback_getBoundBox (PyObject *self, void *closure)
 getter callback for the BoundBox attribute More...
 
static int staticCallback_setBoundBox (PyObject *self, PyObject *value, void *closure)
 setter callback for the BoundBox attribute More...
 
static PyObjectstaticCallback_getPlacement (PyObject *self, void *closure)
 getter callback for the Placement attribute More...
 
static int staticCallback_setPlacement (PyObject *self, PyObject *value, void *closure)
 setter callback for the Placement attribute More...
 
static PyObjectstaticCallback_getMatrix (PyObject *self, void *closure)
 getter callback for the Matrix attribute More...
 
static int staticCallback_setMatrix (PyObject *self, PyObject *value, void *closure)
 setter callback for the Matrix attribute More...
 
- Static Public Member Functions inherited from Base::PersistencePy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_dumpContent (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the dumpContent() method More...
 
static PyObjectstaticCallback_restoreContent (PyObject *self, PyObject *args)
 callback for the restoreContent() method More...
 
static PyObjectstaticCallback_getContent (PyObject *self, void *closure)
 getter callback for the Content attribute More...
 
static int staticCallback_setContent (PyObject *self, PyObject *value, void *closure)
 setter callback for the Content attribute More...
 
static PyObjectstaticCallback_getMemSize (PyObject *self, void *closure)
 getter callback for the MemSize attribute More...
 
static int staticCallback_setMemSize (PyObject *self, PyObject *value, void *closure)
 setter callback for the MemSize attribute More...
 
- Static Public Member Functions inherited from Base::BaseClassPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_isDerivedFrom (PyObject *self, PyObject *args)
 callback for the isDerivedFrom() method More...
 
static PyObjectstaticCallback_getAllDerivedFrom (PyObject *self, PyObject *args)
 callback for the getAllDerivedFrom() method More...
 
static PyObjectstaticCallback_getTypeId (PyObject *self, void *closure)
 getter callback for the TypeId attribute More...
 
static int staticCallback_setTypeId (PyObject *self, PyObject *value, void *closure)
 setter callback for the TypeId attribute More...
 
static PyObjectstaticCallback_getModule (PyObject *self, void *closure)
 getter callback for the Module attribute More...
 
static int staticCallback_setModule (PyObject *self, PyObject *value, void *closure)
 setter callback for the Module attribute More...
 
- Static Public Member Functions inherited from Base::PyObjectBase
static void PyDestructor (PyObject *P)
 Wrapper for the Python destructor. More...
 

Static Public Attributes

static PyGetSetDef GetterSetter []
 Attribute structure of TopoShapeSolidPy. More...
 
static PyMethodDef Methods []
 Methods structure of TopoShapeSolidPy. More...
 
static PyTypeObject Type
 Type structure of TopoShapeSolidPy. More...
 
- Static Public Attributes inherited from Part::TopoShapePy
static PyGetSetDef GetterSetter []
 Attribute structure of TopoShapePy. More...
 
static PyMethodDef Methods []
 Methods structure of TopoShapePy. More...
 
static PyTypeObject Type
 Type structure of TopoShapePy. More...
 
- Static Public Attributes inherited from Data::ComplexGeoDataPy
static PyGetSetDef GetterSetter []
 Attribute structure of ComplexGeoDataPy. More...
 
static PyMethodDef Methods []
 Methods structure of ComplexGeoDataPy. More...
 
static PyTypeObject Type
 Type structure of ComplexGeoDataPy. More...
 
- Static Public Attributes inherited from Base::PersistencePy
static PyGetSetDef GetterSetter []
 Attribute structure of PersistencePy. More...
 
static PyMethodDef Methods []
 Methods structure of PersistencePy. More...
 
static PyTypeObject Type
 Type structure of PersistencePy. More...
 
- Static Public Attributes inherited from Base::BaseClassPy
static PyGetSetDef GetterSetter []
 Attribute structure of BaseClassPy. More...
 
static PyMethodDef Methods []
 Methods structure of BaseClassPy. More...
 
static PyTypeObject Type
 Type structure of BaseClassPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~TopoShapeSolidPy ()
 
- Protected Member Functions inherited from Part::TopoShapePy
 ~TopoShapePy ()
 
- Protected Member Functions inherited from Data::ComplexGeoDataPy
 ~ComplexGeoDataPy ()
 
- Protected Member Functions inherited from Base::PersistencePy
 ~PersistencePy ()
 
- Protected Member Functions inherited from Base::BaseClassPy
 ~BaseClassPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object methods

PyObjectgetMomentOfInertia (PyObject *args)
 implementer for the getMomentOfInertia() method More...
 
PyObjectgetRadiusOfGyration (PyObject *args)
 implementer for the getRadiusOfGyration() method More...
 
PyObjectoffsetFaces (PyObject *args)
 implementer for the offsetFaces() method More...
 
static PyObjectstaticCallback_getMomentOfInertia (PyObject *self, PyObject *args)
 callback for the getMomentOfInertia() method More...
 
static PyObjectstaticCallback_getRadiusOfGyration (PyObject *self, PyObject *args)
 callback for the getRadiusOfGyration() method More...
 
static PyObjectstaticCallback_offsetFaces (PyObject *self, PyObject *args)
 callback for the offsetFaces() method More...
 

callbacks and implementers for the python object attributes

Py::Object getMass (void) const
 getter for the Mass attribute More...
 
Py::Object getCenterOfMass (void) const
 getter for the CenterOfMass attribute More...
 
Py::Object getMatrixOfInertia (void) const
 getter for the MatrixOfInertia attribute More...
 
Py::Object getStaticMoments (void) const
 getter for the StaticMoments attribute More...
 
Py::Dict getPrincipalProperties (void) const
 getter for the PrincipalProperties attribute More...
 
Py::Object getOuterShell (void) const
 getter for the OuterShell attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
TopoShapegetTopoShapePtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_getMass (PyObject *self, void *closure)
 getter callback for the Mass attribute More...
 
static int staticCallback_setMass (PyObject *self, PyObject *value, void *closure)
 setter callback for the Mass attribute More...
 
static PyObjectstaticCallback_getCenterOfMass (PyObject *self, void *closure)
 getter callback for the CenterOfMass attribute More...
 
static int staticCallback_setCenterOfMass (PyObject *self, PyObject *value, void *closure)
 setter callback for the CenterOfMass attribute More...
 
static PyObjectstaticCallback_getMatrixOfInertia (PyObject *self, void *closure)
 getter callback for the MatrixOfInertia attribute More...
 
static int staticCallback_setMatrixOfInertia (PyObject *self, PyObject *value, void *closure)
 setter callback for the MatrixOfInertia attribute More...
 
static PyObjectstaticCallback_getStaticMoments (PyObject *self, void *closure)
 getter callback for the StaticMoments attribute More...
 
static int staticCallback_setStaticMoments (PyObject *self, PyObject *value, void *closure)
 setter callback for the StaticMoments attribute More...
 
static PyObjectstaticCallback_getPrincipalProperties (PyObject *self, void *closure)
 getter callback for the PrincipalProperties attribute More...
 
static int staticCallback_setPrincipalProperties (PyObject *self, PyObject *value, void *closure)
 setter callback for the PrincipalProperties attribute More...
 
static PyObjectstaticCallback_getOuterShell (PyObject *self, void *closure)
 getter callback for the OuterShell attribute More...
 
static int staticCallback_setOuterShell (PyObject *self, PyObject *value, void *closure)
 setter callback for the OuterShell attribute More...
 

Additional Inherited Members

- Protected Attributes inherited from Base::PyObjectBase
std::bitset< 32 > StatusBits
 

Detailed Description

The python export class for TopoShape.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~TopoShapeSolidPy()

TopoShapeSolidPy::~TopoShapeSolidPy ( )
protected

◆ TopoShapeSolidPy()

TopoShapeSolidPy::TopoShapeSolidPy ( TopoShape pcObject,
PyTypeObject *  T = &Type 
)

Referenced by offsetFaces(), and PyMake().

Member Function Documentation

◆ getCenterOfMass()

Py::Object TopoShapeSolidPy::getCenterOfMass ( void  ) const

getter for the CenterOfMass attribute

References getTopoShapePtr().

Referenced by staticCallback_getCenterOfMass().

◆ getCustomAttributes()

PyObject * TopoShapeSolidPy::getCustomAttributes ( const char *  attr) const

getter method for special attributes (e.g. dynamic ones)

◆ getMass()

Py::Object TopoShapeSolidPy::getMass ( void  ) const

getter for the Mass attribute

References getTopoShapePtr().

Referenced by staticCallback_getMass().

◆ getMatrixOfInertia()

Py::Object TopoShapeSolidPy::getMatrixOfInertia ( void  ) const

getter for the MatrixOfInertia attribute

References getTopoShapePtr().

Referenced by staticCallback_getMatrixOfInertia().

◆ getMomentOfInertia()

PyObject * TopoShapeSolidPy::getMomentOfInertia ( PyObject args)

◆ getOuterShell()

Py::Object TopoShapeSolidPy::getOuterShell ( void  ) const

getter for the OuterShell attribute

References Part::TopoShape::getShape(), and getTopoShapePtr().

Referenced by staticCallback_getOuterShell().

◆ getPrincipalProperties()

Py::Dict TopoShapeSolidPy::getPrincipalProperties ( void  ) const

getter for the PrincipalProperties attribute

References Base::convertTo(), and getTopoShapePtr().

Referenced by staticCallback_getPrincipalProperties().

◆ getRadiusOfGyration()

PyObject * TopoShapeSolidPy::getRadiusOfGyration ( PyObject args)

◆ getStaticMoments()

Py::Object TopoShapeSolidPy::getStaticMoments ( void  ) const

getter for the StaticMoments attribute

References getTopoShapePtr().

Referenced by staticCallback_getStaticMoments().

◆ getTopoShapePtr()

TopoShape * TopoShapeSolidPy::getTopoShapePtr ( void  ) const

◆ GetType()

virtual PyTypeObject* Part::TopoShapeSolidPy::GetType ( void  )
virtual

Reimplemented from Part::TopoShapePy.

◆ offsetFaces()

PyObject * TopoShapeSolidPy::offsetFaces ( PyObject args)

◆ PyInit()

int TopoShapeSolidPy::PyInit ( PyObject ,
PyObject  
)
virtual

PyInit method Override this method to initialize a newly created instance of the class (Constructor)

Reimplemented from Part::TopoShapePy.

References Part::TopoShape::getShape(), getTopoShapePtr(), Part::PartExceptionOCCError, Part::TopoShape::setShape(), and Part::TopoShapePy::Type.

◆ PyMake()

PyObject * TopoShapeSolidPy::PyMake ( struct _typeobject *  ,
PyObject ,
PyObject  
)
static

References TopoShapeSolidPy().

◆ representation()

◆ setCustomAttributes()

int TopoShapeSolidPy::setCustomAttributes ( const char *  attr,
PyObject obj 
)

setter for special attributes (e.g.

dynamic ones) Output: Success=1, Failure=-1, Ignore=0

◆ staticCallback_getCenterOfMass()

PyObject * TopoShapeSolidPy::staticCallback_getCenterOfMass ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getMass()

PyObject * TopoShapeSolidPy::staticCallback_getMass ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getMatrixOfInertia()

PyObject * TopoShapeSolidPy::staticCallback_getMatrixOfInertia ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getMomentOfInertia()

PyObject * TopoShapeSolidPy::staticCallback_getMomentOfInertia ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getOuterShell()

PyObject * TopoShapeSolidPy::staticCallback_getOuterShell ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getPrincipalProperties()

PyObject * TopoShapeSolidPy::staticCallback_getPrincipalProperties ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getRadiusOfGyration()

PyObject * TopoShapeSolidPy::staticCallback_getRadiusOfGyration ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getStaticMoments()

PyObject * TopoShapeSolidPy::staticCallback_getStaticMoments ( PyObject self,
void *  closure 
)
static

◆ staticCallback_offsetFaces()

PyObject * TopoShapeSolidPy::staticCallback_offsetFaces ( PyObject self,
PyObject args 
)
static

◆ staticCallback_setCenterOfMass()

int TopoShapeSolidPy::staticCallback_setCenterOfMass ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the CenterOfMass attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setMass()

int TopoShapeSolidPy::staticCallback_setMass ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the Mass attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setMatrixOfInertia()

int TopoShapeSolidPy::staticCallback_setMatrixOfInertia ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the MatrixOfInertia attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setOuterShell()

int TopoShapeSolidPy::staticCallback_setOuterShell ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the OuterShell attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setPrincipalProperties()

int TopoShapeSolidPy::staticCallback_setPrincipalProperties ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the PrincipalProperties attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setStaticMoments()

int TopoShapeSolidPy::staticCallback_setStaticMoments ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the StaticMoments attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

Member Data Documentation

◆ GetterSetter

PyGetSetDef TopoShapeSolidPy::GetterSetter
static

Attribute structure of TopoShapeSolidPy.

◆ Methods

PyMethodDef TopoShapeSolidPy::Methods
static
Initial value:
= {
{"getMomentOfInertia",
reinterpret_cast<PyCFunction>( staticCallback_getMomentOfInertia ),
METH_VARARGS,
"computes the moment of inertia of the material system about the axis A.\nmySolid.getMomentOfInertia( point, direction )"
},
{"getRadiusOfGyration",
reinterpret_cast<PyCFunction>( staticCallback_getRadiusOfGyration ),
METH_VARARGS,
"Returns the radius of gyration of the current system about the axis A.\nmySolid.getRadiusOfGyration( point, direction )"
},
{"offsetFaces",
reinterpret_cast<PyCFunction>( staticCallback_offsetFaces ),
METH_VARARGS,
"Extrude single faces of the solid.\nExample:\nsolid.offsetFaces({solid.Faces[0]:1.0,solid.Faces[1]:2.0})\nExample:\nsolid.offsetFaces((solid.Faces[0],solid.Faces[1]), 1.5)\n "
},
{NULL, NULL, 0, NULL}
}

Methods structure of TopoShapeSolidPy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Mod/Part/App/TopoShapeSolidPy.h
  • src/Mod/Part/App/TopoShapeSolidPyImp.cpp
  • build/webdoc/src/Mod/Part/App/TopoShapeSolidPy.cpp
static PyObject * staticCallback_getMomentOfInertia(PyObject *self, PyObject *args)
callback for the getMomentOfInertia() method
Definition: TopoShapeSolidPy.cpp:144
static PyObject * staticCallback_offsetFaces(PyObject *self, PyObject *args)
callback for the offsetFaces() method
Definition: TopoShapeSolidPy.cpp:296
static PyObject * staticCallback_getRadiusOfGyration(PyObject *self, PyObject *args)
callback for the getRadiusOfGyration() method
Definition: TopoShapeSolidPy.cpp:220