Version: 6.5.0
Home
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures | Packages | Functions | Variables
geompy.py File Reference

Data Structures

class  geompy.info
 Information about closed/unclosed state of shell or wire. More...

Packages

namespace  geompy

Functions

def geompy.RaiseIfFailed
 Raise an Error, containing the Method_name, if Operation is Failed.
def geompy.ParseParameters
 Return list of variables value from salome notebook.
def geompy.ParseList
 Return list of variables value from salome notebook.
def geompy.ParseSketcherCommand
 Return list of variables value from salome notebook.
def geompy.PackData
 Helper function which can be used to pack the passed string to the byte data.
def geompy.ReadTexture
 Read bitmap texture from the text file.
def geompy.EnumToLong
 Returns a long value from enumeration type Can be used for CORBA enumerator types like GEOM.shape_type.
def geompy.__init__
def geompy.init_geom
def geompy.DumpPython
 Dump component to the Python script This method overrides IDL function to allow default values for the parameters.
def geompy.SubShapeName
 Get name for sub-shape aSubObj of shape aMainObj.
def geompy.addToStudy
 Publish in study aShape with name aName.
def geompy.addToStudyInFather
 Publish in study aShape with name aName as sub-object of previously published aFather.
def geompy.hideInStudy
 Unpublish object in study.
def geompy.RestoreSubShapes
 Publish sub-shapes, standing for arguments and sub-shapes of arguments To be used from python scripts out of addToStudy() (non-default usage)
def geompy.RestoreGivenSubShapes
 Publish sub-shapes, standing for arguments and sub-shapes of arguments To be used from python scripts out of addToStudy() (non-default usage)
def geompy.MakeVertex
 Create point by three coordinates.
def geompy.MakeVertexWithRef
 Create a point, distant from the referenced point on the given distances along the coordinate axes.
def geompy.MakeVertexOnCurve
 Create a point, corresponding to the given parameter on the given curve.
def geompy.MakeVertexOnCurveByCoord
 Create a point by projection give coordinates on the given curve.
def geompy.MakeVertexOnCurveByLength
 Create a point, corresponding to the given length on the given curve.
def geompy.MakeVertexOnSurface
 Create a point, corresponding to the given parameters on the given surface.
def geompy.MakeVertexOnSurfaceByCoord
 Create a point by projection give coordinates on the given surface.
def geompy.MakeVertexOnLinesIntersection
 Create a point on intersection of two lines.
def geompy.MakeTangentOnCurve
 Create a tangent, corresponding to the given parameter on the given curve.
def geompy.MakeTangentPlaneOnFace
 Create a tangent plane, corresponding to the given parameter on the given face.
def geompy.MakeVectorDXDYDZ
 Create a vector with the given components.
def geompy.MakeVector
 Create a vector between two points.
def geompy.MakeLine
 Create a line, passing through the given point and parrallel to the given direction.
def geompy.MakeLineTwoPnt
 Create a line, passing through the given points.
def geompy.MakeLineTwoFaces
 Create a line on two faces intersection.
def geompy.MakePlane
 Create a plane, passing through the given point and normal to the given vector.
def geompy.MakePlaneThreePnt
 Create a plane, passing through the three given points.
def geompy.MakePlaneFace
 Create a plane, similar to the existing one, but with another size of representing face.
def geompy.MakePlane2Vec
 Create a plane, passing through the 2 vectors with center in a start point of the first vector.
def geompy.MakePlaneLCS
 Create a plane, based on a Local coordinate system.
def geompy.MakeMarker
 Create a local coordinate system.
def geompy.MakeMarkerFromShape
 Create a local coordinate system from shape.
def geompy.MakeMarkerPntTwoVec
 Create a local coordinate system from point and two vectors.
def geompy.MakeArc
 Create an arc of circle, passing through three given points.
def geompy.MakeArcCenter
 Create an arc of circle from a center and 2 points.
def geompy.MakeArcOfEllipse
 Create an arc of ellipse, of center and two points.
