The python export class for BRepOffsetAPI_MakeFilling. More...

#include <BRepOffsetAPI_MakeFillingPy.h>

Public Types

typedef BRepOffsetAPI_MakeFilling * PointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0 , Immutable = 1 , Notify = 2 , NoTrack = 3 }
 

Public Member Functions

 BRepOffsetAPI_MakeFillingPy (BRepOffsetAPI_MakeFilling *pcObject, PyTypeObject *T=&Type)
 
virtual PyTypeObject * GetType (void)
 
virtual int PyInit (PyObject *args, PyObject *k)
 PyInit method Override this method to initialize a newly created instance of the class (Constructor) More...
 
std::string representation (void) const
 
callbacks and implementers for the python object attributes
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
BRepOffsetAPI_MakeFilling * getBRepOffsetAPI_MakeFillingPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::PyObjectBase
PyObjectBaseDecRef (void)
 decref method wrapper (see python extending manual) More...
 
PyObjectBaseIncRef (void)
 incref method wrapper (see python extending manual) More...
 
bool isConst ()
 
bool isNotTracking () const
 
bool isValid ()
 
 PyObjectBase (void *, PyTypeObject *T)
 Constructor Sets the Type of the object (for inheritance) and decrease the the reference count of the PyObject. More...
 
void setConst ()
 
void setInvalid ()
 
void setNotTracking (bool on=true)
 
void setShouldNotify (bool on)
 
bool shouldNotify () const
 
void startNotify ()
 

Static Public Member Functions

static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 BRepOffsetAPI_MakeFillingPy::PyMake. More...
 
- Static Public Member Functions inherited from Base::PyObjectBase
static void PyDestructor (PyObject *P)
 Wrapper for the Python destructor. More...
 

Static Public Attributes

static PyGetSetDef GetterSetter []
 Attribute structure of BRepOffsetAPI_MakeFillingPy. More...
 
static PyMethodDef Methods []
 Methods structure of BRepOffsetAPI_MakeFillingPy. More...
 
static PyTypeObject Type
 Type structure of BRepOffsetAPI_MakeFillingPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~BRepOffsetAPI_MakeFillingPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
void setTwinPointer (void *ptr)
 Overrides the pointer to the twin object. More...
 
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object methods

PyObjectsetConstrParam (PyObject *args, PyObject *kwd)
 implementer for the setConstrParam() method More...
 
PyObjectsetResolParam (PyObject *args, PyObject *kwd)
 implementer for the setResolParam() method More...
 
PyObjectsetApproxParam (PyObject *args, PyObject *kwd)
 implementer for the setApproxParam() method More...
 
PyObjectloadInitSurface (PyObject *args)
 implementer for the loadInitSurface() method More...
 
PyObjectadd (PyObject *args, PyObject *kwd)
 implementer for the add() method More...
 
PyObjectbuild (PyObject *args)
 implementer for the build() method More...
 
PyObjectisDone (PyObject *args)
 implementer for the isDone() method More...
 
PyObjectG0Error (PyObject *args)
 implementer for the G0Error() method More...
 
PyObjectG1Error (PyObject *args)
 implementer for the G1Error() method More...
 
PyObjectG2Error (PyObject *args)
 implementer for the G2Error() method More...
 
PyObjectshape (PyObject *args)
 implementer for the shape() method More...
 
