AppPartPy.cpp File Reference

#include "PreCompiled.h"
#include <BRepAdaptor_Curve.hxx>
#include <BRepCheck_Analyzer.hxx>
#include <BRepPrimAPI_MakeBox.hxx>
#include <BRepPrimAPI_MakeCone.hxx>
#include <BRepPrimAPI_MakeTorus.hxx>
#include <BRepPrimAPI_MakeCylinder.hxx>
#include <BRepPrimAPI_MakeSphere.hxx>
#include <BRepPrimAPI_MakeRevolution.hxx>
#include <BRepPrim_Wedge.hxx>
#include <BRep_Builder.hxx>
#include <BRep_Tool.hxx>
#include <BRepBuilderAPI_MakeFace.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepBuilderAPI_MakePolygon.hxx>
#include <BRepBuilderAPI_MakeShell.hxx>
#include <BRepBuilderAPI_MakeSolid.hxx>
#include <BRepOffsetAPI_Sewing.hxx>
#include <BRepFill.hxx>
#include <BRepLib.hxx>
#include <gp_Circ.hxx>
#include <gp_Pnt.hxx>
#include <gp_Lin.hxx>
#include <GCE2d_MakeSegment.hxx>
#include <Geom2d_Line.hxx>
#include <Geom_Circle.hxx>
#include <Geom_Line.hxx>
#include <Geom_Plane.hxx>
#include <Geom_BSplineSurface.hxx>
#include <Geom_ConicalSurface.hxx>
#include <Geom_CylindricalSurface.hxx>
#include <Geom_OffsetSurface.hxx>
#include <GeomAPI_PointsToBSplineSurface.hxx>
#include <Handle_Geom_Circle.hxx>
#include <Handle_Geom_Plane.hxx>
#include <Handle_Geom2d_TrimmedCurve.hxx>
#include <ShapeUpgrade_ShellSewing.hxx>
#include <Standard_ConstructionError.hxx>
#include <Standard_DomainError.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Wire.hxx>
#include <TopoDS_Shell.hxx>
#include <TopoDS_Solid.hxx>
#include <TopoDS_Compound.hxx>
#include <TopExp_Explorer.hxx>
#include <TColgp_HArray2OfPnt.hxx>
#include <TColStd_Array1OfReal.hxx>
#include <TColStd_Array1OfInteger.hxx>
#include <Precision.hxx>
#include <BRepOffsetAPI_ThruSections.hxx>
#include <BSplCLib.hxx>
#include <GeomFill_AppSurf.hxx>
#include <GeomFill_Line.hxx>
#include <GeomFill_Pipe.hxx>
#include <GeomFill_SectionGenerator.hxx>
#include <NCollection_List.hxx>
#include <BRepFill_Filling.hxx>
#include <Base/Console.h>
#include <Base/PyObjectBase.h>
#include <Base/Interpreter.h>
#include <Base/Exception.h>
#include <Base/FileInfo.h>
#include <Base/GeometryPyCXX.h>
#include <Base/VectorPy.h>
#include <App/Application.h>
#include <App/Document.h>
#include <App/DocumentObjectPy.h>
#include "TopoShape.h"
#include "TopoShapePy.h"
#include "TopoShapeEdgePy.h"
#include "TopoShapeWirePy.h"
#include "TopoShapeFacePy.h"
#include "TopoShapeCompoundPy.h"
#include "TopoShapeCompSolidPy.h"
#include "TopoShapeSolidPy.h"
#include "TopoShapeShellPy.h"
#include "TopoShapeVertexPy.h"
#include "GeometryPy.h"
#include "GeometryCurvePy.h"
#include "BSplineSurfacePy.h"
#include "FeaturePartBox.h"
#include "FeaturePartCut.h"
#include "FeaturePartImportStep.h"
#include "FeaturePartImportIges.h"
#include "FeaturePartImportBrep.h"
#include "ImportIges.h"
#include "ImportStep.h"
#include "edgecluster.h"

Go to the source code of this file.

Classes

struct  Part::EdgePoints

Namespaces

namespace  Part

Defines

#define M_PI_2   1.57079632679489661923

Functions