def geompy.MakeCircle
 Create a circle with given center, normal vector and radius.
def geompy.MakeCircleR
 Create a circle with given radius.
def geompy.MakeCircleThreePnt
 Create a circle, passing through three given points.
def geompy.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 geompy.MakeEllipse
 Create an ellipse with given center, normal vector and radiuses.
def geompy.MakeEllipseRR
 Create an ellipse with given radiuses.
def geompy.MakePolyline
 Create a polyline on the set of points.
def geompy.MakeBezier
 Create bezier curve on the set of points.
def geompy.MakeInterpol
 Create B-Spline curve on the set of points.
def geompy.MakeCurveParametric
 Creates a curve using the parametric definition of the basic points.
def geompy.MakeSketcher
 Create a sketcher (wire or face), following the textual description, passed through theCommand argument.
def geompy.MakeSketcherOnPlane
 Create a sketcher (wire or face), following the textual description, passed through theCommand argument.
def geompy.Make3DSketcher
 Create a sketcher wire, following the numerical description, passed through theCoordinates argument.
def geompy.MakeBox
 Create a box by coordinates of two opposite vertices.
def geompy.MakeBoxDXDYDZ
 Create a box with specified dimensions along the coordinate axes and with edges, parallel to the coordinate axes.
def geompy.MakeBoxTwoPnt
 Create a box with two specified opposite vertices, and with edges, parallel to the coordinate axes.
def geompy.MakeFaceHW
 Create a face with specified dimensions with edges parallel to coordinate axes.
def geompy.MakeFaceObjHW
 Create a face from another plane and two sizes, vertical size and horisontal size.
def geompy.MakeDiskPntVecR
 Create a disk with given center, normal vector and radius.
def geompy.MakeDiskThreePnt
 Create a disk, passing through three given points.
def geompy.MakeDiskR
 Create a disk with specified dimensions along OX-OY coordinate axes.
def geompy.MakeCylinder
 Create a cylinder with given base point, axis, radius and height.
def geompy.MakeCylinderRH
 Create a cylinder with given radius and height at the origin of coordinate system.
def geompy.MakeSpherePntR
 Create a sphere with given center and radius.
def geompy.MakeSphere
 Create a sphere with given center and radius.
def geompy.MakeSphereR
 Create a sphere with given radius at the origin of coordinate system.
def geompy.MakeCone
 Create a cone with given base point, axis, height and radiuses.
def geompy.MakeConeR1R2H
 Create a cone with given height and radiuses at the origin of coordinate system.
def geompy.MakeTorus
 Create a torus with given center, normal vector and radiuses.
def geompy.MakeTorusRR
 Create a torus with given radiuses at the origin of coordinate system.
def geompy.MakePrism
 Create a shape by extrusion of the base shape along a vector, defined by two points.
def geompy.MakePrism2Ways
 Create a shape by extrusion of the base shape along a vector, defined by two points, in 2 Ways (forward/backward).
def geompy.MakePrismVecH
 Create a shape by extrusion of the base shape along the vector, i.e.
def geompy.MakePrismVecH2Ways
 Create a shape by extrusion of the base shape along the vector, i.e.
def geompy.MakePrismDXDYDZ
 Create a shape by extrusion of the base shape along the dx, dy, dz direction.
def geompy.MakePrismDXDYDZ2Ways
 Create a shape by extrusion of the base shape along the dx, dy, dz direction i.e.
def geompy.MakeRevolution
 Create a shape by revolution of the base shape around the axis on the given angle, i.e.
def geompy.MakeRevolution2Ways
 Create a shape by revolution of the base shape around the axis on the given angle, i.e.
def geompy.MakeFilling
 Create a filling from the given compound of contours.
def geompy.MakeThruSections
 Create a shell or solid passing through set of sections.Sections should be wires,edges or vertices.
def geompy.MakePipe
 Create a shape by extrusion of the base shape along the path shape.
def geompy.MakePipeWithDifferentSections
 Create a shape by extrusion of the profile shape along the path shape.
