C3D Toolkit
Kernel - 117958, Vision - 2.7.6.12
|
Classes | |
class | MbAttributeProvider |
Topological objects attributes provider. More... | |
class | MbBooleanSolid |
Boolean operation constructor. More... | |
class | MbChamferSolid |
Constructor of solid with edges' chamfers. More... | |
class | MbConnectingCurveCreator |
Constructor of curve connecting two curves. More... | |
class | MbCuttingSolid |
Cut solid constructor. More... | |
class | MbDetachSolid |
Constructor subdividing a set of faces into connected parts. More... | |
class | MbMotionMaker |
The shift of an object. More... | |
class | MbRotationMaker |
Rotate an object around an axis. More... | |
class | MbTransformationMaker |
Transformation of an object by matrix. More... | |
class | MbDraftSolid |
Constructor of a shell with drafted faces. More... | |
class | MbDuplicationSolid |
Constructor of duplication face sets . More... | |
class | MbElementarySolid |
Constructor of shell for elementary solid. More... | |
class | MbCurveEvolutionSolid |
Constructor of shell of evolution solid. More... | |
class | MbExtendCurveCreator |
Constructor of curve extension. More... | |
class | MbExtensionShell |
Constructor of an extended face of a shell. More... | |
class | MbCurveExtrusionSolid |
Constructor of an extrusion solid's shell. More... | |
class | MbFireCreator |
Base class of a constructor of fair curve. More... | |
class | MbFireCurveCreator |
Constructor of fair curve. More... | |
class | MbFireFilletCreator |
Constructor of a fair fillet curve. More... | |
class | MbFireClothoidCreator |
Constructor of a clothoid. More... | |
class | MbFireChangeCreator |
Constructor of changing a fair curve. More... | |
class | MbFilletSolid |
Edges fillet constructor. More... | |
class | MbHoleSolid |
Constructor of shell of hole, pocket, groove. More... | |
class | MbIntCurveCreator |
Intersection curve constructor. More... | |
class | MbJoinShell |
Constructor of a join shell. More... | |
class | MbCurveLoftedSolid |
Constructor of a lofted shell. More... | |
class | MbMedianShell |
Constructor of a median shell of solid. More... | |
class | MbSimpleMeshCreator |
Constructor of a polygonal object without history. More... | |
class | MbReverseMeshCreator |
Constructor of a reversed polygonal object. More... | |
class | MbBooleanMeshCreator |
Constructor of Boolean operation of polygonal objects. More... | |
class | MbCutMeshCreator |
Constructor of a polygonal object cutted by a plane. More... | |
class | MbMeshShell |
Constructor of a shell from a mesh of curves. More... | |
class | MbModifiedNurbsItem |
Constructor of a shell with deformable faces. More... | |
class | MbNurbsModification |
Modifier of a shell with a deformable face. More... | |
class | MbFaceModifiedSolid |
Constructor of a modified shell. More... | |
class | MbNurbs3DCreator |
Spatial spline constructor. More... | |
class | MbNurbsBlockSolid |
Constructor of a shell in the form of block. More... | |
class | MbNurbsSurfacesSolid |
Constructor of a shell from NURBS-surfaces. More... | |
class | MbOffsetCurveCreator |
Offset curve constructor. More... | |
class | MbPatchCreator |
Constructor of a patch-shaped shell. More... | |
class | MbProjCurveCreator |
Projection wireframe constructor. More... | |
class | MbCurveRevolutionSolid |
Constructor of a revolution shell. More... | |
class | MbRibSolid |
Constructor of a solid with a rib. More... | |
class | MbRuledShell |
Constructor of a ruled shell. More... | |
class | MbSectionShell |
Constructor of the shell on mutable section surface. More... | |
class | MbBendAnySolid |
Constructor of a shell from sheet material with bend/unbend. More... | |
class | MbBendsByEdgesSolid |
Constructor of bends by edges of a shell of a solid from sheet material. More... | |
class | MbBendOverSegSolid |
Constructor of a shell from sheet material bent along a segment. More... | |
class | MbBendUnbendSolid |
Constructor of a shell from sheet material with bend/unbend. More... | |
class | MbBuildSheetMetalSolid |
Constructor of the sheet metal shell based on an arbitrary solid. More... | |
class | MbClosedCornerSolid |
Constructor of a shell from sheet material with corner enclosure. More... | |
class | MbJointBendSolid |
Construction of a composite bend. More... | |
class | MbSheetMetalSolid |
Constructor of a shell from sheet material. More... | |
class | MbNormalizeHolesSolid |
Constructor of the normalization of the holes of sheet solid. More... | |
class | MbRestoredEdgesSolid |
Constructor of side edges of bends. More... | |
class | MbSimplifyFlatSolid |
Constructor of the simplified flat pattern. More... | |
class | MbSheetUnionSolid |
Constructor of operation of union of sheet solids by butt. More... | |
class | MbSimpleCreator |
Constructor of a solid shell without history. More... | |
class | MbReverseCreator |
Constructor of a reversed solid. More... | |
class | MbSmoothSolid |
Constructor of chamfer or fillet of solid's edges. More... | |
class | MbSplitShell |
Construction of a shell with splitting of faces. More... | |
class | MbBeadSolid |
Constructor of a shell from sheet material with a bead. More... | |
class | MbJalousieSolid |
Constructor of a shell form sheet material with jalousie. More... | |
class | MbJogSolid |
Constructor of a shell from sheet material with a jog. More... | |
class | MbRemoveOperationSolid |
The constructor of a shell from sheet material without elements of the specified operation. More... | |
class | MbStampRibSolid |
Constructor of a sheet solid with a rib. More... | |
class | MbRuledSolid |
Constructor of a sheet ruled shell. More... | |
class | MbStampSolid |
Constructor of a shell from the sheet material with stamping. More... | |
class | MbSphericalStampSolid |
Constructor of a shell from the sheet material with spherical stamping. More... | |
class | MbUserStampSolid |
Constructor of a shell from the sheet material with stamping by tool solid. More... | |
class | MbStitchedSolid |
Constructor of a shell by stitching the faces. More... | |
class | MbSurfaceSplineCreator |
Spatial spline constructor. More... | |
class | MbCurveSweptSolid |
Constructor a solid's shell by forming curves. More... | |
class | MbSymmetrySolid |
Constructor of a symmetric solid. More... | |
class | MbThinShellCreator |
Constructor of a shell from a surface. More... | |
class | MbShellSolid |
Constructor of an offset shell. More... | |
class | MbTransformedSolid |
Constructor of a transformed shell. More... | |
class | MbTruncatedShell |
Constructor of a truncated shell. More... | |
class | MbUnionSolid |
Constructor of union of two face sets to one face set. More... | |
class | MbUnwrapCurveCreator |
Unwrapped curve creator. More... | |
class | MbWrapCurveCreator |
Wrapped curve creator. More... | |
class | MbCreator |
Constructor of object of the geometric model. More... | |
class | MbTransactions |
The history tree of object. More... | |
Functions | |
MbResultType | CreateBoolean (const MbMesh &mesh1, const MbMesh &mesh2, OperationType operation, c3d::MeshSPtr &newMesh) |
Create a polygon object of Boolean operation. More... | |
MbCreator * | CreateBoolean (MbFaceShell *shell1, MbeCopyMode sameShell1, MbFaceShell *shell2, MbeCopyMode sameShell2, const RPArray< MbCreator > &creators, size_t &sharedCount, size_t &firstCount, OperationType oType, const MbSNameMaker &operNames, const MbBooleanFlags &flags, MbResultType &res, MbFaceShell *&shell) |
Create the shell of Boolean operation. More... | |
MbCreator * | CreateBoolean (c3d::ShellSPtr &shell1, MbeCopyMode sameShell1, c3d::ShellSPtr &shell2, MbeCopyMode sameShell2, const c3d::CreatorsSPtrVector &creators, size_t &sharedCount, size_t &firstCount, const MbBooleanOperationParams ¶ms, MbResultType &res, c3d::ShellSPtr &shell) |
Create the shell of Boolean operation. More... | |
MbCreator * | CreateChamfer (MbFaceShell *solid, MbeCopyMode sameShell, const MbShellChamferParams &chamferParams, MbResultType &res, MbFaceShell *&shell) |
Create a shell with edges' chamfers. More... | |
MbCuttingSolid * | CreatePart (c3d::ShellSPtr &initShell, MbeCopyMode sameShell, const MbShellCuttingParams &cuttingParams, MbResultType &resCode, c3d::ShellSPtr &resShell1, c3d::ShellSPtr &resShell2) |
Cut a part of the shell. More... | |
MbCreator * | CreateDraft (MbFaceShell *solid, MbeCopyMode sameShell, const MbPlacement3D &np, double angle, const RPArray< MbFace > &faces, MbeFacePropagation fp, bool reverse, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&resShell) |
Create a shell with drafted faces. More... | |
c3d::CreatorSPtr | CreateDraft (c3d::ShellSPtr &solid, MbeCopyMode sameShell, const MbDraftSolidParams &draftParams, MbResultType &res, c3d::ShellSPtr &resShell) |
Create a shell with drafted faces. More... | |
c3d::CreatorSPtr | CreateCurveEvolution (c3d::ShellSPtr &srcSolid, MbeCopyMode copyMode, OperationType oType, const MbEvolutionShellParams &evShellParams, MbResultType &res, c3d::ShellSPtr &resShell) |
Create a shell of evolution solid. More... | |
MbCreator * | CreateCurveEvolution (MbFaceShell *solid, MbeCopyMode sameShell, const MbSweptData &sweptData, const MbCurve3D &spine, const EvolutionValues ¶ms, OperationType oType, const MbSNameMaker &operNames, const RPArray< MbSNameMaker > &contoursNames, const MbSNameMaker &spineNames, MbResultType &res, MbFaceShell *&shell) |
Create a shell of evolution solid. More... | |
MbCreator * | CreateCurveEvolution (MbFaceShell *solid, MbeCopyMode sameShell, const MbSweptData &sweptData, const MbSpine &spine, const EvolutionValues ¶ms, OperationType oType, const MbSNameMaker &operNames, const RPArray< MbSNameMaker > &contoursNames, const MbSNameMaker &spineNames, MbResultType &res, MbFaceShell *&shell) |
Create a shell of evolution solid. More... | |
MbCreator * | CreateExtensionShell (MbFaceShell *solid, MbeCopyMode sameShell, const RPArray< MbCurveEdge > &edges, const ExtensionValues ¶meters, const MbSNameMaker &operNames, MbResultType &res, MbFaceShell *&shell) |
Construct the extended face of a shell. More... | |
MbCreator * | CreateExtensionShell (c3d::ShellSPtr &solid, MbeCopyMode sameShell, const MbExtensionShellParams ¶meters, MbResultType &res, c3d::ShellSPtr &shell) |
Construct the extended face of a shell. More... | |
MbCreator * | CreateCurveExtrusion (MbFaceShell *solid, MbeCopyMode sameShell, const c3d::CreatorsSPtrVector *solidCreators, const MbSweptData &sweptData, const MbVector3D &direction, const ExtrusionValues ¶ms, OperationType oType, const MbSNameMaker &operNames, const RPArray< MbSNameMaker > &contoursNames, MbResultType &resType, MbFaceShell *&shell) |
Create an extrusion solid's shell. More... | |
MbCreator * | CreateHole (MbFaceShell *solid, MbeCopyMode sameShell, const MbPlacement3D &place, const HoleValues &par, const MbSNameMaker &ns, MbResultType &res, MbFaceShell *&shell) |
Create a shell with a hole, a pocket or a groove. More... | |
MbCreator * | CreateHole (const c3d::ShellSPtr &solid, MbeCopyMode sameShell, const MbHoleSolidParams ¶ms, MbResultType &res, c3d::ShellSPtr &shell) |
Create a shell with a hole, a pocket or a groove. More... | |
MbCreator * | CreateJoinShell (MbSurfaceCurve &curve1, MbSurfaceCurve &curve2, JoinSurfaceValues ¶meters, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell) |
Construct a join shell. More... | |
MbCreator * | CreateJoinShell (const RPArray< MbCurveEdge > &edges1, const SArray< bool > &orients1, const RPArray< MbCurveEdge > &edges2, const SArray< bool > &orients2, const MbMatrix3D &matr1, const MbMatrix3D &matr2, JoinSurfaceValues ¶meters, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell, bool isPhantom) |
Construct a join shell. More... | |
MbCreator * | CreateJoinShell (const MbJoinShellParams ¶meters, MbResultType &res, MbJoinShellResults &result, c3d::ShellSPtr &shell) |
Create a joint shell from parameters. More... | |
c3d::CreatorSPtr | CreateCurveLofted (c3d::ShellSPtr &srcSolid, MbeCopyMode copyMode, const MbLoftedSolidParams &loftSolParams, MbResultType &res, c3d::ShellSPtr &resShell) |
Create a solid from a planar sections. More... | |
MbCreator * | CreateCurveLofted (MbFaceShell *solid, MbeCopyMode sameShell, SArray< MbPlacement3D > &places, RPArray< MbContour > &planeConours, const LoftedValues ¶ms, OperationType oType, const MbSNameMaker &operName, RPArray< MbSNameMaker > &contourNames, SArray< MbCartPoint3D > *guidePoints, MbResultType &res, MbFaceShell *&resShell) |
Create a solid from a planar sections. More... | |
MbCreator * | CreateCurveLofted (MbFaceShell *solid, MbeCopyMode sameShell, RPArray< MbSurface > &surfaces, RPArray< MbContour > &planeConours, const LoftedValues ¶ms, OperationType oType, const MbSNameMaker &operName, RPArray< MbSNameMaker > &contourNames, RPArray< MbCurve3D > *guideCurves, SArray< MbCartPoint3D > *guidePoints, MbResultType &res, MbFaceShell *&resShell) |
Create a solid from sections on surfaces. More... | |
MbCreator * | CreateCurveLofted (MbFaceShell *solid, MbeCopyMode sameShell, SArray< MbPlacement3D > &places, RPArray< MbContour > &planeConours, const MbCurve3D ¢re_line, const LoftedValues ¶ms, OperationType oType, const MbSNameMaker &operName, RPArray< MbSNameMaker > &contourNames, SArray< MbCartPoint3D > *guidePoints, MbResultType &res, MbFaceShell *&resShell) |
Create a solid from a planar sections. More... | |
MbCreator * | CreateCurveLofted (MbFaceShell *solid, MbeCopyMode sameShell, RPArray< MbSurface > &surfaces, RPArray< MbContour > &planeConours, const MbCurve3D ¢re_line, const LoftedValues ¶ms, OperationType oType, const MbSNameMaker &operName, RPArray< MbSNameMaker > &contourNames, RPArray< MbCurve3D > *guideCurves, SArray< MbCartPoint3D > *guidePoints, MbResultType &res, MbFaceShell *&resShell) |
Create a solid from a space sections. More... | |
MbCreator * | CreateMedianShell (const MbFaceShell &solid, const MbMedianShellParams ¶ms, MbResultType &res, MedianShellFaces &medianFaces, c3d::ShellSPtr &shell) |
Build a median shell between selected faces of solid. More... | |
MbCreator * | CreateMeshShell (MeshSurfaceValues ¶meters, const MbSNameMaker &operNames, bool isPhantom, MbResultType &res, MbFaceShell *&shell) |
Construct a shell from a mesh of curves. More... | |
MbCreator * | CreateMeshShell (const MbMeshShellParameters ¶meters, MbResultType &res, c3d::ShellSPtr &shell) |
Construct a shell from a mesh of curves. More... | |
MbCreator * | CreateModifiedNurbsItem (MbFaceShell *outer, MbeCopyMode sameShell, const NurbsValues ¶meters, const RPArray< MbFace > &faces, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell) |
Construct a shell with deformable faces. More... | |
MbCreator * | CreateNurbsModification (MbFaceShell *outer, MbeCopyMode sameShell, MbFace *face, MbSurface &faceSurface, Array2< bool > &fixedPoints, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell) |
Construct a shell in which the specified face is deformed. More... | |
MbCreator * | CreateFaceModifiedSolid (MbFaceShell *outer, MbeCopyMode sameShell, const ModifyValues ¶meters, const RPArray< MbFace > &faces, const RPArray< MbCurveEdge > &edges, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell) |
Construct the modified shell. More... | |
MbCreator * | CreateNurbsBlock (const MbPlacement3D &place, double ax, double ay, double az, bool out, const MbSNameMaker &names, SimpleName name, NurbsBlockValues ¶meters, MbFaceShell *&shell) |
Construct the modified shell. More... | |
MbFaceShell * | CreateNurbsSurfacesShell (NurbsSurfaceValues ¶ms, const MbSNameMaker &operNames, bool isPhantom, MbResultType &res, IProgressIndicator *indicator=nullptr) |
Construct a shell from NURBS-surfaces. More... | |
MbResultType | CheckNurbsSurfacesShell (const NurbsSurfaceValues ¶ms, const MbFaceShell &shell, IProgressIndicator *indicator=nullptr) |
Check a shell from NURBS-surfaces. More... | |
MbCreator * | CreateNurbsShell (NurbsSurfaceValues ¶meters, const MbSNameMaker &operNames, bool isPhantom, MbResultType &res, MbFaceShell *&shell, IProgressIndicator *indicator=nullptr) |
Construct a shell from NURBS-surfaces. More... | |
c3d::CreatorSPtr | CreateNurbsShell (MbNurbsSurfacesShellParams ¶ms, MbResultType &res, c3d::ShellSPtr &shell, IProgressIndicator *indicator=nullptr) |
Construct a shell from NURBS-surfaces. More... | |
MbFaceShell * | CreatePatchShell (const std::vector< SPtr< MbCurveMate >> &initCurves, const PatchValues ¶meters, const MbSNameMaker &operNames, MbResultType &res) |
Construct a patch-shaped shell. More... | |
MbFaceShell * | CreatePatchShell (const RPArray< MbCurve3D > &initCurves, const PatchValues ¶meters, const MbSNameMaker &operNames, MbResultType &res) |
Construct a patch-shaped shell. More... | |
MbCreator * | CreatePatchSet (const MbPatchShellParams ¶ms, MbResultType &res, MbFaceShell *&shell) |
Construct a patch-shaped shell. More... | |
MbCreator * | CreateCurveRevolution (MbFaceShell *solid, MbeCopyMode sameShell, const MbSweptData &sweptData, const MbAxis3D &axis, const RevolutionValues ¶ms, OperationType oType, const MbSNameMaker &operNames, const RPArray< MbSNameMaker > &contoursNames, MbResultType &resType, c3d::ShellSPtr &shell) |
Create a shell of the revolution solid. More... | |
MbCreator * | CreateRib (MbFaceShell *solid, MbeCopyMode sameShell, const MbPlacement3D &place, const MbContour &contour, size_t index, const RibValues ¶meters, const MbSNameMaker &operNames, MbResultType &res, MbFaceShell *&shell) |
Create a shell with a rib. More... | |
MbCreator * | CreateRib (c3d::ShellSPtr &solid, MbeCopyMode sameShell, const MbRibSolidParameters ¶meters, MbResultType &res, c3d::ShellSPtr &shell) |
Create a shell with a rib. More... | |
MbCreator * | CreateRibElement (MbFaceShell *solid, const MbPlacement3D &place, const MbContour &contour, size_t index, const RibValues ¶meters, const MbSNameMaker &operNames, MbResultType &res, MbFaceShell *&shell) |
Create a separate rib. More... | |
MbCreator * | CreateRibElement (c3d::ShellSPtr &solid, const MbRibSolidParameters ¶meters, MbResultType &res, c3d::ShellSPtr &shell) |
Create a separate rib. More... | |
MbCreator * | CreateRuledShell (RuledSurfaceValues ¶meters, const MbSNameMaker &operNames, bool isPhantom, MbResultType &res, MbFaceShell *&shell) |
Construct a ruled shell. More... | |
MbCreator * | CreateRuledShell (const MbRuledShellParams &ruledParams, MbRuledShellResult &outParams, MbResultType &res, c3d::ShellSPtr &shell) |
Construct a ruled shell. More... | |
MbCreator * | CreateAnyBend (MbFaceShell &initialShell, const MbeCopyMode sameShell, const MbPlane &cutPlane, const SArray< MbAnyBend > &bends, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell) |
Construct a shell with bends. More... | |
MbCreator * | CreateBendsByEdges (SPtr< MbFaceShell > &initialShell, const MbeCopyMode sameShell, const RPArray< MbCurveEdge > &edges, const bool unbended, const MbBendByEdgeValues ¶meters, const MbSNameMaker &names, RPArray< MbSMBendNames > &resultBends, MbResultType &res, MbFaceShell *&shell) |
Construct bends along edges of a shell. More... | |
MbCreator * | CreateBendOverSegment (SPtr< MbFaceShell > &initialShell, MbeCopyMode sameShell, const RPArray< MbFace > &bendingFaces, MbCurve3D &curve, const bool unbended, const MbBendOverSegValues ¶meters, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell) |
Create a shell from sheet material bent along a segment. More... | |
MbCreator * | CreateBendUnbend (SPtr< MbFaceShell > &initialShell, MbeCopyMode sameShell, const RPArray< MbSheetMetalBend > &bends, const MbFace &fixedFace, const MbCartPoint &fixedPoint, bool bend, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell, RPArray< MbContour3D > *ribContours=nullptr) |
Construct a shell with bend/unbend. More... | |
MbCreator * | ConvertShellToSheetMetall (MbFaceShell *initialShell, const MbeCopyMode sameShell, const MbFace &initFace, bool sense, MbSolidToSheetMetalValues ¶ms, const MbSNameMaker &nameMaker, MbResultType &res, SPtr< MbFaceShell > &resultShell) |
Constructor of the sheet metal shell based on an arbitrary solid. More... | |
c3d::CreatorSPtr | ConvertShellToSheetMetall (const c3d::ShellSPtr &initialShell, const MbeCopyMode sameShell, MbSolidToSheetMetalParams ¶meters, MbResultType &res, c3d::ShellSPtr &resultShell) |
Constructor of the sheet metal shell based on an arbitrary solid. More... | |
MbCreator * | CreateClosedCorner (SPtr< MbFaceShell > &initialShell, MbeCopyMode sameShell, MbCurveEdge *curveEdgePlus, MbCurveEdge *curveEdgeMinus, const MbClosedCornerValues ¶meters, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell) |
Construct a shell form sheet material with corner closure. More... | |
MbCreator * | CreateJointBend (c3d::ShellSPtr &initialShell, const MbeCopyMode sameShell, const MbPlacement3D &placement, const MbContour &contour, const RPArray< MbCurveEdge > &edges, const bool unbended, const MbJointBendValues ¶meters, const MbSNameMaker &nameMaker, RPArray< RPArray< MbSMBendNames > > &resultBends, MbResultType &res, MbFaceShell *&shell) |
Construct composite bends. More... | |
MbCreator * | CreateSheetMetal (SPtr< MbFaceShell > &solid, MbeCopyMode sameShell, const MbPlacement3D &placement, RPArray< MbContour > &contours, bool unbended, const MbSheetMetalValues ¶meters, OperationType oType, double sag, RPArray< MbSNameMaker > *nameMaker, RPArray< MbSMBendNames > &resultBends, MbResultType &res, MbFaceShell *&shell) |
Construct a shell from sheet material. More... | |
MbCreator * | CreateSheetUnion (MbFaceShell &faceShell1, const MbeCopyMode sameShell1, const RPArray< MbCreator > &creators2, MbFaceShell &faceShell2, const MbeCopyMode sameShell2, const MbSNameMaker &operNames, MbResultType &res, MbFaceShell *&shell) |
Create a shell of sheet solids united by a butt. More... | |
MbCreator * | CreateSplitSolid (MbFaceShell *solid, MbeCopyMode sameShell, const MbPlacement3D &splitPlace, MbeSenseValue splitType, const RPArray< MbContour > &splitContours, bool splitSame, RPArray< MbFace > &selFaces, const MbMergingFlags &mergingFlags, const MbSNameMaker &operNames, MbResultType &res, MbFaceShell *&shell) |
Create a shell with faces splitting by extrusion. More... | |
MbCreator * | CreateSplitSolid (MbFaceShell *solid, MbeCopyMode sameShell, const RPArray< MbSpaceItem > &splitItems, bool splitSame, RPArray< MbFace > &selFaces, const MbMergingFlags &mergingFlags, const MbSNameMaker &operNames, MbResultType &res, MbFaceShell *&shell) |
Create a shell with faces splitting by spatial objects. More... | |
MbCreator * | CreateBead (SPtr< MbFaceShell > &initialShell, const MbeCopyMode sameShell, const MbFace *face, const MbPlacement3D &placement, const RPArray< MbContour > &contours, const SArray< MbCartPoint > ¢ers, const MbBeadValues ¶meters, const double thickness, const bool add, const MbSNameMaker &nameMaker, MbResultType &res, SPtr< MbFaceShell > &resultShell) |
Construct a shell from sheet material with a bead. More... | |
MbCreator * | CreateJalousie (SPtr< MbFaceShell > &initialShell, const MbeCopyMode sameShell, const MbFace *face, const MbPlacement3D &placement, const RPArray< MbLineSegment > &lineSegments, const MbJalousieValues ¶meters, const double thickness, const bool add, const MbSNameMaker &nameMaker, MbResultType &res, SPtr< MbFaceShell > &resultShell) |
Construct a shell from a sheet material with jalousie. More... | |
MbCreator * | CreateSheetSolidJog (SPtr< MbFaceShell > &solid, MbeCopyMode sameShell, const RPArray< MbFace > &bendingFaces, MbCurve3D &curve, const bool unbended, const MbJogValues ¶meters, const MbBendValues &secondBendParams, const MbSNameMaker &names, RPArray< MbFace > &firstBendFaces, RPArray< MbFace > &secondBendFaces, MbResultType &res, MbFaceShell *&shell) |
Construct shells from the sheet material with a jog. More... | |
MbCreator * | CreateRemovedOperationResult (MbFaceShell &initialShell, const MbeCopyMode sameShell, const MbRemoveOperationResultParams ¶ms, MbResultType &res, SPtr< MbFaceShell > &shell) |
Constructs a shell without the specified operation. More... | |
MbCreator * | CreateRemovedOperationResult (MbFaceShell &initialShell, const MbeCopyMode sameShell, const SimpleName removeName, MbeSheetOperationName opType, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell) |
Constructs a shell without the specified operation. More... | |
MbCreator * | CreateRemovedOperationResult (MbFaceShell &initialShell, const MbeCopyMode sameShell, const SimpleName removeName, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell) |
Constructs a shell without the specified operation. More... | |
MbCreator * | CreateSheetRib (MbFaceShell *solid, MbeCopyMode sameShell, const MbPlacement3D &place, const MbContour &contour, size_t index, SheetRibValues ¶meters, const MbSNameMaker &operNames, MbResultType &res, MbFaceShell *&resultShell) |
Create a shell with a rib. More... | |
c3d::CreatorSPtr | CreateSheetRib (const c3d::ShellSPtr &solid, MbeCopyMode sameShell, const MbSheetRibSolidParams ¶ms, MbResultType &res, c3d::ShellSPtr &shell) |
Create a shell with a rib. More... | |
MbCreator * | CreateRuledSolid (MbRuledSolidValues ¶meters, const MbSNameMaker &operNames, RPArray< MbSMBendNames > &resultBends, MbContour *&resultContour, MbResultType &res, MbFaceShell *&shell) |
Create a ruled shell from the contour. More... | |
MbCreator * | CreateStamp (SPtr< MbFaceShell > &initialShell, const MbeCopyMode sameShell, const MbFace *face, const MbPlacement3D &placement, const MbContour &contour, const MbStampingValues ¶ms, const double thickness, const bool add, const MbSNameMaker &nameMaker, MbResultType &res, SPtr< MbFaceShell > &resultShell) |
Construct a shell form sheet material by stamping. More... | |
c3d::CreatorSPtr | CreateStamp (c3d::ShellSPtr &initialShell, const MbeCopyMode sameShell, const MbStampPartsParams ¶ms, const bool add, MbResultType &res, c3d::ShellSPtr &resultShell) |
Construct a shell form sheet material by stamping. More... | |
MbCreator * | CreateSphericalStamp (SPtr< MbFaceShell > &solid, const MbeCopyMode sameShell, const MbFace *face, const MbPlacement3D &placement, const MbStampingValues ¶meters, const double thickness, const bool add, const MbCartPoint ¢er, const MbSNameMaker &operNames, MbResultType &res, SPtr< MbFaceShell > &shell) |
Construct a shell form sheet material by spherical stamping. More... | |
c3d::CreatorSPtr | CreateSphericalStamp (SPtr< MbFaceShell > &solid, const MbeCopyMode sameShell, const MbSphericalStampPartsParams ¶ms, const bool add, MbResultType &res, SPtr< MbFaceShell > &shell) |
Construct a shell form sheet material by spherical stamping. More... | |
MbCreator * | CreateUserStamp (MbFaceShell *initialShell, const MbeCopyMode sameShell, const MbFace &targetFace, const RPArray< MbCreator > &creatorsTool, MbFaceShell &toolShell, const MbeCopyMode sameShellTool, bool isPunch, const RPArray< MbFace > &pierceFaces, const MbToolStampingValues ¶ms, const MbSNameMaker &nameMaker, MbResultType &res, SPtr< MbFaceShell > &resultShell) |
Construct a shell form sheet material by tool body stamping. More... | |
c3d::CreatorSPtr | CreateUserStamp (c3d::ShellSPtr &initialShell, const MbeCopyMode sameShell, MbFaceShell &toolShell, const MbeCopyMode sameShellTool, const c3d::CreatorsSPtrVector &creatorsTool, const MbStampWithToolParams &stParams, MbResultType &res, c3d::ShellSPtr &resultShell) |
Construct a shell form sheet material by tool body stamping. More... | |
MbFaceShell * | MakeUserStampShellForStampParts (MbFaceShell *initialShell, const MbeCopyMode sameShell, const MbFace &targetFace, MbFaceShell &toolShell, const MbeCopyMode sameShellTool, bool isPunch, const RPArray< MbFace > &pierceFaces, const MbToolStampingValues ¶ms, const MbSNameMaker &nameMaker) |
Construction of result shell. More... | |
MbFaceShell * | MakeUserStampShellForStampParts (c3d::ShellSPtr &initialShell, const MbeCopyMode sameShell, MbFaceShell &toolShell, const MbeCopyMode sameShellTool, const MbStampWithToolPartsParams ¶ms) |
Construction of result shell. More... | |
MbFaceShell * | CreateStitchShell (const c3d::ShellsSPtrVector &initialShells, const MbShellStitchParams ¶ms, MbeStitchResType &res) |
Construction of a shell of stitching. More... | |
MbCreator * | CreateStitchedSolid (const std::vector< c3d::CreatorsSPtrVector > &creatorsArray, const c3d::ShellsSPtrVector &shells, const MbShellStitchParams ¶ms, MbeStitchResType &res, c3d::ShellSPtr &resultShell) |
Create a shell by faces stitching. More... | |
MbCreator * | CreateSymmetry (MbFaceShell *solid, MbeCopyMode sameShell, const MbCartPoint3D &origin, const MbVector3D &axisX, const MbVector3D &axisY, int side, const MbSNameMaker &operNames, MbResultType &res, MbFaceShell *&shell) |
Create a symmetric shell. More... | |
MbCreator * | CreateSymmetry (c3d::ShellSPtr &solid, MbeCopyMode sameShell, const MbSymmetrySolidParams &symParams, MbResultType &res, c3d::ShellSPtr &shell) |
Create a symmetric shell. More... | |
MbCreator * | CreateThinShell (const MbSurface &surface, bool sense, const SweptValues ¶meters, bool same, const MbSNameMaker &operNames, SimpleName &name, MbResultType &res, MbFaceShell *&shell) |
Construct a shell from a surface. More... | |
MbCreator * | CreateLoftedShell (const MbLoftedPointsShellParams ¶ms, MbResultType &res, MbFaceShell *&shell) |
Construct a shell from point sets. More... | |
MbCreator * | CreateLoftedShell (const MbLoftedCurvesShellParams ¶ms, MbResultType &res, MbFaceShell *&shell) |
Construct a shell from curves. More... | |
MbCreator * | CreateThinShelling (MbFaceShell *solid, MbeCopyMode sameShell, SweptValues ¶meters, RPArray< MbFace > &outFaces, const MbSNameMaker &names, bool copyFaceAttrs, MbResultType &res, MbFaceShell *&shell) |
Create an offset shell with the common offset distance. More... | |
MbCreator * | CreateThinShelling (MbFaceShell *solid, MbeCopyMode sameShell, SweptValues ¶meters, RPArray< MbFace > &outFaces, RPArray< MbFace > &offFaces, SArray< double > &offDists, const MbSNameMaker &names, bool copyFaceAttrs, MbResultType &res, MbFaceShell *&shell) |
Create an offset shell with unique offset distance. More... | |
MbFaceShell * | MakeThinShell (MbFaceShell &solid, MbeCopyMode sameShell, const SweptValues ¶meters, SArray< MbItemIndex > &outInds, SArray< MbItemThinValues > &offIndPars, const MbSNameMaker &names, bool copyFaceAttrs, MbResultType &res) |
Construct an offset shell. More... | |
MbCreator * | CreateTransformedSolid (MbFaceShell *outer, MbeCopyMode sameShell, const TransformValues ¶meters, const MbSNameMaker &names, MbResultType &res, MbFaceShell *&shell) |
Creation of constructor of a scaled shell. More... | |
MbCreator * | TruncateSurfacesSol (MbSolid &initSolid, SArray< size_t > &selIndices, MbeCopyMode sameShell, const MbSNameMaker &operNames, RPArray< MbSpaceItem > &items, c3d::BoolVector &orients, bool curvesSplitMode, MbeCopyMode solidsCopyMode, const MbMergingFlags &mergeFlags, MbResultType &res, MbFaceShell *&resShell, MbPlacement3D *&resDir) |
Build a truncated shell. More... | |
MbCreator * | CreateUnion (MbFaceShell *solid, MbeCopyMode sameShell, const c3d::CreatorsSPtrVector &creators, const c3d::IndicesVector &countNumbers, const RPArray< MbFaceShell > &shells, MbeCopyMode sameShells, OperationType oType, bool checkIntersect, const MbMergingFlags &mergeFlags, const MbSNameMaker &operNames, bool isArray, MbResultType &res, MbFaceShell *&shell, RPArray< MbFaceShell > *notGluedShells=nullptr) |
Create a shell of Boolean operation of shell set. More... | |
MbCreator * | CreateUnion (const c3d::CreatorsSPtrVector &creators, const c3d::IndicesVector &countNumbers, const RPArray< MbFaceShell > &shells, const MbSNameMaker &operNames, MbResultType &res, MbFaceShell *&shell) |
Unite a set of shells' faces into a single shell. More... | |
enum MbeCreatorType |
Types of creators.
Types of constructors of shells of solids, point-frames and wire-frames of the geometric model.
enum MbeDuplicatesType |
Types of parameters of duplication.
Dt_Grid - Copies locate in the nodes of the Cartesian grid, that define by two directions, steps and numbers of steps along of each directions, and also by a shift from the initial position.
The original solid locate in the center of the grid.
O—O—O
/ / /
O—O—O
/ / /
[O]–O—O
dt_Polar - Copies locate in the nodes of the polar grid, that define by directions of the initial ray and the axis of rotation, steps on the ray, angle of rotation and number of steps on the ray and angular step, and also by a shift from the initial position.
The original solid locate in the center of the grid.
O O
\ /
O O
\ /
O–O-[O]-O–O
dt_Matrix - Parameters of duplication is array of matrices. Number of copies equal to number of matrix. Each copy is obtained by transformation of corresponding matrix.
Enumerator | |
---|---|
dt_Grid | Copies locate in nodes of Cartesian grid. |
dt_Polar | Copies locate in nodes of a polar grid. |
dt_Matrix | Copies are transformed by matrices. |
MbResultType CreateBoolean | ( | const MbMesh & | mesh1, |
const MbMesh & | mesh2, | ||
OperationType | operation, | ||
c3d::MeshSPtr & | newMesh | ||
) |
Create a polygon object of Boolean operation.
Create a polygon object as a result of Boolean operation on the given polygon objects.
[in] | mesh1 | - The first polygon object. |
[in] | mesh1 | - The second polygon object. |
[in] | operation | - A Boolean operation type. |
[out] | newMesh | - Constructed polygon object. |
MbCreator* CreateBoolean | ( | MbFaceShell * | shell1, |
MbeCopyMode | sameShell1, | ||
MbFaceShell * | shell2, | ||
MbeCopyMode | sameShell2, | ||
const RPArray< MbCreator > & | creators, | ||
size_t & | sharedCount, | ||
size_t & | firstCount, | ||
OperationType | oType, | ||
const MbSNameMaker & | operNames, | ||
const MbBooleanFlags & | flags, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create the shell of Boolean operation.
Create a shell as a result of Boolean operation on the given shells of solids. The function simultaneously constructs the shell and creates its constructor.
[in] | shell1 | - The set of faces of the first solid. |
[in] | sameShell1 | - Method of copying the faces of the first solid. |
[in] | shell2 | - The second solid face set. |
[in] | sameShell2 | - Method of copying the faces of the second solid. |
[in] | creators | - The set of creators of the first and the second face sets. |
[in] | sharedCount | - The number of shared creators of the both face sets. |
[in] | firstCount | - The number of creators of the first face set. |
[in] | oType | - A Boolean operation type. |
[in] | operNames | - An object defining names generation in the operation. |
[in] | flags | - Control flags of the Boolean operation. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateBoolean | ( | c3d::ShellSPtr & | shell1, |
MbeCopyMode | sameShell1, | ||
c3d::ShellSPtr & | shell2, | ||
MbeCopyMode | sameShell2, | ||
const c3d::CreatorsSPtrVector & | creators, | ||
size_t & | sharedCount, | ||
size_t & | firstCount, | ||
const MbBooleanOperationParams & | params, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | shell | ||
) |
Create the shell of Boolean operation.
Create a shell as a result of Boolean operation on the given shells of solids. The function simultaneously constructs the shell and creates its constructor.
[in] | shell1 | - The set of faces of the first solid. |
[in] | sameShell1 | - Method of copying the faces of the first solid. |
[in] | shell2 | - The second solid face set. |
[in] | sameShell2 | - Method of copying the faces of the second solid. |
[in] | creators | - The set of creators of the first and the second face sets. |
[in] | sharedCount | - The number of shared creators of the both face sets. |
[in] | firstCount | - The number of creators of the first face set. |
[in] | params | - A Boolean operation parameters. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateChamfer | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const MbShellChamferParams & | chamferParams, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a shell with edges' chamfers.
For the given shell create a shell with chamfers of the specified edges.
[in] | solid | - The source shell. |
[in] | sameShell | - Method of copying the source shell faces. |
[in] | chamferParams | - The operation parameters. An object defining names generation in the operation. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
MbCuttingSolid* CreatePart | ( | c3d::ShellSPtr & | initShell, |
MbeCopyMode | sameShell, | ||
const MbShellCuttingParams & | cuttingParams, | ||
MbResultType & | resCode, | ||
c3d::ShellSPtr & | resShell1, | ||
c3d::ShellSPtr & | resShell2 | ||
) |
Cut a part of the shell.
For a given shell create a shell without a part of faces cut from it by : (1) the given surface, (2) a set of faces obtained by extrusion of a planar contour, (3) the given shell.
The function simultaneously constructs the shell and creates its constructor.
[in] | initShell | - The source shell. |
[in] | sameShell | - Method of copying the source shell faces. |
[in] | cuttingParams | - Operation parameters. |
[out] | resCode | - Operation result code. |
[out] | resShell1 | - Constructed first set of faces. |
[out] | resShell2 | - Constructed second set of faces. |
MbCreator* CreateDraft | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const MbPlacement3D & | np, | ||
double | angle, | ||
const RPArray< MbFace > & | faces, | ||
MbeFacePropagation | fp, | ||
bool | reverse, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | resShell | ||
) |
Create a shell with drafted faces.
For the source shell create a shell with faces drafted from the neutral isoplane for pattern tapers creation.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | np | - The local coordinate system XY plane of which is a neutral plane. |
[in] | angle | - Draft angle. |
[in] | faces | - The faces to draft. |
[in] | fp | - Flag of face propagation. |
[in] | reverse | - Flag for reverse pull direction. |
[in] | names | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
c3d::CreatorSPtr CreateDraft | ( | c3d::ShellSPtr & | solid, |
MbeCopyMode | sameShell, | ||
const MbDraftSolidParams & | draftParams, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | resShell | ||
) |
Create a shell with drafted faces.
For the source shell create a shell with faces drafted from the neutral isoplane or neutral edges for pattern tapers creation.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | draftParams | - Draft parameters. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
c3d::CreatorSPtr CreateCurveEvolution | ( | c3d::ShellSPtr & | srcSolid, |
MbeCopyMode | copyMode, | ||
OperationType | oType, | ||
const MbEvolutionShellParams & | evShellParams, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | resShell | ||
) |
Create a shell of evolution solid.
Create a shell by moving the generating curve along the spine curve and perform the Boolean operation with the shell if it is specified.
The function simultaneously creates the shell and its constructor.
[in] | srcSolid | - Face set the construction is complemented with respect to. |
[in] | copyMode | - The method of copying faces. |
[in] | oType | - Type of operation of construction complement. |
[in] | evShellParams | - The source data for making a shell of evolution solid. |
[out] | res | - Operation result code. |
[out] | resShell | - Constructed set of faces. |
MbCreator* CreateCurveEvolution | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const MbSweptData & | sweptData, | ||
const MbCurve3D & | spine, | ||
const EvolutionValues & | params, | ||
OperationType | oType, | ||
const MbSNameMaker & | operNames, | ||
const RPArray< MbSNameMaker > & | contoursNames, | ||
const MbSNameMaker & | spineNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a shell of evolution solid.
Create a shell by moving the generating curve along the spine curve and perform the Boolean operation with the shell if it is specified.
The function simultaneously creates the shell and its constructor.
[in] | solid | - Face set the construction is complemented with respect to. |
[in] | sameShell | - The method of copying faces. |
[in] | sweptData | - The generating curve data. |
[in] | spine | - The spine curve. |
[in] | params | - Parameters of the sweeping operation. |
[in] | oType | - Type of operation of construction complement. |
[in] | operNames | - Name-maker with version for a Boolean operation with the source solid. |
[in] | contoursNames | - Names of the generating curve. |
[in] | spineNames | - Names of the path. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateCurveEvolution | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const MbSweptData & | sweptData, | ||
const MbSpine & | spine, | ||
const EvolutionValues & | params, | ||
OperationType | oType, | ||
const MbSNameMaker & | operNames, | ||
const RPArray< MbSNameMaker > & | contoursNames, | ||
const MbSNameMaker & | spineNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a shell of evolution solid.
Create a shell by moving the generating curve along the spine curve and perform the Boolean operation with the shell if it is specified.
The function simultaneously creates the shell and its constructor.
[in] | solid | - Face set the construction is complemented with respect to. |
[in] | sameShell | - The method of copying faces. |
[in] | sweptData | - The generating curve data. |
[in] | spine | - The spine curve with additional data. |
[in] | params | - Parameters of the sweeping operation. |
[in] | oType | - Type of operation of construction complement. |
[in] | operNames | - Name-maker with version for a Boolean operation with the source solid. |
[in] | contoursNames | - Names of the generating curve. |
[in] | spineNames | - Names of the path. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateExtensionShell | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const RPArray< MbCurveEdge > & | edges, | ||
const ExtensionValues & | parameters, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct the extended face of a shell.
Construct the extended face of a shell. An extension can be performed in the following ways: The specified faces can be extended on the given distance. A smoothly connected face can be added to the given face. A face obtained by extrusion of a boundary edge in the given direction can be added to the specified face. The function simultaneously creates the shell and its constructor.
[in] | solid | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | edges | - An array of boundary edges through which to extend the face. |
[in] | parameters | - Parameters of a shell creation. |
[in] | operNames | - An object for naming faces. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateExtensionShell | ( | c3d::ShellSPtr & | solid, |
MbeCopyMode | sameShell, | ||
const MbExtensionShellParams & | parameters, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | shell | ||
) |
Construct the extended face of a shell.
Construct the extended face of a shell. An extension can be performed in the following ways: The specified faces can be extended on the given distance. A smoothly connected face can be added to the given face. A face obtained by extrusion of a boundary edge in the given direction can be added to the specified face. The function simultaneously creates the shell and its constructor.
[in] | solid | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | parameters | - Parameters of a shell creation. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateCurveExtrusion | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const c3d::CreatorsSPtrVector * | solidCreators, | ||
const MbSweptData & | sweptData, | ||
const MbVector3D & | direction, | ||
const ExtrusionValues & | params, | ||
OperationType | oType, | ||
const MbSNameMaker & | operNames, | ||
const RPArray< MbSNameMaker > & | contoursNames, | ||
MbResultType & | resType, | ||
MbFaceShell *& | shell | ||
) |
Create an extrusion solid's shell.
Create a boy's shell by moving generating curves along the given vector at the given distance and perform the Boolean operation with the shell if it is specified.
The function simultaneously creates the shell and its constructor.
[in] | solid | - Face set the construction is complemented with respect to. |
[in] | sameShell | - The method of copying faces. |
[in] | solidCreators | - Creators of the solid. |
[in] | sweptData | - The generating curve data. |
[in] | direction | - Extrusion direction. |
[in,out] | params | - The extrusion parameters. Returns the information for construction of the up-to-surface operation array elements. |
[in] | oType | - Type of operation of construction complement. |
[in] | operNames | - An object defining names generation in the operation. |
[in] | contoursNames | - An object defining the names of contours. |
[out] | resType | - The extrusion operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateHole | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const MbPlacement3D & | place, | ||
const HoleValues & | par, | ||
const MbSNameMaker & | ns, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a shell with a hole, a pocket or a groove.
For a given shell construct a shell with a hole, a pocket or a groove.
The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - Face set the construction is complemented with respect to. |
[in] | sameShell | - The method of copying faces. |
[in] | place | - A local coordinate system. |
[in] | par | - Parameters. |
[in] | ns | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateHole | ( | const c3d::ShellSPtr & | solid, |
MbeCopyMode | sameShell, | ||
const MbHoleSolidParams & | params, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | shell | ||
) |
Create a shell with a hole, a pocket or a groove.
For a given shell construct a shell with a hole, a pocket or a groove.
The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - Face set the construction is complemented with respect to. |
[in] | sameShell | - The method of copying faces. |
[in] | params | - Parameters of operation. ~ |
[out] | res | - The extrusion operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateJoinShell | ( | MbSurfaceCurve & | curve1, |
MbSurfaceCurve & | curve2, | ||
JoinSurfaceValues & | parameters, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a join shell.
Construct a shell joining two faces by two curves on them. The function simultaneously creates the shell and its constructor.
[in] | curve1 | - A curve on the first surface to join. |
[in] | curve2 | - A curve on the second surface to join. |
[in] | parameters | - Parameters of a shell creation. |
[in] | names | - An object for naming faces. |
[out] | res | - Construction result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateJoinShell | ( | const RPArray< MbCurveEdge > & | edges1, |
const SArray< bool > & | orients1, | ||
const RPArray< MbCurveEdge > & | edges2, | ||
const SArray< bool > & | orients2, | ||
const MbMatrix3D & | matr1, | ||
const MbMatrix3D & | matr2, | ||
JoinSurfaceValues & | parameters, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell, | ||
bool | isPhantom | ||
) |
Construct a join shell.
Construct a shell of join given two sets of edges. Edges of two sets define a set of join faces each of which is constructed by two curves. The function simultaneously creates the shell and its constructor.
[in] | edges1 | - The first set of edges. |
[in] | orients1 | - Orientation of edges from the first set. |
[in] | edges2 | - The second set of edges. |
[in] | orients2 | - Orientation of edges of the second set. |
[in] | matr1 | - Transformation matrix of edges from the first set. |
[in] | matr2 | - Transformation matrix of edges from the second set. |
[in] | parameters | - Parameters of a shell creation. |
[in] | names | - An object for naming faces. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
[in] | isPhantom | - Create in the phantom mode. |
MbCreator* CreateJoinShell | ( | const MbJoinShellParams & | parameters, |
MbResultType & | res, | ||
MbJoinShellResults & | result, | ||
c3d::ShellSPtr & | shell | ||
) |
Create a joint shell from parameters.
Create a joint shell from parameters. The function simultaneously creates the shell and its constructor.
[in] | parameters | - Parameters of operation. ~ |
[out] | res | - Operation result code. |
[out] | result | - The operation results. |
[out] | shell | - The resulting shell. |
c3d::CreatorSPtr CreateCurveLofted | ( | c3d::ShellSPtr & | srcSolid, |
MbeCopyMode | copyMode, | ||
const MbLoftedSolidParams & | loftSolParams, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | resShell | ||
) |
Create a solid from a planar sections.
Create a solid's shell passing through the given sections and perform the Boolean operation with the shell if it is specified.
The function simultaneously creates the shell and its constructor.
[in] | srcSolid | - The first solid for a boolean operation. |
[in] | copyMode | - Whether to copy the solid. |
[in] | loftSolParams | - The source data to make the operation. |
[out] | res | - Operation result code. |
[out] | resShell | - Shell - the result of construction. |
MbCreator* CreateCurveLofted | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
SArray< MbPlacement3D > & | places, | ||
RPArray< MbContour > & | planeConours, | ||
const LoftedValues & | params, | ||
OperationType | oType, | ||
const MbSNameMaker & | operName, | ||
RPArray< MbSNameMaker > & | contourNames, | ||
SArray< MbCartPoint3D > * | guidePoints, | ||
MbResultType & | res, | ||
MbFaceShell *& | resShell | ||
) |
Create a solid from a planar sections.
Create a solid's shell passing through the given sections and perform the Boolean operation with the shell if it is specified.
The function simultaneously creates the shell and its constructor.
MbCreator* CreateCurveLofted | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
RPArray< MbSurface > & | surfaces, | ||
RPArray< MbContour > & | planeConours, | ||
const LoftedValues & | params, | ||
OperationType | oType, | ||
const MbSNameMaker & | operName, | ||
RPArray< MbSNameMaker > & | contourNames, | ||
RPArray< MbCurve3D > * | guideCurves, | ||
SArray< MbCartPoint3D > * | guidePoints, | ||
MbResultType & | res, | ||
MbFaceShell *& | resShell | ||
) |
Create a solid from sections on surfaces.
Create a solid's shell passing through the given sections and perform the Boolean operation with the shell if it is specified.
The function simultaneously creates the shell and its constructor.
MbCreator* CreateCurveLofted | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
SArray< MbPlacement3D > & | places, | ||
RPArray< MbContour > & | planeConours, | ||
const MbCurve3D & | centre_line, | ||
const LoftedValues & | params, | ||
OperationType | oType, | ||
const MbSNameMaker & | operName, | ||
RPArray< MbSNameMaker > & | contourNames, | ||
SArray< MbCartPoint3D > * | guidePoints, | ||
MbResultType & | res, | ||
MbFaceShell *& | resShell | ||
) |
Create a solid from a planar sections.
Create a solid's shell passing through the given sections along the specified spine curve and perform the Boolean operation with the shell if it is specified.
The function simultaneously creates the shell and its constructor.
MbCreator* CreateCurveLofted | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
RPArray< MbSurface > & | surfaces, | ||
RPArray< MbContour > & | planeConours, | ||
const MbCurve3D & | centre_line, | ||
const LoftedValues & | params, | ||
OperationType | oType, | ||
const MbSNameMaker & | operName, | ||
RPArray< MbSNameMaker > & | contourNames, | ||
RPArray< MbCurve3D > * | guideCurves, | ||
SArray< MbCartPoint3D > * | guidePoints, | ||
MbResultType & | res, | ||
MbFaceShell *& | resShell | ||
) |
Create a solid from a space sections.
Create a solid's shell passing through the given sections along the specified spine curve and guide curves and perform the Boolean operation with the shell if it is specified.
The function simultaneously creates the shell and its constructor.
MbCreator* CreateMedianShell | ( | const MbFaceShell & | solid, |
const MbMedianShellParams & | params, | ||
MbResultType & | res, | ||
MedianShellFaces & | medianFaces, | ||
c3d::ShellSPtr & | shell | ||
) |
Build a median shell between selected faces of solid.
Build a median shell between suitable selected face pairs of solid. Suitable face pairs should be offset from each other. The faces must belong to the same body. The function simultaneously creates the shell and its constructor.
[in] | solid | - The initial solid. |
[in] | parameters | - Parameters of operation. ~ |
[out] | res | - Operation result code. |
[out] | medianFaces | - Set of faces for build a median shell. |
[out] | shell | - Constructed median shell. |
MbCreator* CreateMeshShell | ( | MeshSurfaceValues & | parameters, |
const MbSNameMaker & | operNames, | ||
bool | isPhantom, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a shell from a mesh of curves.
Create a shell from a mesh of curves formed by two sets of curves.
The function simultaneously creates the shell and its constructor.
[in] | parameters | - Parameters of a shell creation. |
[in] | operNames | - An object for naming faces. |
[in] | isPhantom | - Create in the phantom mode. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateMeshShell | ( | const MbMeshShellParameters & | parameters, |
MbResultType & | res, | ||
c3d::ShellSPtr & | shell | ||
) |
Construct a shell from a mesh of curves.
Create a shell from a mesh of curves formed by two sets of curves.
The function simultaneously creates the shell and its constructor.
[in] | parameters | - Parameters of operation. ~ |
[out] | res | - Operation result code. |
[out] | shell | - Constructed mesh shell. |
MbCreator* CreateModifiedNurbsItem | ( | MbFaceShell * | outer, |
MbeCopyMode | sameShell, | ||
const NurbsValues & | parameters, | ||
const RPArray< MbFace > & | faces, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a shell with deformable faces.
Construct a shell with replacement of the specified faces of the source shell with deformable faces. Surfaces of the selected faces are approximated with NURBS surfaces or deformable surfaces for the further editing. The function simultaneously creates the shell and its constructor.
[in] | outer | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | parameters | - Parameters of the modification. |
[in] | faces | - Faces to be modified. |
[in] | names | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateNurbsModification | ( | MbFaceShell * | outer, |
MbeCopyMode | sameShell, | ||
MbFace * | face, | ||
MbSurface & | faceSurface, | ||
Array2< bool > & | fixedPoints, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a shell in which the specified face is deformed.
Construct a shell in which the specified face is deformed by replacement of the control points of the given NURBS surface with fixing the specified points.
The function simultaneously creates the shell and its constructor.
[in] | outer | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | face | - Deformable face of the shell. |
[in] | faceSurface | - The new deformable surface of the face. |
[in] | fixedPoints | - Matrix of positions of invariant control points of the deformable surface (false). |
[in] | names | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateFaceModifiedSolid | ( | MbFaceShell * | outer, |
MbeCopyMode | sameShell, | ||
const ModifyValues & | parameters, | ||
const RPArray< MbFace > & | faces, | ||
const RPArray< MbCurveEdge > & | edges, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct the modified shell.
Construct the solid's shell by modification the source shell. The method performs one of the following actions depending on the parameter ModifyValues:
[in] | outer | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | parameters | - Parameters of the modification. |
[in] | faces | - Faces to be modified. |
[in] | edges | - Edges to be modified. |
[in] | names | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateNurbsBlock | ( | const MbPlacement3D & | place, |
double | ax, | ||
double | ay, | ||
double | az, | ||
bool | out, | ||
const MbSNameMaker & | names, | ||
SimpleName | name, | ||
NurbsBlockValues & | parameters, | ||
MbFaceShell *& | shell | ||
) |
Construct the modified shell.
Create a shell in the form of a block with six quadrangular faces on the base of NURBS-surfaces. The function simultaneously creates the shell and its constructor.
[in] | place | - The local coordinate system along axes of which the shell's edges will be constructed. |
[in] | ax | - The block size along the first axis of the local coordinate system. |
[in] | ay | - The block size along the second axis of the local coordinate system. |
[in] | az | - The block size along the third axis of the local coordinate system. |
[in] | out | - The faces normals direction (out = true - the normals are directed outside the block). |
[in] | names | - An object defining names generation in the operation. |
[in] | name | - A name of an object. |
[out] | parameters | - The shell construction parameters. |
[out] | shell | - The resultant shell. |
MbFaceShell* CreateNurbsSurfacesShell | ( | NurbsSurfaceValues & | params, |
const MbSNameMaker & | operNames, | ||
bool | isPhantom, | ||
MbResultType & | res, | ||
IProgressIndicator * | indicator = nullptr |
||
) |
Construct a shell from NURBS-surfaces.
Construct a shell from NURBS-surfaces MbSplineSurface by a given set of points conventionally located at the nodes of a quadrangle grid.
[in] | params | - Parameters of a shell creation. |
[in] | operNames | - An object for naming faces. |
[in] | isPhantom | - Create in the phantom mode. |
[out] | res | - Operation result code. |
[out] | indicator | - Construction process indicator which allow to interrupt the construction. |
MbResultType CheckNurbsSurfacesShell | ( | const NurbsSurfaceValues & | params, |
const MbFaceShell & | shell, | ||
IProgressIndicator * | indicator = nullptr |
||
) |
Check a shell from NURBS-surfaces.
Check a constructed shell from NURBS-surfaces MbSplineSurface by a given set of points conventionally located at the nodes of a quadrangle grid.
[in] | params | - Parameters of a shell creation. |
[in] | shell | - The shell constructed by given parameters. |
[out] | indicator | - Construction process indicator which allow to interrupt the construction. |
MbCreator* CreateNurbsShell | ( | NurbsSurfaceValues & | parameters, |
const MbSNameMaker & | operNames, | ||
bool | isPhantom, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell, | ||
IProgressIndicator * | indicator = nullptr |
||
) |
Construct a shell from NURBS-surfaces.
Construct a shell from NURBS-surfaces MbSplineSurface. The function simultaneously creates the shell and its constructor.
[in,out] | parameters | - Parameters of a shell creation. |
[in] | operNames | - An object for naming faces. |
[in] | isPhantom | - Create in the phantom mode. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
[in,out] | indicator | - Construction process indicator. |
c3d::CreatorSPtr CreateNurbsShell | ( | MbNurbsSurfacesShellParams & | params, |
MbResultType & | res, | ||
c3d::ShellSPtr & | shell, | ||
IProgressIndicator * | indicator = nullptr |
||
) |
Construct a shell from NURBS-surfaces.
Construct a shell from NURBS-surfaces MbSplineSurface. The function simultaneously creates the shell and its constructor.
[in,out] | parameters | - Parameters of a shell creation. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
[in,out] | indicator | - Construction process indicator. |
MbFaceShell* CreatePatchShell | ( | const std::vector< SPtr< MbCurveMate >> & | initCurves, |
const PatchValues & | parameters, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res | ||
) |
Construct a patch-shaped shell.
Construct a patch-shaped shell from the given curves.
[in] | initEdges | - Curves determining the bounds of the patch. |
[in] | parameters | - The operation parameters. |
[in] | operNames | - An object for naming the new objects. |
[out] | res | - Operation result code. |
MbFaceShell* CreatePatchShell | ( | const RPArray< MbCurve3D > & | initCurves, |
const PatchValues & | parameters, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res | ||
) |
Construct a patch-shaped shell.
Construct a patch-shaped shell from the given curves.
[in] | initEdges | - Curves determining the bounds of the patch. |
[in] | parameters | - The operation parameters. |
[in] | operNames | - An object for naming the new objects. |
[out] | res | - Operation result code. |
MbCreator* CreatePatchSet | ( | const MbPatchShellParams & | params, |
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a patch-shaped shell.
Construct a patch-shaped shell from the given edges. The function simultaneously creates the shell and its constructor.
[in] | params | - The operation parameters. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateCurveRevolution | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const MbSweptData & | sweptData, | ||
const MbAxis3D & | axis, | ||
const RevolutionValues & | params, | ||
OperationType | oType, | ||
const MbSNameMaker & | operNames, | ||
const RPArray< MbSNameMaker > & | contoursNames, | ||
MbResultType & | resType, | ||
c3d::ShellSPtr & | shell | ||
) |
Create a shell of the revolution solid.
Construct a shell of a solid by rotating the generating curves around the given axis at the specified angle. and perform the Boolean operation with the shell if it is specified.
The function simultaneously creates the shell and its constructor.
[in] | solid | - Face set the construction is complemented with respect to. |
[in] | sameShell | - The method of copying faces. |
[in] | sweptData | - The generating curve data. |
[in] | axis | - Rotation axis. |
[in,out] | params | - The extrusion parameters. Returns the information for construction of elements of operation-to-surface array. |
[in] | oType | - Type of operation of construction complement. |
[in] | operNames | - An object defining names generation in the operation. |
[in] | contoursNames | - An object defining the names of contours. |
[out] | resType | - The extrusion operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateRib | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const MbPlacement3D & | place, | ||
const MbContour & | contour, | ||
size_t | index, | ||
const RibValues & | parameters, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a shell with a rib.
For a specified shell create a shell with a rib which shape is given by the planar contour.
The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Method of copying the source shell faces. |
[in] | place | - A local coordinate system the two-dimensional contour is located in XY plane of. |
[in] | contour | - Two-dimensional contour of a rib located in XY plane of the local coordinate system. |
[in] | index | - Index of a segment in the contour at which the inclination direction will be set. |
[in] | parameters | - The operation parameters. |
[in] | operNames | - An object defining names generation in the operation. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateRib | ( | c3d::ShellSPtr & | solid, |
MbeCopyMode | sameShell, | ||
const MbRibSolidParameters & | parameters, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | shell | ||
) |
Create a shell with a rib.
For a specified shell create a shell with a rib which shape is given by the planar contour.
The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Method of copying the source shell faces. |
[in] | parameters | - The operation parameters. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateRibElement | ( | MbFaceShell * | solid, |
const MbPlacement3D & | place, | ||
const MbContour & | contour, | ||
size_t | index, | ||
const RibValues & | parameters, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a separate rib.
For the specified shell create a shell as a separate rib. The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - The source shell. |
[in] | place | - A local coordinate system the two-dimensional contour is located in XY plane of. |
[in] | contour | - Two-dimensional contour of a rib located in XY plane of the local coordinate system. |
[in] | index | - Index of a segment in the contour at which the inclination direction will be set. |
[in] | parameters | - The operation parameters. |
[in] | operNames | - An object defining names generation in the operation. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateRibElement | ( | c3d::ShellSPtr & | solid, |
const MbRibSolidParameters & | parameters, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | shell | ||
) |
Create a separate rib.
For the specified shell create a shell as a separate rib. The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - The source shell. |
[in] | place | - A local coordinate system the two-dimensional contour is located in XY plane of. |
[in] | contour | - Two-dimensional contour of a rib located in XY plane of the local coordinate system. |
[in] | index | - Index of a segment in the contour at which the inclination direction will be set. |
[in] | parameters | - The operation parameters. |
[in] | operNames | - An object defining names generation in the operation. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateRuledShell | ( | RuledSurfaceValues & | parameters, |
const MbSNameMaker & | operNames, | ||
bool | isPhantom, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a ruled shell.
Construct a ruled shell from two curves Curves can be composite. The function simultaneously creates the shell and its constructor.
[in,out] | parameters | - The operation parameters. |
[in] | operNames | - An object for naming the new objects. |
[in] | isPhantom | - Create in the phantom mode. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateRuledShell | ( | const MbRuledShellParams & | ruledParams, |
MbRuledShellResult & | outParams, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | shell | ||
) |
Construct a ruled shell.
Construct a ruled shell from two curves Curves can be composite. The function simultaneously creates the shell and its constructor.
[in] | ruledParams | - The operation parameters for the creation an open ruled solid. |
[out] | outParams | - Output operation parameters. |
[out] | res | - Operation result code. |
[out] | shell | - Result shell. |
MbCreator* CreateAnyBend | ( | MbFaceShell & | initialShell, |
const MbeCopyMode | sameShell, | ||
const MbPlane & | cutPlane, | ||
const SArray< MbAnyBend > & | bends, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a shell with bends.
Construct a shell from sheet material with bend/unbend. Construction of a bend/unbend to the tangent plane to the specified face at the given point with parameters individual for each bend.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | bends | - Bends of a shell. |
[in] | fixedFace | - Fixed face. |
[in] | fixedPoint | - Fixed point. |
[in] | names | - An object for naming faces. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateBendsByEdges | ( | SPtr< MbFaceShell > & | initialShell, |
const MbeCopyMode | sameShell, | ||
const RPArray< MbCurveEdge > & | edges, | ||
const bool | unbended, | ||
const MbBendByEdgeValues & | parameters, | ||
const MbSNameMaker & | names, | ||
RPArray< MbSMBendNames > & | resultBends, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct bends along edges of a shell.
Construct bends by edges of a shell of a solid from sheet material. Bends with extensions are built from the given edges. Depending on parameters of the operation they can be shifted from the edges inside or outside the solid, they can be built from the whole length of the edge or from its part, they can have a slope at the bend and/or its extension, an expansion of the extension from each side. A bend can be constructed with release and also with trimming of the bends it meets with by its side boundaries. The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | edges | - Edges the bends are built along. |
[in] | unbended | - Flag of construction of a bend in unbent form. |
[in] | parameters | - Parameters of shell creation. |
[in] | names | - An object for naming faces. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateBendOverSegment | ( | SPtr< MbFaceShell > & | initialShell, |
MbeCopyMode | sameShell, | ||
const RPArray< MbFace > & | bendingFaces, | ||
MbCurve3D & | curve, | ||
const bool | unbended, | ||
const MbBendOverSegValues & | parameters, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a shell from sheet material bent along a segment.
Construct a shell from sheet material bent to the left and to the right from a segment or from the specified faces or, if they are absent, from all the faces appropriate for bending.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | bendingFaces | - Faces to bend. |
[in] | curve | - A curve along which to bend. |
[in] | unbended | - Flag of construction of a bend in unbent form. |
[in] | parameters | - Parameters of shell creation. |
[in] | names | - An object for naming faces. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateBendUnbend | ( | SPtr< MbFaceShell > & | initialShell, |
MbeCopyMode | sameShell, | ||
const RPArray< MbSheetMetalBend > & | bends, | ||
const MbFace & | fixedFace, | ||
const MbCartPoint & | fixedPoint, | ||
bool | bend, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell, | ||
RPArray< MbContour3D > * | ribContours = nullptr |
||
) |
Construct a shell with bend/unbend.
Construct a shell from sheet material with bend/unbend. Construction of a bend/unbend to the tangent plane to the specified face at the given point with parameters individual for each bend.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | bends | - Bends of a shell. |
[in] | fixedFace | - Fixed face. |
[in] | fixedPoint | - Fixed point. |
[in] | names | - An object for naming faces. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
[out] | ribContours | - The set of contours, which are containing edges of stamp rib in unfolded state. |
MbCreator* ConvertShellToSheetMetall | ( | MbFaceShell * | initialShell, |
const MbeCopyMode | sameShell, | ||
const MbFace & | initFace, | ||
bool | sense, | ||
MbSolidToSheetMetalValues & | params, | ||
const MbSNameMaker & | nameMaker, | ||
MbResultType & | res, | ||
SPtr< MbFaceShell > & | resultShell | ||
) |
Constructor of the sheet metal shell based on an arbitrary solid.
A shell is to be constructed on the basis of the source arbitrary shell.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | initFace | - The initial face for sheet metal solid construction. |
[in] | sense | - Attribute of coincidence of extrusion direction to the normal of the initial face. |
[in] | params | - The parameters of sheet metal solid building based on an arbitrary solid. |
[in] | nameMaker | - An object for naming the new objects. |
[out] | res | - - The operation result code. |
[out] | resultShell | - The resultant solid. |
c3d::CreatorSPtr ConvertShellToSheetMetall | ( | const c3d::ShellSPtr & | initialShell, |
const MbeCopyMode | sameShell, | ||
MbSolidToSheetMetalParams & | parameters, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | resultShell | ||
) |
Constructor of the sheet metal shell based on an arbitrary solid.
A shell is to be constructed on the basis of the source arbitrary shell.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in,out] | parameters | - The operation parameters. |
[out] | res | - Operation result code. |
[out] | resultShell | - The resultant solid. |
MbCreator* CreateClosedCorner | ( | SPtr< MbFaceShell > & | initialShell, |
MbeCopyMode | sameShell, | ||
MbCurveEdge * | curveEdgePlus, | ||
MbCurveEdge * | curveEdgeMinus, | ||
const MbClosedCornerValues & | parameters, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a shell form sheet material with corner closure.
Construct a shell form sheet material with corner closure. Subject to the parameters closure of bends extensions can be overlapping, butted or tight, the bends themselves can remain unclosed or can be closed by a chord or a boundary. Construction of corner closure with a gap is also possible.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | curveEdgePlus | - Edge of the bend considered as positive. |
[in] | curveEdgeMinus | - Edge of the bend considered as negative. |
[in] | parameters | - Parameters of shell creation. |
[in] | names | - An object for naming faces. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateJointBend | ( | c3d::ShellSPtr & | initialShell, |
const MbeCopyMode | sameShell, | ||
const MbPlacement3D & | placement, | ||
const MbContour & | contour, | ||
const RPArray< MbCurveEdge > & | edges, | ||
const bool | unbended, | ||
const MbJointBendValues & | parameters, | ||
const MbSNameMaker & | nameMaker, | ||
RPArray< RPArray< MbSMBendNames > > & | resultBends, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct composite bends.
Construct bends specified by a sketch, along edges of solid's shell from sheet material. From the given contour consisting of segments and arcs it constructs a sheet solid with forming bends at the arcs and between segments using parameters specified in bendsParams, and attaches it to each edge specified in edgesIndices. The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | placement | - A local coordinate system the bend contour is located in XY plane of. |
[in] | contours | - The bend contour. |
[in] | edges | - Edges the bends are built along. |
[in] | unbended | - Flag of construction of a bend in unbent form. |
[in] | parameters | - Parameters of shell creation. |
[in] | nameMaker | - An object for naming faces. |
[in] | resultBends | - Constructed bends names. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateSheetMetal | ( | SPtr< MbFaceShell > & | solid, |
MbeCopyMode | sameShell, | ||
const MbPlacement3D & | placement, | ||
RPArray< MbContour > & | contours, | ||
bool | unbended, | ||
const MbSheetMetalValues & | parameters, | ||
OperationType | oType, | ||
double | sag, | ||
RPArray< MbSNameMaker > * | nameMaker, | ||
RPArray< MbSMBendNames > & | resultBends, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a shell from sheet material.
Construct a shell from sheet material using operations "Sheet solid", "Plate", "Hole", "Cutout".
Sheet solid is built from a closed or open contour. In case of closed contours a sheet solid bounded by these contours are built. It there are several contours, then one of them should contain others inside itself, in this case it forms an external profile of a sheet, the other contours form profiles of cutouts in the sheet solid being created. The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | placement | - Local coordinate system the construction contours is located in XY plane of. |
[in] | contours | - Construction contours. |
[in] | unbended | - Flag of construction of a bend in unbent form. |
[in] | parameters | - Parameters of shell creation. |
[in] | oType | - A Boolean operation type. |
[in] | sag | - Sag for a Boolean operation. |
[in] | nameMaker | - An object for naming faces. |
[in] | resultBends | - Constructed bends names. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateSheetUnion | ( | MbFaceShell & | faceShell1, |
const MbeCopyMode | sameShell1, | ||
const RPArray< MbCreator > & | creators2, | ||
MbFaceShell & | faceShell2, | ||
const MbeCopyMode | sameShell2, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a shell of sheet solids united by a butt.
For the specified shells create a shell using operation of union of face sets of two solids. The function simultaneously creates the shell and its constructor.
MbCreator* CreateSplitSolid | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const MbPlacement3D & | splitPlace, | ||
MbeSenseValue | splitType, | ||
const RPArray< MbContour > & | splitContours, | ||
bool | splitSame, | ||
RPArray< MbFace > & | selFaces, | ||
const MbMergingFlags & | mergingFlags, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a shell with faces splitting by extrusion.
Create a shell by faces splitting by surfaces obtained by extrusion of contours on XY plane of the local coordinate system.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | splitPlace | - A local coordinate system. |
[in] | splitType | - Method of splitting. |
[in] | splitContours | - Two-dimensional contours on XY plane of the local coordinate system. |
[in] | splitSame | - Flag of objects' copying. |
[in] | selFaces | - Faces to split. |
[in] | operNames | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateSplitSolid | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const RPArray< MbSpaceItem > & | splitItems, | ||
bool | splitSame, | ||
RPArray< MbFace > & | selFaces, | ||
const MbMergingFlags & | mergingFlags, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a shell with faces splitting by spatial objects.
Create a shell with faces splitting by spatial curves, surfaces and shells.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | splitItems | - Spatial objects. |
[in] | splitSame | - Flag of objects' copying. |
[in] | selFaces | - Faces to split. |
[in] | operNames | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateBead | ( | SPtr< MbFaceShell > & | initialShell, |
const MbeCopyMode | sameShell, | ||
const MbFace * | face, | ||
const MbPlacement3D & | placement, | ||
const RPArray< MbContour > & | contours, | ||
const SArray< MbCartPoint > & | centers, | ||
const MbBeadValues & | parameters, | ||
const double | thickness, | ||
const bool | add, | ||
const MbSNameMaker & | nameMaker, | ||
MbResultType & | res, | ||
SPtr< MbFaceShell > & | resultShell | ||
) |
Construct a shell from sheet material with a bead.
Create a shell from sheet material with a bead which can be circular - with generating curve in the form of circular arc, V-shaped - with generating curve in the form of an arc with the tangent segments in each sides or U-shaped - with generating curve in the form of three segments with fillets or without them. The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | face | - The bead face. |
[in] | placement | - The local coordinate system in XY plane of which the contours of the bead is located. |
[in] | contours | - The bead contours. |
[in] | parameters | - The bead parameters. |
[in] | thickness | - The thickness of the plate. |
[in] | add | - To create the added part of the bead. |
[in] | nameMaker | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | resultShell | - The resultant shell. |
MbCreator* CreateJalousie | ( | SPtr< MbFaceShell > & | initialShell, |
const MbeCopyMode | sameShell, | ||
const MbFace * | face, | ||
const MbPlacement3D & | placement, | ||
const RPArray< MbLineSegment > & | lineSegments, | ||
const MbJalousieValues & | parameters, | ||
const double | thickness, | ||
const bool | add, | ||
const MbSNameMaker & | nameMaker, | ||
MbResultType & | res, | ||
SPtr< MbFaceShell > & | resultShell | ||
) |
Construct a shell from a sheet material with jalousie.
Construct a shell from a sheet material with stretched or trimmed jalousie.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | face | - A face of jalousie. |
[in] | placement | - The local coordinate system in the XY plane of which the segments of are located. |
[in] | lineSegments | - The segments of jalousie. |
[in] | parameters | - The parameters of jalousie. |
[in] | thickness | - The thickness of the plate. |
[in] | add | - To create the added part of the jalousie. |
[in] | nameMaker | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | resultShell | - The resultant shell. |
MbCreator* CreateSheetSolidJog | ( | SPtr< MbFaceShell > & | solid, |
MbeCopyMode | sameShell, | ||
const RPArray< MbFace > & | bendingFaces, | ||
MbCurve3D & | curve, | ||
const bool | unbended, | ||
const MbJogValues & | parameters, | ||
const MbBendValues & | secondBendParams, | ||
const MbSNameMaker & | names, | ||
RPArray< MbFace > & | firstBendFaces, | ||
RPArray< MbFace > & | secondBendFaces, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct shells from the sheet material with a jog.
A shell with a jog is to be created on the basis of the source shell from the sheet material.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | bendingFaces | - Faces of bends. |
[in] | curve | - Curve of a jog shape. |
[in] | unbended | - Flag of unfolded state. |
[in] | parameters | - The jog parameters. |
[in] | secondBendParams | - The bends parameters. |
[in] | names | - An object defining names generation in the operation. |
[in] | firstBendFaces | - The first bend faces. |
[in] | secondBendFaces | - The second bend faces. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateRemovedOperationResult | ( | MbFaceShell & | initialShell, |
const MbeCopyMode | sameShell, | ||
const MbRemoveOperationResultParams & | params, | ||
MbResultType & | res, | ||
SPtr< MbFaceShell > & | shell | ||
) |
Constructs a shell without the specified operation.
Constructs a shell without the specified operation. It removes faces with specified main name and then mends the hole by stretching the neighbour faces.
[in] | initialShell | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | params | - Operation parameters. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateRemovedOperationResult | ( | MbFaceShell & | initialShell, |
const MbeCopyMode | sameShell, | ||
const SimpleName | removeName, | ||
MbeSheetOperationName | opType, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Constructs a shell without the specified operation.
Constructs a shell without the specified operation. It removes faces with specified main name and then mends the hole by stretching the neighbour faces.
[in] | initialShell | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | removeName | - The main name of the operation to be removed. |
[in] | opType | - Type of the sheet operation. |
[in] | names | - An object for naming faces. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateRemovedOperationResult | ( | MbFaceShell & | initialShell, |
const MbeCopyMode | sameShell, | ||
const SimpleName | removeName, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Constructs a shell without the specified operation.
Constructs a shell without the specified operation. It removes faces with specified main name and then mends the hole by stretching the neighbour faces.
[in] | initialShell | - The initial shell. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | removeName | - The main name of the operation to be removed. |
[in] | names | - An object for naming faces. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateSheetRib | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const MbPlacement3D & | place, | ||
const MbContour & | contour, | ||
size_t | index, | ||
SheetRibValues & | parameters, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | resultShell | ||
) |
Create a shell with a rib.
For a specified sheet shell create a shell with a rib which shape is given by the planar contour.
The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Method of copying the source shell faces. |
[in] | place | - A local coordinate system the two-dimensional contour is located in XY plane of. |
[in] | contour | - Two-dimensional contour of a rib located in XY plane of the local coordinate system. |
[in] | index | - Index of a segment in the contour at which the inclination direction will be set. |
[in] | parameters | - The operation parameters. |
[in] | operNames | - An object defining names generation in the operation. |
[out] | res | - Operation result code. |
[out] | resultShell | - Constructed set of faces. |
c3d::CreatorSPtr CreateSheetRib | ( | const c3d::ShellSPtr & | solid, |
MbeCopyMode | sameShell, | ||
const MbSheetRibSolidParams & | params, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | shell | ||
) |
Create a shell with a rib.
For a specified sheet shell create a shell with a rib which shape is given by the planar contour.
The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Method of copying the source shell faces. |
[in] | params | - Parameters for creating a sheet solid with rib. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateRuledSolid | ( | MbRuledSolidValues & | parameters, |
const MbSNameMaker & | operNames, | ||
RPArray< MbSMBendNames > & | resultBends, | ||
MbContour *& | resultContour, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a ruled shell from the contour.
Create a sheet shell by extruding of a planar contour with a slope and supplying it with thickness.
The function simultaneously creates the shell and its constructor.
[in] | parameters | - The operation parameters. |
[in] | operNames | - An object defining names generation in the operation. |
[in] | resultBends | - Parameters and names of bend's elements. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateStamp | ( | SPtr< MbFaceShell > & | initialShell, |
const MbeCopyMode | sameShell, | ||
const MbFace * | face, | ||
const MbPlacement3D & | placement, | ||
const MbContour & | contour, | ||
const MbStampingValues & | params, | ||
const double | thickness, | ||
const bool | add, | ||
const MbSNameMaker & | nameMaker, | ||
MbResultType & | res, | ||
SPtr< MbFaceShell > & | resultShell | ||
) |
Construct a shell form sheet material by stamping.
A shell is to be constructed on the basis of the source shell by the method of closed or open stamping.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | face | - The face for stamping. |
[in] | placement | - The local coordinate system in the XY plane of which the stamping contour is located. |
[in] | contour | - The stamping contour. |
[in] | parameters | - The parameters of stamping. |
[in] | operNames | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
c3d::CreatorSPtr CreateStamp | ( | c3d::ShellSPtr & | initialShell, |
const MbeCopyMode | sameShell, | ||
const MbStampPartsParams & | params, | ||
const bool | add, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | resultShell | ||
) |
Construct a shell form sheet material by stamping.
A shell is to be constructed on the basis of the source shell by the method of closed or open stamping.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | params | - The parameters of stamping. |
[in] | add | - Create adding part. |
[out] | res | - The extrusion operation result code. |
[out] | resultShell | - The resultant shell. |
MbCreator* CreateSphericalStamp | ( | SPtr< MbFaceShell > & | solid, |
const MbeCopyMode | sameShell, | ||
const MbFace * | face, | ||
const MbPlacement3D & | placement, | ||
const MbStampingValues & | parameters, | ||
const double | thickness, | ||
const bool | add, | ||
const MbCartPoint & | center, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res, | ||
SPtr< MbFaceShell > & | shell | ||
) |
Construct a shell form sheet material by spherical stamping.
A shell is to be constructed on the basis of the source shell by the method of spherical stamping or parts of spherical stamp without the basis sheet solid.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | face | - The face for stamping. |
[in] | placement | - The local coordinate system in the XY plane of which the stamping contour is located. |
[in] | parameters | - The parameters of stamping. |
[in] | thickness | - The thickness of the sheet solid. |
[in] | add | - Which part of the spherical stamp to create. |
[in] | center | - The center of the stamping. |
[in] | operNames | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
c3d::CreatorSPtr CreateSphericalStamp | ( | SPtr< MbFaceShell > & | solid, |
const MbeCopyMode | sameShell, | ||
const MbSphericalStampPartsParams & | params, | ||
const bool | add, | ||
MbResultType & | res, | ||
SPtr< MbFaceShell > & | shell | ||
) |
Construct a shell form sheet material by spherical stamping.
A shell is to be constructed on the basis of the source shell by the method of spherical stamping or parts of spherical stamp without the basis sheet solid.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | params | - The parameters of stamping. |
[in] | add | - Which part of the spherical stamp to create. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateUserStamp | ( | MbFaceShell * | initialShell, |
const MbeCopyMode | sameShell, | ||
const MbFace & | targetFace, | ||
const RPArray< MbCreator > & | creatorsTool, | ||
MbFaceShell & | toolShell, | ||
const MbeCopyMode | sameShellTool, | ||
bool | isPunch, | ||
const RPArray< MbFace > & | pierceFaces, | ||
const MbToolStampingValues & | params, | ||
const MbSNameMaker & | nameMaker, | ||
MbResultType & | res, | ||
SPtr< MbFaceShell > & | resultShell | ||
) |
Construct a shell form sheet material by tool body stamping.
A shell is to be constructed on the basis of the source shell by the method of closed or open stamping.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | targetFace | - The face for stamping. |
[in] | creatorsTool | - A creator of the tool. |
[in] | toolShell | - A shell of tool solid. |
[in] | sameShellTool | - Mode of copying the tool shell. |
[in] | isPunch | - Is tool body a punch or a die. |
[in] | pierceFaces | - Pierce faces of tool body. |
[in] | params | - The parameters of stamping. |
[in] | nameMaker | - An object for naming the new objects. |
[out] | res | - - The operation result code. |
[out] | resultShell | - The resultant solid. |
c3d::CreatorSPtr CreateUserStamp | ( | c3d::ShellSPtr & | initialShell, |
const MbeCopyMode | sameShell, | ||
MbFaceShell & | toolShell, | ||
const MbeCopyMode | sameShellTool, | ||
const c3d::CreatorsSPtrVector & | creatorsTool, | ||
const MbStampWithToolParams & | stParams, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | resultShell | ||
) |
Construct a shell form sheet material by tool body stamping.
A shell is to be constructed on the basis of the source shell by the method of closed or open stamping.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | toolShell | - A shell of tool solid. |
[in] | sameShellTool | - Mode of copying the tool shell. |
[in] | params | - The parameters of stamping. |
[out] | res | - - The operation result code. |
[out] | resultShell | - The resultant solid. |
MbFaceShell* MakeUserStampShellForStampParts | ( | MbFaceShell * | initialShell, |
const MbeCopyMode | sameShell, | ||
const MbFace & | targetFace, | ||
MbFaceShell & | toolShell, | ||
const MbeCopyMode | sameShellTool, | ||
bool | isPunch, | ||
const RPArray< MbFace > & | pierceFaces, | ||
const MbToolStampingValues & | params, | ||
const MbSNameMaker & | nameMaker | ||
) |
Construction of result shell.
A shell is to be constructed on the basis of the source shell by the method of closed or open stamping.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | targetFace | - The face for stamping. |
[in] | toolShell | - A shell of tool solid. |
[in] | sameShellTool | - Mode of copying the tool shell. |
[in] | isPunch | - Is tool body a punch or a die. |
[in] | pierceFaces | - Pierce faces of tool body. |
[in] | params | - The parameters of stamping. |
[in] | nameMaker | - An object for naming the new objects. |
MbFaceShell* MakeUserStampShellForStampParts | ( | c3d::ShellSPtr & | initialShell, |
const MbeCopyMode | sameShell, | ||
MbFaceShell & | toolShell, | ||
const MbeCopyMode | sameShellTool, | ||
const MbStampWithToolPartsParams & | params | ||
) |
Construction of result shell.
A shell is to be constructed on the basis of the source shell by the method of closed or open stamping.
The function simultaneously creates the shell and its constructor.
[in] | initialShell | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | toolShell | - A shell of tool solid. |
[in] | sameShellTool | - Mode of copying the tool shell. |
[in] | params | - The parameters of stamping. |
MbFaceShell* CreateStitchShell | ( | const c3d::ShellsSPtrVector & | initialShells, |
const MbShellStitchParams & | params, | ||
MbeStitchResType & | res | ||
) |
Construction of a shell of stitching.
Construction of a shell of stitching.
[in] | initialShells | - A set of shells for stitching. |
[in] | params | - Shells stitch parameters. |
[out] | res | - The extrusion operation result code. |
MbCreator* CreateStitchedSolid | ( | const std::vector< c3d::CreatorsSPtrVector > & | creatorsArray, |
const c3d::ShellsSPtrVector & | shells, | ||
const MbShellStitchParams & | params, | ||
MbeStitchResType & | res, | ||
c3d::ShellSPtr & | resultShell | ||
) |
Create a shell by faces stitching.
Creation of a stitched solid creator.
Create a shell by stitching faces of the source shells and sets of faces.
The function simultaneously creates the shell and its constructor.
[in] | creatorsArray | - Sets of creator for stitched shells. |
[in] | shells | - Sets of shells to stitch. |
[in] | params | - Shells stitch parameters. |
[out] | res | - The extrusion operation result code. |
[out] | resultShell | - The resultant shell. |
MbCreator* CreateSymmetry | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const MbCartPoint3D & | origin, | ||
const MbVector3D & | axisX, | ||
const MbVector3D & | axisY, | ||
int | side, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create a symmetric shell.
For a given shell build a shell symmetric relative to the specified plane. The function cuts the shell by the plane onto two parts, deletes one of them, for the remained part it builds a copy symmetric relative to the plane and glues it with the remained part.
The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Method of copying the source shell faces. |
[in] | origin | - A point of plane of symmetry. |
[in] | axisX | - The first axis of symmetry. |
[in] | axisY | - The second axis of symmetry. |
[in] | side | - A part of the source shell to be kept (+1, 0, -1). |
[in] | operNames | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateSymmetry | ( | c3d::ShellSPtr & | solid, |
MbeCopyMode | sameShell, | ||
const MbSymmetrySolidParams & | symParams, | ||
MbResultType & | res, | ||
c3d::ShellSPtr & | shell | ||
) |
Create a symmetric shell.
For a given shell build a shell symmetric relative to the specified plane. The function cuts the shell by the plane onto two parts, deletes one of them, for the remained part it builds a copy symmetric relative to the plane and glues it with the remained part.
The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Method of copying the source shell faces. |
[in] | symParams | - Parameters list. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - Constructed set of faces. |
MbCreator* CreateThinShell | ( | const MbSurface & | surface, |
bool | sense, | ||
const SweptValues & | parameters, | ||
bool | same, | ||
const MbSNameMaker & | operNames, | ||
SimpleName & | name, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a shell from a surface.
Construct a shell from a given surface by thickening.
The function simultaneously creates the shell and its constructor.
[in] | surface | - The initial surface. |
[in] | sense | - Flag of coincidence of the normal to the basic face of the shell and to the surface. |
[in] | parameters | - The shell construction parameters. |
[in] | same | - Not to copy the surface. |
[in] | operNames | - An object for naming faces. |
[in] | name | - Operation name. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateLoftedShell | ( | const MbLoftedPointsShellParams & | params, |
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a shell from point sets.
Construct a shell from given point sets. The curves are created from the given sets of points, from these curves the surface MbLoftedSurface with a certain thickness is created. The function simultaneously creates the shell and its constructor.
[in] | params | - Operation parameters. Contains information about points, object defining names generation in the operation, operation name. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateLoftedShell | ( | const MbLoftedCurvesShellParams & | params, |
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Construct a shell from curves.
Construct a shell from given curves. A surface MbLoftedSurface is created from the given curves, and it is supplied with a thickness. The function simultaneously creates the shell and its constructor.
[in] | params | - Operation parameters. Contains information about curves, object defining names generation in the operation, operation name. |
[out] | res | - Operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* CreateThinShelling | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
SweptValues & | parameters, | ||
RPArray< MbFace > & | outFaces, | ||
const MbSNameMaker & | names, | ||
bool | copyFaceAttrs, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create an offset shell with the common offset distance.
For the given shell construct an offset shell (thin-walled solid, thickening) by deletion the specified faces and construction the offset faces for the remained faces and connecting two obtained open shells with parts of deleted faces or with new faces.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | parameters | - The common offset distance from the source shell and closedness of the resultant shell. |
[in] | outFaces | - Faces to open. |
[in] | names | - An object defining names generation in the operation. |
[in] | copyFaceAttrs | - Copy attributes of initial faces to offset faces. |
[out] | res | - Operation result code. |
[out] | shell | - The required shell. |
MbCreator* CreateThinShelling | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
SweptValues & | parameters, | ||
RPArray< MbFace > & | outFaces, | ||
RPArray< MbFace > & | offFaces, | ||
SArray< double > & | offDists, | ||
const MbSNameMaker & | names, | ||
bool | copyFaceAttrs, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Create an offset shell with unique offset distance.
For the given shell construct an offset shell (thin-walled solid, thickening) by deletion the specified faces and construction the offset faces for the remained faces and connecting two obtained open shells with parts of deleted faces or with new faces.
The function simultaneously creates the shell and its constructor.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | parameters | - The common offset distance from the source shell and closedness of the resultant shell. |
[in] | outFaces | - Faces to open. |
[in] | offFaces | - Faces with unique offset distance. |
[in] | offDists | - Unique offset distances. |
[in] | names | - An object defining names generation in the operation. |
[in] | copyFaceAttrs | - Copy attributes of initial faces to offset faces. |
[out] | res | - Operation result code. |
[out] | shell | - The required shell. |
MbFaceShell* MakeThinShell | ( | MbFaceShell & | solid, |
MbeCopyMode | sameShell, | ||
const SweptValues & | parameters, | ||
SArray< MbItemIndex > & | outInds, | ||
SArray< MbItemThinValues > & | offIndPars, | ||
const MbSNameMaker & | names, | ||
bool | copyFaceAttrs, | ||
MbResultType & | res | ||
) |
Construct an offset shell.
For the given shell construct an offset shell (thin-walled solid, thickening) by deletion the specified faces and construction the offset faces for the remained faces and connecting two obtained open shells with parts of deleted faces or with new faces.
[in] | solid | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | parameters | - The common offset distance from the source shell and closedness of the resultant shell. |
[in] | outInds | - Indices of faces to open. |
[in] | offIndPars | - Indices of faces and their unique offset distances. |
[in] | names | - An object defining names generation in the operation. |
[in] | copyFaceAttrs | - Copy attributes of initial faces to offset faces. |
[out] | res | - Operation result code. |
MbCreator* CreateTransformedSolid | ( | MbFaceShell * | outer, |
MbeCopyMode | sameShell, | ||
const TransformValues & | parameters, | ||
const MbSNameMaker & | names, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Creation of constructor of a scaled shell.
Create a shell by transformation of the source shell according to the transformation matrix obtained due to the change of the bounding box control points positions.
The function simultaneously creates the shell and its constructor.
[in] | outer | - The source shell. |
[in] | sameShell | - Mode of copying the source shell. |
[in] | parameters | - Parameters of the modification. |
[in] | names | - An object defining names generation in the operation. |
[out] | res | - The extrusion operation result code. |
[out] | shell | - The resultant shell. |
MbCreator* TruncateSurfacesSol | ( | MbSolid & | initSolid, |
SArray< size_t > & | selIndices, | ||
MbeCopyMode | sameShell, | ||
const MbSNameMaker & | operNames, | ||
RPArray< MbSpaceItem > & | items, | ||
c3d::BoolVector & | orients, | ||
bool | curvesSplitMode, | ||
MbeCopyMode | solidsCopyMode, | ||
const MbMergingFlags & | mergeFlags, | ||
MbResultType & | res, | ||
MbFaceShell *& | resShell, | ||
MbPlacement3D *& | resDir | ||
) |
Build a truncated shell.
Construct a truncated shell by cutting the initial solid into parts by the specified elements which can be two-dimensional curves in the local coordinate system, three-dimensional curves, surfaces and shells. The function simultaneously creates the shell and its constructor.
[in] | initSolid | - The initial solid. |
[in] | selIndices | - Identifiers of selected faces, if not specified - the whole solid. |
[in] | sameShell | - Mode of copying the initial shell. |
[in] | operNames | - An object for naming faces. |
[in] | items | - Truncating objects. |
[in] | orients | - The truncating objects orientation. |
[in] | curvesSplitMode | - The curves are used as parting lines. |
[in] | solidsCopyMode | - Mode of copying the truncating objects. |
[in] | mergeFlags | - Control flags of shell items merging. |
[out] | res | - Operation result code. |
[out] | resShell | - Constructed truncated shell. |
[out] | resDir | - Direction of truncation phantom. |
MbCreator* CreateUnion | ( | MbFaceShell * | solid, |
MbeCopyMode | sameShell, | ||
const c3d::CreatorsSPtrVector & | creators, | ||
const c3d::IndicesVector & | countNumbers, | ||
const RPArray< MbFaceShell > & | shells, | ||
MbeCopyMode | sameShells, | ||
OperationType | oType, | ||
bool | checkIntersect, | ||
const MbMergingFlags & | mergeFlags, | ||
const MbSNameMaker & | operNames, | ||
bool | isArray, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell, | ||
RPArray< MbFaceShell > * | notGluedShells = nullptr |
||
) |
Create a shell of Boolean operation of shell set.
For a given shell and a shell set construct a shell as a result of Boolean operation on the shell and a shell set. Before the operation a shell set is united into a single shell which contains all the faces of shell set. Union of the intersected shells is performed if necessary. The function simultaneously constructs the shell and creates its constructor.
[in] | solid | - The shell the Boolean operation of the united shell set is performed with (can be nullptr). |
[in] | sameShell | - Method of shell faces copying. |
[in] | creators | - Shell set creators. |
[in] | countNumbers | - Indices of the last creators for a shell set. |
[in] | shells | - Shell set to unite. |
[in] | sameShells | - The method of copying faces. |
[in] | oType | - A Boolean operation type. |
[in] | checkIntersect | - Whether to check shells intersection. |
[in] | mergeFlags | - Control flags of shell items merging. |
[in] | operNames | - An object defining names generation in the operation. |
[in] | isArray | - Are the shells copies duplicated over the rectangular mesh? |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |
[out] | notGluedShells | - An array of shells which were not glued. |
MbCreator* CreateUnion | ( | const c3d::CreatorsSPtrVector & | creators, |
const c3d::IndicesVector & | countNumbers, | ||
const RPArray< MbFaceShell > & | shells, | ||
const MbSNameMaker & | operNames, | ||
MbResultType & | res, | ||
MbFaceShell *& | shell | ||
) |
Unite a set of shells' faces into a single shell.
Put sets of faces of the specified shells to a single shell.+
The function simultaneously constructs the shell and creates its constructor.
[in] | creators | - Shell set creators. |
[in] | countNumbers | - Indices of the last creators for a shell set. |
[in] | shells | - Shell set to unite. |
[in] | operNames | - An object defining names generation in the operation. |
[out] | res | - Operation result code. |
[out] | shell | - Constructed set of faces. |