#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.
#define M_PI_2 1.57079632679489661923 |
Definition at line 131 of file AppPartPy.cpp.
Referenced by SketcherGui::ViewProviderSketch::draw(), and SketcherGui::DrawSketchHandler::seekAutoConstraint().
const char* BRepBuilderAPI_FaceErrorText | ( | BRepBuilderAPI_FaceError | fe | ) |
Definition at line 158 of file TopoShape.cpp.
Definition at line 1331 of file AppPartPy.cpp.
References Part::TopoShape::_Shape, Py::type(), and Part::TopoShapePy::Type.
Definition at line 244 of file AppPartPy.cpp.
References Py::SeqBase< T >::begin(), Base::Console(), Py::SeqBase< T >::end(), draftlibs::dxfReader::filename, Part::Feature::getClassTypeId(), App::PropertyContainer::getTypeId(), Part::PropertyPartShape::getValue(), Base::Type::isDerivedFrom(), App::DocumentObject::Label, PY_CATCH, Py_Return, PY_TRY, Part::Feature::Shape, App::DocumentObjectPy::Type, and Part::TopoShape::write().
Definition at line 1147 of file AppPartPy.cpp.
References Part::TopoShape::_Shape, Base::Interpreter(), and Base::Exception::what().
Definition at line 1250 of file AppPartPy.cpp.
References Py::List::append(), Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), Part::Edgecluster::GetClusters(), Py::new_reference_to(), and Part::TopoShapePy::Type.
Definition at line 189 of file AppPartPy.cpp.
References App::Document::addObject(), Base::FileInfo::extension(), DrawingExample::file, Part::ImportStep::FileName, Base::FileInfo::fileNamePure(), App::GetApplication(), App::Application::getDocument(), Base::FileInfo::hasExtension(), Part::ImportIgesParts(), Part::ImportStepParts(), App::Application::newDocument(), PY_CATCH, Py_Error, Py_Return, PY_TRY, Part::TopoShape::read(), App::Document::recompute(), App::PropertyString::setValue(), and Base::Exception::what().
Definition at line 496 of file AppPartPy.cpp.
References draftTools::p, Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 595 of file AppPartPy.cpp.
References M_PI, Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 316 of file AppPartPy.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), PY_CATCH, PY_TRY, and Part::TopoShapePy::Type.
Definition at line 694 of file AppPartPy.cpp.
References draftlibs::fcvec::angle(), M_PI, draftTools::p, Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 663 of file AppPartPy.cpp.
References draftlibs::fcvec::angle(), M_PI, draftTools::p, Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 348 of file AppPartPy.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), PY_CATCH, PY_TRY, and Part::TopoShapeEdgePy::Type.
Definition at line 756 of file AppPartPy.cpp.
References draftlibs::fcvec::angle(), and Part::TopoShape::makeHelix().
Definition at line 774 of file AppPartPy.cpp.
References draftlibs::dxfReader::error(), Base::VectorPy::Type, Py::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 1049 of file AppPartPy.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), Part::TopoShape::makeLoft(), Part::TopoShapePy::Type, and Part::GeometryCurvePy::Type.
Definition at line 457 of file AppPartPy.cpp.
References draftTools::p, Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 850 of file AppPartPy.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), PY_CATCH, PY_TRY, Base::VectorPy::Type, Py::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 889 of file AppPartPy.cpp.
References draftlibs::fcvec::angle(), Part::GeometryPy::getGeometryPtr(), Part::Geometry::handle(), M_PI, draftTools::p, Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 969 of file AppPartPy.cpp.
References Mesh2Shape::shell.
Definition at line 387 of file AppPartPy.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), PY_CATCH, PY_TRY, Mesh2Shape::shell, and Part::TopoShapeFacePy::Type.
Definition at line 428 of file AppPartPy.cpp.
References RobotExampleTrajectoryOutOfShapes::count.
Definition at line 632 of file AppPartPy.cpp.
References M_PI, draftTools::p, Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 1000 of file AppPartPy.cpp.
References Part::TopoShape::makeSweep(), and Draft::tolerance().
Definition at line 725 of file AppPartPy.cpp.
References draftlibs::fcvec::angle(), M_PI, draftTools::p, Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 1027 of file AppPartPy.cpp.
References Part::TopoShape::makeTube(), and Draft::tolerance().
Definition at line 539 of file AppPartPy.cpp.
References draftTools::p, Base::VectorPy::Type, Py::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Definition at line 135 of file AppPartPy.cpp.
References App::Document::addObject(), Base::FileInfo::extension(), DrawingExample::file, Part::ImportStep::FileName, Base::FileInfo::fileNamePure(), App::GetApplication(), Base::FileInfo::hasExtension(), Part::ImportIgesParts(), Part::ImportStepParts(), App::Application::newDocument(), PY_CATCH, Py_Error, Py_Return, PY_TRY, Part::TopoShape::read(), App::Document::recompute(), App::PropertyString::setValue(), and Base::Exception::what().
Definition at line 281 of file AppPartPy.cpp.
References PY_CATCH, PY_TRY, and Part::TopoShape::read().
Definition at line 294 of file AppPartPy.cpp.
References Part::TopoShape::_Shape, App::Document::addObject(), App::Application::getActiveDocument(), App::GetApplication(), Part::TopoShapePy::getTopoShapePtr(), App::Application::newDocument(), PY_CATCH, Py_Return, PY_TRY, App::Document::recompute(), Part::PropertyPartShape::setValue(), and Part::Feature::Shape.
Definition at line 1293 of file AppPartPy.cpp.
References Py::List::append(), Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), Py::new_reference_to(), Part::sort_Edges(), and Part::TopoShapePy::Type.
Definition at line 1128 of file AppPartPy.cpp.
References Base::Interpreter(), and Base::Exception::what().
struct PyMethodDef Part_methods[] |
Definition at line 1372 of file AppPartPy.cpp.
Referenced by initPart().