def geompy.MakePipeWithShellSections
 Create a shape by extrusion of the profile shape along the path shape.
def geompy.MakePipeWithShellSectionsBySteps
 Create a shape by extrusion of the profile shape along the path shape.
def geompy.MakePipeShellsWithoutPath
 Create solids between given sections.
def geompy.MakePipeBiNormalAlongVector
 Create a shape by extrusion of the base shape along the path shape with constant bi-normal direction along the given vector.
def geompy.MakeEdge
 Create a linear edge with specified ends.
def geompy.MakeEdgeOnCurveByLength
 Create a new edge, corresponding to the given length on the given curve.
def geompy.MakeEdgeWire
 Create an edge from specified wire.
def geompy.MakeWire
 Create a wire from the set of edges and wires.
def geompy.MakeFace
 Create a face on the given wire.
def geompy.MakeFaceWires
 Create a face on the given wires set.
def geompy.MakeFaces
 See MakeFaceWires() method for details.
def geompy.MakeShell
 Create a shell from the set of faces and shells.
def geompy.MakeSolid
 Create a solid, bounded by the given shells.
def geompy.MakeCompound
 Create a compound of the given shapes.
def geompy.NumberOfFaces
 Gives quantity of faces in the given shape.
def geompy.NumberOfEdges
 Gives quantity of edges in the given shape.
def geompy.NumberOfSubShapes
 Gives quantity of sub-shapes of type theShapeType in the given shape.
def geompy.NumberOfSolids
 Gives quantity of solids in the given shape.
def geompy.ChangeOrientation
 Reverses an orientation the given shape.
def geompy.OrientationChange
 See ChangeOrientation() method for details.
def geompy.GetFreeFacesIDs
 Retrieve all free faces from the given shape.
def geompy.GetSharedShapes
 Get all sub-shapes of theShape1 of the given type, shared with theShape2.
def geompy.GetSharedShapesMulti
 Get all sub-shapes, shared by all shapes in the list theShapes.
def geompy.GetShapesOnPlane
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the certain way, defined through theState parameter.
def geompy.GetShapesOnPlaneIDs
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the certain way, defined through theState parameter.
def geompy.GetShapesOnPlaneWithLocation
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the certain way, defined through theState parameter.
def geompy.GetShapesOnPlaneWithLocationIDs
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the certain way, defined through theState parameter.
def geompy.GetShapesOnCylinder
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by the certain way, defined through theState parameter.
def geompy.GetShapesOnCylinderIDs
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by the certain way, defined through theState parameter.
def geompy.GetShapesOnCylinderWithLocation
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by the certain way, defined through theState parameter.
def geompy.GetShapesOnCylinderWithLocationIDs
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by the certain way, defined through theState parameter.
def geompy.GetShapesOnSphere
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified sphere by the certain way, defined through theState parameter.
def geompy.GetShapesOnSphereIDs
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified sphere by the certain way, defined through theState parameter.
def geompy.GetShapesOnQuadrangle
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified quadrangle by the certain way, defined through theState parameter.
def geompy.GetShapesOnQuadrangleIDs
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified quadrangle by the certain way, defined through theState parameter.
def geompy.GetShapesOnBox
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified theBox by the certain way, defined through theState parameter.
def geompy.GetShapesOnBoxIDs
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified theBox by the certain way, defined through theState parameter.
def geompy.GetShapesOnShape
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified theCheckShape by the certain way, defined through theState parameter.
def geompy.GetShapesOnShapeAsCompound
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified theCheckShape by the certain way, defined through theState parameter.
def geompy.GetShapesOnShapeIDs
 Find in theShape all sub-shapes of type theShapeType, situated relatively the specified theCheckShape by the certain way, defined through theState parameter.
def geompy.GetInPlace
 Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it.
def geompy.GetInPlaceByHistory
 Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it.
def geompy.GetSame
 Get sub-shape of theShapeWhere, which is equal to theShapeWhat.
def geompy.GetSameIDs
 Get sub-shape indices of theShapeWhere, which is equal to theShapeWhat.