const char * BRepBuilderAPI_FaceErrorText (BRepBuilderAPI_FaceError fe)
static PyObjectcast_to_shape (PyObject *self, PyObject *args)
static PyObjectexporter (PyObject *self, PyObject *args)
static PyObjectfromPythonOCC (PyObject *self, PyObject *args)
static PyObjectgetSortedClusters (PyObject *self, PyObject *args)
static PyObjectinsert (PyObject *self, PyObject *args)
static PyObjectmakeBox (PyObject *self, PyObject *args)
static PyObjectmakeCircle (PyObject *self, PyObject *args)
static PyObjectmakeCompound (PyObject *self, PyObject *args)
static PyObjectmakeCone (PyObject *self, PyObject *args)
static PyObjectmakeCylinder (PyObject *self, PyObject *args)
static PyObjectmakeFilledFace (PyObject *self, PyObject *args)
static PyObjectmakeHelix (PyObject *self, PyObject *args)
static PyObjectmakeLine (PyObject *self, PyObject *args)
static PyObjectmakeLoft (PyObject *self, PyObject *args)
static PyObjectmakePlane (PyObject *self, PyObject *args)
static PyObjectmakePolygon (PyObject *self, PyObject *args)
static PyObjectmakeRevolution (PyObject *self, PyObject *args)
static PyObjectmakeRuledSurface (PyObject *self, PyObject *args)
static PyObjectmakeShell (PyObject *self, PyObject *args)
static PyObjectmakeSolid (PyObject *self, PyObject *args)
static PyObjectmakeSphere (PyObject *self, PyObject *args)
static PyObjectmakeSweepSurface (PyObject *self, PyObject *args)
static PyObjectmakeTorus (PyObject *self, PyObject *args)
static PyObjectmakeTube (PyObject *self, PyObject *args)
static PyObjectmakeWedge (PyObject *self, PyObject *args)
static PyObjectopen (PyObject *self, PyObject *args)
static PyObjectread (PyObject *self, PyObject *args)
static PyObjectshow (PyObject *self, PyObject *args)
static std::list< TopoDS_Edge > Part::sort_Edges (double tol3d, const std::vector< TopoDS_Edge > &edges)
static PyObjectsortEdges (PyObject *self, PyObject *args)
static PyObjecttoPythonOCC (PyObject *self, PyObject *args)

Variables

struct PyMethodDef Part_methods []

Define Documentation

#define M_PI_2   1.57079632679489661923

Function Documentation

const char* BRepBuilderAPI_FaceErrorText ( BRepBuilderAPI_FaceError  fe  ) 

Definition at line 158 of file TopoShape.cpp.

static PyObject* cast_to_shape ( PyObject self,
PyObject args 
) [static]

Definition at line 1331 of file AppPartPy.cpp.

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

static PyObject* exporter ( PyObject self,
PyObject args 
) [static]
static PyObject* fromPythonOCC ( PyObject self,
PyObject args 
) [static]
static PyObject* getSortedClusters ( PyObject self,
PyObject args 
) [static]
static PyObject* insert ( PyObject self,
PyObject args 
) [static]
static PyObject* makeBox ( PyObject self,
PyObject args 
) [static]
static PyObject* makeCircle ( PyObject self,
PyObject args 
) [static]
static PyObject* makeCompound ( PyObject self,
PyObject args 
) [static]
static PyObject* makeCone ( PyObject self,
PyObject args 
) [static]
static PyObject* makeCylinder ( PyObject self,
PyObject args 
) [static]
static PyObject* makeFilledFace ( PyObject self,
PyObject args 
) [static]
static PyObject* makeHelix ( PyObject self,
PyObject args 
) [static]

Definition at line 756 of file AppPartPy.cpp.

References draftlibs::fcvec::angle(), and Part::TopoShape::makeHelix().

static PyObject* makeLine ( PyObject self,
PyObject args 
) [static]
static PyObject* makeLoft ( PyObject self,
PyObject args 
) [static]
static PyObject* makePlane ( PyObject self,
PyObject args 
) [static]
static PyObject* makePolygon ( PyObject self,
PyObject args 
) [static]
static PyObject* makeRevolution ( PyObject self,
PyObject args 
) [static]
static PyObject* makeRuledSurface ( PyObject self,
PyObject args 
) [static]

Definition at line 969 of file AppPartPy.cpp.

References Mesh2Shape::shell.

static PyObject* makeShell ( PyObject self,
PyObject args 
) [static]
static PyObject* makeSolid ( PyObject self,
PyObject args 
) [static]

Definition at line 428 of file AppPartPy.cpp.

References RobotExampleTrajectoryOutOfShapes::count.

static PyObject* makeSphere ( PyObject self,
PyObject args 
) [static]
static PyObject* makeSweepSurface ( PyObject self,
PyObject args 
) [static]

Definition at line 1000 of file AppPartPy.cpp.

References Part::TopoShape::makeSweep(), and Draft::tolerance().

static PyObject* makeTorus ( PyObject self,
PyObject args 
) [static]
static PyObject* makeTube ( PyObject self,
PyObject args 
) [static]

Definition at line 1027 of file AppPartPy.cpp.

References Part::TopoShape::makeTube(), and Draft::tolerance().

static PyObject* makeWedge ( PyObject self,
PyObject args 
) [static]
static PyObject* open ( PyObject self,
PyObject args 
) [static]
static PyObject* read ( PyObject self,
PyObject args 
) [static]

Definition at line 281 of file AppPartPy.cpp.

References PY_CATCH, PY_TRY, and Part::TopoShape::read().

static PyObject* show ( PyObject self,
PyObject args 
) [static]
static PyObject* sortEdges ( PyObject self,
PyObject args 
) [static]
static PyObject* toPythonOCC ( PyObject self,
PyObject args 
) [static]

Definition at line 1128 of file AppPartPy.cpp.

References Base::Interpreter(), and Base::Exception::what().


Variable Documentation

struct PyMethodDef Part_methods[]

Definition at line 1372 of file AppPartPy.cpp.

Referenced by initPart().


Generated on Wed Nov 23 19:01:13 2011 for FreeCAD by  doxygen 1.6.1