AttachExtensionh, .cpp contain a extension class to derive other features from, to make them attachable. More...
Classes | |
class | ArcOfCircle2dPy |
The python export class for Geom2dArcOfCircle. More... | |
class | ArcOfCirclePy |
The python export class for GeomArcOfCircle. More... | |
class | ArcOfConic2dPy |
The python export class for Geom2dArcOfConic. More... | |
class | ArcOfConicPy |
The python export class for GeomArcOfConic. More... | |
class | ArcOfEllipse2dPy |
The python export class for Geom2dArcOfEllipse. More... | |
class | ArcOfEllipsePy |
The python export class for GeomArcOfEllipse. More... | |
class | ArcOfHyperbola2dPy |
The python export class for Geom2dArcOfHyperbola. More... | |
class | ArcOfHyperbolaPy |
The python export class for GeomArcOfHyperbola. More... | |
class | ArcOfParabola2dPy |
The python export class for Geom2dArcOfParabola. More... | |
class | ArcOfParabolaPy |
The python export class for GeomArcOfParabola. More... | |
class | ArcPy |
The python export class for GeomTrimmedCurve. More... | |
class | AttachEngineException |
class | AttachExtension |
The AttachableObject class is the thing to extend an object with that should be attachable. More... | |
class | AttachExtensionPy |
The python export class for AttachExtension. More... | |
class | BezierCurve2dPy |
The python export class for Geom2dBezierCurve. More... | |
class | BezierCurvePy |
The python export class for GeomBezierCurve. More... | |
class | BezierSurfacePy |
The python export class for GeomBezierSurface. More... | |
class | BodyBase |
Base class of all body objects in FreeCAD A body is used, e.g. More... | |
class | BodyBasePy |
The python export class for BodyBase. More... | |
class | Boolean |
class | BooleanException |
class | BoundedCurvePy |
The python export class for GeomBoundedCurve. More... | |
class | Box |
class | BRepBuilderAPI_RefineModel |
class | BRepOffsetAPI_MakeOffsetFix |
The BRepOffsetAPI_MakeOffsetFix class This class works around a limitation of the BRepOffsetAPI_MakeOffset which returns unexpected results when an input wire has set a placement and consists of a single edge only. More... | |
class | BRepOffsetAPI_MakePipeShellPy |
The python export class for BRepOffsetAPI_MakePipeShell. More... | |
class | BSplineCurve2dPy |
The python export class for Geom2dBSplineCurve. More... | |
class | BSplineCurvePy |
The python export class for GeomBSplineCurve. More... | |
class | BSplineSurfacePy |
The python export class for GeomBSplineSurface. More... | |
class | Chamfer |
class | Circle |
class | Circle2dPy |
The python export class for Geom2dCircle. More... | |
class | CirclePy |
The python export class for GeomCircle. More... | |
class | Common |
class | Compound |
class | Compound2 |
Same as Part::Compound, except it marks the Shape as transient, and rebuild it during restore. More... | |
class | Cone |
class | ConePy |
The python export class for GeomCone. More... | |
class | Conic2dPy |
The python export class for Geom2dConic. More... | |
class | ConicPy |
The python export class for GeomConic. More... | |
class | CrossSection |
class | Curve2dPy |
The python export class for Geom2dCurve. More... | |
class | CurveNet |
class | CustomFeature |
Base class of all custom feature classes which are almost used as base for python feature classes. More... | |
class | Cut |
struct | cutFaces |
Find all faces cut by a line through the centre of gravity of a given face Useful for the "up to face" options to pocket or pad. More... | |
class | Cylinder |
class | CylinderPy |
The python export class for GeomCylinder. More... | |
class | Datum |
class | Edgecluster |
struct | EdgePoints |
struct | Edgesort_gp_Pnt_Less |
class | Ellipse |
class | Ellipse2dPy |
The python export class for Geom2dEllipse. More... | |
class | EllipsePy |
The python export class for GeomEllipse. More... | |
class | Ellipsoid |
class | Extrusion |
class | Face |
class | FaceMaker |
FaceMaker class is the base class for implementing various "smart" face making routines. More... | |
class | FaceMakerBullseye |
The FaceMakerBullseye class is a tool to make planar faces with holes, where there can be additional faces inside holes and they can have holes too and so on. More... | |
class | FaceMakerCheese |
The FaceMakerCheese class is a legacy face maker that was extracted from Part Extrude. More... | |
class | FaceMakerExtrusion |
FaceMakerExtrusion provides legacy compounding-structure-ignorant behavior of facemaker of Part Extrude. More... | |
class | FaceMakerPublic |
The FaceMakerPublic class: derive from it if you want the face maker to be listed in tools that allow choosing one. More... | |
class | FaceMakerSimple |
The FaceMakerSimple class: make plane faces from all closed wires supplied, ignoring overlaps. More... | |
class | Feature |
Base class of all shape feature classes in FreeCAD. More... | |
class | FeatureExt |
Base class of all shape feature classes in FreeCAD. More... | |
class | FeatureGeometrySet |
class | FeatureReference |
Base class of all shape feature classes in FreeCAD. More... | |
class | Fillet |
class | FilletBase |
struct | FilletElement |
A property class to store hash codes and two radii for the fillet algorithm. More... | |
class | Fuse |
class | Geom2dArcOfCircle |
class | Geom2dArcOfConic |
class | Geom2dArcOfEllipse |
class | Geom2dArcOfHyperbola |
class | Geom2dArcOfParabola |
class | Geom2dBezierCurve |
class | Geom2dBSplineCurve |
class | Geom2dCircle |
class | Geom2dConic |
class | Geom2dCurve |
class | Geom2dEllipse |
class | Geom2dHyperbola |
class | Geom2dLine |
class | Geom2dLineSegment |
class | Geom2dOffsetCurve |
class | Geom2dParabola |
class | Geom2dPoint |
class | Geom2dTrimmedCurve |
class | GeomArcOfCircle |
class | GeomArcOfConic |
class | GeomArcOfEllipse |
class | GeomArcOfHyperbola |
class | GeomArcOfParabola |
class | GeomBezierCurve |
class | GeomBezierSurface |
class | GeomBoundedCurve |
class | GeomBSplineCurve |
class | GeomBSplineSurface |
class | GeomCircle |
class | GeomCone |
class | GeomConic |
class | GeomCurve |
class | GeomCylinder |
class | GeomEllipse |
class | Geometry |
class | Geometry2d |
class | Geometry2dPy |
The python export class for Geometry2d. More... | |
class | GeometryBoolExtensionPy |
The python export class for GeometryBoolExtension. More... | |
class | GeometryCurvePy |
The python export class for GeomCurve. More... | |
class | GeometryDefaultExtension |
class | GeometryDoubleExtensionPy |
The python export class for GeometryDoubleExtension. More... | |
class | GeometryExtension |
class | GeometryExtensionPy |
The python export class for GeometryExtension. More... | |
class | GeometryIntExtensionPy |
The python export class for GeometryIntExtension. More... | |
class | GeometryPy |
The python export class for Geometry. More... | |
class | GeometryStringExtensionPy |
The python export class for GeometryStringExtension. More... | |
class | GeometrySurfacePy |
The python export class for GeomSurface. More... | |
class | GeomHyperbola |
class | GeomLine |
class | GeomLineSegment |
class | GeomOffsetCurve |
class | GeomOffsetSurface |
class | GeomParabola |
class | GeomPlane |
class | GeomPlateSurface |
class | GeomPoint |
class | GeomSphere |
class | GeomSurface |
class | GeomSurfaceOfExtrusion |
class | GeomSurfaceOfRevolution |
class | GeomToroid |
class | GeomTrimmedCurve |
class | GeomTrimmedSurface |
class | Helix |
class | Hyperbola2dPy |
The python export class for Geom2dHyperbola. More... | |
class | HyperbolaPy |
The python export class for GeomHyperbola. More... | |
class | ImportBrep |
class | ImportIges |
class | ImportStep |
class | Line |
class | Line2dPy |
The python export class for Geom2dLine. More... | |
class | Line2dSegmentPy |
The python export class for Geom2dLineSegment. More... | |
class | LinePy |
The python export class for GeomLine. More... | |
class | LinePyOld |
class | LineSegmentPy |
The python export class for GeomLineSegment. More... | |
class | Loft |
struct | MeshVertex |
class | Mirroring |
class | Module |
class | MultiCommon |
class | MultiFuse |
class | NullShapeException |
class | Offset |
class | Offset2D |
class | OffsetCurve2dPy |
The python export class for Geom2dOffsetCurve. More... | |
class | OffsetCurvePy |
The python export class for GeomOffsetCurve. More... | |
class | OffsetSurfacePy |
The python export class for GeomOffsetSurface. More... | |
class | Parabola2dPy |
The python export class for Geom2dParabola. More... | |
class | ParabolaPy |
The python export class for GeomParabola. More... | |
class | Part2DObject |
2D Shape This is a specialized version of the PartShape for use with flat (2D) geometry. More... | |
class | Part2DObjectPy |
The python export class for Part2DObject. More... | |
class | PartFeaturePy |
The python export class for Feature. More... | |
class | Plane |
class | PlanePy |
The python export class for GeomPlane. More... | |
class | PlateSurfacePy |
The python export class for GeomPlateSurface. More... | |
class | PointPy |
The python export class for GeomPoint. More... | |
class | Polygon |
class | Primitive |
class | Prism |
class | ProgressIndicator |
class | PropertyFilletEdges |
class | PropertyGeometryList |
class | PropertyPartShape |
The part shape property class. More... | |
class | PropertyShapeHistory |
class | RectangularTrimmedSurfacePy |
The python export class for GeomTrimmedSurface. More... | |
class | Refine |
class | RegularPolygon |
class | Reverse |
class | Revolution |
class | RuledSurface |
class | Section |
struct | ShapeHistory |
class | ShapeSegment |
class | Sphere |
class | SpherePy |
The python export class for GeomSphere. More... | |
class | Spiral |
class | Spline |
class | SurfaceOfExtrusionPy |
The python export class for GeomSurfaceOfExtrusion. More... | |
class | SurfaceOfRevolutionPy |
The python export class for GeomSurfaceOfRevolution. More... | |
class | Sweep |
class | TangentialArc |
class | Thickness |
class | Tools |
class | TopoShape |
The representation for a CAD Shape. More... | |
class | TopoShapeCompoundPy |
The python export class for TopoShape. More... | |
class | TopoShapeCompSolidPy |
The python export class for TopoShape. More... | |
class | TopoShapeEdgePy |
The python export class for TopoShape. More... | |
class | TopoShapeFacePy |
The python export class for TopoShape. More... | |
class | TopoShapePy |
The python export class for TopoShape. More... | |
class | TopoShapeShellPy |
The python export class for TopoShape. More... | |
class | TopoShapeSolidPy |
The python export class for TopoShape. More... | |
class | TopoShapeVertexPy |
The python export class for TopoShape. More... | |
class | TopoShapeWirePy |
The python export class for TopoShape. More... | |
class | ToroidPy |
The python export class for GeomToroid. More... | |
class | Torus |
class | TrimmedCurvePy |
The python export class for GeomTrimmedCurve. More... | |
class | Vertex |
class | Wedge |
Typedefs | |
typedef App::ExtensionPythonT< AttachExtension > | AttachExtensionPython |
typedef App::FeaturePythonT< CustomFeature > | CustomFeaturePython |
typedef App::FeaturePythonT< Feature > | FeaturePython |
using | GeometryBoolExtension = GeometryDefaultExtension< bool > |
using | GeometryDoubleExtension = GeometryDefaultExtension< double > |
using | GeometryIntExtension = GeometryDefaultExtension< long > |
using | GeometryStringExtension = GeometryDefaultExtension< std::string > |
typedef App::FeaturePythonT< Part2DObject > | Part2DObjectPython |
typedef std::vector< std::vector< TopoDS_Edge > > | tEdgeClusterVector |
typedef std::vector< TopoDS_Edge > | tEdgeVector |
typedef std::map< gp_Pnt, tEdgeVector, Edgesort_gp_Pnt_Less > | tMapPntEdge |
typedef std::pair< gp_Pnt, tEdgeVector > | tMapPntEdgePair |
Functions | |
std::vector< std::string > | buildBOPCheckResultVector () |
std::vector< PyTypeObject * > | buildShapeEnumTypeMap () |
std::vector< std::string > | buildShapeEnumVector () |
bool | checkIntersection (const TopoDS_Shape &first, const TopoDS_Shape &second, const bool quick, const bool touch_is_intersection) |
Check for intersection between the two shapes. More... | |
void | closestPointsOnLines (const gp_Lin &lin1, const gp_Lin &lin2, gp_Pnt &p1, gp_Pnt &p2) |
TopoDS_Edge | create3dCurve (const TopoDS_Edge &edge) |
GeomArcOfCircle * | createFilletGeometry (const GeomLineSegment *lineSeg1, const GeomLineSegment *lineSeg2, const Base::Vector3d ¢er, double radius) |
std::string | encodeFilename (std::string fn) |
bool | find2DLinesIntersection (const Base::Vector3d &orig1, const Base::Vector3d &dir1, const Base::Vector3d &orig2, const Base::Vector3d &dir2, Base::Vector3d &point) |
bool | find2DLinesIntersection (const GeomLineSegment *lineSeg1, const GeomLineSegment *lineSeg2, Base::Vector3d &point) |
std::vector< cutFaces > | findAllFacesCutBy (const TopoDS_Shape &shape, const TopoDS_Shape &face, const gp_Dir &dir) |
bool | findFilletCenter (const GeomLineSegment *lineSeg1, const GeomLineSegment *lineSeg2, double radius, Base::Vector3d ¢er) |
bool | findFilletCenter (const GeomLineSegment *lineSeg1, const GeomLineSegment *lineSeg2, double radius, const Base::Vector3d &refPnt1, const Base::Vector3d &refPnt2, Base::Vector3d ¢er) |
std::unique_ptr< Geom2dCurve > | getCurve2dFromGeom2d (Handle(Geom2d_Curve) curve) |
std::vector< TopoShape > | getPyShapes (PyObject *obj) |
void | getPyShapes (PyObject *obj, std::vector< TopoShape > &shapes) |
int | ImportIgesParts (App::Document *pcDoc, const char *Name) |
int | ImportStepParts (App::Document *pcDoc, const char *Name) |
The part shape property. More... | |
PyObject * | initModule () |
bool | intersect (const gp_Pln &pln1, const gp_Pln &pln2, gp_Lin &lin) |
GeomSurface * | makeFromSurface (const Handle(Geom_Surface)&s) |
const Py::Object | makeGeometryCurvePy (const Handle(Geom_Curve)&c) |
const Py::Object | makeTrimmedCurvePy (const Handle(Geom_Curve)&c, double f, double l) |
bool | ReadColors (const Handle(XSControl_WorkSession) &WS, std::map< int, Quantity_Color > &hash_col) |
bool | ReadNames (const Handle(XSControl_WorkSession) &WS) |
Py::Object | shape2pyshape (const TopoDS_Shape &shape) |
Py::Object | shape2pyshape (const TopoShape &shape) |
std::list< TopoDS_Edge > | sort_Edges (double tol3d, std::list< TopoDS_Edge > &edges) |
double | suggestFilletRadius (const GeomLineSegment *lineSeg1, const GeomLineSegment *lineSeg2, const Base::Vector3d &refPnt1, const Base::Vector3d &refPnt2) |
bool | tangentialArc (const gp_Pnt &p0, const gp_Vec &v0, const gp_Pnt &p1, gp_Pnt &c, gp_Dir &axis) |
Variables | |
const App::PropertyQuantityConstraint::Constraints | angleRangeU = {0.0,360.0,1.0} |
const App::PropertyQuantityConstraint::Constraints | angleRangeV = {-90.0,90.0,1.0} |
const App::PropertyQuantityConstraint::Constraints | apexRange = {0.0,90.0,0.1} |
PyObject * | PartExceptionOCCConstructionError |
PyObject * | PartExceptionOCCDimensionError |
PyObject * | PartExceptionOCCDomainError |
PyObject * | PartExceptionOCCError |
PyObject * | PartExceptionOCCRangeError |
const App::PropertyQuantityConstraint::Constraints | quantityRange = {0.0,FLT_MAX,0.1} |
const App::PropertyQuantityConstraint::Constraints | torusRangeV = {-180.0,180.0,1.0} |
Detailed Description
AttachExtensionh, .cpp contain a extension class to derive other features from, to make them attachable.
Typedef Documentation
◆ AttachExtensionPython
◆ CustomFeaturePython
◆ FeaturePython
◆ GeometryBoolExtension
using Part::GeometryBoolExtension = typedef GeometryDefaultExtension<bool> |
◆ GeometryDoubleExtension
using Part::GeometryDoubleExtension = typedef GeometryDefaultExtension<double> |
◆ GeometryIntExtension
using Part::GeometryIntExtension = typedef GeometryDefaultExtension<long> |
◆ GeometryStringExtension
using Part::GeometryStringExtension = typedef GeometryDefaultExtension<std::string> |
◆ Part2DObjectPython
◆ tEdgeClusterVector
typedef std::vector<std::vector<TopoDS_Edge> > Part::tEdgeClusterVector |
◆ tEdgeVector
typedef std::vector<TopoDS_Edge> Part::tEdgeVector |
◆ tMapPntEdge
typedef std::map<gp_Pnt,tEdgeVector,Edgesort_gp_Pnt_Less> Part::tMapPntEdge |
◆ tMapPntEdgePair
typedef std::pair<gp_Pnt,tEdgeVector> Part::tMapPntEdgePair |
Function Documentation
◆ buildBOPCheckResultVector()
std::vector<std::string> Part::buildBOPCheckResultVector | ( | ) |
Referenced by Part::TopoShape::analyze().
◆ buildShapeEnumTypeMap()
std::vector<PyTypeObject*> Part::buildShapeEnumTypeMap | ( | ) |
References Part::TopoShapeCompoundPy::Type, Part::TopoShapePy::Type, Part::TopoShapeVertexPy::Type, Part::TopoShapeEdgePy::Type, Part::TopoShapeWirePy::Type, Part::TopoShapeFacePy::Type, Part::TopoShapeShellPy::Type, Part::TopoShapeSolidPy::Type, and Part::TopoShapeCompSolidPy::Type.
Referenced by Part::TopoShapePy::ancestorsOfType().
◆ buildShapeEnumVector()
std::vector<std::string> Part::buildShapeEnumVector | ( | ) |
Referenced by Part::TopoShape::analyze().
◆ checkIntersection()
bool Part::checkIntersection | ( | const TopoDS_Shape & | first, |
const TopoDS_Shape & | second, | ||
const bool | quick, | ||
const bool | touch_is_intersection | ||
) |
Check for intersection between the two shapes.
Only solids are guaranteed to work properly There are two modes:
- Bounding box check only - quick but inaccurate
- Bounding box check plus (if necessary) boolean operation - costly but accurate Return true if the shapes intersect, false if they don't The flag touch_is_intersection decides whether shapes touching at distance zero are regarded as intersecting or not
- If set to true, a true check result means that a boolean fuse operation between the two shapes will return a single solid
- If set to false, a true check result means that a boolean common operation will return a valid solid If there is any error in the boolean operations, the check always returns false
Referenced by PartDesign::Transformed::execute().
◆ closestPointsOnLines()
void Part::closestPointsOnLines | ( | const gp_Lin & | lin1, |
const gp_Lin & | lin2, | ||
gp_Pnt & | p1, | ||
gp_Pnt & | p2 | ||
) |
Referenced by tangentialArc().
◆ create3dCurve()
TopoDS_Edge Part::create3dCurve | ( | const TopoDS_Edge & | edge | ) |
Referenced by Part::Curve2dPy::toShape().
◆ createFilletGeometry()
GeomArcOfCircle * Part::createFilletGeometry | ( | const GeomLineSegment * | lineSeg1, |
const GeomLineSegment * | lineSeg2, | ||
const Base::Vector3d & | center, | ||
double | radius | ||
) |
◆ encodeFilename()
std::string Part::encodeFilename | ( | std::string | fn | ) |
◆ find2DLinesIntersection() [1/2]
bool Part::find2DLinesIntersection | ( | const Base::Vector3d & | orig1, |
const Base::Vector3d & | dir1, | ||
const Base::Vector3d & | orig2, | ||
const Base::Vector3d & | dir2, | ||
Base::Vector3d & | point | ||
) |
References Base::Vector3< _Precision >::x, and Base::Vector3< _Precision >::y.
Referenced by createFilletGeometry(), find2DLinesIntersection(), findFilletCenter(), and suggestFilletRadius().
◆ find2DLinesIntersection() [2/2]
bool Part::find2DLinesIntersection | ( | const GeomLineSegment * | lineSeg1, |
const GeomLineSegment * | lineSeg2, | ||
Base::Vector3d & | point | ||
) |
◆ findAllFacesCutBy()
std::vector< Part::cutFaces > Part::findAllFacesCutBy | ( | const TopoDS_Shape & | shape, |
const TopoDS_Shape & | face, | ||
const gp_Dir & | dir | ||
) |
References Part::cutFaces::distsq, and Part::cutFaces::face.
Referenced by PartDesign::ProfileBased::getUpToFace().
◆ findFilletCenter() [1/2]
bool Part::findFilletCenter | ( | const GeomLineSegment * | lineSeg1, |
const GeomLineSegment * | lineSeg2, | ||
double | radius, | ||
Base::Vector3d & | center | ||
) |
References Part::GeomLineSegment::getEndPoint(), and Part::GeomLineSegment::getStartPoint().
Referenced by Sketcher::SketchObject::fillet().
◆ findFilletCenter() [2/2]
bool Part::findFilletCenter | ( | const GeomLineSegment * | lineSeg1, |
const GeomLineSegment * | lineSeg2, | ||
double | radius, | ||
const Base::Vector3d & | refPnt1, | ||
const Base::Vector3d & | refPnt2, | ||
Base::Vector3d & | center | ||
) |
◆ getCurve2dFromGeom2d()
std::unique_ptr< Geom2dCurve > Part::getCurve2dFromGeom2d | ( | Handle(Geom2d_Curve) | curve | ) |
Referenced by Part::TopoShapeFacePy::curveOnSurface(), and Part::OffsetCurve2dPy::getBasisCurve().
◆ getPyShapes() [1/2]
References getPyShapes().
◆ getPyShapes() [2/2]
References Part::GeometryPy::getGeometryPtr(), Part::TopoShapePy::getTopoShapePtr(), Part::Geometry::toShape(), Part::TopoShapePy::Type, and Part::GeometryPy::Type.
Referenced by getPyShapes(), and Part::TopoShapePy::PyInit().
◆ ImportIgesParts()
int Part::ImportIgesParts | ( | App::Document * | pcDoc, |
const char * | Name | ||
) |
◆ ImportStepParts()
int Part::ImportStepParts | ( | App::Document * | pcDoc, |
const char * | Name | ||
) |
The part shape property.
References App::Document::addObject(), Base::Console(), encodeFilename(), Base::FileInfo::exists(), Base::FileInfo::fileNamePure(), Part::Feature::getPyObject(), Base::ConsoleSingleton::Log(), Part::PropertyPartShape::setValue(), and Part::Feature::Shape.
◆ initModule()
PyObject * Part::initModule | ( | ) |
◆ intersect()
bool Part::intersect | ( | const gp_Pln & | pln1, |
const gp_Pln & | pln2, | ||
gp_Lin & | lin | ||
) |
Referenced by tangentialArc().
◆ makeFromSurface()
GeomSurface * Part::makeFromSurface | ( | const Handle(Geom_Surface)& | s | ) |
Referenced by Part::OffsetSurfacePy::getBasisSurface().
◆ makeGeometryCurvePy()
const Py::Object Part::makeGeometryCurvePy | ( | const Handle(Geom_Curve)& | c | ) |
◆ makeTrimmedCurvePy()
const Py::Object Part::makeTrimmedCurvePy | ( | const Handle(Geom_Curve)& | c, |
double | f, | ||
double | l | ||
) |
Referenced by Part::GeometryCurvePy::trim().
◆ ReadColors()
bool Part::ReadColors | ( | const Handle(XSControl_WorkSession) & | WS, |
std::map< int, Quantity_Color > & | hash_col | ||
) |
◆ ReadNames()
bool Part::ReadNames | ( | const Handle(XSControl_WorkSession) & | WS | ) |
References Base::Console(), and Base::ConsoleSingleton::Message().
◆ shape2pyshape() [1/2]
Py::Object Part::shape2pyshape | ( | const TopoDS_Shape & | shape | ) |
Referenced by Part::TopoShapePy::ancestorsOfType(), Part::TopoShapePy::generalFuse(), Part::TopoShapePy::getCustomAttributes(), Part::TopoShapeWirePy::getOrderedEdges(), Part::TopoShapeWirePy::getOrderedVertexes(), Part::TopoShape::getPySubShape(), Path::AreaPy::getSections(), Path::AreaPy::getShape(), Path::AreaPy::getShapes(), Part::Feature::getSubObject(), PartDesign::CoordinateSystem::getSubObject(), Part::Datum::getSubObject(), Path::FeatureAreaPy::getWorkPlane(), Path::AreaPy::getWorkplane(), Part::TopoShapePy::inTolerance(), Path::AreaPy::makeOffset(), Part::TopoShapePy::makeOffset2D(), Path::AreaPy::makePocket(), Part::TopoShapePy::overTolerance(), and Part::Curve2dPy::toShape().
◆ shape2pyshape() [2/2]
Py::Object Part::shape2pyshape | ( | const TopoShape & | shape | ) |
◆ sort_Edges()
std::list<TopoDS_Edge> Part::sort_Edges | ( | double | tol3d, |
std::list< TopoDS_Edge > & | edges | ||
) |
References Part::EdgePoints::edge, Part::EdgePoints::it, Part::EdgePoints::v1, and Part::EdgePoints::v2.
◆ suggestFilletRadius()
double Part::suggestFilletRadius | ( | const GeomLineSegment * | lineSeg1, |
const GeomLineSegment * | lineSeg2, | ||
const Base::Vector3d & | refPnt1, | ||
const Base::Vector3d & | refPnt2 | ||
) |
References find2DLinesIntersection(), Part::GeomLineSegment::getEndPoint(), Part::GeomLineSegment::getStartPoint(), Base::Vector3< _Precision >::Normalize(), Base::Vector3< _Precision >::ProjectToLine(), Base::Vector3< _Precision >::x, and Base::Vector3< _Precision >::y.
Referenced by DrawSketchHandlerFillet::releaseButton().
◆ tangentialArc()
bool Part::tangentialArc | ( | const gp_Pnt & | p0, |
const gp_Vec & | v0, | ||
const gp_Pnt & | p1, | ||
gp_Pnt & | c, | ||
gp_Dir & | axis | ||
) |
References closestPointsOnLines(), and intersect().
Referenced by Part::TangentialArc::TangentialArc().
Variable Documentation
◆ angleRangeU
const App::PropertyQuantityConstraint::Constraints Part::angleRangeU = {0.0,360.0,1.0} |
◆ angleRangeV
const App::PropertyQuantityConstraint::Constraints Part::angleRangeV = {-90.0,90.0,1.0} |
Referenced by Part::Ellipsoid::Ellipsoid(), and Part::Sphere::Sphere().
◆ apexRange
const App::PropertyQuantityConstraint::Constraints Part::apexRange = {0.0,90.0,0.1} |
Referenced by Part::Helix::Helix().
◆ PartExceptionOCCConstructionError
PyObject * Part::PartExceptionOCCConstructionError |
◆ PartExceptionOCCDimensionError
PyObject * Part::PartExceptionOCCDimensionError |
◆ PartExceptionOCCDomainError
PyObject * Part::PartExceptionOCCDomainError |
◆ PartExceptionOCCError
PyObject * Part::PartExceptionOCCError |
Referenced by Part::TopoShapeCompoundPy::add(), Part::TopoShapeCompSolidPy::add(), Part::TopoShapeShellPy::add(), Part::TopoShapeWirePy::add(), Part::BRepOffsetAPI_MakePipeShellPy::add(), Part::TopoShapePy::ancestorsOfType(), Part::TopoShapeWirePy::approximate(), Part::BSplineCurve2dPy::approximate(), Part::BSplineCurvePy::approximate(), Part::BSplineSurfacePy::approximate(), Part::Curve2dPy::approximateBSpline(), Part::GeometryCurvePy::approximateBSpline(), Part::BRepOffsetAPI_MakePipeShellPy::build(), Part::BSplineCurve2dPy::buildFromPoles(), Part::BSplineCurvePy::buildFromPoles(), Part::BSplineCurve2dPy::buildFromPolesMultsKnots(), Part::BSplineCurvePy::buildFromPolesMultsKnots(), Part::BSplineSurfacePy::buildFromPolesMultsKnots(), Part::Curve2dPy::centerOfCurvature(), Part::GeometryCurvePy::centerOfCurvature(), Part::TopoShapeEdgePy::centerOfCurvatureAt(), Part::AttachExtensionPy::changeAttacherType(), Part::TopoShapePy::childShapes(), Part::TopoShapePy::common(), Part::ParabolaPy::compute(), Part::TopoShapeCompoundPy::connectEdgesToWires(), Part::GeometrySurfacePy::curvature(), Part::Curve2dPy::curvature(), Part::GeometryCurvePy::curvature(), Part::TopoShapeFacePy::curvatureAt(), Part::TopoShapeEdgePy::curvatureAt(), Part::GeometrySurfacePy::curvatureDirections(), Part::TopoShapeFacePy::curveOnSurface(), Part::TopoShapePy::cut(), Part::TopoShapeFacePy::cutHoles(), Part::TopoShapePy::defeaturing(), Part::GeometryPy::deleteExtensionOfName(), Part::GeometryPy::deleteExtensionOfType(), Part::TopoShapeFacePy::derivative1At(), Part::TopoShapeEdgePy::derivative1At(), Part::TopoShapeFacePy::derivative2At(), Part::TopoShapeEdgePy::derivative2At(), Part::TopoShapeEdgePy::derivative3At(), Part::GeometryCurvePy::discretize(), Part::Curve2dPy::discretize(), Part::TopoShapeWirePy::discretize(), Part::TopoShapeEdgePy::discretize(), Part::TopoShapePy::dumpToString(), Part::BezierSurfacePy::exchangeUV(), Part::TopoShapePy::exportBinary(), Part::TopoShapePy::exportBrep(), Part::TopoShapePy::exportBrepToString(), Part::TopoShapePy::exportIges(), Part::TopoShapePy::exportStep(), Part::TopoShapePy::exportStl(), Part::TopoShapePy::extrude(), Part::BRepOffsetAPI_MakePipeShellPy::firstShape(), Part::TopoShapePy::fixTolerance(), Part::TopoShapeWirePy::fixWire(), Part::TopoShapePy::fuse(), Part::TopoShapePy::generalFuse(), Part::BRepOffsetAPI_MakePipeShellPy::generated(), Part::AttachExtensionPy::getAttacher(), Part::TopoShapePy::getElement(), Part::GeometryPy::getExtensionOfName(), Part::GeometryPy::getExtensionOfType(), Part::GeometryPy::getExtensions(), Part::BSplineCurvePy::getKnot(), Part::BSplineCurve2dPy::getKnots(), Part::BSplineCurvePy::getKnots(), Part::TopoShapeSolidPy::getMomentOfInertia(), Part::BSplineCurve2dPy::getMultiplicities(), Part::BSplineCurvePy::getMultiplicities(), Part::BSplineCurve2dPy::getMultiplicity(), Part::BSplineCurvePy::getMultiplicity(), Part::BezierCurve2dPy::getPole(), Part::BezierCurvePy::getPole(), Part::BSplineCurve2dPy::getPole(), Part::BSplineCurvePy::getPole(), Part::BezierSurfacePy::getPole(), Part::BSplineSurfacePy::getPole(), Part::BezierCurve2dPy::getPoles(), Part::BezierCurvePy::getPoles(), Part::BSplineCurve2dPy::getPoles(), Part::BSplineCurvePy::getPoles(), Part::BezierSurfacePy::getPoles(), Part::BSplineSurfacePy::getPoles(), Part::BSplineCurve2dPy::getPolesAndWeights(), Part::BSplineCurvePy::getPolesAndWeights(), Part::BSplineSurfacePy::getPolesAndWeights(), Part::TopoShapeSolidPy::getRadiusOfGyration(), Part::BezierCurve2dPy::getResolution(), Part::BezierCurvePy::getResolution(), Part::BSplineCurve2dPy::getResolution(), Part::BSplineCurvePy::getResolution(), Part::BezierSurfacePy::getResolution(), Part::BSplineSurfacePy::getResolution(), Part::BRepOffsetAPI_MakePipeShellPy::getStatus(), Part::TopoShapePy::getTolerance(), Part::BSplineSurfacePy::getUKnots(), Part::BSplineSurfacePy::getUMultiplicities(), Part::BSplineSurfacePy::getUMultiplicity(), Part::BSplineSurfacePy::getVKnots(), Part::BSplineSurfacePy::getVMultiplicities(), Part::BSplineSurfacePy::getVMultiplicity(), Part::BezierCurvePy::getWeight(), Part::BezierCurve2dPy::getWeight(), Part::BSplineCurve2dPy::getWeight(), Part::BSplineCurvePy::getWeight(), Part::BezierSurfacePy::getWeight(), Part::BSplineSurfacePy::getWeight(), Part::BezierCurvePy::getWeights(), Part::BezierCurve2dPy::getWeights(), Part::BSplineCurve2dPy::getWeights(), Part::BSplineCurvePy::getWeights(), Part::BezierSurfacePy::getWeights(), Part::BSplineSurfacePy::getWeights(), Part::TopoShapePy::globalTolerance(), Part::GeometryPy::hasExtensionOfName(), Part::GeometryPy::hasExtensionOfType(), Part::TopoShapePy::importBinary(), Part::TopoShapePy::importBrep(), Part::TopoShapePy::importBrepFromString(), Part::BezierSurfacePy::increase(), Part::BSplineCurve2dPy::increaseDegree(), Part::BSplineCurve2dPy::increaseMultiplicity(), Part::BSplineCurvePy::increaseMultiplicity(), Part::BSplineCurve2dPy::incrementMultiplicity(), Part::BSplineCurvePy::incrementMultiplicity(), Part::BSplineSurfacePy::incrementUMultiplicity(), Part::BSplineSurfacePy::incrementVMultiplicity(), Part::BSplineCurve2dPy::insertKnot(), Part::BSplineCurvePy::insertKnot(), Part::BSplineCurve2dPy::insertKnots(), Part::BSplineCurvePy::insertKnots(), Part::BezierCurve2dPy::insertPoleAfter(), Part::BezierCurvePy::insertPoleAfter(), Part::BezierCurve2dPy::insertPoleBefore(), Part::BezierCurvePy::insertPoleBefore(), Part::BezierSurfacePy::insertPoleColAfter(), Part::BezierSurfacePy::insertPoleColBefore(), Part::BezierSurfacePy::insertPoleRowAfter(), Part::BezierSurfacePy::insertPoleRowBefore(), Part::BSplineSurfacePy::insertUKnot(), Part::BSplineSurfacePy::insertUKnots(), Part::BSplineSurfacePy::insertVKnot(), Part::BSplineSurfacePy::insertVKnots(), Part::BSplineCurve2dPy::interpolate(), Part::BSplineCurvePy::interpolate(), Part::BSplineSurfacePy::interpolate(), Part::GeometryCurvePy::intersect2d(), Part::TopoShapePy::inTolerance(), Part::TopoShapePy::isInside(), Part::TopoShapeFacePy::isPartOfDomain(), Part::GeometrySurfacePy::isPlanar(), Part::BRepOffsetAPI_MakePipeShellPy::isReady(), Part::TopoShapeEdgePy::isSeam(), Part::GeometrySurfacePy::isUmbillic(), Part::BSplineCurvePy::join(), Part::BRepOffsetAPI_MakePipeShellPy::lastShape(), Part::GeometryCurvePy::length(), Part::Curve2dPy::length(), Part::TopoShapePy::limitTolerance(), Part::BSplineCurve2dPy::makeC1Continuous(), Part::BSplineCurvePy::makeC1Continuous(), Part::TopoShapePy::makeChamfer(), Part::TopoShapePy::makeFillet(), Part::TopoShapeShellPy::makeHalfSpace(), Part::TopoShapeFacePy::makeHalfSpace(), Part::TopoShapeWirePy::makeHomogenousWires(), Part::TopoShapeFacePy::makeOffset(), Part::TopoShapeWirePy::makeOffset(), Part::TopoShapePy::makeOffsetShape(), Part::TopoShapePy::makeParallelProjection(), Part::TopoShapePy::makePerspectiveProjection(), Part::TopoShapeWirePy::makePipe(), Part::TopoShapeWirePy::makePipeShell(), Part::GeometryCurvePy::makeRuledSurface(), Part::BRepOffsetAPI_MakePipeShellPy::makeSolid(), Part::TopoShapePy::makeThickness(), Part::Geometry2dPy::mirror(), Part::GeometryPy::mirror(), Part::TopoShapePy::mirror(), Part::BSplineCurve2dPy::movePoint(), Part::BSplineCurvePy::movePoint(), Part::BSplineSurfacePy::movePoint(), Part::TopoShapePy::multiFuse(), Part::GeometrySurfacePy::normal(), Part::Curve2dPy::normal(), Part::GeometryCurvePy::normal(), Part::TopoShapeFacePy::normalAt(), Part::TopoShapeEdgePy::normalAt(), Part::TopoShapeSolidPy::offsetFaces(), Part::TopoShapePy::oldFuse(), Part::TopoShapePy::overTolerance(), Part::Curve2dPy::parameter(), Part::GeometryCurvePy::parameter(), Part::GeometrySurfacePy::parameter(), Part::TopoShapeEdgePy::parameterAt(), Part::GeometryCurvePy::parameterAtDistance(), Part::Curve2dPy::parameterAtDistance(), Part::AttachExtensionPy::positionBySupport(), Part::TopoShapePy::project(), Part::TopoShapePy::proximity(), Part::OffsetCurvePy::PyInit(), Part::HyperbolaPy::PyInit(), Part::LinePy::PyInit(), Part::LineSegmentPy::PyInit(), Part::BSplineCurvePy::PyInit(), Part::ParabolaPy::PyInit(), Part::ArcOfParabolaPy::PyInit(), Part::PlanePy::PyInit(), Part::PlateSurfacePy::PyInit(), Part::RectangularTrimmedSurfacePy::PyInit(), Part::SurfaceOfExtrusionPy::PyInit(), Part::SurfaceOfRevolutionPy::PyInit(), Part::ConePy::PyInit(), Part::TopoShapeCompSolidPy::PyInit(), Part::CirclePy::PyInit(), Part::CylinderPy::PyInit(), Part::EllipsePy::PyInit(), Part::ArcOfCircle2dPy::PyInit(), Part::ArcOfHyperbola2dPy::PyInit(), Part::ArcOfParabola2dPy::PyInit(), Part::ArcOfEllipse2dPy::PyInit(), Part::TopoShapeSolidPy::PyInit(), Part::TopoShapeEdgePy::PyInit(), Part::ArcPy::PyInit(), Part::ArcOfEllipsePy::PyInit(), Part::TopoShapeFacePy::PyInit(), Part::TopoShapeWirePy::PyInit(), Part::OffsetSurfacePy::PyInit(), Part::Circle2dPy::PyInit(), Part::TopoShapeShellPy::PyInit(), Part::ArcOfHyperbolaPy::PyInit(), Part::Ellipse2dPy::PyInit(), Part::Hyperbola2dPy::PyInit(), Part::Line2dPy::PyInit(), Part::Line2dSegmentPy::PyInit(), Part::OffsetCurve2dPy::PyInit(), Part::TopoShapeCompoundPy::PyInit(), Part::ArcOfCirclePy::PyInit(), Part::BRepOffsetAPI_MakePipeShellPy::PyMake(), Part::TopoShapePy::reflectLines(), Part::BRepOffsetAPI_MakePipeShellPy::remove(), Part::TopoShapePy::removeInternalWires(), Part::BSplineCurve2dPy::removeKnot(), Part::BSplineCurvePy::removeKnot(), Part::BezierCurvePy::removePole(), Part::BezierCurve2dPy::removePole(), Part::BezierSurfacePy::removePoleCol(), Part::BezierSurfacePy::removePoleRow(), Part::TopoShapePy::removeShape(), Part::TopoShapePy::removeSplitter(), Part::BSplineSurfacePy::removeUKnot(), Part::BSplineSurfacePy::removeVKnot(), Part::BSplineSurfacePy::reparametrize(), Part::TopoShapePy::replaceShape(), Part::Curve2dPy::reverse(), Part::TopoShapePy::revolve(), Part::Geometry2dPy::rotate(), Part::Geometry2dPy::scale(), Part::GeometryPy::scale(), Part::TopoShapePy::scale(), Part::TopoShapePy::section(), Part::BezierCurvePy::segment(), Part::BezierCurve2dPy::segment(), Part::BSplineCurve2dPy::segment(), Part::BSplineCurvePy::segment(), Part::BezierSurfacePy::segment(), Part::BSplineSurfacePy::segment(), Part::BRepOffsetAPI_MakePipeShellPy::setAuxiliarySpine(), Part::BRepOffsetAPI_MakePipeShellPy::setBiNormalMode(), Part::GeometryPy::setExtension(), Part::BRepOffsetAPI_MakePipeShellPy::setForceApproxC1(), Part::BRepOffsetAPI_MakePipeShellPy::setFrenetMode(), Part::BSplineCurvePy::setKnot(), Part::BSplineCurve2dPy::setKnots(), Part::BSplineCurvePy::setKnots(), Part::BRepOffsetAPI_MakePipeShellPy::setMaxDegree(), Part::BRepOffsetAPI_MakePipeShellPy::setMaxSegments(), Part::BSplineCurve2dPy::setNotPeriodic(), Part::BSplineCurvePy::setNotPeriodic(), Part::BSplineCurve2dPy::setOrigin(), Part::BSplineCurvePy::setOrigin(), Part::LineSegmentPy::setParameterRange(), Part::TrimmedCurvePy::setParameterRange(), Part::Line2dSegmentPy::setParameterRange(), Part::BSplineCurve2dPy::setPeriodic(), Part::BSplineCurvePy::setPeriodic(), Part::BezierCurvePy::setPole(), Part::BezierCurve2dPy::setPole(), Part::BSplineCurve2dPy::setPole(), Part::BSplineCurvePy::setPole(), Part::BezierSurfacePy::setPole(), Part::BSplineSurfacePy::setPole(), Part::BezierSurfacePy::setPoleCol(), Part::BSplineSurfacePy::setPoleCol(), Part::BezierSurfacePy::setPoleRow(), Part::BSplineSurfacePy::setPoleRow(), Part::BezierCurve2dPy::setPoles(), Part::BezierCurvePy::setPoles(), Part::BRepOffsetAPI_MakePipeShellPy::setSpineSupport(), Part::BRepOffsetAPI_MakePipeShellPy::setTolerance(), Part::BRepOffsetAPI_MakePipeShellPy::setTransitionMode(), Part::BRepOffsetAPI_MakePipeShellPy::setTrihedronMode(), Part::BSplineSurfacePy::setUKnots(), Part::BSplineSurfacePy::setUNotPeriodic(), Part::BSplineSurfacePy::setUOrigin(), Part::BSplineSurfacePy::setUPeriodic(), Part::BSplineSurfacePy::setVKnots(), Part::BSplineSurfacePy::setVNotPeriodic(), Part::BSplineSurfacePy::setVOrigin(), Part::BSplineSurfacePy::setVPeriodic(), Part::BezierCurve2dPy::setWeight(), Part::BezierCurvePy::setWeight(), Part::BSplineCurve2dPy::setWeight(), Part::BSplineCurvePy::setWeight(), Part::BezierSurfacePy::setWeight(), Part::BSplineSurfacePy::setWeight(), Part::BezierSurfacePy::setWeightCol(), Part::BSplineSurfacePy::setWeightCol(), Part::BezierSurfacePy::setWeightRow(), Part::BSplineSurfacePy::setWeightRow(), Part::TopoShapePy::sewShape(), Part::BRepOffsetAPI_MakePipeShellPy::shape(), Part::BRepOffsetAPI_MakePipeShellPy::simulate(), Part::TopoShapePy::slice(), Part::TopoShapePy::slices(), Part::TopoShapeEdgePy::split(), Part::GeometrySurfacePy::tangent(), Part::GeometryCurvePy::tangent(), Part::Curve2dPy::tangent(), Part::TopoShapeFacePy::tangentAt(), Part::TopoShapePy::tessellate(), Part::BSplineCurvePy::toBezier(), Part::BSplineCurve2dPy::toBiArcs(), Part::BSplineCurvePy::toBiArcs(), Part::Curve2dPy::toBSpline(), Part::GeometryCurvePy::toBSpline(), Part::GeometrySurfacePy::toBSpline(), Part::GeometryCurvePy::toNurbs(), Part::TopoShapePy::toNurbs(), Part::GeometrySurfacePy::toShape(), Part::PointPy::toShape(), Part::GeometryCurvePy::toShape(), Part::Curve2dPy::toShape(), Part::TopoShapePy::transformGeometry(), Part::Geometry2dPy::translate(), Part::GeometryPy::translate(), Part::GeometryCurvePy::trim(), Part::ConePy::uIso(), Part::SurfaceOfExtrusionPy::uIso(), Part::RectangularTrimmedSurfacePy::uIso(), Part::CylinderPy::uIso(), Part::PlanePy::uIso(), Part::ToroidPy::uIso(), Part::GeometrySurfacePy::uIso(), Part::BezierSurfacePy::uIso(), Part::BSplineSurfacePy::uIso(), Part::GeometrySurfacePy::UPeriod(), Part::TopoShapeFacePy::validate(), Part::GeometrySurfacePy::value(), Part::GeometryCurvePy::value(), Part::Curve2dPy::value(), Part::ConePy::vIso(), Part::PlanePy::vIso(), Part::RectangularTrimmedSurfacePy::vIso(), Part::SurfaceOfExtrusionPy::vIso(), Part::CylinderPy::vIso(), Part::ToroidPy::vIso(), Part::GeometrySurfacePy::vIso(), Part::BezierSurfacePy::vIso(), Part::BSplineSurfacePy::vIso(), and Part::GeometrySurfacePy::VPeriod().
◆ PartExceptionOCCRangeError
PyObject * Part::PartExceptionOCCRangeError |
◆ quantityRange
const App::PropertyQuantityConstraint::Constraints Part::quantityRange = {0.0,FLT_MAX,0.1} |
◆ torusRangeV
const App::PropertyQuantityConstraint::Constraints Part::torusRangeV = {-180.0,180.0,1.0} |
Referenced by Part::Torus::Torus().