def geompy.GetSubShape
 Obtain a composite sub-shape of aShape, composed from sub-shapes of aShape, selected by their unique IDs inside aShape
def geompy.GetSubShapeID
 Obtain unique ID of sub-shape aSubShape inside aShape of aShape, selected by their unique IDs inside aShape
def geompy.GetExistingSubObjects
 Get all sub-shapes and groups of theShape, that were created already by any other methods.
def geompy.GetGroups
 Get all groups of theShape, that were created already by any other methods.
def geompy.SubShapeAll
 Explode a shape on sub-shapes of a given type.
def geompy.SubShapeAllIDs
 Explode a shape on sub-shapes of a given type.
def geompy.SubShape
 Obtain a compound of sub-shapes of aShape, selected by they indices in list of all sub-shapes of type aType.
def geompy.SubShapeAllSortedCentres
 Explode a shape on sub-shapes of a given type.
def geompy.SubShapeAllSortedCentresIDs
 Explode a shape on sub-shapes of a given type.
def geompy.SubShapeSortedCentres
 Obtain a compound of sub-shapes of aShape, selected by they indices in sorted list of all sub-shapes of type aType.
def geompy.ExtractShapes
 Extract shapes (excluding the main shape) of given type.
def geompy.SubShapes
 Get a set of sub-shapes defined by their unique IDs inside aShape
def geompy.SubShapeAllSorted
 Deprecated method It works like SubShapeAllSortedCentres(), but wrongly defines centres of faces, shells and solids.
def geompy.SubShapeAllSortedIDs
 Deprecated method It works like SubShapeAllSortedCentresIDs(), but wrongly defines centres of faces, shells and solids.
def geompy.SubShapeSorted
 Deprecated method It works like SubShapeSortedCentres(), but has a bug (wrongly defines centres of faces, shells and solids).
def geompy.ProcessShape
 Apply a sequence of Shape Healing operators to the given object.
def geompy.SuppressFaces
 Remove faces from the given object (shape).
def geompy.MakeSewing
 Sewing of some shapes into single shape.
def geompy.Sew
 Sewing of the given object.
def geompy.SuppressInternalWires
 Remove internal wires and edges from the given object (face).
def geompy.SuppressHoles
 Remove internal closed contours (holes) from the given object.
def geompy.CloseContour
 Close an open wire.
def geompy.DivideEdge
 Addition of a point to a given edge object.
def geompy.ChangeOrientationShell
 Change orientation of the given object.
def geompy.ChangeOrientationShellCopy
 Change orientation of the given object.
def geompy.LimitTolerance
 Try to limit tolerance of the given object by value theTolerance.
def geompy.GetFreeBoundary
 Get a list of wires (wrapped in GEOM.GEOM_Object-s), that constitute a free boundary of the given shape.
def geompy.MakeGlueFaces
 Replace coincident faces in theShape by one face.
def geompy.GetGlueFaces
 Find coincident faces in theShape for possible gluing.
def geompy.MakeGlueFacesByList
 Replace coincident faces in theShape by one face in compliance with given list of faces.
def geompy.MakeGlueEdges
 Replace coincident edges in theShape by one edge.
def geompy.GetGlueEdges
 Find coincident edges in theShape for possible gluing.
def geompy.MakeGlueEdgesByList
 Replace coincident edges in theShape by one edge in compliance with given list of edges.
def geompy.MakeBoolean
 Perform one of boolean operations on two given shapes.
def geompy.MakeCommon
 Perform Common boolean operation on two given shapes.
def geompy.MakeCut
 Perform Cut boolean operation on two given shapes.
def geompy.MakeFuse
 Perform Fuse boolean operation on two given shapes.
def geompy.MakeSection
 Perform Section boolean operation on two given shapes.
def geompy.MakePartition
 Perform partition operation.
def geompy.MakePartitionNonSelfIntersectedShape
 Perform partition operation.
def geompy.Partition
 See method MakePartition() for more information.
