The python export class for TopoShape. More...
#include <TopoShapePy.h>
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 |
The python export class for TopoShape.
Definition at line 20 of file TopoShapePy.h.
typedef TopoShape* Part::TopoShapePy::PointerType |
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 36 of file TopoShapePy.h.
Definition at line 4170 of file TopoShapePy.cpp.
Referenced by common(), cut(), fuse(), makeChamfer(), makeFillet(), Part::TopoShapeWirePy::makeOffset(), Part::TopoShapeFacePy::makeOffset(), makeOffsetShape(), Part::TopoShapeWirePy::makePipe(), Part::TopoShapeWirePy::makePipeShell(), mirror(), oldFuse(), project(), PyMake(), section(), toNurbs(), and transformGeometry().
TopoShapePy::~TopoShapePy | ( | ) |
Definition at line 4179 of file TopoShapePy.cpp.
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().
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().
implementer for the common() method
Definition at line 505 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, Part::TopoShape::common(), getTopoShapePtr(), TopoShapePy(), and Type.
implementer for the complement() method
Definition at line 1002 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), and Py_Return.
implementer for the copy() method
Definition at line 148 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), GetType(), and Py::type().
implementer for the cut() method
Definition at line 607 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, Part::TopoShape::cut(), getTopoShapePtr(), TopoShapePy(), and Type.
implementer for the exportBrep() method
Definition at line 297 of file TopoShapePyImp.cpp.
References Part::TopoShape::exportBrep(), draftlibs::dxfReader::filename, getTopoShapePtr(), Py_Return, and Base::Exception::what().
implementer for the exportIges() method
Definition at line 261 of file TopoShapePyImp.cpp.
References Part::TopoShape::exportIges(), draftlibs::dxfReader::filename, getTopoShapePtr(), Py_Return, and Base::Exception::what().
implementer for the exportStep() method
Definition at line 279 of file TopoShapePyImp.cpp.
References Part::TopoShape::exportStep(), draftlibs::dxfReader::filename, getTopoShapePtr(), Py_Return, and Base::Exception::what().
implementer for the exportStl() method
Definition at line 315 of file TopoShapePyImp.cpp.
References Part::TopoShape::exportStl(), draftlibs::dxfReader::filename, getTopoShapePtr(), Py_Return, and Base::Exception::what().
implementer for the extrude() method
Definition at line 333 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), Part::TopoShape::makePrism(), Py::type(), Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the fix() method
Definition at line 1076 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), and importDXF::prec().
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 |
getter method for special attributes (e.g. dynamic ones)
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 1575 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), and DrawingExample::Shape.
Referenced by _getattr().
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] |
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 28 of file TopoShapePy.h.
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 |
getter for the object handled by this class
Reimplemented in Part::TopoShapeCompoundPy, Part::TopoShapeCompSolidPy, Part::TopoShapeEdgePy, Part::TopoShapeFacePy, Part::TopoShapeShellPy, Part::TopoShapeSolidPy, Part::TopoShapeVertexPy, and Part::TopoShapeWirePy.
Definition at line 4321 of file TopoShapePy.cpp.
References Base::PyObjectBase::_pcTwinPointer.
Referenced by best_fit_coarse(), best_fit_complete(), best_fit_test(), check(), common(), complement(), copy(), cut(), exportBrep(), exportIges(), exportStep(), exportStl(), extrude(), fit_iter(), fix(), fuse(), getArea(), getCompounds(), getCompSolids(), getCustomAttributes(), getEdges(), getFaces(), getLength(), getOrientation(), getShapeType(), getShells(), getSolids(), getVertexes(), getVolume(), getWires(), hashCode(), isClosed(), isEqual(), isInside(), isNull(), isSame(), isValid(), loftOnCurve(), makeChamfer(), makeFillet(), makeOffsetShape(), makeShapeFromMesh(), makeThickness(), mirror(), nullify(), offset(), oldFuse(), project(), project(), projectEx(), projectToDXF(), projectToSVG(), PyInit(), read(), removeInternalWires(), removeShape(), replaceShape(), representation(), reverse(), revolve(), rotate(), scale(), section(), setOrientation(), Part::PropertyPartShape::setPyObject(), sewShape(), shape2orig(), show(), slice(), slices(), spring_back(), tess_shape(), tesselateShape(), tessellate(), toNurbs(), transformGeometry(), transformShape(), translate(), and writeInventor().
virtual PyTypeObject* Part::TopoShapePy::GetType | ( | void | ) | [inline, virtual] |
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 27 of file TopoShapePy.h.
Referenced by copy(), removeShape(), and replaceShape().
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().
implementer for the hashCode() method
Definition at line 1090 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), and upper().
implementer for the isClosed() method
Definition at line 1028 of file TopoShapePyImp.cpp.
References getTopoShapePtr().
implementer for the isEqual() method
Definition at line 1041 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), and Type.
implementer for the isInside() method
Definition at line 1217 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), Draft::tolerance(), Base::VectorPy::Type, Py::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the isNull() method
Definition at line 1020 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), and Part::TopoShape::isNull().
implementer for the isSame() method
Definition at line 1052 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), and Type.
implementer for the isValid() method
Definition at line 1063 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), and Base::PyObjectBase::isValid().
implementer for the makeChamfer() method
Definition at line 871 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), getTopoShapePtr(), TopoShapePy(), and Type.
implementer for the makeFillet() method
Definition at line 811 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), getTopoShapePtr(), TopoShapePy(), and Type.
implementer for the makeOffsetShape() method
Definition at line 968 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), Part::TopoShape::makeOffset(), offset(), Draft::tolerance(), and TopoShapePy().
implementer for the makeShapeFromMesh() method
Definition at line 1165 of file TopoShapePyImp.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), SketcherExample::f, getTopoShapePtr(), Data::ComplexGeoData::Facet::I1, Data::ComplexGeoData::Facet::I2, Data::ComplexGeoData::Facet::I3, Py::int, Py_Return, Part::TopoShape::setFaces(), Draft::tolerance(), Py::Vector::toVector(), draftlibs::fcvec::tup(), and draftlibs::fcgeo::vec().
implementer for the makeThickness() method
Definition at line 941 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), getTopoShapePtr(), Part::TopoShape::makeThickSolid(), offset(), Draft::tolerance(), and Type.
implementer for the mirror() method
Definition at line 665 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), Part::TopoShape::mirror(), TopoShapePy(), Base::VectorPy::Type, draftlibs::fcgeo::v1(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the nullify() method
Definition at line 1011 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), and Py_Return.
implementer for the oldFuse() method
Definition at line 482 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), Part::TopoShape::oldFuse(), TopoShapePy(), and Type.
implementer for the project() method
Definition at line 1133 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), getTopoShapePtr(), TopoShapePy(), and Type.
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor).
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 111 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), Part::TopoShape::fuse(), getTopoShapePtr(), and Part::GeometryPy::Type.
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 105 of file TopoShapePyImp.cpp.
References TopoShapePy().
implementer for the read() method
Definition at line 229 of file TopoShapePyImp.cpp.
References draftlibs::dxfReader::filename, getTopoShapePtr(), Py_Return, and Part::TopoShape::read().
implementer for the removeInternalWires() method
Definition at line 646 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), and Part::TopoShape::removeInternalWires().
implementer for the removeShape() method
Definition at line 201 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), Py::ExtensionObject< T >::extensionObject(), getTopoShapePtr(), GetType(), RobotExample::l, Part::TopoShape::removeShape(), and Py::type().
implementer for the replaceShape() method
Definition at line 168 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), Py::ExtensionObject< T >::extensionObject(), getTopoShapePtr(), GetType(), RobotExample::l, Part::TopoShape::replaceShape(), and Py::type().
std::string TopoShapePy::representation | ( | void | ) | const |
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 97 of file TopoShapePyImp.cpp.
References getTopoShapePtr().
Referenced by _repr().
implementer for the reverse() method
Definition at line 993 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), and Py_Return.
implementer for the revolve() method
Definition at line 378 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), M_PI, RobotExample::pos, Part::TopoShape::revolve(), Py::type(), Base::VectorPy::Type, Py::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
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.
implementer for the scale() method
Definition at line 778 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, boost::numeric::bindings::umfpack::detail::factor(), getTopoShapePtr(), draftTools::p, RobotExample::pos, Py_Return, Base::VectorPy::Type, Py::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
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 | |||
) |
setter for special attributes (e.g. dynamic ones)
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 1607 of file TopoShapePyImp.cpp.
Referenced by _setattr().
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().
implementer for the sewShape() method
Definition at line 630 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), Py_Return, and Part::TopoShape::sewShape().
implementer for the slice() method
Definition at line 551 of file TopoShapePyImp.cpp.
References Py::List::append(), Py::asObject(), getTopoShapePtr(), Py::new_reference_to(), Part::TopoShape::slice(), Base::VectorPy::Type, and draftlibs::fcgeo::vec().
Referenced by slices().
implementer for the slices() method
Definition at line 579 of file TopoShapePyImp.cpp.
References Py::SeqBase< T >::begin(), draftlibs::fcvec::dist(), Py::SeqBase< T >::end(), getTopoShapePtr(), Py::SeqBase< T >::size(), slice(), Part::TopoShape::slices(), Base::VectorPy::Type, and draftlibs::fcgeo::vec().
callback for the check() method
Definition at line 966 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the common() method
Definition at line 1187 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the complement() method
Definition at line 2527 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the copy() method
Definition at line 3459 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the cut() method
Definition at line 1477 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the exportBrep() method
Definition at line 683 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the exportIges() method
Definition at line 545 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the exportStep() method
Definition at line 614 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the exportStl() method
Definition at line 752 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the extrude() method
Definition at line 821 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the fix() method
Definition at line 3024 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the fuse() method
Definition at line 1035 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
callback for the hashCode() method
Definition at line 3100 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the isClosed() method
Definition at line 2679 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the isEqual() method
Definition at line 2817 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the isInside() method
Definition at line 3666 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the isNull() method
Definition at line 2886 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the isSame() method
Definition at line 2748 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the isValid() method
Definition at line 2955 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the makeChamfer() method
Definition at line 2230 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the makeFillet() method
Definition at line 2161 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * TopoShapePy::staticCallback_makeOffsetShape | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the makeOffsetShape() method
Definition at line 2375 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * TopoShapePy::staticCallback_makeShapeFromMesh | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the makeShapeFromMesh() method
Definition at line 3314 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the makeThickness() method
Definition at line 2299 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the mirror() method
Definition at line 1705 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the nullify() method
Definition at line 2603 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the oldFuse() method
Definition at line 1111 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the project() method
Definition at line 3238 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the read() method
Definition at line 400 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * TopoShapePy::staticCallback_removeInternalWires | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the removeInternalWires() method
Definition at line 1629 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the removeShape() method
Definition at line 3597 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the replaceShape() method
Definition at line 3528 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the reverse() method
Definition at line 2451 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the revolve() method
Definition at line 897 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the rotate() method
Definition at line 2009 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the scale() method
Definition at line 2085 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the section() method
Definition at line 1263 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
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().
callback for the sewShape() method
Definition at line 1553 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the slice() method
Definition at line 1408 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the slices() method
Definition at line 1339 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the tessellate() method
Definition at line 3169 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the toNurbs() method
Definition at line 3390 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * TopoShapePy::staticCallback_transformGeometry | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the transformGeometry() method
Definition at line 1781 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the transformShape() method
Definition at line 1857 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the translate() method
Definition at line 1933 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the writeInventor() method
Definition at line 476 of file TopoShapePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
implementer for the tessellate() method
Definition at line 1099 of file TopoShapePyImp.cpp.
References Py::List::append(), SketcherExample::f, Part::TopoShape::getFaces(), getTopoShapePtr(), Py::new_reference_to(), Py::Tuple::setItem(), and Draft::tolerance().
implementer for the toNurbs() method
Definition at line 1200 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), Part::TopoShape::toNurbs(), and TopoShapePy().
implementer for the transformGeometry() method
Definition at line 687 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), TopoShapePy(), Part::TopoShape::transformGShape(), Base::MatrixPy::Type, and Py::value().
implementer for the transformShape() method
Definition at line 705 of file TopoShapePyImp.cpp.
References getTopoShapePtr(), Py_Return, Part::TopoShape::transformShape(), Base::MatrixPy::Type, and Py::value().
implementer for the translate() method
Definition at line 723 of file TopoShapePyImp.cpp.
References Part::TopoShape::_Shape, getTopoShapePtr(), Py_Return, Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the writeInventor() method
Definition at line 239 of file TopoShapePyImp.cpp.
References draftlibs::fcvec::angle(), Part::TopoShape::exportFaceSet(), Part::TopoShape::exportLineSet(), getTopoShapePtr(), Py::new_reference_to(), and result.
PyGetSetDef TopoShapePy::GetterSetter [static] |
Attribute structure of TopoShapePy.
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 25 of file TopoShapePy.h.
PyMethodDef TopoShapePy::Methods [static] |
Methods structure of TopoShapePy.
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 24 of file TopoShapePy.h.
Referenced by _getattr().
PyParentObject TopoShapePy::Parents = { PARENTSPartTopoShapePy } [static] |
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 26 of file TopoShapePy.h.
PyTypeObject TopoShapePy::Type [static] |
Type structure of TopoShapePy.
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 23 of file TopoShapePy.h.
Referenced by Part::TopoShapeCompoundPy::add(), Fem::FemMeshPy::addHypothesis(), cast_to_shape(), common(), cut(), fuse(), getPartAsPovray(), getSortedClusters(), initPart(), isEqual(), isSame(), loftOnCurve(), makeChamfer(), makeCompound(), makeFillet(), makeLoft(), Part::TopoShapeWirePy::makePipe(), Part::TopoShapeWirePy::makePipeShell(), makeThickness(), meshFromShape(), oldFuse(), project(), Part::TopoShapeWirePy::PyInit(), Part::TopoShapeVertexPy::PyInit(), Part::TopoShapeSolidPy::PyInit(), Part::TopoShapeFacePy::PyInit(), Part::TopoShapeEdgePy::PyInit(), Part::TopoShapeCompoundPy::PyInit(), section(), Fem::SMESH_HypothesisPy< T >::setParametersByMesh(), Part::PropertyPartShape::setPyObject(), Fem::FemMeshPy::setShape(), sortEdges(), writePartFile(), and writePartFileCSV().