static PyObjectstaticCallback_setConstrParam (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the setConstrParam() method More...
 
static PyObjectstaticCallback_setResolParam (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the setResolParam() method More...
 
static PyObjectstaticCallback_setApproxParam (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the setApproxParam() method More...
 
static PyObjectstaticCallback_loadInitSurface (PyObject *self, PyObject *args)
 callback for the loadInitSurface() method More...
 
static PyObjectstaticCallback_add (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the add() method More...
 
static PyObjectstaticCallback_build (PyObject *self, PyObject *args)
 callback for the build() method More...
 
static PyObjectstaticCallback_isDone (PyObject *self, PyObject *args)
 callback for the isDone() method More...
 
static PyObjectstaticCallback_G0Error (PyObject *self, PyObject *args)
 callback for the G0Error() method More...
 
static PyObjectstaticCallback_G1Error (PyObject *self, PyObject *args)
 callback for the G1Error() method More...
 
static PyObjectstaticCallback_G2Error (PyObject *self, PyObject *args)
 callback for the G2Error() method More...
 
static PyObjectstaticCallback_shape (PyObject *self, PyObject *args)
 callback for the shape() method More...
 

Additional Inherited Members

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

Detailed Description

The python export class for BRepOffsetAPI_MakeFilling.

Member Typedef Documentation

◆ PointerType

typedef BRepOffsetAPI_MakeFilling* Part::BRepOffsetAPI_MakeFillingPy::PointerType

Constructor & Destructor Documentation

◆ ~BRepOffsetAPI_MakeFillingPy()

BRepOffsetAPI_MakeFillingPy::~BRepOffsetAPI_MakeFillingPy ( )
protected

◆ BRepOffsetAPI_MakeFillingPy()

BRepOffsetAPI_MakeFillingPy::BRepOffsetAPI_MakeFillingPy ( BRepOffsetAPI_MakeFilling *  pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ add()

PyObject * BRepOffsetAPI_MakeFillingPy::add ( PyObject args,
PyObject kwd 
)

◆ build()

PyObject * BRepOffsetAPI_MakeFillingPy::build ( PyObject args)

implementer for the build() method

References getBRepOffsetAPI_MakeFillingPtr().

Referenced by staticCallback_build().

◆ G0Error()

PyObject * BRepOffsetAPI_MakeFillingPy::G0Error ( PyObject args)

implementer for the G0Error() method

References getBRepOffsetAPI_MakeFillingPtr().

Referenced by staticCallback_G0Error().

◆ G1Error()

PyObject * BRepOffsetAPI_MakeFillingPy::G1Error ( PyObject args)

implementer for the G1Error() method

References getBRepOffsetAPI_MakeFillingPtr().

Referenced by staticCallback_G1Error().

◆ G2Error()

PyObject * BRepOffsetAPI_MakeFillingPy::G2Error ( PyObject args)

implementer for the G2Error() method

References getBRepOffsetAPI_MakeFillingPtr().

Referenced by staticCallback_G2Error().

◆ getBRepOffsetAPI_MakeFillingPtr()

BRepOffsetAPI_MakeFilling * BRepOffsetAPI_MakeFillingPy::getBRepOffsetAPI_MakeFillingPtr ( void  ) const

getter for the object handled by this class

Referenced by add(), build(), G0Error(), G1Error(), G2Error(), isDone(), loadInitSurface(), setApproxParam(), setConstrParam(), setResolParam(), and shape().

◆ getCustomAttributes()

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

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

◆ GetType()

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

Reimplemented from Base::PyObjectBase.

◆ isDone()

PyObject * BRepOffsetAPI_MakeFillingPy::isDone ( PyObject args)

implementer for the isDone() method

References getBRepOffsetAPI_MakeFillingPtr().

Referenced by staticCallback_isDone().

◆ loadInitSurface()

PyObject * BRepOffsetAPI_MakeFillingPy::loadInitSurface ( PyObject args)

◆ PyInit()

int BRepOffsetAPI_MakeFillingPy::PyInit ( PyObject ,
PyObject  
)
virtual

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

Reimplemented from Base::PyObjectBase.

References Base::PyObjectBase::setTwinPointer().

◆ PyMake()

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

BRepOffsetAPI_MakeFillingPy::PyMake.

v1=App.Vector(0,0,0)
v2=App.Vector(10,0,0)
v3=App.Vector(10,10,3)
v4=App.Vector(0,10,0)
v5=App.Vector(5,5,5)
l1=Part.makeLine(v1, v2)
l2=Part.makeLine(v2, v3)
l3=Part.makeLine(v3, v4)
l4=Part.makeLine(v4, v1)
bp=Part.BRepOffsetAPI.MakeFilling()
bp.add(l1, 0, True)
bp.add(l2, 0, True)
bp.add(l3, 0, True)
bp.add(l4, 0, True)
bp.add(v5)
bp.build()
s=bp.shape()
Part.show(s)
Part.show(l1)
Part.show(l2)
Part.show(l3)
Part.show(l4)
bp.surfInit()
The FreeCAD Application layer.
Definition: Annotation.h:33
l4
Definition: Gear.py:264
l3
Definition: Gear.py:259
l2
Definition: Gear.py:254
l1
Definition: Gear.py:249
AttachExtensionh, .cpp contain a extension class to derive other features from, to make them attachab...
Definition: ExportOCAF.h:49

References BRepOffsetAPI_MakeFillingPy().

◆ representation()

◆ setApproxParam()

PyObject * BRepOffsetAPI_MakeFillingPy::setApproxParam ( PyObject args,
PyObject kwd 
)

implementer for the setApproxParam() method

References getBRepOffsetAPI_MakeFillingPtr().

Referenced by staticCallback_setApproxParam().

◆ setConstrParam()

PyObject * BRepOffsetAPI_MakeFillingPy::setConstrParam ( PyObject args,
PyObject kwd 
)

implementer for the setConstrParam() method

References getBRepOffsetAPI_MakeFillingPtr().

Referenced by staticCallback_setConstrParam().

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ setResolParam()

PyObject * BRepOffsetAPI_MakeFillingPy::setResolParam ( PyObject args,
PyObject kwd 
)

implementer for the setResolParam() method

References getBRepOffsetAPI_MakeFillingPtr().

Referenced by staticCallback_setResolParam().

◆ shape()

◆ staticCallback_add()

◆ staticCallback_build()

◆ staticCallback_G0Error()

◆ staticCallback_G1Error()

◆ staticCallback_G2Error()

◆ staticCallback_isDone()

◆ staticCallback_loadInitSurface()

◆ staticCallback_setApproxParam()

◆ staticCallback_setConstrParam()

◆ staticCallback_setResolParam()

◆ staticCallback_shape()

Member Data Documentation

◆ GetterSetter

PyGetSetDef BRepOffsetAPI_MakeFillingPy::GetterSetter
static
Initial value:
= {
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of BRepOffsetAPI_MakeFillingPy.

◆ Methods

PyMethodDef BRepOffsetAPI_MakeFillingPy::Methods
static

Methods structure of BRepOffsetAPI_MakeFillingPy.

◆ Type


The documentation for this class was generated from the following files:
  • Sources/FreeCAD-SourceDocs/src/Mod/Part/App/BRepOffsetAPI_MakeFillingPy.h
  • Sources/FreeCAD/src/Mod/Part/App/BRepOffsetAPI_MakeFillingPyImp.cpp
  • Sources/FreeCAD-SourceDocs/src/Mod/Part/App/BRepOffsetAPI_MakeFillingPy.cpp