def geompy.MakeHalfPartition
 Perform partition of the Shape with the Plane.
def geompy.MakeTranslationTwoPoints
 Translate the given object along the vector, specified by its end points, creating its copy before the translation.
def geompy.TranslateDXDYDZ
 Translate the given object along the vector, specified by its components.
def geompy.MakeTranslation
 Translate the given object along the vector, specified by its components, creating its copy before the translation.
def geompy.MakeTranslationVector
 Translate the given object along the given vector, creating its copy before the translation.
def geompy.TranslateVectorDistance
 Translate the given object along the given vector on given distance.
def geompy.MakeTranslationVectorDistance
 Translate the given object along the given vector on given distance, creating its copy before the translation.
def geompy.Rotate
 Rotate the given object around the given axis on the given angle.
def geompy.MakeRotation
 Rotate the given object around the given axis on the given angle, creating its copy before the rotatation.
def geompy.MakeRotationThreePoints
 Rotate given object around vector perpendicular to plane containing three points, creating its copy before the rotatation.
def geompy.MakeScaleTransform
 Scale the given object by the factor, creating its copy before the scaling.
def geompy.MakeScaleAlongAxes
 Scale the given object by different factors along coordinate axes, creating its copy before the scaling.
def geompy.MakeMirrorByPlane
 Create an object, symmetrical to the given one relatively the given plane.
def geompy.MakeMirrorByAxis
 Create an object, symmetrical to the given one relatively the given axis.
def geompy.MakeMirrorByPoint
 Create an object, symmetrical to the given one relatively the given point.
def geompy.MakePosition
 Modify the Location of the given object by LCS, creating its copy before the setting.
def geompy.PositionAlongPath
 Modify the Location of the given object by Path,.
def geompy.MakeOffset
 Create new object as offset of the given one.
def geompy.MakeProjection
 Create new object as projection of the given one on a 2D surface.
def geompy.MakeMultiTranslation1D
 Translate the given object along the given vector a given number times.
def geompy.MakeMultiTranslation2D
 Conseqently apply two specified translations to theObject specified number of times.
def geompy.MultiRotate1D
 Rotate the given object around the given axis a given number times.
def geompy.MultiRotate2D
 Rotate the given object around the given axis on the given angle a given number times and multi-translate each rotation result.
def geompy.MakeMultiRotation1D
 The same, as MultiRotate1D(), but axis is given by direction and point.
def geompy.MakeMultiRotation2D
 The same, as MultiRotate2D(), but axis is given by direction and point.
def geompy.MakeFilletAll
 Perform a fillet on all edges of the given shape.
def geompy.MakeFillet
 Perform a fillet on the specified edges/faces of the given shape.
def geompy.MakeFilletR1R2
 The same that MakeFillet() but with two Fillet Radius R1 and R2.
def geompy.MakeFillet1D
 Perform a fillet on the specified edges of the given shape.
def geompy.MakeFillet2D
 Perform a fillet at the specified vertices of the given face/shell.
def geompy.MakeChamferAll
 Perform a symmetric chamfer on all edges of the given shape.
def geompy.MakeChamferEdge
 Perform a chamfer on edges, common to the specified faces, with distance D1 on the Face1.
def geompy.MakeChamferEdgeAD
 Perform a chamfer on edges.
def geompy.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 geompy.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 geompy.MakeChamferEdges
 Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge)
def geompy.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 geompy.MakeChamfer
 /sa MakeChamferEdge() and MakeChamferFaces()
def geompy.MakeExtrudedCut
 Remove material from a solid by extrusion of the base shape on the given distance.
def geompy.MakeExtrudedBoss
 Add material to a solid by extrusion of the base shape on the given distance.
def geompy.Archimede
 Perform an Archimde operation on the given shape with given parameters.
def geompy.PointCoordinates
 Get point coordinates.
def geompy.BasicProperties
 Get summarized length of all wires, area of surface and volume of the given shape.
def geompy.BoundingBox
 Get parameters of bounding box of the given shape.
def geompy.Inertia
 Get inertia matrix and moments of inertia of theShape.
