SALOME documentation central

Local Operations (Fillet and Chamfer)
[Transforming geometrical objects]

Functions

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 on the specified edges/faces of the given shape.
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
 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 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
 Shortcut to MakeChamferEdge() and MakeChamferFaces().

Function Documentation

def geompy.MakeFilletAll (   self,
  theShape,
  theR 
)

Perform a fillet on all edges of the given shape.

Parameters:
theShape Shape, to perform fillet on.
theR Fillet radius.
Returns:
New GEOM_Object, containing the result shape.

Example 1
Example 2

def geompy.MakeFillet (   self,
  theShape,
  theR,
  theShapeType,
  theListShapes 
)

Perform a fillet on the specified edges/faces of the given shape.

Parameters:
theShape Shape, to perform fillet on.
theR Fillet radius.
theShapeType Type of shapes in theListShapes.
theListShapes Global indices of edges/faces to perform fillet on.
Note:
Global index of sub-shape can be obtained, using method geompy.GetSubShapeID().
Returns:
New GEOM_Object, containing the result shape.

Example

def geompy.MakeFilletR1R2 (   self,
  theShape,
  theR1,
  theR2,
  theShapeType,
  theListShapes 
)

The same that MakeFillet but with two Fillet Radius R1 and R2.

def geompy.MakeFillet1D (   self,
  theShape,
  theR,
  theListOfVertexes 
)

Perform a fillet on the specified edges of the given shape.

Parameters:
theShape - Wire Shape to perform fillet on.
theR - Fillet radius.
theListOfVertexes Global indices of vertexes to perform fillet on.
Note:
Global index of sub-shape can be obtained, using method geompy.GetSubShapeID().
The list of vertices could be empty, in this case fillet will done done at all vertices in wire
Returns:
New GEOM_Object, containing the result shape.

Example

def geompy.MakeFillet2D (   self,
  theShape,
  theR,
  theListOfVertexes 
)

Perform a fillet on the specified edges/faces of the given shape.

Parameters:
theShape - Face Shape to perform fillet on.
theR - Fillet radius.
theListOfVertexes Global indices of vertexes to perform fillet on.
Note:
Global index of sub-shape can be obtained, using method geompy.GetSubShapeID().
Returns:
New GEOM_Object, containing the result shape.

Example

def geompy.MakeChamferAll (   self,
  theShape,
  theD 
)

Perform a symmetric chamfer on all edges of the given shape.

Parameters:
theShape Shape, to perform chamfer on.
theD Chamfer size along each face.
Returns:
New GEOM_Object, containing the result shape.

Example 1
Example 2

def geompy.MakeChamferEdge (   self,
  theShape,
  theD1,
  theD2,
  theFace1,
  theFace2 
)

Perform a chamfer on edges, common to the specified faces, with distance D1 on the Face1.

Parameters:
theShape Shape, to perform chamfer on.
theD1 Chamfer size along theFace1.
theD2 Chamfer size along theFace2.
theFace1,theFace2 Global indices of two faces of theShape.
Note:
Global index of sub-shape can be obtained, using method geompy.GetSubShapeID().
Returns:
New GEOM_Object, containing the result shape.

Example

def geompy.MakeChamferEdgeAD (   self,
  theShape,
  theD,
  theAngle,
  theFace1,
  theFace2 
)

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 geompy.MakeChamferFaces (   self,
  theShape,
  theD1,
  theD2,
  theFaces 
)

Perform a chamfer on all edges of the specified faces, with distance D1 on the first specified face (if several for one edge).

Parameters:
theShape Shape, to perform chamfer on.
theD1 Chamfer size along face from theFaces. If both faces, connected to the edge, are in theFaces, theD1 will be get along face, which is nearer to theFaces beginning.
theD2 Chamfer size along another of two faces, connected to the edge.
theFaces Sequence of global indices of faces of theShape.
Note:
Global index of sub-shape can be obtained, using method geompy.GetSubShapeID().
Returns:
New GEOM_Object, containing the result shape.

Example

def geompy.MakeChamferFacesAD (   self,
  theShape,
  theD,
  theAngle,
  theFaces 
)

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).

Example

def geompy.MakeChamferEdges (   self,
  theShape,
  theD1,
  theD2,
  theEdges 
)

Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge).

Parameters:
theShape Shape, to perform chamfer on.
theD1,theD2 Chamfer size
theEdges Sequence of edges of theShape.
Returns:
New GEOM_Object, containing the result shape.

Example

def geompy.MakeChamferEdgesAD (   self,
  theShape,
  theD,
  theAngle,
  theEdges 
)

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 (   self,
  aShape,
  d1,
  d2,
  aShapeType,
  ListShape 
)
 All Data Structures Namespaces Files Functions Variables

Copyright © 2007-2008 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