Data Structures | |
| class | info |
| Information about closed/unclosed state of shell or wire. More... | |
Functions | |
| def | RaiseIfFailed |
| Raise an Error, containing the Method_name, if Operation is Failed. | |
| def | ParseParameters |
| Return list of variables value from salome notebook. | |
| def | ParseList |
| Return list of variables value from salome notebook. | |
| def | ParseSketcherCommand |
| Return list of variables value from salome notebook. | |
| def | PackData |
| Helper function which can be used to pack the passed string to the byte data. | |
| def | ReadTexture |
| Read bitmap texture from the text file. | |
| def | __init__ |
| def | init_geom |
| def | SubShapeName |
| Get name for sub-shape aSubObj of shape aMainObj. | |
| def | addToStudy |
| Publish in study aShape with name aName. | |
| def | addToStudyInFather |
| Publish in study aShape with name aName as sub-object of previously published aFather. | |
| def | RestoreSubShapes |
| Publish sub-shapes, standing for arguments and sub-shapes of arguments To be used from python scripts out of geompy.addToStudy (non-default usage). | |
| def | MakeVertex |
| Create point by three coordinates. | |
| def | MakeVertexWithRef |
| Create a point, distant from the referenced point on the given distances along the coordinate axes. | |
| def | MakeVertexOnCurve |
| Create a point, corresponding to the given parameter on the given curve. | |
| def | MakeVertexOnCurveByCoord |
| Create a point by projection give coordinates on the given curve. | |
| def | MakeVertexOnSurface |
| Create a point, corresponding to the given parameters on the given surface. | |
| def | MakeVertexOnSurfaceByCoord |
| Create a point by projection give coordinates on the given surface. | |
| def | MakeVertexOnLinesIntersection |
| Create a point on intersection of two lines. | |
| def | MakeTangentOnCurve |
| Create a tangent, corresponding to the given parameter on the given curve. | |
| def | MakeTangentPlaneOnFace |
| Create a tangent plane, corresponding to the given parameter on the given face. | |
| def | MakeVectorDXDYDZ |
| Create a vector with the given components. | |
| def | MakeVector |
| Create a vector between two points. | |
| def | MakeLine |
| Create a line, passing through the given point and parrallel to the given direction. | |
| def | MakeLineTwoPnt |
| Create a line, passing through the given points. | |
| def | MakeLineTwoFaces |
| Create a line on two faces intersection. | |
| def | MakePlane |
| Create a plane, passing through the given point and normal to the given vector. | |
| def | MakePlaneThreePnt |
| Create a plane, passing through the three given points. | |
| def | MakePlaneFace |
| Create a plane, similar to the existing one, but with another size of representing face. | |
| def | MakePlane2Vec |
| def | MakePlaneLCS |
| def | MakeMarker |
| Create a local coordinate system. | |
| def | MakeMarkerPntTwoVec |
| Create a local coordinate system. | |
| def | MakeArc |
| Create an arc of circle, passing through three given points. | |
| def | MakeArcCenter |
| Create an arc of circle from a center and 2 points. | |
| def | MakeArcOfEllipse |
| Create an arc of ellipse, of center and two points. | |
| def | MakeCircle |
| Create a circle with given center, normal vector and radius. | |
| def | MakeCircleR |
| Create a circle with given radius. | |
| def | MakeCircleThreePnt |
| Create a circle, passing through three given points. | |
| def | MakeCircleCenter2Pnt |
| Create a circle, with given point1 as center, passing through the point2 as radius and laying in the plane, defined by all three given points. | |
| def | MakeEllipse |
| Create an ellipse with given center, normal vector and radiuses. | |
| def | MakeEllipseRR |
| Create an ellipse with given radiuses. | |
| def | MakePolyline |
| Create a polyline on the set of points. | |
| def | MakeBezier |
| Create bezier curve on the set of points. | |
| def | MakeInterpol |
| Create B-Spline curve on the set of points. | |
| def | MakeSketcher |
| Create a sketcher (wire or face), following the textual description, passed through theCommand argument. | |
| def | MakeSketcherOnPlane |
| Create a sketcher (wire or face), following the textual description, passed through theCommand argument. | |
| def | Make3DSketcher |
| def | MakeBox |
| Create a box by coordinates of two opposite vertices. | |
| def | MakeBoxDXDYDZ |
| Create a box with specified dimensions along the coordinate axes and with edges, parallel to the coordinate axes. | |
| def | MakeBoxTwoPnt |
| Create a box with two specified opposite vertices, and with edges, parallel to the coordinate axes. | |
| def | MakeFaceHW |
| Create a face with specified dimensions along OX-OY coordinate axes, with edges, parallel to this coordinate axes. | |
| def | MakeFaceObjHW |
| Create a face from another plane and two sizes, vertical size and horisontal size. | |
| def | MakeDiskPntVecR |
| Create a disk with given center, normal vector and radius. | |
| def | MakeDiskThreePnt |
| Create a disk, passing through three given points. | |
| def | MakeDiskR |
| Create a disk with specified dimensions along OX-OY coordinate axes. | |
| def | MakeCylinder |
| Create a cylinder with given base point, axis, radius and height. | |
| def | MakeCylinderRH |
| Create a cylinder with given radius and height at the origin of coordinate system. | |
| def | MakeSpherePntR |
| Create a sphere with given center and radius. | |
| def | MakeSphere |
| Create a sphere with given center and radius. | |
| def | MakeSphereR |
| Create a sphere with given radius at the origin of coordinate system. | |
| def | MakeCone |
| Create a cone with given base point, axis, height and radiuses. | |
| def | MakeConeR1R2H |
| Create a cone with given height and radiuses at the origin of coordinate system. | |
| def | MakeTorus |
| Create a torus with given center, normal vector and radiuses. | |
| def | MakeTorusRR |
| Create a torus with given radiuses at the origin of coordinate system. | |
| def | MakePrism |
| Create a shape by extrusion of the base shape along a vector, defined by two points. | |
| def | MakePrismVecH |
| Create a shape by extrusion of the base shape along the vector, i.e. | |
| def | MakePrismVecH2Ways |
| Create a shape by extrusion of the base shape along the vector, i.e. | |
| def | MakePrismDXDYDZ |
| def | MakePrismDXDYDZ2Ways |
| def | MakeRevolution |
| Create a shape by revolution of the base shape around the axis on the given angle, i.e. | |
| def | MakeRevolution2Ways |
| The Same Revolution but in both ways forward&backward. | |
| def | MakeFilling |
| Create a filling from the given compound of contours. | |
| def | MakeThruSections |
| Create a shell or solid passing through set of sections.Sections should be wires,edges or vertices. | |
| def | MakePipe |
| Create a shape by extrusion of the base shape along the path shape. | |
| def | MakePipeWithDifferentSections |
| Create a shape by extrusion of the profile shape along the path shape. | |
| def | MakePipeWithShellSections |
| Create a shape by extrusion of the profile shape along the path shape. | |
| def | MakePipeWithShellSectionsBySteps |
| Create a shape by extrusion of the profile shape along the path shape. | |
| def | MakePipeShellsWithoutPath |
| Create solids between given sections. | |
| def | MakePipeBiNormalAlongVector |
| Create a shape by extrusion of the base shape along the path shape with constant bi-normal direction along the given vector. | |
| def | MakeEdge |
| Create a linear edge with specified ends. | |
| def | MakeWire |
| Create a wire from the set of edges and wires. | |
| def | MakeFace |
| Create a face on the given wire. | |
| def | MakeFaceWires |
| Create a face on the given wires set. | |
| def | MakeFaces |
| Shortcut to MakeFaceWires(). | |
| def | MakeShell |
| Create a shell from the set of faces and shells. | |
| def | MakeSolid |
| Create a solid, bounded by the given shells. | |
| def | MakeCompound |
| Create a compound of the given shapes. | |
| def | NumberOfFaces |
| Gives quantity of faces in the given shape. | |
| def | NumberOfEdges |
| Gives quantity of edges in the given shape. | |
| def | NumberOfSubShapes |
| Gives quantity of subshapes of type theShapeType in the given shape. | |
| def | NumberOfSolids |
| Gives quantity of solids in the given shape. | |
| def | ChangeOrientation |
| Reverses an orientation the given shape. | |
| def | OrientationChange |
| Shortcut to ChangeOrientation(). | |
| def | GetFreeFacesIDs |
| Retrieve all free faces from the given shape. | |
| def | GetSharedShapes |
| Get all sub-shapes of theShape1 of the given type, shared with theShape2. | |
| def | GetShapesOnPlane |
| Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the certain way, defined through theState parameter. | |
| def | GetShapesOnPlaneIDs |
| Works like the above method, but returns list of sub-shapes indices. | |
| def | GetShapesOnPlaneWithLocation |
| Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the certain way, defined through theState parameter. | |
| def | GetShapesOnPlaneWithLocationIDs |
| Works like the above method, but returns list of sub-shapes indices. | |
| def | GetShapesOnCylinder |
| Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by the certain way, defined through theState parameter. | |
| def | GetShapesOnCylinderIDs |
| Works like the above method, but returns list of sub-shapes indices. | |
| def | GetShapesOnSphere |
| Find in theShape all sub-shapes of type theShapeType, situated relatively the specified sphere by the certain way, defined through theState parameter. | |
| def | GetShapesOnSphereIDs |
| Works like the above method, but returns list of sub-shapes indices. | |
| def | GetShapesOnQuadrangle |
| Find in theShape all sub-shapes of type theShapeType, situated relatively the specified quadrangle by the certain way, defined through theState parameter. | |
| def | GetShapesOnQuadrangleIDs |
| Works like the above method, but returns list of sub-shapes indices. | |
| def | GetShapesOnBox |
| Find in theShape all sub-shapes of type theShapeType, situated relatively the specified theBox by the certain way, defined through theState parameter. | |
| def | GetShapesOnBoxIDs |
| Works like the above method, but returns list of sub-shapes indices. | |
| def | GetShapesOnShape |
| Find in theShape all sub-shapes of type theShapeType, situated relatively the specified theCheckShape by the certain way, defined through theState parameter. | |
| def | GetShapesOnShapeAsCompound |
| Works like the above method, but returns result as compound. | |
| def | GetShapesOnShapeIDs |
| Works like the above method, but returns list of sub-shapes indices. | |
| def | GetInPlace |
| Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it. | |
| def | GetInPlaceByHistory |
| Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it. | |
| def | GetSame |
| Get sub-shape of theShapeWhere, which is equal to theShapeWhat. | |
| def | GetSubShape |
| Obtain a composite sub-shape of aShape, composed from sub-shapes of aShape, selected by their unique IDs inside aShape | |
| def | GetSubShapeID |
| Obtain unique ID of sub-shape aSubShape inside aShape | |
| def | SubShapeAll |
| Explode a shape on subshapes of a given type. | |
| def | SubShapeAllIDs |
| Explode a shape on subshapes of a given type. | |
| def | SubShapeAllSorted |
| Explode a shape on subshapes of a given type. | |
| def | SubShapeAllSortedIDs |
| Explode a shape on subshapes of a given type. | |
| def | SubShape |
| Obtain a compound of sub-shapes of aShape, selected by they indices in list of all sub-shapes of type aType. | |
| def | SubShapeSorted |
| Obtain a compound of sub-shapes of aShape, selected by they indices in sorted list of all sub-shapes of type aType. | |
| def | ProcessShape |
| Apply a sequence of Shape Healing operators to the given object. | |
| def | SuppressFaces |
| Remove faces from the given object (shape). | |
| def | MakeSewing |
| Sewing of some shapes into single shape. | |
| def | Sew |
| Sewing of the given object. | |
| def | SuppressInternalWires |
| Remove internal wires and edges from the given object (face). | |
| def | SuppressHoles |
| Remove internal closed contours (holes) from the given object. | |
| def | CloseContour |
| Close an open wire. | |
| def | DivideEdge |
| Addition of a point to a given edge object. | |
| def | ChangeOrientationShell |
| Change orientation of the given object. | |
| def | ChangeOrientationShellCopy |
| Change orientation of the given object. | |
| def | GetFreeBoundary |
| Get a list of wires (wrapped in GEOM_Object-s), that constitute a free boundary of the given shape. | |
| def | MakeGlueFaces |
| Replace coincident faces in theShape by one face. | |
| def | GetGlueFaces |
| Find coincident faces in theShape for possible gluing. | |
| def | MakeGlueFacesByList |
| Replace coincident faces in theShape by one face in compliance with given list of faces. | |
| def | MakeBoolean |
| Perform one of boolean operations on two given shapes. | |
| def | MakeCommon |
| Shortcut to MakeBoolean(s1, s2, 1). | |
| def | MakeCut |
| Shortcut to MakeBoolean(s1, s2, 2). | |
| def | MakeFuse |
| Shortcut to MakeBoolean(s1, s2, 3). | |
| def | MakeSection |
| Shortcut to MakeBoolean(s1, s2, 4). | |
| def | MakePartition |
| Perform partition operation. | |
| def | MakePartitionNonSelfIntersectedShape |
| Perform partition operation. | |
| def | Partition |
| Shortcut to MakePartition(). | |
| def | MakeHalfPartition |
| Perform partition of the Shape with the Plane. | |
| def | MakeTranslationTwoPoints |
| Translate the given object along the vector, specified by its end points, creating its copy before the translation. | |
| def | TranslateDXDYDZ |
| Translate the given object along the vector, specified by its components. | |
| def | MakeTranslation |
| Translate the given object along the vector, specified by its components, creating its copy before the translation. | |
| def | MakeTranslationVector |
| Translate the given object along the given vector, creating its copy before the translation. | |
| def | TranslateVectorDistance |
| Translate the given object along the given vector on given distance. | |
| def | MakeTranslationVectorDistance |
| Translate the given object along the given vector on given distance, creating its copy before the translation. | |
| def | Rotate |
| Rotate the given object around the given axis on the given angle. | |
| def | MakeRotation |
| Rotate the given object around the given axis on the given angle, creating its copy before the rotatation. | |
| def | MakeRotationThreePoints |
| Rotate given object around vector perpendicular to plane containing three points, creating its copy before the rotatation. | |
| def | MakeScaleTransform |
| Scale the given object by the factor, creating its copy before the scaling. | |
| def | MakeScaleAlongAxes |
| Scale the given object by different factors along coordinate axes, creating its copy before the scaling. | |
| def | MakeMirrorByPlane |
| Create an object, symmetrical to the given one relatively the given plane. | |
| def | MakeMirrorByAxis |
| Create an object, symmetrical to the given one relatively the given axis. | |
| def | MakeMirrorByPoint |
| Create an object, symmetrical to the given one relatively the given point. | |
| def | MakePosition |
| Modify the Location of the given object by LCS, creating its copy before the setting. | |
| def | PositionAlongPath |
| Modify the Location of the given object by Path,. | |
| def | MakeOffset |
| Create new object as offset of the given one. | |
| def | MakeMultiTranslation1D |
| Translate the given object along the given vector a given number times. | |
| def | MakeMultiTranslation2D |
| Conseqently apply two specified translations to theObject specified number of times. | |
| def | MultiRotate1D |
| Rotate the given object around the given axis a given number times. | |
| def | MultiRotate2D |
| Rotate the given object around the given axis on the given angle a given number times and multi-translate each rotation result. | |
| def | MakeMultiRotation1D |
| The same, as MultiRotate1D(), but axis is given by direction and point Example. | |
| def | MakeMultiRotation2D |
| The same, as MultiRotate2D(), but axis is given by direction and point Example. | |
| def | MakeFilletAll |
| Perform a fillet on all edges of the given shape. | |
| def | MakeFillet |
| Perform a fillet on the specified edges/faces of the given shape. | |
| def | MakeFilletR1R2 |
| The same that MakeFillet but with two Fillet Radius R1 and R2. | |
| def | MakeFillet1D |
| Perform a fillet on the specified edges of the given shape. | |
| def | MakeFillet2D |
| Perform a fillet on the specified edges/faces of the given shape. | |
| def | MakeChamferAll |
| Perform a symmetric chamfer on all edges of the given shape. | |
| def | MakeChamferEdge |
| Perform a chamfer on edges, common to the specified faces, with distance D1 on the Face1. | |
| def | MakeChamferEdgeAD |
| The Same that MakeChamferEdge but with params theD is chamfer length and theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees). | |
| def | MakeChamferFaces |
| Perform a chamfer on all edges of the specified faces, with distance D1 on the first specified face (if several for one edge). | |
| def | MakeChamferFacesAD |
| The Same that MakeChamferFaces but with params theD is chamfer lenght and theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees). | |
| def | MakeChamferEdges |
| Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge). | |
| def | MakeChamferEdgesAD |
| The Same that MakeChamferEdges but with params theD is chamfer lenght and theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees). | |
| def | MakeChamfer |
| Shortcut to MakeChamferEdge() and MakeChamferFaces(). | |
| def | Archimede |
| Perform an Archimde operation on the given shape with given parameters. | |
| def | PointCoordinates |
| Get point coordinates. | |
| def | BasicProperties |
| Get summarized length of all wires, area of surface and volume of the given shape. | |
| def | BoundingBox |
| Get parameters of bounding box of the given shape. | |
| def | Inertia |
| Get inertia matrix and moments of inertia of theShape. | |
| def | MinDistance |
| Get minimal distance between the given shapes. | |
| def | MinDistanceComponents |
| Get minimal distance between the given shapes. | |
| def | GetAngle |
| Get angle between the given shapes in degrees. | |
| def | GetAngleRadians |
| Get angle between the given shapes in radians. | |
| def | Tolerance |
| Get min and max tolerances of sub-shapes of theShape. | |
| def | WhatIs |
| Obtain description of the given shape (number of sub-shapes of each type). | |
| def | MakeCDG |
| Get a point, situated at the centre of mass of theShape. | |
| def | GetNormal |
| Get a normale to the given face. | |
| def | CheckShape |
| Check a topology of the given shape. | |
| def | GetPosition |
| Get position (LCS) of theShape. | |
| def | KindOfShape |
| Get kind of theShape. | |
| def | Import |
| Import a shape from the BREP or IGES or STEP file (depends on given format) with given name. | |
| def | ImportBREP |
| Shortcut to Import() for BREP format. | |
| def | ImportIGES |
| Shortcut to Import() for IGES format. | |
| def | GetIGESUnit |
| Return length unit from given IGES file. | |
| def | ImportSTEP |
| Shortcut to Import() for STEP format. | |
| def | Export |
| Export the given shape into a file with given name. | |
| def | ExportBREP |
| Shortcut to Export() for BREP format. | |
| def | ExportIGES |
| Shortcut to Export() for IGES format. | |
| def | ExportSTEP |
| Shortcut to Export() for STEP format. | |
| def | MakeQuad |
| Create a quadrangle face from four edges. | |
| def | MakeQuad2Edges |
| Create a quadrangle face on two edges. | |
| def | MakeQuad4Vertices |
| Create a quadrangle face with specified corners. | |
| def | MakeHexa |
| Create a hexahedral solid, bounded by the six given faces. | |
| def | MakeHexa2Faces |
| Create a hexahedral solid between two given faces. | |
| def | GetPoint |
| Get a vertex, found in the given shape by its coordinates. | |
| def | GetEdge |
| Get an edge, found in the given shape by two given vertices. | |
| def | GetEdgeNearPoint |
| Find an edge of the given shape, which has minimal distance to the given point. | |
| def | GetFaceByPoints |
| Returns a face, found in the given shape by four given corner vertices. | |
| def | GetFaceByEdges |
| Get a face of block, found in the given shape by two given edges. | |
| def | GetOppositeFace |
| Find a face, opposite to the given one in the given block. | |
| def | GetFaceNearPoint |
| Find a face of the given shape, which has minimal distance to the given point. | |
| def | GetFaceByNormale |
| Find a face of block, whose outside normale has minimal angle with the given vector. | |
| def | CheckCompoundOfBlocks |
| Check, if the compound of blocks is given. | |
| def | RemoveExtraEdges |
| Remove all seam and degenerated edges from theShape. | |
| def | CheckAndImprove |
| Check, if the given shape is a blocks compound. | |
| def | MakeBlockExplode |
| Get all the blocks, contained in the given compound. | |
| def | GetBlockNearPoint |
| Find block, containing the given point inside its volume or on boundary. | |
| def | GetBlockByParts |
| Find block, containing all the elements, passed as the parts, or maximum quantity of them. | |
| def | GetBlocksByParts |
| Return all blocks, containing all the elements, passed as the parts. | |
| def | MakeMultiTransformation1D |
| Multi-transformate block and glue the result. | |
| def | MakeMultiTransformation2D |
| Multi-transformate block and glue the result. | |
| def | Propagate |
| Build all possible propagation groups. | |
| def | CreateGroup |
| Creates a new group which will store sub shapes of theMainShape. | |
| def | AddObject |
| Adds a sub object with ID theSubShapeId to the group. | |
| def | RemoveObject |
| Removes a sub object with ID theSubShapeId from the group. | |
| def | UnionList |
| Adds to the group all the given shapes. | |
| def | UnionIDs |
| Works like the above method, but argument theSubShapes here is a list of sub-shapes indices. | |
| def | DifferenceList |
| Removes from the group all the given shapes. | |
| def | DifferenceIDs |
| Works like the above method, but argument theSubShapes here is a list of sub-shapes indices. | |
| def | GetObjectIDs |
| Returns a list of sub objects ID stored in the group. | |
| def | GetType |
| Returns a type of sub objects stored in the group. | |
| def | GetMainShape |
| Returns a main shape associated with the group. | |
| def | GetEdgesByLength |
| Create group of edges of theShape, whose length is in range [min_length, max_length]. | |
| def | SelectEdges |
| Create group of edges of selected shape, whose length is in range [min_length, max_length]. | |
| def | MakeCopy |
| Create a copy of the given objectExample. | |
| def | addPath |
| Add Path to load python scripts from. | |
| def | LoadTexture |
| Load marker texture from the file. | |
| def | AddTexture |
| Add marker texture. | |
Curve Curvature Measurement | |
| def | CurveCurvatureByParam |
| Measure curvature of a curve at a point, set by parameter. | |
| def | CurveCurvatureByPoint |
Surface Curvature Measurement | |
| def | MaxSurfaceCurvatureByParam |
| def | MaxSurfaceCurvatureByPoint |
| def | MinSurfaceCurvatureByParam |
| def | MinSurfaceCurvatureByPoint |
Variables | |
| dictionary | ShapeType = {"COMPOUND":0, "COMPSOLID":1, "SOLID":2, "SHELL":3, "FACE":4, "WIRE":5, "EDGE":6, "VERTEX":7, "SHAPE":8} |
| Enumeration ShapeType as a dictionary. | |
| kind = GEOM.GEOM_IKindOfShape | |
| Kinds of shape enumeration. | |
| myBuilder | |
| myStudyId | |
| father | |
| BasicOp | |
| CurvesOp | |
| PrimOp | |
| ShapesOp | |
| HealOp | |
| InsertOp | |
| BoolOp | |
| TrsfOp | |
| LocalOp | |
| MeasuOp | |
| BlocksOp | |
| GroupOp | |
| myStudy | |
| def geompy.__init__ | ( | self | ) |