def geompy.AreCoordsInside
 Get if coords are included in the shape (ST_IN or ST_ON)
def geompy.MinDistance
 Get minimal distance between the given shapes.
def geompy.MinDistanceComponents
 Get minimal distance between the given shapes.
def geompy.GetAngle
 Get angle between the given shapes in degrees.
def geompy.GetAngleRadians
 Get angle between the given shapes in radians.
def geompy.Tolerance
 Get min and max tolerances of sub-shapes of theShape.
def geompy.WhatIs
 Obtain description of the given shape (number of sub-shapes of each type)
def geompy.NbShapes
 Obtain quantity of shapes of the given type in theShape.
def geompy.ShapeInfo
 Obtain quantity of shapes of each type in theShape.
def geompy.MakeCDG
 Get a point, situated at the centre of mass of theShape.
def geompy.GetVertexByIndex
 Get a vertex sub-shape by index depended with orientation.
def geompy.GetFirstVertex
 Get the first vertex of wire/edge depended orientation.
def geompy.GetLastVertex
 Get the last vertex of wire/edge depended orientation.
def geompy.GetNormal
 Get a normale to the given face.
def geompy.CheckShape
 Check a topology of the given shape.
def geompy.CheckSelfIntersections
 Detect self-intersections in the given shape.
def geompy.GetPosition
 Get position (LCS) of theShape.
def geompy.KindOfShape
 Get kind of theShape.
def geompy.ImportFile
 Import a shape from the BREP or IGES or STEP file (depends on given format) with given name.
def geompy.Import
 Deprecated analog of ImportFile()
def geompy.ImportBREP
 Shortcut to ImportFile() for BREP format.
def geompy.ImportIGES
 Shortcut to ImportFile() for IGES format.
def geompy.GetIGESUnit
 Return length unit from given IGES file.
def geompy.ImportSTEP
 Shortcut to ImportFile() for STEP format.
def geompy.Export
 Export the given shape into a file with given name.
def geompy.ExportBREP
 Shortcut to Export() for BREP format.
def geompy.ExportIGES
 Shortcut to Export() for IGES format.
def geompy.ExportSTEP
 Shortcut to Export() for STEP format.
def geompy.MakeQuad
 Create a quadrangle face from four edges.
def geompy.MakeQuad2Edges
 Create a quadrangle face on two edges.
def geompy.MakeQuad4Vertices
 Create a quadrangle face with specified corners.
def geompy.MakeHexa
 Create a hexahedral solid, bounded by the six given faces.
def geompy.MakeHexa2Faces
 Create a hexahedral solid between two given faces.
def geompy.GetPoint
 Get a vertex, found in the given shape by its coordinates.
def geompy.GetVertexNearPoint
 Find a vertex of the given shape, which has minimal distance to the given point.
def geompy.GetEdge
 Get an edge, found in the given shape by two given vertices.
def geompy.GetEdgeNearPoint
 Find an edge of the given shape, which has minimal distance to the given point.
def geompy.GetFaceByPoints
 Returns a face, found in the given shape by four given corner vertices.
def geompy.GetFaceByEdges
 Get a face of block, found in the given shape by two given edges.
def geompy.GetOppositeFace
 Find a face, opposite to the given one in the given block.
def geompy.GetFaceNearPoint
 Find a face of the given shape, which has minimal distance to the given point.
def geompy.GetFaceByNormale
 Find a face of block, whose outside normale has minimal angle with the given vector.
def geompy.GetShapesNearPoint
 Find all sub-shapes of type theShapeType of the given shape, which have minimal distance to the given point.
def geompy.CheckCompoundOfBlocks
 Check, if the compound of blocks is given.
def geompy.RemoveExtraEdges
 Remove all seam and degenerated edges from theShape.
def geompy.CheckAndImprove
 Check, if the given shape is a blocks compound.
def geompy.MakeBlockExplode
 Get all the blocks, contained in the given compound.
def geompy.GetBlockNearPoint
 Find block, containing the given point inside its volume or on boundary.
