Version: 6.5.0
Home
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
Advanced objects creation functions
Creating Advanced Geometrical Objects

Functions

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

Detailed Description

Function Documentation

def geompy.MakePipeTShape (   self,
  theR1,
  theW1,
  theL1,
  theR2,
  theW2,
  theL2,
  theHexMesh = True,
  theP1 = None,
  theP2 = None,
  theP3 = None 
)

Create a T-shape object with specified caracteristics for the main and the incident pipes (radius, width, half-length).

The extremities of the main pipe are located on junctions points P1 and P2. The extremity of the incident pipe is located on junction point P3. If P1, P2 and P3 are not given, the center of the shape is (0,0,0) and the main plane of the T-shape is XOY.

Parameters
theR1Internal radius of main pipe
theW1Width of main pipe
theL1Half-length of main pipe
theR2Internal radius of incident pipe (R2 < R1)
theW2Width of incident pipe (R2+W2 < R1+W1)
theL2Half-length of incident pipe
theHexMeshBoolean indicating if shape is prepared for hex mesh (default=True)
theP11st junction point of main pipe
theP22nd junction point of main pipe
theP3Junction point of incident pipe
Returns
List of GEOM.GEOM_Object, containing the created shape and propagation groups.

Example

References geompy.ParseParameters(), and geompy.RaiseIfFailed().

def geompy.MakePipeTShapeChamfer (   self,
  theR1,
  theW1,
  theL1,
  theR2,
  theW2,
  theL2,
  theH,
  theW,
  theHexMesh = True,
  theP1 = None,
  theP2 = None,
  theP3 = None 
)

Create a T-shape object with chamfer and with specified caracteristics for the main and the incident pipes (radius, width, half-length).

The chamfer is created on the junction of the pipes. The extremities of the main pipe are located on junctions points P1 and P2. The extremity of the incident pipe is located on junction point P3. If P1, P2 and P3 are not given, the center of the shape is (0,0,0) and the main plane of the T-shape is XOY.

Parameters
theR1Internal radius of main pipe
theW1Width of main pipe
theL1Half-length of main pipe
theR2Internal radius of incident pipe (R2 < R1)
theW2Width of incident pipe (R2+W2 < R1+W1)
theL2Half-length of incident pipe
theHHeight of the chamfer.
theWWidth of the chamfer.
theHexMeshBoolean indicating if shape is prepared for hex mesh (default=True)
theP11st junction point of main pipe
theP22nd junction point of main pipe
theP3Junction point of incident pipe
Returns
List of GEOM.GEOM_Object, containing the created shape and propagation groups.

Example

References geompy.ParseParameters(), and geompy.RaiseIfFailed().

def geompy.MakePipeTShapeFillet (   self,
  theR1,
  theW1,
  theL1,
  theR2,
  theW2,
  theL2,
  theRF,
  theHexMesh = True,
  theP1 = None,
  theP2 = None,
  theP3 = None 
)

Create a T-shape object with fillet and with specified caracteristics for the main and the incident pipes (radius, width, half-length).

The fillet is created on the junction of the pipes. The extremities of the main pipe are located on junctions points P1 and P2. The extremity of the incident pipe is located on junction point P3. If P1, P2 and P3 are not given, the center of the shape is (0,0,0) and the main plane of the T-shape is XOY.

Parameters
theR1Internal radius of main pipe
theW1Width of main pipe
theL1Half-length of main pipe
theR2Internal radius of incident pipe (R2 < R1)
theW2Width of incident pipe (R2+W2 < R1+W1)
theL2Half-length of incident pipe
theRFRadius of curvature of fillet.
theHexMeshBoolean indicating if shape is prepared for hex mesh (default=True)
theP11st junction point of main pipe
theP22nd junction point of main pipe
theP3Junction point of incident pipe
Returns
List of GEOM.GEOM_Object, containing the created shape and propagation groups.

Example

References geompy.ParseParameters(), and geompy.RaiseIfFailed().

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