|
SHAPER
9.15.0
|
C++ API for using features concentrated in plugins. More...
Data Structures | |
| class | PythonAPI.model.dump.DumpAssistant.DumpAssistant |
| Collect information about features that may be dumped and stores the model as a Python script. More... | |
| class | BuildAPI_Compound |
| Interface for Compound feature. More... | |
| class | BuildAPI_CompSolid |
| Interface for CompSolid feature. More... | |
| class | BuildAPI_Edge |
| Interface for Edge feature. More... | |
| class | BuildAPI_Face |
| Interface for Face feature. More... | |
| class | BuildAPI_Filling |
| Interface for Filling feature. More... | |
| class | BuildAPI_Interpolation |
| Interface for Interpolation feature. More... | |
| class | BuildAPI_Polyline |
| Interface for Polyline feature. More... | |
| class | BuildAPI_Shell |
| Interface for Shell feature. More... | |
| class | BuildAPI_Solid |
| Interface for Solid feature. More... | |
| class | BuildAPI_SubShapes |
| Interface for SubShapes feature. More... | |
| class | BuildAPI_Vertex |
| Interface for Vertex feature. More... | |
| class | BuildAPI_Wire |
| Interface for Wire feature. More... | |
| class | CollectionAPI_Group |
| Interface for Group feature. More... | |
| class | CollectionAPI_GroupAddition |
| Interface for Group Addition feature. More... | |
| class | CollectionAPI_GroupIntersection |
| Interface for Group Intersection feature. More... | |
| class | CollectionAPI_GroupShape |
| Interface for Group Shape feature. More... | |
| class | CollectionAPI_GroupSubstraction |
| Interface for Group Intersection feature. More... | |
| class | ConstructionAPI_Axis |
| Interface for Axis feature. More... | |
| class | ConstructionAPI_Plane |
| Interface for Plane feature. More... | |
| class | ConstructionAPI_Point |
| Interface for Point feature. More... | |
| class | ExchangeAPI_Export |
| Interface for Export feature. More... | |
| class | ExchangeAPI_Import |
| Interface for Import feature. More... | |
| class | ExchangeAPI_Import_Image |
| Interface for Import feature. More... | |
| class | FeaturesAPI_BooleanCommon |
| Interface for Boolean Common feature. More... | |
| class | FeaturesAPI_BooleanCut |
| Interface for Boolean Cut feature. More... | |
| class | FeaturesAPI_BooleanFill |
| Interface for Boolean Fill feature. More... | |
| class | FeaturesAPI_BooleanFuse |
| Interface for Boolean Fuse feature. More... | |
| class | FeaturesAPI_BooleanSmash |
| Interface for Boolean Smash feature. More... | |
| class | FeaturesAPI_NormalToFace |
| Interface for NormalToface feature. More... | |
| class | FeaturesAPI_Chamfer |
| Interface for Chamfer feature. More... | |
| class | FeaturesAPI_Copy |
| Interface for Copy feature. More... | |
| class | FeaturesAPI_Defeaturing |
| Interface for the Defeaturing feature. More... | |
| class | FeaturesAPI_Extrusion |
| Interface for Extrusion feature. More... | |
| class | FeaturesAPI_ExtrusionBoolean |
| Interface for ExtrusionBoolean feature. More... | |
| class | FeaturesAPI_ExtrusionCut |
| Interface for ExtrusionCut feature. More... | |
| class | FeaturesAPI_ExtrusionFuse |
| Interface for ExtrusionFuse feature. More... | |
| class | FeaturesAPI_Fillet |
| Interface for Fillet feature. More... | |
| class | FeaturesAPI_Fillet1D |
| Interface for Fillet1D feature - fillet on vertices of a wire. More... | |
| class | FeaturesAPI_Fillet2D |
| Interface for Fillet feature - fillet edges on a solid. More... | |
| class | FeaturesAPI_FusionFaces |
| Interface for FusionFaces feature. More... | |
| class | FeaturesAPI_GlueFaces |
| Interface for Glue Faces feature. More... | |
| class | FeaturesAPI_ImportResult |
| Interface for ImportResult feature. More... | |
| class | FeaturesAPI_Intersection |
| Interface for Intersection feature. More... | |
| class | FeaturesAPI_LimitTolerance |
| Interface for LimitTolerance feature. More... | |
| class | FeaturesAPI_Loft |
| Interface for Loft feature. More... | |
| class | FeaturesAPI_MultiRotation |
| Interface for Translation feature. More... | |
| class | FeaturesAPI_MultiTranslation |
| Interface for Translation feature. More... | |
| class | FeaturesAPI_Offset |
| Interface for Offset feature. More... | |
| class | FeaturesAPI_Partition |
| Interface for Partition feature. More... | |
| class | FeaturesAPI_Pipe |
| Interface for Pipe feature. More... | |
| class | FeaturesAPI_Placement |
| Interface for Placement feature. More... | |
| class | FeaturesAPI_PointCloudOnFace |
| Interface for PointCloudOnFace feature. More... | |
| class | FeaturesAPI_Recover |
| Interface for Recover feature. More... | |
| class | FeaturesAPI_RemoveExtraEdges |
| Interface for RemoveExtraEdges feature. More... | |
| class | FeaturesAPI_RemoveResults |
| Interface for RemoveResults feature. More... | |
| class | FeaturesAPI_RemoveSubShapes |
| Interface for RemoveSubShapes feature. More... | |
| class | FeaturesAPI_Revolution |
| Interface for Revolution feature. More... | |
| class | FeaturesAPI_RevolutionBoolean |
| Interface for RevolutionBoolean feature. More... | |
| class | FeaturesAPI_RevolutionCut |
| Interface for RevolutionCut feature. More... | |
| class | FeaturesAPI_RevolutionFuse |
| Interface for RevolutionFuse feature. More... | |
| class | FeaturesAPI_Rotation |
| Interface for Rotation feature. More... | |
| class | FeaturesAPI_Scale |
| Interface for Scale feature. More... | |
| class | FeaturesAPI_Sewing |
| Interface for Sewing feature. More... | |
| class | FeaturesAPI_SharedFaces |
| Interface to find shared faces. More... | |
| class | FeaturesAPI_Symmetry |
| Interface for Symmetry feature. More... | |
| class | FeaturesAPI_Thickness |
| Interface for Thickness feature. More... | |
| class | FeaturesAPI_Translation |
| Interface for Translation feature. More... | |
| class | FeaturesAPI_Union |
| Interface for Union feature. More... | |
| class | FiltersAPI_Argument |
| Argument of the Filter. More... | |
| class | FiltersAPI_Feature |
| Interface for the list of filters. More... | |
| class | FiltersAPI_Filter |
| Interface for the Filter. More... | |
| class | FiltersAPI_Selection |
| Interface for the selection of filters. More... | |
| class | GDMLPlugin_ConeSegment |
| Interface for primitive ConeSegment feature. More... | |
| class | GDMLAPI_Ellipsoid |
| Interface for primitive Ellipsoid feature. More... | |
| class | ModelHighAPI_Double |
| Class for filling ModelAPI_AttributeDouble. More... | |
| class | ModelHighAPI_Dumper |
| Dump engine for the model. More... | |
| class | ModelHighAPI_Dumper::DumpStorage |
| Storage for the dumped data. More... | |
| class | ModelHighAPI_Dumper::DumpStorageGeom |
| Process selection attributes to be dumped by geometric properties. More... | |
| class | ModelHighAPI_Dumper::DumpStorageWeak |
| Process selection attributes to be dumped by weak naming. More... | |
| class | ModelHighAPI_FeatureStore |
| Allows to compare the original and the dumped/executed feature. More... | |
| class | ModelHighAPI_Folder |
| Class for filling ModelAPI_Folder. More... | |
| class | ModelHighAPI_Integer |
| Class for filling ModelAPI_AttributeInteger. More... | |
| class | ModelHighAPI_Interface |
| Base class for feature interfaces. More... | |
| class | ModelHighAPI_RefAttr |
| Class for filling ModelAPI_AttributeRefAttr. More... | |
| class | ModelHighAPI_Reference |
| Class for filling ModelAPI_AttributeReference. More... | |
| class | ModelHighAPI_Selection |
| Class for filling ModelAPI_AttributeSelection. More... | |
| class | ParametersAPI_Parameter |
| Interface for Parameter feature. More... | |
| class | PartSetAPI_Part |
| Interface for Part feature. More... | |
| class | PrimitivesAPI_Box |
| Interface for primitive Box feature. More... | |
| class | PrimitivesAPI_Cone |
| Interface for primitive Cone feature. More... | |
| class | PrimitivesAPI_Cylinder |
| Interface for primitive Cylinder feature. More... | |
| class | PrimitivesAPI_Sphere |
| Interface for primitive Sphere feature. More... | |
| class | PrimitivesAPI_Torus |
| Interface for primitive Torus feature. More... | |
| class | PrimitivesAPI_Tube |
| Interface for primitive Tube feature. More... | |
| class | SketchAPI_Arc |
| Interface for Arc feature. More... | |
| class | SketchAPI_BSpline |
| Interface for BSpline feature. More... | |
| class | SketchAPI_BSplinePeriodic |
| Interface for BSplinePeriodic feature. More... | |
| class | SketchAPI_Circle |
| Interface for Circle feature. More... | |
| class | SketchAPI_Constraint |
| Interface for Constraint feature. More... | |
| class | SketchAPI_ConstraintAngle |
| Interface for ConstraintAngle feature. More... | |
| class | SketchAPI_Ellipse |
| Interface for Ellipse feature. More... | |
| class | SketchAPI_EllipticArc |
| Interface for Elliptic Arc feature. More... | |
| class | SketchAPI_IntersectionPoint |
| Interface for IntersectionPoint feature. More... | |
| class | SketchAPI_Line |
| Interface for Line feature. More... | |
| class | SketchAPI_MacroArc |
| Interface for Arc feature. More... | |
| class | SketchAPI_MacroCircle |
| Interface for Circle feature. More... | |
| class | SketchAPI_MacroEllipse |
| Interface for Ellipse feature. More... | |
| class | SketchAPI_MacroEllipticArc |
| Interface for Elliptic Arc feature. More... | |
| class | SketchAPI_MacroMiddlePoint |
| Interface for Middle Point feature. More... | |
| class | SketchAPI_Mirror |
| Interface for Mirror feature. More... | |
| class | SketchAPI_Offset |
| Interface for Offset feature. More... | |
| class | SketchAPI_Point |
| Interface for Point feature. More... | |
| class | SketchAPI_Projection |
| Interface for Projection feature. More... | |
| class | SketchAPI_Rectangle |
| Interface for Rectangle feature. More... | |
| class | SketchAPI_Rotation |
| Interface for Rotation feature. More... | |
| class | SketchAPI_Sketch |
| Interface for Sketch feature. More... | |
| class | SketchAPI_SketchEntity |
| Base class for Sketch feature interfaces. More... | |
| class | SketchAPI_Translation |
| Interface for Translation feature. More... | |
Functions | |
| CompoundPtr | addCompound (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects) |
| Create Compound feature. More... | |
| CompSolidPtr | addCompSolid (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects) |
| Create CompSolid feature. More... | |
| EdgePtr | addEdge (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const bool theComputeIntersection=false) |
| Create Edge feature. More... | |
| EdgePtr | addEdge (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFirstPoint, const ModelHighAPI_Selection &theSecondPoint) |
| Create Edge feature. More... | |
| FacePtr | addFace (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects) |
| Create Face feature. More... | |
| FillingPtr | addFilling (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects) |
| Create Filling feature. More... | |
| FillingPtr | addFilling (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const std::string &theOrientCorrection, const int theMinDegree=BuildPlugin_Filling::MINIMAL_DEGREE_DEFAULT(), const int theMaxDegree=BuildPlugin_Filling::MAXIMAL_DEGREE_DEFAULT(), const int theNbIter=BuildPlugin_Filling::NUMBER_OF_ITERATIONS_DEFAULT(), const double theTolerance2D=BuildPlugin_Filling::TOLERANCE_2D_DEFAULT(), const double theTolerance3D=BuildPlugin_Filling::TOLERANCE_3D_DEFAULT(), const bool theApproximate=BuildPlugin_Filling::APPROXIMATION_DEFAULT()) |
| Create Filling feature. More... | |
| InterpolationPtr | addInterpolation (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const bool theIsClosed=false, const bool theIsToReorder=false) |
| Create Interpolation feature. More... | |
| InterpolationPtr | addInterpolation (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theStartTangent, const ModelHighAPI_Selection &theEndTangent, const bool theIsClosed=false, const bool theIsToReorder=false) |
| Create Interpolation feature using tangents. More... | |
| InterpolationPtr | addInterpolation (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theXTexpression, const std::string &theYTexpression, const std::string &theZTexpression, const ModelHighAPI_Double &theMinT, const ModelHighAPI_Double &theMaxT, const ModelHighAPI_Integer &theNbStep) |
| Create Interpolation feature using tangents. More... | |
| PolylinePtr | addPolyline3D (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const bool theIsClosed=false) |
| Create Polyline feature. More... | |
| ShellPtr | addShell (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects) |
| Create Shell feature. More... | |
| SolidPtr | addSolid (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects) |
| Create Solid feature. More... | |
| SubShapesPtr | addSubShapes (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBaseShape, const std::list< ModelHighAPI_Selection > &theSubShapes) |
| Create SubShapes feature. More... | |
| VertexPtr | addVertex (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects) |
| Create Vertex feature. More... | |
| VertexPtr | addVertex (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const bool theDoIntersect) |
| Create Vertex feature. More... | |
| WirePtr | addWire (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const bool theComputeIntersections=false) |
| Create Wire feature. More... | |
| GroupPtr | addGroup (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theGroupList, const bool theShareSameTopology=false) |
| Create Group feature. More... | |
| GroupPtr | addGroup (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theSelectionType, const std::list< ModelHighAPI_Selection > &theGroupList, const bool theShareSameTopology=false) |
| Create Group with the additional selection type for case the whole result selected. More... | |
| GroupAdditionPtr | addGroupAddition (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theGroupsList) |
| Create Group Addition feature. More... | |
| GroupIntersectionPtr | addGroupIntersection (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theGroupsList) |
| Create Group Intersection feature. More... | |
| GroupShapePtr | addGroupShape (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theGroupsList) |
| Create Group Shape feature. More... | |
| GroupSubstractionPtr | addGroupSubstraction (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theObjectsList, const std::list< ModelHighAPI_Selection > &theToolsList) |
| Create Group Subtraction feature. More... | |
| void | exportToGEOM (const std::shared_ptr< ModelAPI_Document > &thePart) |
| Export to GEOM. More... | |
| AxisPtr | addAxis (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject1, const ModelHighAPI_Selection &theObject2) |
| Create Axis feature. More... | |
| AxisPtr | addAxis (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject) |
| Create Axis feature. More... | |
| AxisPtr | addAxis (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &thePoint, const ModelHighAPI_Double &theX, const ModelHighAPI_Double &theY, const ModelHighAPI_Double &theZ) |
| Create Axis feature. More... | |
| AxisPtr | addAxis (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theDX, const ModelHighAPI_Double &theDY, const ModelHighAPI_Double &theDZ) |
| Create Axis feature. More... | |
| AxisPtr | addAxis (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &thePlane1, const ModelHighAPI_Double &theOffset1, const bool theReverseOffset1, const ModelHighAPI_Selection &thePlane2, const ModelHighAPI_Double &theOffset2, const bool theReverseOffset2) |
| Create Axis feature. More... | |
| AxisPtr | addAxis (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &thePlane1, const ModelHighAPI_Selection &thePlane2, const ModelHighAPI_Double &theOffset2, const bool theReverseOffset2) |
| Create Axis feature. More... | |
| AxisPtr | addAxis (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &thePlane1, const ModelHighAPI_Double &theOffset1, const bool theReverseOffset1, const ModelHighAPI_Selection &thePlane2) |
| Create Axis feature. More... | |
| PlanePtr | addPlane (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFace, const ModelHighAPI_Double &theDistance, const bool theIsReverse, const ModelHighAPI_Integer &theNbCopy=ModelHighAPI_Integer(1)) |
| Create Plane feature. More... | |
| PlanePtr | addPlane (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theA, const ModelHighAPI_Double &theB, const ModelHighAPI_Double &theC, const ModelHighAPI_Double &theD) |
| Create Plane feature. More... | |
| PlanePtr | addPlane (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &thePoint1, const ModelHighAPI_Selection &thePoint2, const ModelHighAPI_Selection &thePoint3) |
| Create Plane feature. More... | |
| PlanePtr | addPlane (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theLine, const ModelHighAPI_Selection &thePoint, const bool theIsPerpendicular) |
| Create Plane feature. More... | |
| PlanePtr | addPlane (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject1, const ModelHighAPI_Selection &theObject2) |
| Create Plane feature. More... | |
| PlanePtr | addPlane (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &thePlane, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theAngle, const ModelHighAPI_Integer &theNbCopy=ModelHighAPI_Integer(1)) |
| Create Plane feature. More... | |
| PointPtr | addPoint (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theX, const ModelHighAPI_Double &theY, const ModelHighAPI_Double &theZ) |
| Create Point feature. More... | |
| PointPtr | addPoint (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theEdge, const ModelHighAPI_Double &theOffset, const bool theUseRatio=false, const bool theReverse=false) |
| Create Point feature. More... | |
| PointPtr | addPoint (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject1, const ModelHighAPI_Selection &theObject2) |
| Create Point feature as an intersection of selected plane (or planar face) and edge. More... | |
| PointPtr | addPoint (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject1, const ModelHighAPI_Selection &theObject2, const ModelHighAPI_Double &theDistanceValue, const bool theReverse=false) |
| Create Point feature as an intersection of selected plane (or planar face) and edge with positive distance from the plane and flag to reverse the offset direction. More... | |
| PointPtr | addPoint (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject1, const ModelHighAPI_Selection &theObject2, const ModelHighAPI_Selection &theObject3) |
| Create Point feature as an intersection of selected planes. More... | |
| PointPtr | addPoint (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject, const bool theIsCircularEdge=false) |
| Create Point feature as a geometrical property. More... | |
| PointPtr | addPointXYZ (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject) |
| Create Point feature by coordinates using the selected vertex. More... | |
| ExportPtr | exportToFile (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theFilePath, const std::list< ModelHighAPI_Selection > &theSelectionList, const std::string &theFileFormat=std::string()) |
| Export to file. More... | |
| ExportPtr | exportToXAO (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theFilePath, const std::string &theAuthor=std::string(), const std::string &theGeometryName=std::string(), const std::string &theShapeFilePath=std::string()) |
| Exports to XAO file all results of the current document. More... | |
| ExportPtr | exportToSTL (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theFilePath, const ModelHighAPI_Selection &theSelectedShape, const ModelHighAPI_Double &theDeflectionRelative, const ModelHighAPI_Double &theDeflectionAbsolute, const bool theIsRelative, const bool theIsASCII) |
| Exports to STL file the result of the current document. More... | |
| ExportPtr | exportToXAO (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theFilePath, const ModelHighAPI_Selection &theSelectedShape, const std::string &theAuthor=std::string(), const std::string &theGeometryName=std::string(), const std::string &theShapeFilePath=std::string()) |
| Exports to XAO file the selected result with groups parts related to it only. More... | |
| PyObject * | exportToXAOMem (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theSelectedShape, const std::string &theAuthor=std::string(), const std::string &theGeometryName=std::string()) |
| Exports to XAO format buffer the selected result with groups parts related to it only. More... | |
| void | exportPart (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theFilePath, const std::list< ModelHighAPI_Selection > &theSelected=std::list< ModelHighAPI_Selection >()) |
| Export selected features or the whole part to the binary file. More... | |
| ImportPtr | addImport (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theFilePath) |
| Create Import feature. More... | |
| ImportPtr | addImportXAOMem (const std::shared_ptr< ModelAPI_Document > &thePart, PyObject *theBuffer) |
| Create Import feature to import XAO data from bytes buffer. More... | |
| ImportPtr | addImportSTEP (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theFilePath, const bool theScalInterUnits, const bool theMaterials, const bool theColor) |
| Create Import Step feature. More... | |
| void | importPart (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theFilePath, const ModelHighAPI_Reference &theAfterThis=ModelHighAPI_Reference()) |
| Import features from the file to the document after the current feature (or to the end). More... | |
| BooleanCommonPtr | addCommon (const std::shared_ptr< ModelAPI_Document > &part, const std::list< ModelHighAPI_Selection > &objects, const std::list< ModelHighAPI_Selection > &tools=std::list< ModelHighAPI_Selection >(), const ModelHighAPI_Double &fuzzyParam=ModelHighAPI_Double(-1), const bool keepSubResults=false) |
| Create Boolean Common feature. More... | |
| BooleanCutPtr | addCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theMainObjects, const std::list< ModelHighAPI_Selection > &theToolObjects, const ModelHighAPI_Double &fuzzyParam=ModelHighAPI_Double(-1), const bool keepSubResults=false) |
| Create Boolean Cut feature. More... | |
| BooleanFillPtr | addSplit (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theMainObjects, const std::list< ModelHighAPI_Selection > &theToolObjects, const ModelHighAPI_Double &fuzzyParam=ModelHighAPI_Double(-1), const bool keepSubResults=false) |
| Create Boolean Fill feature. More... | |
| BooleanFusePtr | addFuse (const std::shared_ptr< ModelAPI_Document > &part, const std::list< ModelHighAPI_Selection > &objects, const std::pair< std::list< ModelHighAPI_Selection >, bool > &tools=std::pair< std::list< ModelHighAPI_Selection >, bool >(std::list< ModelHighAPI_Selection >(), false), const bool removeEdges=false, const ModelHighAPI_Double &fuzzyParam=ModelHighAPI_Double(-1), const bool keepSubResults=false) |
| Create Boolean Fuse feature. More... | |
| BooleanSmashPtr | addSmash (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theMainObjects, const std::list< ModelHighAPI_Selection > &theToolObjects, const ModelHighAPI_Double &fuzzyParam=ModelHighAPI_Double(-1), const bool keepSubResults=false) |
| Create Boolean Smash feature. More... | |
| BoundingBoxPtr | getBoundingBox (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject) |
| get the bounding Box More... | |
| ChamferPtr | addChamfer (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const bool performDistances, const ModelHighAPI_Double &theVal1, const ModelHighAPI_Double &theVal2, const bool keepSubResults=false) |
| Create Chamfer feature. More... | |
| CopyPtr | addCopy (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theObjects, const int theNumber) |
| Create Copy feature. More... | |
| DefeaturingPtr | addDefeaturing (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theFaces) |
| Create Defeaturing feature. More... | |
| ExtrusionPtr | addExtrusion (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Double &theSize) |
| Create Extrusion feature. More... | |
| ExtrusionPtr | addExtrusion (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const ModelHighAPI_Double &theSize) |
| Create Extrusion feature. More... | |
| ExtrusionPtr | addExtrusion (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Double &theToSize, const ModelHighAPI_Double &theFromSize) |
| Create Extrusion feature. More... | |
| ExtrusionPtr | addExtrusion (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const ModelHighAPI_Double &theToSize, const ModelHighAPI_Double &theFromSize, const std::string &theSelectionType=std::string()) |
| Create Extrusion feature. More... | |
| ExtrusionPtr | addExtrusion (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theToObject, const ModelHighAPI_Double &theToOffset, const ModelHighAPI_Selection &theFromObject, const ModelHighAPI_Double &theFromOffset) |
| Create Extrusion feature. More... | |
| ExtrusionPtr | addExtrusion (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const ModelHighAPI_Selection &theToObject, const ModelHighAPI_Double &theToOffset, const ModelHighAPI_Selection &theFromObject, const ModelHighAPI_Double &theFromOffset, const std::string &theSelectionType=std::string()) |
| Create Extrusion feature. More... | |
| ExtrusionCutPtr | addExtrusionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionCut feature. More... | |
| ExtrusionCutPtr | addExtrusionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Double &theSize, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionCut feature. More... | |
| ExtrusionCutPtr | addExtrusionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionCut feature. More... | |
| ExtrusionCutPtr | addExtrusionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const ModelHighAPI_Double &theSize, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionCut feature. More... | |
| ExtrusionCutPtr | addExtrusionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Double &theToSize, const ModelHighAPI_Double &theFromSize, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionCut feature. More... | |
| ExtrusionCutPtr | addExtrusionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const ModelHighAPI_Double &theToSize, const ModelHighAPI_Double &theFromSize, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionCut feature. More... | |
| ExtrusionCutPtr | addExtrusionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theToObject, const ModelHighAPI_Double &theToOffset, const ModelHighAPI_Selection &theFromObject, const ModelHighAPI_Double &theFromOffset, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionCut feature. More... | |
| ExtrusionCutPtr | addExtrusionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const ModelHighAPI_Selection &theToObject, const ModelHighAPI_Double &theToOffset, const ModelHighAPI_Selection &theFromObject, const ModelHighAPI_Double &theFromOffset, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionCut feature. More... | |
| ExtrusionFusePtr | addExtrusionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionFuse feature. More... | |
| ExtrusionFusePtr | addExtrusionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Double &theSize, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionFuse feature. More... | |
| ExtrusionFusePtr | addExtrusionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionFuse feature. More... | |
| ExtrusionFusePtr | addExtrusionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const ModelHighAPI_Double &theSize, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionFuse feature. More... | |
| ExtrusionFusePtr | addExtrusionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Double &theToSize, const ModelHighAPI_Double &theFromSize, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionFuse feature. More... | |
| ExtrusionFusePtr | addExtrusionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const ModelHighAPI_Double &theToSize, const ModelHighAPI_Double &theFromSize, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionFuse feature. More... | |
| ExtrusionFusePtr | addExtrusionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theToObject, const ModelHighAPI_Double &theToOffset, const ModelHighAPI_Selection &theFromObject, const ModelHighAPI_Double &theFromOffset, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionFuse feature. More... | |
| ExtrusionFusePtr | addExtrusionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theDirection, const ModelHighAPI_Selection &theToObject, const ModelHighAPI_Double &theToOffset, const ModelHighAPI_Selection &theFromObject, const ModelHighAPI_Double &theFromOffset, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create ExtrusionFuse feature. More... | |
| FilletPtr | addFillet (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Double &theRadius1, const ModelHighAPI_Double &theRadius2=ModelHighAPI_Double(-1.0), const bool keepSubResults=false) |
| Create Fillet feature. More... | |
| FusionFacesPtr | addFusionFaces (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBase) |
| Create FusionFaces feature. More... | |
| std::list< double > | getGeometryCalculation (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject) |
| get the geometry calculation (length, Surface area, volume) More... | |
| GlueFacesPtr | addGlueFaces (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theMainObjects, const ModelHighAPI_Double &theTolerance, const bool theKeepNonSolids) |
| Create Glue Faces feature. More... | |
| ImportResultPtr | addImportResult (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theObjects) |
| Create ImportResult feature. More... | |
| IntersectionPtr | addIntersection (const std::shared_ptr< ModelAPI_Document > &part, const std::list< ModelHighAPI_Selection > &objects, const ModelHighAPI_Double &fuzzyParam=ModelHighAPI_Double(-1), const bool keepSubResults=false) |
| Create Intersection feature. More... | |
| LimitTolerancePtr | addLimitTolerance (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theMainObject, const ModelHighAPI_Double &theTolerance) |
| Create LimitTolerance feature. More... | |
| LoftPtr | addLoft (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFirstObject, const ModelHighAPI_Selection &theSecondObject) |
| Create Loft feature. More... | |
| double | measureLength (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theEdge) |
| Calculate length of the edge. More... | |
| double | measureDistance (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFrom, const ModelHighAPI_Selection &theTo) |
| Calculate distance between objects. More... | |
| double | measureRadius (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject) |
| Calculate radius of circular edge, cylindrical surface or sphere. More... | |
| std::list< double > | measureAngle (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFrom, const ModelHighAPI_Selection &theTo) |
| Calculate angle(s) between edges. More... | |
| double | measureAngle (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &thePoint1, const ModelHighAPI_Selection &thePoint2, const ModelHighAPI_Selection &thePoint3) |
| Calculate angle by 3 points. More... | |
| double | shapeProximity (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFrom, const ModelHighAPI_Selection &theTo) |
| Calculate maximum of all distances between objects. More... | |
| MultiRotationPtr | addMultiRotation (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theMainObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theStep, const ModelHighAPI_Integer &theNumber=ModelHighAPI_Integer(L""), const bool keepSubResults=false) |
| Create MultiRotation feature. More... | |
| MultiTranslationPtr | addMultiTranslation (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theMainObjects, const ModelHighAPI_Selection &theFirstAxisObject, const ModelHighAPI_Double &theFirstStep, const ModelHighAPI_Integer &theFirstNumber, const ModelHighAPI_Selection &theSecondAxisObject=ModelHighAPI_Selection(), const ModelHighAPI_Double &theSecondStep=ModelHighAPI_Double(), const ModelHighAPI_Integer &theSecondNumber=ModelHighAPI_Integer(), const bool keepSubResults=false) |
| Create MultiTranslation feature. More... | |
| NormalPtr | getNormal (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBaseFace, const ModelHighAPI_Selection &theOptionalPoint) |
| Create normal to a face feature. More... | |
| NormalPtr | getNormal (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBaseFace) |
| Create normal to a face feature. More... | |
| OffsetPtr | addOffset (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBaseObject, const ModelHighAPI_Double &theOffset, const bool isPipeJoint=true) |
| Create Offset feature. More... | |
| OffsetPtr | addOffsetPartial (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBaseObject, const ModelHighAPI_Double &theOffset, const std::list< ModelHighAPI_Selection > &theFaces) |
| Create Offset feature. More... | |
| PartitionPtr | addPartition (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Double &fuzzyParam=ModelHighAPI_Double(-1), const bool keepSubResults=false) |
| Create Partition feature. More... | |
| PipePtr | addPipe (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &thePath) |
| Create Pipe feature. More... | |
| PipePtr | addPipe (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &thePath, const ModelHighAPI_Selection &theBiNoramal) |
| Create Pipe feature. More... | |
| PipePtr | addPipe (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &thePath, const std::list< ModelHighAPI_Selection > &theLocations) |
| Create Pipe feature. More... | |
| PlacementPtr | addPlacement (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theObjects, const ModelHighAPI_Selection &theStartShape, const ModelHighAPI_Selection &theEndShape, const bool reverse=false, const bool centering=false, const bool keepSubResults=false) |
| Create Placement feature. More... | |
| PointCloudPtr | makeVertexInsideFace (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFace, const ModelHighAPI_Integer &theNumber) |
| Create point cloud on a face feature. More... | |
| std::list< double > | getPointCoordinates (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &thePoint) |
| Get the point coordinates. More... | |
| RecoverPtr | addRecover (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Reference &theBaseFeature, const std::list< ModelHighAPI_Selection > &theRecoveredList, const bool theRecoverCompound=false) |
| Create Recover feature. More... | |
| RemoveExtraEdgesPtr | addRemoveExtraEdges (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBase, const bool theDoUniteFaces=false) |
| Create RemoveExtraEdges feature. More... | |
| RemoveResultsPtr | addRemoveResults (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theResults) |
| Create RemoveResults feature. More... | |
| RemoveSubShapesPtr | addRemoveSubShapes (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBase) |
| Create RemoveSubShapes feature. More... | |
| RevolutionPtr | addRevolution (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theAngle) |
| Create Revolution feature. More... | |
| RevolutionPtr | addRevolution (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theToAngle, const ModelHighAPI_Double &theFromAngle, const std::string &theSelectionType=std::string()) |
| Create Revolution feature. More... | |
| RevolutionPtr | addRevolution (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Selection &theToObject, const ModelHighAPI_Double &theToOffset, const ModelHighAPI_Selection &theFromObject, const ModelHighAPI_Double &theFromOffset, const std::string &theSelectionType=std::string()) |
| Create Revolution feature. More... | |
| RevolutionCutPtr | addRevolutionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create RevolutionCut feature. More... | |
| RevolutionCutPtr | addRevolutionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theAngle, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create RevolutionCut feature. More... | |
| RevolutionCutPtr | addRevolutionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theToAngle, const ModelHighAPI_Double &theFromAngle, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create RevolutionCut feature. More... | |
| RevolutionCutPtr | addRevolutionCut (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Selection &theToObject, const ModelHighAPI_Double &theToOffset, const ModelHighAPI_Selection &theFromObject, const ModelHighAPI_Double &theFromOffset, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create RevolutionCut feature. More... | |
| RevolutionFusePtr | addRevolutionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create RevolutionFuse feature. More... | |
| RevolutionFusePtr | addRevolutionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theAngle, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create RevolutionFuse feature. More... | |
| RevolutionFusePtr | addRevolutionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theToAngle, const ModelHighAPI_Double &theFromAngle, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create RevolutionFuse feature. More... | |
| RevolutionFusePtr | addRevolutionFuse (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Selection &theToObject, const ModelHighAPI_Double &theToOffset, const ModelHighAPI_Selection &theFromObject, const ModelHighAPI_Double &theFromOffset, const std::list< ModelHighAPI_Selection > &theBooleanObjects) |
| Create RevolutionFuse feature. More... | |
| RotationPtr | addRotation (const std::shared_ptr< ModelAPI_Document > &part, const std::list< ModelHighAPI_Selection > &objects, const ModelHighAPI_Selection &axis=ModelHighAPI_Selection(), const std::pair< ModelHighAPI_Selection, ModelHighAPI_Double > &angle=std::pair< ModelHighAPI_Selection, ModelHighAPI_Double >(), const ModelHighAPI_Selection ¢er=ModelHighAPI_Selection(), const ModelHighAPI_Selection &start=ModelHighAPI_Selection(), const ModelHighAPI_Selection &end=ModelHighAPI_Selection(), const bool keepSubResults=false) |
| Create Rotation feature. More... | |
| ScalePtr | addScale (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theMainObjects, const ModelHighAPI_Selection &theCenterPoint, const ModelHighAPI_Double &theScaleFactorX, const ModelHighAPI_Double &theScaleFactorY=ModelHighAPI_Double(0.0), const ModelHighAPI_Double &theScaleFactorZ=ModelHighAPI_Double(0.0), const bool keepSubResults=false) |
| Create Scale feature. More... | |
| SewingPtr | addSewing (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theMainObjects, const ModelHighAPI_Double &theTolerance, const bool allowNonManifold, const bool alwaysCreateResult) |
| Create Sewing feature. More... | |
| SharedFacesPtr | getSharedFaces (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject, const std::string &theNameGroup) |
| Create a group of shared faces in a compsolid or a compound. More... | |
| SymmetryPtr | addSymmetry (const std::shared_ptr< ModelAPI_Document > &part, const std::list< ModelHighAPI_Selection > &objects, const ModelHighAPI_Selection &basis, const bool keepOriginal=true, const bool keepSubResults=false) |
| Create Symmetry feature. More... | |
| ThicknessPtr | addThickness (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBaseObject, const ModelHighAPI_Double &theThickness, const bool isInside=true) |
| Create Thickness feature. More... | |
| ThicknessPtr | addHollowedSolid (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBaseObject, const ModelHighAPI_Double &theThickness, const std::list< ModelHighAPI_Selection > &theFaces, const bool isInside=true) |
| Create Thickness feature. More... | |
| TranslationPtr | addTranslation (const std::shared_ptr< ModelAPI_Document > &part, const std::list< ModelHighAPI_Selection > &objects, const std::pair< ModelHighAPI_Selection, ModelHighAPI_Double > &deprecated1=std::pair< ModelHighAPI_Selection, ModelHighAPI_Double >(), const std::pair< ModelHighAPI_Selection, ModelHighAPI_Double > &deprecated2=std::pair< ModelHighAPI_Selection, ModelHighAPI_Double >(), const std::pair< ModelHighAPI_Selection, ModelHighAPI_Double > &deprecated3=std::pair< ModelHighAPI_Selection, ModelHighAPI_Double >(), const ModelHighAPI_Selection &axis=ModelHighAPI_Selection(), const ModelHighAPI_Double &distance=ModelHighAPI_Double(0.0), const std::list< ModelHighAPI_Double > &vector=std::list< ModelHighAPI_Double >(), const ModelHighAPI_Selection &startPoint=ModelHighAPI_Selection(), const ModelHighAPI_Selection &endPoint=ModelHighAPI_Selection(), const bool keepSubResults=false) |
| Create Translation feature. More... | |
| UnionPtr | addUnion (const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Double &fuzzyParam=ModelHighAPI_Double(-1), const bool keepSubResults=false) |
| Create Union feature. More... | |
| ConeSegmentPtr | addConeSegment (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theRMin1, const ModelHighAPI_Double &theRMax1, const ModelHighAPI_Double &theRMin2, const ModelHighAPI_Double &theRMax2, const ModelHighAPI_Double &theZ, const ModelHighAPI_Double &theStartPhi, const ModelHighAPI_Double &theDeltaPhi) |
| Create GDML ConeSegment feature. More... | |
| EllipsoidPtr | addEllipsoid (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theAX, const ModelHighAPI_Double &theBY, const ModelHighAPI_Double &theCZ) |
| Create GDML Ellipsoid feature. More... | |
| EllipsoidPtr | addEllipsoid (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theAX, const ModelHighAPI_Double &theBY, const ModelHighAPI_Double &theCZ, const ModelHighAPI_Double &theZCut1, const ModelHighAPI_Double &theZCut2) |
| Create GDML Ellipsoid feature. More... | |
| std::shared_ptr< ModelHighAPI_Folder > | addFolder (const std::shared_ptr< ModelAPI_Document > &theDoc) |
| Create empty Folder feature. More... | |
| std::shared_ptr< ModelHighAPI_Folder > | addFolder (const std::shared_ptr< ModelAPI_Document > &theDoc, const ModelHighAPI_Reference &theFirstFeature, const ModelHighAPI_Reference &theLastFeature) |
| Create Folder feature. More... | |
| void | removeFolder (std::shared_ptr< ModelHighAPI_Folder > &theFolder) |
| Removes Folder feature. More... | |
| ParameterPtr | addParameter (const std::shared_ptr< ModelAPI_Document > &thePart, const std::string &theName, const std::string &theExpression, const std::wstring &theComment=std::wstring()) |
| Create Parameter feature. More... | |
| void | removeParameter (const std::shared_ptr< ModelAPI_Document > &thePart, const ParameterPtr &theParameter) |
| Remove Parameter feature and substitute it by the value in referred features. More... | |
| PartPtr | addPart (const std::shared_ptr< ModelAPI_Document > &thePartSet) |
| Create Part feature. More... | |
| PartPtr | duplicatePart (const ModelHighAPI_Interface &thePart) |
| Duplicate Part feature. More... | |
| void | removePart (const ModelHighAPI_Interface &thePart) |
| Remove Part feature. More... | |
| BoxPtr | addBox (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theDx, const ModelHighAPI_Double &theDy, const ModelHighAPI_Double &theDz) |
| Create primitive Box feature. More... | |
| BoxPtr | addBox (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFirstPoint, const ModelHighAPI_Selection &theSecondPoint) |
| Create primitive Box feature. More... | |
| BoxPtr | addBox (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theOx, const ModelHighAPI_Double &theOy, const ModelHighAPI_Double &theOz, const ModelHighAPI_Double &theHalfLengthX, const ModelHighAPI_Double &theHalfLengthY, const ModelHighAPI_Double &theHalfLengthZ) |
| Create primitive Box feature. More... | |
| ConePtr | addCone (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBasePoint, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theBaseRadius, const ModelHighAPI_Double &theTopRadius, const ModelHighAPI_Double &theHeight) |
| Create primitive Cone feature. More... | |
| ConePtr | addCone (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theBaseRadius, const ModelHighAPI_Double &theTopRadius, const ModelHighAPI_Double &theHeight) |
| Create primitive Cone feature. More... | |
| CylinderPtr | addCylinder (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBasePoint, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theRadius, const ModelHighAPI_Double &theHeight) |
| Create primitive Cylinder feature. More... | |
| CylinderPtr | addCylinder (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBasePoint, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theRadius, const ModelHighAPI_Double &theHeight, const ModelHighAPI_Double &theAngle) |
| Create primitive Cylinder feature. More... | |
| CylinderPtr | addCylinder (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theRadius, const ModelHighAPI_Double &theHeight) |
| Create primitive Cylinder feature. More... | |
| CylinderPtr | addCylinder (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theRadius, const ModelHighAPI_Double &theHeight, const ModelHighAPI_Double &theAngle) |
| Create primitive Cylinder feature. More... | |
| SpherePtr | addSphere (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theCenterPoint, const ModelHighAPI_Double &theRadius) |
| Create primitive Sphere feature. More... | |
| SpherePtr | addSphere (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theRadius) |
| Create primitive Sphere feature. More... | |
| SpherePtr | addSphere (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theRMin, const ModelHighAPI_Double &theRMax, const ModelHighAPI_Double &thePhiMin, const ModelHighAPI_Double &thePhiMax, const ModelHighAPI_Double &theThetaMin, const ModelHighAPI_Double &theThetaMax) |
| Create primitive Sphere feature. More... | |
| TorusPtr | addTorus (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBasePoint, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theRadius, const ModelHighAPI_Double &theRingRadius) |
| Create primitive Torus feature. More... | |
| TorusPtr | addTorus (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theRadius, const ModelHighAPI_Double &theRingRadius) |
| Create primitive Torus feature. More... | |
| TubePtr | addTube (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theRMin, const ModelHighAPI_Double &theRMax, const ModelHighAPI_Double &theHeight) |
| Create primitive Tube feature. More... | |
| SketchPtr | addSketch (const std::shared_ptr< ModelAPI_Document > &thePart, const std::shared_ptr< GeomAPI_Ax3 > &thePlane) |
| Create Sketch feature. More... | |
| SketchPtr | addSketch (const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theExternal) |
| Create Sketch feature. More... | |
| SketchPtr | addSketch (const std::shared_ptr< ModelAPI_Document > &thePart, const std::wstring &theExternalName) |
| Create Sketch feature. More... | |
| SketchPtr | addSketch (const std::shared_ptr< ModelAPI_Document > &thePart, std::shared_ptr< ModelAPI_Object > thePlaneObject) |
| Create Sketch feature. More... | |
| SketchPtr | copySketch (const std::shared_ptr< ModelAPI_Document > &thePart, const SketchPtr &theSketch) |
| Copy sketch with all its sub-features. More... | |
C++ API for using features concentrated in plugins.
The API intendend to be wrapped by SWIG and used in Python.
| CompoundPtr addCompound | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects | ||
| ) |
Create Compound feature.
| CompSolidPtr addCompSolid | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects | ||
| ) |
Create CompSolid feature.
| EdgePtr addEdge | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const bool | theComputeIntersection = false |
||
| ) |
Create Edge feature.
| EdgePtr addEdge | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theFirstPoint, | ||
| const ModelHighAPI_Selection & | theSecondPoint | ||
| ) |
Create Edge feature.
| FacePtr addFace | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects | ||
| ) |
Create Face feature.
| FillingPtr addFilling | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects | ||
| ) |
Create Filling feature.
| FillingPtr addFilling | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const std::string & | theOrientCorrection, | ||
| const int | theMinDegree = BuildPlugin_Filling::MINIMAL_DEGREE_DEFAULT(), |
||
| const int | theMaxDegree = BuildPlugin_Filling::MAXIMAL_DEGREE_DEFAULT(), |
||
| const int | theNbIter = BuildPlugin_Filling::NUMBER_OF_ITERATIONS_DEFAULT(), |
||
| const double | theTolerance2D = BuildPlugin_Filling::TOLERANCE_2D_DEFAULT(), |
||
| const double | theTolerance3D = BuildPlugin_Filling::TOLERANCE_3D_DEFAULT(), |
||
| const bool | theApproximate = BuildPlugin_Filling::APPROXIMATION_DEFAULT() |
||
| ) |
Create Filling feature.
| InterpolationPtr addInterpolation | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const bool | theIsClosed = false, |
||
| const bool | theIsToReorder = false |
||
| ) |
Create Interpolation feature.
| InterpolationPtr addInterpolation | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theStartTangent, | ||
| const ModelHighAPI_Selection & | theEndTangent, | ||
| const bool | theIsClosed = false, |
||
| const bool | theIsToReorder = false |
||
| ) |
Create Interpolation feature using tangents.
| InterpolationPtr addInterpolation | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theXTexpression, | ||
| const std::string & | theYTexpression, | ||
| const std::string & | theZTexpression, | ||
| const ModelHighAPI_Double & | theMinT, | ||
| const ModelHighAPI_Double & | theMaxT, | ||
| const ModelHighAPI_Integer & | theNbStep | ||
| ) |
Create Interpolation feature using tangents.
| PolylinePtr addPolyline3D | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const bool | theIsClosed = false |
||
| ) |
Create Polyline feature.
| ShellPtr addShell | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects | ||
| ) |
Create Shell feature.
| SolidPtr addSolid | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects | ||
| ) |
Create Solid feature.
| SubShapesPtr addSubShapes | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBaseShape, | ||
| const std::list< ModelHighAPI_Selection > & | theSubShapes | ||
| ) |
Create SubShapes feature.
| VertexPtr addVertex | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects | ||
| ) |
Create Vertex feature.
| VertexPtr addVertex | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const bool | theDoIntersect | ||
| ) |
Create Vertex feature.
| WirePtr addWire | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const bool | theComputeIntersections = false |
||
| ) |
Create Wire feature.
| GroupPtr addGroup | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theGroupList, | ||
| const bool | theShareSameTopology = false |
||
| ) |
Create Group feature.
| GroupPtr addGroup | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theSelectionType, | ||
| const std::list< ModelHighAPI_Selection > & | theGroupList, | ||
| const bool | theShareSameTopology = false |
||
| ) |
Create Group with the additional selection type for case the whole result selected.
| GroupAdditionPtr addGroupAddition | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theGroupsList | ||
| ) |
Create Group Addition feature.
| GroupIntersectionPtr addGroupIntersection | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theGroupsList | ||
| ) |
Create Group Intersection feature.
| GroupShapePtr addGroupShape | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theGroupsList | ||
| ) |
Create Group Shape feature.
| GroupSubstractionPtr addGroupSubstraction | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theObjectsList, | ||
| const std::list< ModelHighAPI_Selection > & | theToolsList | ||
| ) |
Create Group Subtraction feature.
| void exportToGEOM | ( | const std::shared_ptr< ModelAPI_Document > & | thePart | ) |
Export to GEOM.
| AxisPtr addAxis | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject1, | ||
| const ModelHighAPI_Selection & | theObject2 | ||
| ) |
Create Axis feature.
| AxisPtr addAxis | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject | ||
| ) |
Create Axis feature.
| AxisPtr addAxis | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | thePoint, | ||
| const ModelHighAPI_Double & | theX, | ||
| const ModelHighAPI_Double & | theY, | ||
| const ModelHighAPI_Double & | theZ | ||
| ) |
Create Axis feature.
| AxisPtr addAxis | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theDX, | ||
| const ModelHighAPI_Double & | theDY, | ||
| const ModelHighAPI_Double & | theDZ | ||
| ) |
Create Axis feature.
| AxisPtr addAxis | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | thePlane1, | ||
| const ModelHighAPI_Double & | theOffset1, | ||
| const bool | theReverseOffset1, | ||
| const ModelHighAPI_Selection & | thePlane2, | ||
| const ModelHighAPI_Double & | theOffset2, | ||
| const bool | theReverseOffset2 | ||
| ) |
Create Axis feature.
| AxisPtr addAxis | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | thePlane1, | ||
| const ModelHighAPI_Selection & | thePlane2, | ||
| const ModelHighAPI_Double & | theOffset2, | ||
| const bool | theReverseOffset2 | ||
| ) |
Create Axis feature.
| AxisPtr addAxis | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | thePlane1, | ||
| const ModelHighAPI_Double & | theOffset1, | ||
| const bool | theReverseOffset1, | ||
| const ModelHighAPI_Selection & | thePlane2 | ||
| ) |
Create Axis feature.
| PlanePtr addPlane | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theFace, | ||
| const ModelHighAPI_Double & | theDistance, | ||
| const bool | theIsReverse, | ||
| const ModelHighAPI_Integer & | theNbCopy = ModelHighAPI_Integer(1) |
||
| ) |
Create Plane feature.
| PlanePtr addPlane | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theA, | ||
| const ModelHighAPI_Double & | theB, | ||
| const ModelHighAPI_Double & | theC, | ||
| const ModelHighAPI_Double & | theD | ||
| ) |
Create Plane feature.
| PlanePtr addPlane | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | thePoint1, | ||
| const ModelHighAPI_Selection & | thePoint2, | ||
| const ModelHighAPI_Selection & | thePoint3 | ||
| ) |
Create Plane feature.
| PlanePtr addPlane | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theLine, | ||
| const ModelHighAPI_Selection & | thePoint, | ||
| const bool | theIsPerpendicular | ||
| ) |
Create Plane feature.
| PlanePtr addPlane | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject1, | ||
| const ModelHighAPI_Selection & | theObject2 | ||
| ) |
Create Plane feature.
| PlanePtr addPlane | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | thePlane, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theAngle, | ||
| const ModelHighAPI_Integer & | theNbCopy = ModelHighAPI_Integer(1) |
||
| ) |
Create Plane feature.
| PointPtr addPoint | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theX, | ||
| const ModelHighAPI_Double & | theY, | ||
| const ModelHighAPI_Double & | theZ | ||
| ) |
Create Point feature.
| PointPtr addPoint | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theEdge, | ||
| const ModelHighAPI_Double & | theOffset, | ||
| const bool | theUseRatio = false, |
||
| const bool | theReverse = false |
||
| ) |
Create Point feature.
| PointPtr addPoint | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject1, | ||
| const ModelHighAPI_Selection & | theObject2 | ||
| ) |
Create Point feature as an intersection of selected plane (or planar face) and edge.
| PointPtr addPoint | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject1, | ||
| const ModelHighAPI_Selection & | theObject2, | ||
| const ModelHighAPI_Double & | theDistanceValue, | ||
| const bool | theReverse = false |
||
| ) |
Create Point feature as an intersection of selected plane (or planar face) and edge with positive distance from the plane and flag to reverse the offset direction.
| PointPtr addPoint | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject1, | ||
| const ModelHighAPI_Selection & | theObject2, | ||
| const ModelHighAPI_Selection & | theObject3 | ||
| ) |
Create Point feature as an intersection of selected planes.
| PointPtr addPoint | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject, | ||
| const bool | theIsCircularEdge = false |
||
| ) |
Create Point feature as a geometrical property.
| PointPtr addPointXYZ | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject | ||
| ) |
Create Point feature by coordinates using the selected vertex.
| ExportPtr exportToFile | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theFilePath, | ||
| const std::list< ModelHighAPI_Selection > & | theSelectionList, | ||
| const std::string & | theFileFormat = std::string() |
||
| ) |
Export to file.
| ExportPtr exportToXAO | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theFilePath, | ||
| const std::string & | theAuthor = std::string(), |
||
| const std::string & | theGeometryName = std::string(), |
||
| const std::string & | theShapeFilePath = std::string() |
||
| ) |
Exports to XAO file all results of the current document.
| ExportPtr exportToSTL | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theFilePath, | ||
| const ModelHighAPI_Selection & | theSelectedShape, | ||
| const ModelHighAPI_Double & | theDeflectionRelative, | ||
| const ModelHighAPI_Double & | theDeflectionAbsolute, | ||
| const bool | theIsRelative, | ||
| const bool | theIsASCII | ||
| ) |
Exports to STL file the result of the current document.
| ExportPtr exportToXAO | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theFilePath, | ||
| const ModelHighAPI_Selection & | theSelectedShape, | ||
| const std::string & | theAuthor = std::string(), |
||
| const std::string & | theGeometryName = std::string(), |
||
| const std::string & | theShapeFilePath = std::string() |
||
| ) |
Exports to XAO file the selected result with groups parts related to it only.
| PyObject* exportToXAOMem | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theSelectedShape, | ||
| const std::string & | theAuthor = std::string(), |
||
| const std::string & | theGeometryName = std::string() |
||
| ) |
Exports to XAO format buffer the selected result with groups parts related to it only.
| void exportPart | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theFilePath, | ||
| const std::list< ModelHighAPI_Selection > & | theSelected = std::list< ModelHighAPI_Selection >() |
||
| ) |
Export selected features or the whole part to the binary file.
| thePart | The part document to be saved. |
| theFilePath | The file path where the part document will be stored. It is recommended to use the .shaperpart extension for the file. |
| theSelected | A list of selected objects within the part document to be saved. If this list is empty, the entire part document will be saved. |
| ImportPtr addImport | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theFilePath | ||
| ) |
Create Import feature.
| ImportPtr addImportXAOMem | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| PyObject * | theBuffer | ||
| ) |
Create Import feature to import XAO data from bytes buffer.
| ImportPtr addImportSTEP | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theFilePath, | ||
| const bool | theScalInterUnits, | ||
| const bool | theMaterials, | ||
| const bool | theColor | ||
| ) |
Create Import Step feature.
| void importPart | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theFilePath, | ||
| const ModelHighAPI_Reference & | theAfterThis = ModelHighAPI_Reference() |
||
| ) |
Import features from the file to the document after the current feature (or to the end).
| BooleanCommonPtr addCommon | ( | const std::shared_ptr< ModelAPI_Document > & | part, |
| const std::list< ModelHighAPI_Selection > & | objects, | ||
| const std::list< ModelHighAPI_Selection > & | tools = std::list< ModelHighAPI_Selection >(), |
||
| const ModelHighAPI_Double & | fuzzyParam = ModelHighAPI_Double(-1), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Boolean Common feature.
| BooleanCutPtr addCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theMainObjects, | ||
| const std::list< ModelHighAPI_Selection > & | theToolObjects, | ||
| const ModelHighAPI_Double & | fuzzyParam = ModelHighAPI_Double(-1), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Boolean Cut feature.
| BooleanFillPtr addSplit | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theMainObjects, | ||
| const std::list< ModelHighAPI_Selection > & | theToolObjects, | ||
| const ModelHighAPI_Double & | fuzzyParam = ModelHighAPI_Double(-1), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Boolean Fill feature.
| BooleanFusePtr addFuse | ( | const std::shared_ptr< ModelAPI_Document > & | part, |
| const std::list< ModelHighAPI_Selection > & | objects, | ||
| const std::pair< std::list< ModelHighAPI_Selection >, bool > & | tools = std::pair< std::list< ModelHighAPI_Selection >, bool >(std::list< ModelHighAPI_Selection >(), false), |
||
| const bool | removeEdges = false, |
||
| const ModelHighAPI_Double & | fuzzyParam = ModelHighAPI_Double(-1), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Boolean Fuse feature.
| BooleanSmashPtr addSmash | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theMainObjects, | ||
| const std::list< ModelHighAPI_Selection > & | theToolObjects, | ||
| const ModelHighAPI_Double & | fuzzyParam = ModelHighAPI_Double(-1), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Boolean Smash feature.
| BoundingBoxPtr getBoundingBox | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject | ||
| ) |
get the bounding Box
| thePart | the part |
| theobject | the object selected |
| ChamferPtr addChamfer | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const bool | performDistances, | ||
| const ModelHighAPI_Double & | theVal1, | ||
| const ModelHighAPI_Double & | theVal2, | ||
| const bool | keepSubResults = false |
||
| ) |
Create Chamfer feature.
| CopyPtr addCopy | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theObjects, | ||
| const int | theNumber | ||
| ) |
Create Copy feature.
| DefeaturingPtr addDefeaturing | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theFaces | ||
| ) |
Create Defeaturing feature.
| ExtrusionPtr addExtrusion | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Double & | theSize | ||
| ) |
Create Extrusion feature.
| ExtrusionPtr addExtrusion | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const ModelHighAPI_Double & | theSize | ||
| ) |
Create Extrusion feature.
| ExtrusionPtr addExtrusion | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Double & | theToSize, | ||
| const ModelHighAPI_Double & | theFromSize | ||
| ) |
Create Extrusion feature.
| ExtrusionPtr addExtrusion | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const ModelHighAPI_Double & | theToSize, | ||
| const ModelHighAPI_Double & | theFromSize, | ||
| const std::string & | theSelectionType = std::string() |
||
| ) |
Create Extrusion feature.
| ExtrusionPtr addExtrusion | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theToObject, | ||
| const ModelHighAPI_Double & | theToOffset, | ||
| const ModelHighAPI_Selection & | theFromObject, | ||
| const ModelHighAPI_Double & | theFromOffset | ||
| ) |
Create Extrusion feature.
| ExtrusionPtr addExtrusion | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const ModelHighAPI_Selection & | theToObject, | ||
| const ModelHighAPI_Double & | theToOffset, | ||
| const ModelHighAPI_Selection & | theFromObject, | ||
| const ModelHighAPI_Double & | theFromOffset, | ||
| const std::string & | theSelectionType = std::string() |
||
| ) |
Create Extrusion feature.
| ExtrusionCutPtr addExtrusionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionCut feature.
| ExtrusionCutPtr addExtrusionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Double & | theSize, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionCut feature.
| ExtrusionCutPtr addExtrusionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionCut feature.
| ExtrusionCutPtr addExtrusionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const ModelHighAPI_Double & | theSize, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionCut feature.
| ExtrusionCutPtr addExtrusionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Double & | theToSize, | ||
| const ModelHighAPI_Double & | theFromSize, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionCut feature.
| ExtrusionCutPtr addExtrusionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const ModelHighAPI_Double & | theToSize, | ||
| const ModelHighAPI_Double & | theFromSize, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionCut feature.
| ExtrusionCutPtr addExtrusionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theToObject, | ||
| const ModelHighAPI_Double & | theToOffset, | ||
| const ModelHighAPI_Selection & | theFromObject, | ||
| const ModelHighAPI_Double & | theFromOffset, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionCut feature.
| ExtrusionCutPtr addExtrusionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const ModelHighAPI_Selection & | theToObject, | ||
| const ModelHighAPI_Double & | theToOffset, | ||
| const ModelHighAPI_Selection & | theFromObject, | ||
| const ModelHighAPI_Double & | theFromOffset, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionCut feature.
| ExtrusionFusePtr addExtrusionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionFuse feature.
| ExtrusionFusePtr addExtrusionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Double & | theSize, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionFuse feature.
| ExtrusionFusePtr addExtrusionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionFuse feature.
| ExtrusionFusePtr addExtrusionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const ModelHighAPI_Double & | theSize, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionFuse feature.
| ExtrusionFusePtr addExtrusionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Double & | theToSize, | ||
| const ModelHighAPI_Double & | theFromSize, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionFuse feature.
| ExtrusionFusePtr addExtrusionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const ModelHighAPI_Double & | theToSize, | ||
| const ModelHighAPI_Double & | theFromSize, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionFuse feature.
| ExtrusionFusePtr addExtrusionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theToObject, | ||
| const ModelHighAPI_Double & | theToOffset, | ||
| const ModelHighAPI_Selection & | theFromObject, | ||
| const ModelHighAPI_Double & | theFromOffset, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionFuse feature.
| ExtrusionFusePtr addExtrusionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theDirection, | ||
| const ModelHighAPI_Selection & | theToObject, | ||
| const ModelHighAPI_Double & | theToOffset, | ||
| const ModelHighAPI_Selection & | theFromObject, | ||
| const ModelHighAPI_Double & | theFromOffset, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create ExtrusionFuse feature.
| FilletPtr addFillet | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Double & | theRadius1, | ||
| const ModelHighAPI_Double & | theRadius2 = ModelHighAPI_Double(-1.0), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Fillet feature.
| FusionFacesPtr addFusionFaces | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBase | ||
| ) |
Create FusionFaces feature.
| std::list<double> getGeometryCalculation | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject | ||
| ) |
get the geometry calculation (length, Surface area, volume)
| GlueFacesPtr addGlueFaces | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theMainObjects, | ||
| const ModelHighAPI_Double & | theTolerance, | ||
| const bool | theKeepNonSolids | ||
| ) |
Create Glue Faces feature.
| ImportResultPtr addImportResult | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theObjects | ||
| ) |
Create ImportResult feature.
| IntersectionPtr addIntersection | ( | const std::shared_ptr< ModelAPI_Document > & | part, |
| const std::list< ModelHighAPI_Selection > & | objects, | ||
| const ModelHighAPI_Double & | fuzzyParam = ModelHighAPI_Double(-1), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Intersection feature.
| LimitTolerancePtr addLimitTolerance | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theMainObject, | ||
| const ModelHighAPI_Double & | theTolerance | ||
| ) |
Create LimitTolerance feature.
| LoftPtr addLoft | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theFirstObject, | ||
| const ModelHighAPI_Selection & | theSecondObject | ||
| ) |
Create Loft feature.
| double measureLength | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theEdge | ||
| ) |
Calculate length of the edge.
| double measureDistance | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theFrom, | ||
| const ModelHighAPI_Selection & | theTo | ||
| ) |
Calculate distance between objects.
| double measureRadius | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject | ||
| ) |
Calculate radius of circular edge, cylindrical surface or sphere.
| std::list<double> measureAngle | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theFrom, | ||
| const ModelHighAPI_Selection & | theTo | ||
| ) |
Calculate angle(s) between edges.
| double measureAngle | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | thePoint1, | ||
| const ModelHighAPI_Selection & | thePoint2, | ||
| const ModelHighAPI_Selection & | thePoint3 | ||
| ) |
Calculate angle by 3 points.
| double shapeProximity | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theFrom, | ||
| const ModelHighAPI_Selection & | theTo | ||
| ) |
Calculate maximum of all distances between objects.
| MultiRotationPtr addMultiRotation | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theMainObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theStep, | ||
| const ModelHighAPI_Integer & | theNumber = ModelHighAPI_Integer(L""), |
||
| const bool | keepSubResults = false |
||
| ) |
Create MultiRotation feature.
| MultiTranslationPtr addMultiTranslation | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theMainObjects, | ||
| const ModelHighAPI_Selection & | theFirstAxisObject, | ||
| const ModelHighAPI_Double & | theFirstStep, | ||
| const ModelHighAPI_Integer & | theFirstNumber, | ||
| const ModelHighAPI_Selection & | theSecondAxisObject = ModelHighAPI_Selection(), |
||
| const ModelHighAPI_Double & | theSecondStep = ModelHighAPI_Double(), |
||
| const ModelHighAPI_Integer & | theSecondNumber = ModelHighAPI_Integer(), |
||
| const bool | keepSubResults = false |
||
| ) |
Create MultiTranslation feature.
| NormalPtr getNormal | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBaseFace, | ||
| const ModelHighAPI_Selection & | theOptionalPoint | ||
| ) |
Create normal to a face feature.
| thePart | the part |
| theBaseFace | the selected face |
| theOptionalPoint | the selected point |
| NormalPtr getNormal | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBaseFace | ||
| ) |
Create normal to a face feature.
| thePart | the part |
| theBaseFace | the selected face |
| OffsetPtr addOffset | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBaseObject, | ||
| const ModelHighAPI_Double & | theOffset, | ||
| const bool | isPipeJoint = true |
||
| ) |
Create Offset feature.
| OffsetPtr addOffsetPartial | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBaseObject, | ||
| const ModelHighAPI_Double & | theOffset, | ||
| const std::list< ModelHighAPI_Selection > & | theFaces | ||
| ) |
Create Offset feature.
| PartitionPtr addPartition | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Double & | fuzzyParam = ModelHighAPI_Double(-1), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Partition feature.
| PipePtr addPipe | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | thePath | ||
| ) |
Create Pipe feature.
| PipePtr addPipe | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | thePath, | ||
| const ModelHighAPI_Selection & | theBiNoramal | ||
| ) |
Create Pipe feature.
| PipePtr addPipe | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | thePath, | ||
| const std::list< ModelHighAPI_Selection > & | theLocations | ||
| ) |
Create Pipe feature.
| PlacementPtr addPlacement | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theObjects, | ||
| const ModelHighAPI_Selection & | theStartShape, | ||
| const ModelHighAPI_Selection & | theEndShape, | ||
| const bool | reverse = false, |
||
| const bool | centering = false, |
||
| const bool | keepSubResults = false |
||
| ) |
Create Placement feature.
| PointCloudPtr makeVertexInsideFace | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theFace, | ||
| const ModelHighAPI_Integer & | theNumber | ||
| ) |
Create point cloud on a face feature.
| thePart | the part |
| theFace | the selected face |
| theNumberOfPoints | the selected point |
| std::list<double> getPointCoordinates | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | thePoint | ||
| ) |
Get the point coordinates.
| RecoverPtr addRecover | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Reference & | theBaseFeature, | ||
| const std::list< ModelHighAPI_Selection > & | theRecoveredList, | ||
| const bool | theRecoverCompound = false |
||
| ) |
Create Recover feature.
| RemoveExtraEdgesPtr addRemoveExtraEdges | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBase, | ||
| const bool | theDoUniteFaces = false |
||
| ) |
Create RemoveExtraEdges feature.
| RemoveResultsPtr addRemoveResults | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theResults | ||
| ) |
Create RemoveResults feature.
| RemoveSubShapesPtr addRemoveSubShapes | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBase | ||
| ) |
Create RemoveSubShapes feature.
| RevolutionPtr addRevolution | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theAngle | ||
| ) |
Create Revolution feature.
| RevolutionPtr addRevolution | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theToAngle, | ||
| const ModelHighAPI_Double & | theFromAngle, | ||
| const std::string & | theSelectionType = std::string() |
||
| ) |
Create Revolution feature.
| RevolutionPtr addRevolution | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Selection & | theToObject, | ||
| const ModelHighAPI_Double & | theToOffset, | ||
| const ModelHighAPI_Selection & | theFromObject, | ||
| const ModelHighAPI_Double & | theFromOffset, | ||
| const std::string & | theSelectionType = std::string() |
||
| ) |
Create Revolution feature.
| RevolutionCutPtr addRevolutionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create RevolutionCut feature.
| RevolutionCutPtr addRevolutionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theAngle, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create RevolutionCut feature.
| RevolutionCutPtr addRevolutionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theToAngle, | ||
| const ModelHighAPI_Double & | theFromAngle, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create RevolutionCut feature.
| RevolutionCutPtr addRevolutionCut | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Selection & | theToObject, | ||
| const ModelHighAPI_Double & | theToOffset, | ||
| const ModelHighAPI_Selection & | theFromObject, | ||
| const ModelHighAPI_Double & | theFromOffset, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create RevolutionCut feature.
| RevolutionFusePtr addRevolutionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create RevolutionFuse feature.
| RevolutionFusePtr addRevolutionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theAngle, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create RevolutionFuse feature.
| RevolutionFusePtr addRevolutionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theToAngle, | ||
| const ModelHighAPI_Double & | theFromAngle, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create RevolutionFuse feature.
| RevolutionFusePtr addRevolutionFuse | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Selection & | theToObject, | ||
| const ModelHighAPI_Double & | theToOffset, | ||
| const ModelHighAPI_Selection & | theFromObject, | ||
| const ModelHighAPI_Double & | theFromOffset, | ||
| const std::list< ModelHighAPI_Selection > & | theBooleanObjects | ||
| ) |
Create RevolutionFuse feature.
| RotationPtr addRotation | ( | const std::shared_ptr< ModelAPI_Document > & | part, |
| const std::list< ModelHighAPI_Selection > & | objects, | ||
| const ModelHighAPI_Selection & | axis = ModelHighAPI_Selection(), |
||
| const std::pair< ModelHighAPI_Selection, ModelHighAPI_Double > & | angle = std::pair< ModelHighAPI_Selection, ModelHighAPI_Double >(), |
||
| const ModelHighAPI_Selection & | center = ModelHighAPI_Selection(), |
||
| const ModelHighAPI_Selection & | start = ModelHighAPI_Selection(), |
||
| const ModelHighAPI_Selection & | end = ModelHighAPI_Selection(), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Rotation feature.
| ScalePtr addScale | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theMainObjects, | ||
| const ModelHighAPI_Selection & | theCenterPoint, | ||
| const ModelHighAPI_Double & | theScaleFactorX, | ||
| const ModelHighAPI_Double & | theScaleFactorY = ModelHighAPI_Double(0.0), |
||
| const ModelHighAPI_Double & | theScaleFactorZ = ModelHighAPI_Double(0.0), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Scale feature.
| SewingPtr addSewing | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theMainObjects, | ||
| const ModelHighAPI_Double & | theTolerance, | ||
| const bool | allowNonManifold, | ||
| const bool | alwaysCreateResult | ||
| ) |
Create Sewing feature.
| SharedFacesPtr getSharedFaces | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theObject, | ||
| const std::string & | theNameGroup | ||
| ) |
Create a group of shared faces in a compsolid or a compound.
| thePart | the part |
| theObject | the selected object |
| theNameGroup | the group name |
| SymmetryPtr addSymmetry | ( | const std::shared_ptr< ModelAPI_Document > & | part, |
| const std::list< ModelHighAPI_Selection > & | objects, | ||
| const ModelHighAPI_Selection & | basis, | ||
| const bool | keepOriginal = true, |
||
| const bool | keepSubResults = false |
||
| ) |
Create Symmetry feature.
| ThicknessPtr addThickness | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBaseObject, | ||
| const ModelHighAPI_Double & | theThickness, | ||
| const bool | isInside = true |
||
| ) |
Create Thickness feature.
| ThicknessPtr addHollowedSolid | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBaseObject, | ||
| const ModelHighAPI_Double & | theThickness, | ||
| const std::list< ModelHighAPI_Selection > & | theFaces, | ||
| const bool | isInside = true |
||
| ) |
Create Thickness feature.
| TranslationPtr addTranslation | ( | const std::shared_ptr< ModelAPI_Document > & | part, |
| const std::list< ModelHighAPI_Selection > & | objects, | ||
| const std::pair< ModelHighAPI_Selection, ModelHighAPI_Double > & | deprecated1 = std::pair< ModelHighAPI_Selection, ModelHighAPI_Double >(), |
||
| const std::pair< ModelHighAPI_Selection, ModelHighAPI_Double > & | deprecated2 = std::pair< ModelHighAPI_Selection, ModelHighAPI_Double >(), |
||
| const std::pair< ModelHighAPI_Selection, ModelHighAPI_Double > & | deprecated3 = std::pair< ModelHighAPI_Selection, ModelHighAPI_Double >(), |
||
| const ModelHighAPI_Selection & | axis = ModelHighAPI_Selection(), |
||
| const ModelHighAPI_Double & | distance = ModelHighAPI_Double(0.0), |
||
| const std::list< ModelHighAPI_Double > & | vector = std::list< ModelHighAPI_Double >(), |
||
| const ModelHighAPI_Selection & | startPoint = ModelHighAPI_Selection(), |
||
| const ModelHighAPI_Selection & | endPoint = ModelHighAPI_Selection(), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Translation feature.
| UnionPtr addUnion | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::list< ModelHighAPI_Selection > & | theBaseObjects, | ||
| const ModelHighAPI_Double & | fuzzyParam = ModelHighAPI_Double(-1), |
||
| const bool | keepSubResults = false |
||
| ) |
Create Union feature.
| ConeSegmentPtr addConeSegment | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theRMin1, | ||
| const ModelHighAPI_Double & | theRMax1, | ||
| const ModelHighAPI_Double & | theRMin2, | ||
| const ModelHighAPI_Double & | theRMax2, | ||
| const ModelHighAPI_Double & | theZ, | ||
| const ModelHighAPI_Double & | theStartPhi, | ||
| const ModelHighAPI_Double & | theDeltaPhi | ||
| ) |
Create GDML ConeSegment feature.
| EllipsoidPtr addEllipsoid | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theAX, | ||
| const ModelHighAPI_Double & | theBY, | ||
| const ModelHighAPI_Double & | theCZ | ||
| ) |
Create GDML Ellipsoid feature.
| EllipsoidPtr addEllipsoid | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theAX, | ||
| const ModelHighAPI_Double & | theBY, | ||
| const ModelHighAPI_Double & | theCZ, | ||
| const ModelHighAPI_Double & | theZCut1, | ||
| const ModelHighAPI_Double & | theZCut2 | ||
| ) |
Create GDML Ellipsoid feature.
| std::shared_ptr<ModelHighAPI_Folder> addFolder | ( | const std::shared_ptr< ModelAPI_Document > & | theDoc | ) |
Create empty Folder feature.
| std::shared_ptr<ModelHighAPI_Folder> addFolder | ( | const std::shared_ptr< ModelAPI_Document > & | theDoc, |
| const ModelHighAPI_Reference & | theFirstFeature, | ||
| const ModelHighAPI_Reference & | theLastFeature | ||
| ) |
Create Folder feature.
| void removeFolder | ( | std::shared_ptr< ModelHighAPI_Folder > & | theFolder | ) |
Removes Folder feature.
| ParameterPtr addParameter | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::string & | theName, | ||
| const std::string & | theExpression, | ||
| const std::wstring & | theComment = std::wstring() |
||
| ) |
Create Parameter feature.
| void removeParameter | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ParameterPtr & | theParameter | ||
| ) |
Remove Parameter feature and substitute it by the value in referred features.
| PartPtr addPart | ( | const std::shared_ptr< ModelAPI_Document > & | thePartSet | ) |
Create Part feature.
| PartPtr duplicatePart | ( | const ModelHighAPI_Interface & | thePart | ) |
Duplicate Part feature.
| void removePart | ( | const ModelHighAPI_Interface & | thePart | ) |
Remove Part feature.
| BoxPtr addBox | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theDx, | ||
| const ModelHighAPI_Double & | theDy, | ||
| const ModelHighAPI_Double & | theDz | ||
| ) |
Create primitive Box feature.
| BoxPtr addBox | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theFirstPoint, | ||
| const ModelHighAPI_Selection & | theSecondPoint | ||
| ) |
Create primitive Box feature.
| BoxPtr addBox | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theOx, | ||
| const ModelHighAPI_Double & | theOy, | ||
| const ModelHighAPI_Double & | theOz, | ||
| const ModelHighAPI_Double & | theHalfLengthX, | ||
| const ModelHighAPI_Double & | theHalfLengthY, | ||
| const ModelHighAPI_Double & | theHalfLengthZ | ||
| ) |
Create primitive Box feature.
| ConePtr addCone | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBasePoint, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theBaseRadius, | ||
| const ModelHighAPI_Double & | theTopRadius, | ||
| const ModelHighAPI_Double & | theHeight | ||
| ) |
Create primitive Cone feature.
| ConePtr addCone | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theBaseRadius, | ||
| const ModelHighAPI_Double & | theTopRadius, | ||
| const ModelHighAPI_Double & | theHeight | ||
| ) |
Create primitive Cone feature.
| CylinderPtr addCylinder | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBasePoint, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theRadius, | ||
| const ModelHighAPI_Double & | theHeight | ||
| ) |
Create primitive Cylinder feature.
| CylinderPtr addCylinder | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBasePoint, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theRadius, | ||
| const ModelHighAPI_Double & | theHeight, | ||
| const ModelHighAPI_Double & | theAngle | ||
| ) |
Create primitive Cylinder feature.
| CylinderPtr addCylinder | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theRadius, | ||
| const ModelHighAPI_Double & | theHeight | ||
| ) |
Create primitive Cylinder feature.
| CylinderPtr addCylinder | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theRadius, | ||
| const ModelHighAPI_Double & | theHeight, | ||
| const ModelHighAPI_Double & | theAngle | ||
| ) |
Create primitive Cylinder feature.
| SpherePtr addSphere | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theCenterPoint, | ||
| const ModelHighAPI_Double & | theRadius | ||
| ) |
Create primitive Sphere feature.
| SpherePtr addSphere | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theRadius | ||
| ) |
Create primitive Sphere feature.
| SpherePtr addSphere | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theRMin, | ||
| const ModelHighAPI_Double & | theRMax, | ||
| const ModelHighAPI_Double & | thePhiMin, | ||
| const ModelHighAPI_Double & | thePhiMax, | ||
| const ModelHighAPI_Double & | theThetaMin, | ||
| const ModelHighAPI_Double & | theThetaMax | ||
| ) |
Create primitive Sphere feature.
| TorusPtr addTorus | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theBasePoint, | ||
| const ModelHighAPI_Selection & | theAxis, | ||
| const ModelHighAPI_Double & | theRadius, | ||
| const ModelHighAPI_Double & | theRingRadius | ||
| ) |
Create primitive Torus feature.
| TorusPtr addTorus | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theRadius, | ||
| const ModelHighAPI_Double & | theRingRadius | ||
| ) |
Create primitive Torus feature.
| TubePtr addTube | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Double & | theRMin, | ||
| const ModelHighAPI_Double & | theRMax, | ||
| const ModelHighAPI_Double & | theHeight | ||
| ) |
Create primitive Tube feature.
| SketchPtr addSketch | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::shared_ptr< GeomAPI_Ax3 > & | thePlane | ||
| ) |
Create Sketch feature.
| SketchPtr addSketch | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const ModelHighAPI_Selection & | theExternal | ||
| ) |
Create Sketch feature.
| SketchPtr addSketch | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const std::wstring & | theExternalName | ||
| ) |
Create Sketch feature.
| SketchPtr addSketch | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| std::shared_ptr< ModelAPI_Object > | thePlaneObject | ||
| ) |
Create Sketch feature.
| SketchPtr copySketch | ( | const std::shared_ptr< ModelAPI_Document > & | thePart, |
| const SketchPtr & | theSketch | ||
| ) |
Copy sketch with all its sub-features.