def geompy.GetBlockByParts
 Find block, containing all the elements, passed as the parts, or maximum quantity of them.
def geompy.GetBlocksByParts
 Return all blocks, containing all the elements, passed as the parts.
def geompy.MakeMultiTransformation1D
 Multi-transformate block and glue the result.
def geompy.MakeMultiTransformation2D
 Multi-transformate block and glue the result.
def geompy.Propagate
 Build all possible propagation groups.
def geompy.CreateGroup
 Creates a new group which will store sub-shapes of theMainShape.
def geompy.AddObject
 Adds a sub-object with ID theSubShapeId to the group.
def geompy.RemoveObject
 Removes a sub-object with ID theSubShapeId from the group.
def geompy.UnionList
 Adds to the group all the given shapes.
def geompy.UnionIDs
 Adds to the group all the given shapes.
def geompy.DifferenceList
 Removes from the group all the given shapes.
def geompy.DifferenceIDs
 Removes from the group all the given shapes.
def geompy.GetObjectIDs
 Returns a list of sub-objects ID stored in the group.
def geompy.GetType
 Returns a type of sub-objects stored in the group.
def geompy.ShapeIdToType
 Convert a type of geom object from id to string value.
def geompy.GetMainShape
 Returns a main shape associated with the group.
def geompy.GetEdgesByLength
 Create group of edges of theShape, whose length is in range [min_length, max_length].
def geompy.SelectEdges
 Create group of edges of selected shape, whose length is in range [min_length, max_length].
def geompy.MakePipeTShape
 Create a T-shape object with specified caracteristics for the main and the incident pipes (radius, width, half-length).
def geompy.MakePipeTShapeChamfer
 Create a T-shape object with chamfer and with specified caracteristics for the main and the incident pipes (radius, width, half-length).
def geompy.MakePipeTShapeFillet
 Create a T-shape object with fillet and with specified caracteristics for the main and the incident pipes (radius, width, half-length).
def geompy.MakeCopy
 Create a copy of the given object.
def geompy.addPath
 Add Path to load python scripts from.
def geompy.LoadTexture
 Load marker texture from the file.
def geompy.getObjectID
 Get entry of the object.
def geompy.AddTexture
 Add marker texture.
Curve Curvature Measurement

Methods for receiving radius of curvature of curves in the given point

def geompy.CurveCurvatureByParam
 Measure curvature of a curve at a point, set by parameter.
def geompy.CurveCurvatureByPoint
 Measure curvature of a curve at a point.
Surface Curvature Measurement

Methods for receiving max and min radius of curvature of surfaces in the given point

def geompy.MaxSurfaceCurvatureByParam
 Measure max radius of curvature of surface.
def geompy.MaxSurfaceCurvatureByPoint
 Measure max radius of curvature of surface in the given point.
def geompy.MinSurfaceCurvatureByParam
 Measure min radius of curvature of surface.
def geompy.MinSurfaceCurvatureByPoint
 Measure min radius of curvature of surface in the given point.

Variables

dictionary geompy.ShapeType = {"AUTO":-1, "COMPOUND":0, "COMPSOLID":1, "SOLID":2, "SHELL":3, "FACE":4, "WIRE":5, "EDGE":6, "VERTEX":7, "SHAPE":8}
 Enumeration ShapeType as a dictionary.
 geompy.kind = GEOM.GEOM_IKindOfShape
 Kinds of shape in terms of GEOM.GEOM_IKindOfShape.shape_kind enumeration and a list of parameters, describing the shape.
 geompy.myBuilder
 geompy.myStudyId
 geompy.father
 geompy.BasicOp
 geompy.CurvesOp
 geompy.PrimOp
 geompy.ShapesOp
 geompy.HealOp
 geompy.InsertOp
 geompy.BoolOp
 geompy.TrsfOp
 geompy.LocalOp
 geompy.MeasuOp
 geompy.BlocksOp
 geompy.GroupOp
 geompy.AdvOp
 geompy.myStudy
Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS