Part::TopoShapePy Class Reference

The python export class for TopoShape. More...

#include <TopoShapePy.h>

Inheritance diagram for Part::TopoShapePy:
Data::ComplexGeoDataPy Base::PersistencePy Base::BaseClassPy Base::PyObjectBase Part::TopoShapeCompoundPy Part::TopoShapeCompSolidPy Part::TopoShapeEdgePy Part::TopoShapeFacePy Part::TopoShapeShellPy Part::TopoShapeSolidPy Part::TopoShapeVertexPy Part::TopoShapeWirePy

List of all members.

Public Types

typedef TopoShape * PointerType

Public Member Functions

PyObject * _getattr (char *attr)
 GetAttribute implementation This method implements the retriavel of object attributes.
virtual PyObject * _repr (void)
 _repr method Overide this method to return a string object with some invormation about the object.
int _setattr (char *attr, PyObject *value)
 SetAttribute implementation This method implements the seting of object attributes.
PyObject * getCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones)
virtual PyParentObject * GetParents (void)
TopoShape * getTopoShapePtr (void) const
 getter for the object handled by this class
virtual PyTypeObject * GetType (void)
virtual int PyInit (PyObject *args, PyObject *k)
 PyInit method Overide this method to initialize a newly created instance of the class (Constuctor).
std::string representation (void) const
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. dynamic ones)
 TopoShapePy (TopoShape *pcObject, PyTypeObject *T=&Type)
 ~TopoShapePy ()

Static Public Member Functions

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

Static Public Attributes

static PyGetSetDef GetterSetter []
 Attribute structure of TopoShapePy.
static PyMethodDef Methods []
 Methods structure of TopoShapePy.
static PyParentObject Parents [] = { PARENTSPartTopoShapePy }
static PyTypeObject Type
 Type structure of TopoShapePy.

callbacks and implementers for the python object methods



PyObject * check (PyObject *args)
 implementer for the check() method
PyObject * common (PyObject *args)
 implementer for the common() method
PyObject * complement (PyObject *args)
 implementer for the complement() method
PyObject * copy (PyObject *args)
 implementer for the copy() method
PyObject * cut (PyObject *args)
 implementer for the cut() method
PyObject * exportBrep (PyObject *args)
 implementer for the exportBrep() method
PyObject * exportIges (PyObject *args)
 implementer for the exportIges() method
PyObject * exportStep (PyObject *args)
 implementer for the exportStep() method
PyObject * exportStl (PyObject *args)
 implementer for the exportStl() method
PyObject * extrude (PyObject *args)
 implementer for the extrude() method
PyObject * fix (PyObject *args)
 implementer for the fix() method
PyObject * fuse (PyObject *args)
 implementer for the fuse() method
PyObject * hashCode (PyObject *args)
 implementer for the hashCode() method
PyObject * isClosed (PyObject *args)
 implementer for the isClosed() method
PyObject * isEqual (PyObject *args)
 implementer for the isEqual() method
PyObject * isInside (PyObject *args)
 implementer for the isInside() method
PyObject * isNull (PyObject *args)
 implementer for the isNull() method
PyObject * isSame (PyObject *args)
 implementer for the isSame() method
PyObject * isValid (PyObject *args)
 implementer for the isValid() method
PyObject * makeChamfer (PyObject *args)
 implementer for the makeChamfer() method
PyObject * makeFillet (PyObject *args)
 implementer for the makeFillet() method
PyObject * makeOffsetShape (PyObject *args)
 implementer for the makeOffsetShape() method
PyObject * makeShapeFromMesh (PyObject *args)
 implementer for the makeShapeFromMesh() method
PyObject * makeThickness (PyObject *args)
 implementer for the makeThickness() method
PyObject * mirror (PyObject *args)
 implementer for the mirror() method
PyObject * nullify (PyObject *args)
 implementer for the nullify() method
PyObject * oldFuse (PyObject *args)
 implementer for the oldFuse() method
PyObject * project (PyObject *args)
 implementer for the project() method
PyObject * read (PyObject *args)
 implementer for the read() method
PyObject * removeInternalWires (PyObject *args)
 implementer for the removeInternalWires() method
PyObject * removeShape (PyObject *args)
 implementer for the removeShape() method
PyObject * replaceShape (PyObject *args)
 implementer for the replaceShape() method
PyObject * reverse (PyObject *args)
 implementer for the reverse() method
PyObject * revolve (PyObject *args)
 implementer for the revolve() method
PyObject * rotate (PyObject *args)
 implementer for the rotate() method
PyObject * scale (PyObject *args)
 implementer for the scale() method
PyObject * section (PyObject *args)
 implementer for the section() method
PyObject * sewShape (PyObject *args)
 implementer for the sewShape() method
PyObject * slice (PyObject *args)
 implementer for the slice() method
PyObject * slices (PyObject *args)
 implementer for the slices() method
PyObject * tessellate (PyObject *args)
 implementer for the tessellate() method
PyObject * toNurbs (PyObject *args)
 implementer for the toNurbs() method
PyObject * transformGeometry (PyObject *args)
 implementer for the transformGeometry() method
PyObject * transformShape (PyObject *args)
 implementer for the transformShape() method
PyObject * translate (PyObject *args)
 implementer for the translate() method
PyObject * writeInventor (PyObject *args)
 implementer for the writeInventor() method
static PyObject * staticCallback_check (PyObject *self, PyObject *args)
 callback for the check() method
static PyObject * staticCallback_common (PyObject *self, PyObject *args)
 callback for the common() method
static PyObject * staticCallback_complement (PyObject *self, PyObject *args)
 callback for the complement() method
static PyObject * staticCallback_copy (PyObject *self, PyObject *args)
 callback for the copy() method
static PyObject * staticCallback_cut (PyObject *self, PyObject *args)
 callback for the cut() method
static PyObject * staticCallback_exportBrep (PyObject *self, PyObject *args)
 callback for the exportBrep() method
static PyObject * staticCallback_exportIges (PyObject *self, PyObject *args)
 callback for the exportIges() method
static PyObject * staticCallback_exportStep (PyObject *self, PyObject *args)
 callback for the exportStep() method
static PyObject * staticCallback_exportStl (PyObject *self, PyObject *args)
 callback for the exportStl() method
static PyObject * staticCallback_extrude (PyObject *self, PyObject *args)
 callback for the extrude() method
static PyObject * staticCallback_fix (PyObject *self, PyObject *args)
 callback for the fix() method
static PyObject * staticCallback_fuse (PyObject *self, PyObject *args)
 callback for the fuse() method
static PyObject * staticCallback_hashCode (PyObject *self, PyObject *args)
 callback for the hashCode() method
static PyObject * staticCallback_isClosed (PyObject *self, PyObject *args)
 callback for the isClosed() method
static PyObject * staticCallback_isEqual (PyObject *self, PyObject *args)
 callback for the isEqual() method
static PyObject * staticCallback_isInside (PyObject *self, PyObject *args)
 callback for the isInside() method
static PyObject * staticCallback_isNull (PyObject *self, PyObject *args)
 callback for the isNull() method
static PyObject * staticCallback_isSame (PyObject *self, PyObject *args)
 callback for the isSame() method
static PyObject * staticCallback_isValid (PyObject *self, PyObject *args)
 callback for the isValid() method
static PyObject * staticCallback_makeChamfer (PyObject *self, PyObject *args)
 callback for the makeChamfer() method
static PyObject * staticCallback_makeFillet (PyObject *self, PyObject *args)
 callback for the makeFillet() method
static PyObject * staticCallback_makeOffsetShape (PyObject *self, PyObject *args)
 callback for the makeOffsetShape() method
static PyObject * staticCallback_makeShapeFromMesh (PyObject *self, PyObject *args)
 callback for the makeShapeFromMesh() method
static PyObject * staticCallback_makeThickness (PyObject *self, PyObject *args)
 callback for the makeThickness() method
static PyObject * staticCallback_mirror (PyObject *self, PyObject *args)
 callback for the mirror() method
static PyObject * staticCallback_nullify (PyObject *self, PyObject *args)
 callback for the nullify() method
static PyObject * staticCallback_oldFuse (PyObject *self, PyObject *args)
 callback for the oldFuse() method
static PyObject * staticCallback_project (PyObject *self, PyObject *args)
 callback for the project() method
static PyObject * staticCallback_read (PyObject *self, PyObject *args)
 callback for the read() method
static PyObject * staticCallback_removeInternalWires (PyObject *self, PyObject *args)
 callback for the removeInternalWires() method
static PyObject * staticCallback_removeShape (PyObject *self, PyObject *args)
 callback for the removeShape() method
static PyObject * staticCallback_replaceShape (PyObject *self, PyObject *args)
 callback for the replaceShape() method
static PyObject * staticCallback_reverse (PyObject *self, PyObject *args)
 callback for the reverse() method
static PyObject * staticCallback_revolve (PyObject *self, PyObject *args)
 callback for the revolve() method
static PyObject * staticCallback_rotate (PyObject *self, PyObject *args)
 callback for the rotate() method
static PyObject * staticCallback_scale (PyObject *self, PyObject *args)
 callback for the scale() method
static PyObject * staticCallback_section (PyObject *self, PyObject *args)
 callback for the section() method
static PyObject * staticCallback_sewShape (PyObject *self, PyObject *args)
 callback for the sewShape() method
static PyObject * staticCallback_slice (PyObject *self, PyObject *args)
 callback for the slice() method
static PyObject * staticCallback_slices (PyObject *self, PyObject *args)
 callback for the slices() method
static PyObject * staticCallback_tessellate (PyObject *self, PyObject *args)
 callback for the tessellate() method
static PyObject * staticCallback_toNurbs (PyObject *self, PyObject *args)
 callback for the toNurbs() method
static PyObject * staticCallback_transformGeometry (PyObject *self, PyObject *args)
 callback for the transformGeometry() method
static PyObject * staticCallback_transformShape (PyObject *self, PyObject *args)
 callback for the transformShape() method
static PyObject * staticCallback_translate (PyObject *self, PyObject *args)
 callback for the translate() method
static PyObject * staticCallback_writeInventor (PyObject *self, PyObject *args)
 callback for the writeInventor() method

callbacks and implementers for the python object attributes



Py::Float getArea (void) const
 getter for the Area attribute
Py::List getCompounds (void) const
 getter for the Compounds attribute
Py::List getCompSolids (void) const
 getter for the CompSolids attribute
Py::List getEdges (void) const
 getter for the Edges attribute
Py::List getFaces (void) const
 getter for the Faces attribute
Py::Float getLength (void) const
 getter for the Length attribute
Py::String getOrientation (void) const
 getter for the Orientation attribute
Py::String getShapeType (void) const
 getter for the ShapeType attribute
Py::List getShells (void) const
 getter for the Shells attribute
Py::List getSolids (void) const
 getter for the Solids attribute
Py::List getVertexes (void) const
 getter for the Vertexes attribute
Py::Float getVolume (void) const
 getter for the Volume attribute
Py::List getWires (void) const
 getter for the Wires attribute
void setOrientation (Py::String arg)
 setter for the Orientation attribute
static PyObject * staticCallback_getArea (PyObject *self, void *closure)
 getter callback for the Area attribute
static PyObject * staticCallback_getCompounds (PyObject *self, void *closure)
 getter callback for the Compounds attribute
static PyObject * staticCallback_getCompSolids (PyObject *self, void *closure)
 getter callback for the CompSolids attribute
static PyObject * staticCallback_getEdges (PyObject *self, void *closure)
 getter callback for the Edges attribute
static PyObject * staticCallback_getFaces (PyObject *self, void *closure)
 getter callback for the Faces attribute
static PyObject * staticCallback_getLength (PyObject *self, void *closure)
 getter callback for the Length attribute
static PyObject * staticCallback_getOrientation (PyObject *self, void *closure)
 getter callback for the Orientation attribute
static PyObject * staticCallback_getShapeType (PyObject *self, void *closure)
 getter callback for the ShapeType attribute
static PyObject * staticCallback_getShells (PyObject *self, void *closure)
 getter callback for the Shells attribute
static PyObject * staticCallback_getSolids (PyObject *self, void *closure)
 getter callback for the Solids attribute
static PyObject * staticCallback_getVertexes (PyObject *self, void *closure)
 getter callback for the Vertexes attribute
static PyObject * staticCallback_getVolume (PyObject *self, void *closure)
 getter callback for the Volume attribute
static PyObject * staticCallback_getWires (PyObject *self, void *closure)
 getter callback for the Wires attribute
static int staticCallback_setArea (PyObject *self, PyObject *value, void *closure)
 setter callback for the Area attribute
static int staticCallback_setCompounds (PyObject *self, PyObject *value, void *closure)
 setter callback for the Compounds attribute
static int staticCallback_setCompSolids (PyObject *self, PyObject *value, void *closure)
 setter callback for the CompSolids attribute
static int staticCallback_setEdges (PyObject *self, PyObject *value, void *closure)
 setter callback for the Edges attribute
static int staticCallback_setFaces (PyObject *self, PyObject *value, void *closure)
 setter callback for the Faces attribute
static int staticCallback_setLength (PyObject *self, PyObject *value, void *closure)
 setter callback for the Length attribute
static int staticCallback_setOrientation (PyObject *self, PyObject *value, void *closure)
 setter callback for the Orientation attribute
static int staticCallback_setShapeType (PyObject *self, PyObject *value, void *closure)
 setter callback for the ShapeType attribute
static int staticCallback_setShells (PyObject *self, PyObject *value, void *closure)
 setter callback for the Shells attribute
static int staticCallback_setSolids (PyObject *self, PyObject *value, void *closure)
 setter callback for the Solids attribute
static int staticCallback_setVertexes (PyObject *self, PyObject *value, void *closure)
 setter callback for the Vertexes attribute
static int staticCallback_setVolume (PyObject *self, PyObject *value, void *closure)
 setter callback for the Volume attribute
static int staticCallback_setWires (PyObject *self, PyObject *value, void *closure)
 setter callback for the Wires attribute

Detailed Description

The python export class for TopoShape.

Definition at line 20 of file TopoShapePy.h.


Member Typedef Documentation


Constructor & Destructor Documentation

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

Definition at line 4179 of file TopoShapePy.cpp.


Member Function Documentation

PyObject * TopoShapePy::_getattr ( char *  attr  )  [virtual]

GetAttribute implementation This method implements the retriavel of object attributes.

If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class. Note: if you reimplement _gettattr() in a inheriting class you need to call the method of the base class! Otherwise even the methods of the object will disapiear!

Reimplemented from Data::ComplexGeoDataPy.

Reimplemented in Part::TopoShapeCompoundPy, Part::TopoShapeCompSolidPy, Part::TopoShapeEdgePy, Part::TopoShapeFacePy, Part::TopoShapeShellPy, Part::TopoShapeSolidPy, Part::TopoShapeVertexPy, and Part::TopoShapeWirePy.

Definition at line 4194 of file TopoShapePy.cpp.

References Base::Console(), getCustomAttributes(), Methods, Base::Exception::ReportException(), and Base::Exception::what().

PyObject * TopoShapePy::_repr ( void   )  [virtual]

_repr method Overide this method to return a string object with some invormation about the object.

 PyObject *MeshFeaturePy::_repr(void)
 {
   std::stringstream a;
   a << "MeshFeature: [ ";
   a << "some realy important info about the object!";
   a << "]" << std::endl;
   return Py_BuildValue("s", a.str().c_str());
 }

Reimplemented from Data::ComplexGeoDataPy.

Reimplemented in Part::TopoShapeCompoundPy, Part::TopoShapeCompSolidPy, Part::TopoShapeEdgePy, Part::TopoShapeFacePy, Part::TopoShapeShellPy, Part::TopoShapeSolidPy, Part::TopoShapeVertexPy, and Part::TopoShapeWirePy.

Definition at line 4186 of file TopoShapePy.cpp.

References representation().

int TopoShapePy::_setattr ( char *  attr,
PyObject *  value 
) [virtual]

SetAttribute implementation This method implements the seting of object attributes.

If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class.

Reimplemented from Data::ComplexGeoDataPy.

Reimplemented in Part::TopoShapeCompoundPy, Part::TopoShapeCompSolidPy, Part::TopoShapeEdgePy, Part::TopoShapeFacePy, Part::TopoShapeShellPy, Part::TopoShapeSolidPy, Part::TopoShapeVertexPy, and Part::TopoShapeWirePy.

Definition at line 4262 of file TopoShapePy.cpp.

References Base::Console(), Base::Exception::ReportException(), setCustomAttributes(), and Base::Exception::what().

PyObject * TopoShapePy::check ( PyObject *  args  ) 

implementer for the check() method

Definition at line 444 of file TopoShapePyImp.cpp.

References Part::TopoShape::analyze(), getTopoShapePtr(), and Py_Return.

Referenced by Part::TopoShapeShellPy::add(), and Part::TopoShapeShellPy::PyInit().

PyObject * TopoShapePy::common ( PyObject *  args  ) 

implementer for the common() method

Definition at line 505 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, Part::TopoShape::common(), getTopoShapePtr(), TopoShapePy(), and Type.

PyObject * TopoShapePy::complement ( PyObject *  args  ) 

implementer for the complement() method

Definition at line 1002 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), and Py_Return.

PyObject * TopoShapePy::copy ( PyObject *  args  ) 

implementer for the copy() method

Definition at line 148 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), GetType(), and Py::type().

PyObject * TopoShapePy::cut ( PyObject *  args  ) 

implementer for the cut() method

Definition at line 607 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, Part::TopoShape::cut(), getTopoShapePtr(), TopoShapePy(), and Type.

PyObject * TopoShapePy::exportBrep ( PyObject *  args  ) 
PyObject * TopoShapePy::exportIges ( PyObject *  args  ) 
PyObject * TopoShapePy::exportStep ( PyObject *  args  ) 
PyObject * TopoShapePy::exportStl ( PyObject *  args  ) 
PyObject * TopoShapePy::extrude ( PyObject *  args  ) 
PyObject * TopoShapePy::fix ( PyObject *  args  ) 

implementer for the fix() method

Definition at line 1076 of file TopoShapePyImp.cpp.

References getTopoShapePtr(), and importDXF::prec().

PyObject * TopoShapePy::fuse ( PyObject *  args  ) 

implementer for the fuse() method

Definition at line 459 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, Part::TopoShape::fuse(), getTopoShapePtr(), TopoShapePy(), and Type.

Py::Float TopoShapePy::getArea ( void   )  const

getter for the Area attribute

Definition at line 1561 of file TopoShapePyImp.cpp.

References getTopoShapePtr().

Referenced by staticCallback_getArea().

Py::List TopoShapePy::getCompounds ( void   )  const

getter for the Compounds attribute

Definition at line 1533 of file TopoShapePyImp.cpp.

References Py::List::append(), getTopoShapePtr(), and k.

Referenced by staticCallback_getCompounds().

Py::List TopoShapePy::getCompSolids ( void   )  const

getter for the CompSolids attribute

Definition at line 1470 of file TopoShapePyImp.cpp.

References Py::List::append(), getTopoShapePtr(), and k.

Referenced by staticCallback_getCompSolids().

PyObject * TopoShapePy::getCustomAttributes ( const char *  attr  )  const
Py::List TopoShapePy::getEdges ( void   )  const

getter for the Edges attribute

Definition at line 1491 of file TopoShapePyImp.cpp.

References Py::List::append(), getTopoShapePtr(), and k.

Referenced by staticCallback_getEdges().

Py::List TopoShapePy::getFaces ( void   )  const

getter for the Faces attribute

Definition at line 1386 of file TopoShapePyImp.cpp.

References Py::List::append(), getTopoShapePtr(), and k.

Referenced by staticCallback_getFaces().

Py::Float TopoShapePy::getLength ( void   )  const

getter for the Length attribute

Reimplemented in Part::TopoShapeEdgePy.

Definition at line 1554 of file TopoShapePyImp.cpp.

References getTopoShapePtr().

Referenced by staticCallback_getLength().

Py::String TopoShapePy::getOrientation ( void   )  const

getter for the Orientation attribute

Definition at line 1334 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), and Py::type().

Referenced by staticCallback_getOrientation().

virtual PyParentObject* Part::TopoShapePy::GetParents ( void   )  [inline, virtual]
Py::String TopoShapePy::getShapeType ( void   )  const

getter for the ShapeType attribute

Definition at line 1293 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), and Py::type().

Referenced by staticCallback_getShapeType().

Py::List TopoShapePy::getShells ( void   )  const

getter for the Shells attribute

Definition at line 1428 of file TopoShapePyImp.cpp.

References Py::List::append(), getTopoShapePtr(), and k.

Referenced by staticCallback_getShells().

Py::List TopoShapePy::getSolids ( void   )  const

getter for the Solids attribute

Definition at line 1449 of file TopoShapePyImp.cpp.

References Py::List::append(), getTopoShapePtr(), and k.

Referenced by staticCallback_getSolids().

TopoShape * TopoShapePy::getTopoShapePtr ( void   )  const
virtual PyTypeObject* Part::TopoShapePy::GetType ( void   )  [inline, virtual]
Py::List TopoShapePy::getVertexes ( void   )  const

getter for the Vertexes attribute

Definition at line 1407 of file TopoShapePyImp.cpp.

References Py::List::append(), getTopoShapePtr(), and k.

Referenced by staticCallback_getVertexes().

Py::Float TopoShapePy::getVolume ( void   )  const

getter for the Volume attribute

Definition at line 1568 of file TopoShapePyImp.cpp.

References getTopoShapePtr().

Referenced by staticCallback_getVolume().

Py::List TopoShapePy::getWires ( void   )  const

getter for the Wires attribute

Definition at line 1512 of file TopoShapePyImp.cpp.

References Py::List::append(), getTopoShapePtr(), and k.

Referenced by staticCallback_getWires().

PyObject * TopoShapePy::hashCode ( PyObject *  args  ) 

implementer for the hashCode() method

Definition at line 1090 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), and upper().

PyObject * TopoShapePy::isClosed ( PyObject *  args  ) 

implementer for the isClosed() method

Definition at line 1028 of file TopoShapePyImp.cpp.

References getTopoShapePtr().

PyObject * TopoShapePy::isEqual ( PyObject *  args  ) 

implementer for the isEqual() method

Definition at line 1041 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), and Type.

PyObject * TopoShapePy::isInside ( PyObject *  args  ) 
PyObject * TopoShapePy::isNull ( PyObject *  args  ) 

implementer for the isNull() method

Definition at line 1020 of file TopoShapePyImp.cpp.

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

PyObject * TopoShapePy::isSame ( PyObject *  args  ) 

implementer for the isSame() method

Definition at line 1052 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), and Type.

PyObject * TopoShapePy::isValid ( PyObject *  args  ) 

implementer for the isValid() method

Definition at line 1063 of file TopoShapePyImp.cpp.

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

PyObject * TopoShapePy::makeChamfer ( PyObject *  args  ) 
PyObject * TopoShapePy::makeFillet ( PyObject *  args  ) 
PyObject * TopoShapePy::makeOffsetShape ( PyObject *  args  ) 

implementer for the makeOffsetShape() method

Definition at line 968 of file TopoShapePyImp.cpp.

References getTopoShapePtr(), Part::TopoShape::makeOffset(), offset(), Draft::tolerance(), and TopoShapePy().

PyObject * TopoShapePy::makeShapeFromMesh ( PyObject *  args  ) 
PyObject * TopoShapePy::makeThickness ( PyObject *  args  ) 
PyObject * TopoShapePy::mirror ( PyObject *  args  ) 
PyObject * TopoShapePy::nullify ( PyObject *  args  ) 

implementer for the nullify() method

Definition at line 1011 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), and Py_Return.

PyObject * TopoShapePy::oldFuse ( PyObject *  args  ) 

implementer for the oldFuse() method

Definition at line 482 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), Part::TopoShape::oldFuse(), TopoShapePy(), and Type.

PyObject * TopoShapePy::project ( PyObject *  args  ) 
int TopoShapePy::PyInit ( PyObject *  ,
PyObject *   
) [virtual]
PyObject * TopoShapePy::PyMake ( struct _typeobject *  ,
PyObject *  ,
PyObject *   
) [static]
PyObject * TopoShapePy::read ( PyObject *  args  ) 

implementer for the read() method

Definition at line 229 of file TopoShapePyImp.cpp.

References draftlibs::dxfReader::filename, getTopoShapePtr(), Py_Return, and Part::TopoShape::read().

PyObject * TopoShapePy::removeInternalWires ( PyObject *  args  ) 

implementer for the removeInternalWires() method

Definition at line 646 of file TopoShapePyImp.cpp.

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

PyObject * TopoShapePy::removeShape ( PyObject *  args  ) 
PyObject * TopoShapePy::replaceShape ( PyObject *  args  ) 
std::string TopoShapePy::representation ( void   )  const
PyObject * TopoShapePy::reverse ( PyObject *  args  ) 

implementer for the reverse() method

Definition at line 993 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), and Py_Return.

PyObject * TopoShapePy::revolve ( PyObject *  args  ) 
PyObject * TopoShapePy::rotate ( PyObject *  args  ) 

implementer for the rotate() method

Definition at line 748 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, draftlibs::fcvec::angle(), getTopoShapePtr(), M_PI, RobotExample::pos, and Py_Return.

PyObject * TopoShapePy::scale ( PyObject *  args  ) 
PyObject * TopoShapePy::section ( PyObject *  args  ) 

implementer for the section() method

Definition at line 528 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), Part::TopoShape::section(), TopoShapePy(), and Type.

int TopoShapePy::setCustomAttributes ( const char *  attr,
PyObject *  obj 
)
void TopoShapePy::setOrientation ( Py::String  arg  ) 

setter for the Orientation attribute

Definition at line 1360 of file TopoShapePyImp.cpp.

References Part::TopoShape::_Shape, getTopoShapePtr(), and Py::type().

PyObject * TopoShapePy::sewShape ( PyObject *  args  ) 

implementer for the sewShape() method

Definition at line 630 of file TopoShapePyImp.cpp.

References getTopoShapePtr(), Py_Return, and Part::TopoShape::sewShape().

PyObject * TopoShapePy::slice ( PyObject *  args  ) 
PyObject * TopoShapePy::slices ( PyObject *  args  ) 
PyObject * TopoShapePy::staticCallback_check ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_common ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_complement ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_copy ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_cut ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_exportBrep ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_exportIges ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_exportStep ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_exportStl ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_extrude ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_fix ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_fuse ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_getArea ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Area attribute

Definition at line 4099 of file TopoShapePy.cpp.

References getArea(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getCompounds ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Compounds attribute

Definition at line 4035 of file TopoShapePy.cpp.

References getCompounds(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getCompSolids ( PyObject *  self,
void *  closure 
) [static]

getter callback for the CompSolids attribute

Definition at line 3939 of file TopoShapePy.cpp.

References getCompSolids(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getEdges ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Edges attribute

Definition at line 3971 of file TopoShapePy.cpp.

References getEdges(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getFaces ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Faces attribute

Definition at line 3811 of file TopoShapePy.cpp.

References getFaces(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getLength ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Length attribute

Reimplemented in Part::TopoShapeEdgePy.

Definition at line 4067 of file TopoShapePy.cpp.

References getLength(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getOrientation ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Orientation attribute

Definition at line 3767 of file TopoShapePy.cpp.

References getOrientation(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getShapeType ( PyObject *  self,
void *  closure 
) [static]

getter callback for the ShapeType attribute

Definition at line 3735 of file TopoShapePy.cpp.

References getShapeType(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getShells ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Shells attribute

Definition at line 3875 of file TopoShapePy.cpp.

References getShells(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getSolids ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Solids attribute

Definition at line 3907 of file TopoShapePy.cpp.

References getSolids(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getVertexes ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Vertexes attribute

Definition at line 3843 of file TopoShapePy.cpp.

References getVertexes(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getVolume ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Volume attribute

Definition at line 4131 of file TopoShapePy.cpp.

References getVolume(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_getWires ( PyObject *  self,
void *  closure 
) [static]

getter callback for the Wires attribute

Definition at line 4003 of file TopoShapePy.cpp.

References getWires(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().

PyObject * TopoShapePy::staticCallback_hashCode ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_isClosed ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_isEqual ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_isInside ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_isNull ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_isSame ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_isValid ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_makeChamfer ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_makeFillet ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_makeOffsetShape ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_makeShapeFromMesh ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_makeThickness ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_mirror ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_nullify ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_oldFuse ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_project ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_read ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_removeInternalWires ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_removeShape ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_replaceShape ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_reverse ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_revolve ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_rotate ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_scale ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_section ( PyObject *  self,
PyObject *  args 
) [static]
int TopoShapePy::staticCallback_setArea ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Area attribute

Definition at line 4117 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setCompounds ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Compounds attribute

Definition at line 4053 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setCompSolids ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the CompSolids attribute

Definition at line 3957 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setEdges ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Edges attribute

Definition at line 3989 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setFaces ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Faces attribute

Definition at line 3829 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setLength ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Length attribute

Reimplemented in Part::TopoShapeEdgePy.

Definition at line 4085 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setOrientation ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Orientation attribute

Definition at line 3785 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setShapeType ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the ShapeType attribute

Definition at line 3753 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setShells ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Shells attribute

Definition at line 3893 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setSolids ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Solids attribute

Definition at line 3925 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setVertexes ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Vertexes attribute

Definition at line 3861 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setVolume ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Volume attribute

Definition at line 4149 of file TopoShapePy.cpp.

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

int TopoShapePy::staticCallback_setWires ( PyObject *  self,
PyObject *  value,
void *  closure 
) [static]

setter callback for the Wires attribute

Definition at line 4021 of file TopoShapePy.cpp.

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

PyObject * TopoShapePy::staticCallback_sewShape ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_slice ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_slices ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_tessellate ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_toNurbs ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_transformGeometry ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_transformShape ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_translate ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::staticCallback_writeInventor ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * TopoShapePy::tessellate ( PyObject *  args  ) 
PyObject * TopoShapePy::toNurbs ( PyObject *  args  ) 

implementer for the toNurbs() method

Definition at line 1200 of file TopoShapePyImp.cpp.

References getTopoShapePtr(), Part::TopoShape::toNurbs(), and TopoShapePy().

PyObject * TopoShapePy::transformGeometry ( PyObject *  args  ) 
PyObject * TopoShapePy::transformShape ( PyObject *  args  ) 
PyObject * TopoShapePy::translate ( PyObject *  args  ) 
PyObject * TopoShapePy::writeInventor ( PyObject *  args  ) 

Member Data Documentation

PyGetSetDef TopoShapePy::GetterSetter [static]
PyMethodDef TopoShapePy::Methods [static]
PyParentObject TopoShapePy::Parents = { PARENTSPartTopoShapePy } [static]
PyTypeObject TopoShapePy::Type [static]

The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:37 2011 for FreeCAD by  doxygen 1.6.1