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). |
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.
theR1 | Internal radius of main pipe |
theW1 | Width of main pipe |
theL1 | Half-length of main pipe |
theR2 | Internal radius of incident pipe (R2 < R1) |
theW2 | Width of incident pipe (R2+W2 < R1+W1) |
theL2 | Half-length of incident pipe |
theHexMesh | Boolean indicating if shape is prepared for hex mesh (default=True) |
theP1 | 1st junction point of main pipe |
theP2 | 2nd junction point of main pipe |
theP3 | Junction point of incident pipe |
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.
theR1 | Internal radius of main pipe |
theW1 | Width of main pipe |
theL1 | Half-length of main pipe |
theR2 | Internal radius of incident pipe (R2 < R1) |
theW2 | Width of incident pipe (R2+W2 < R1+W1) |
theL2 | Half-length of incident pipe |
theH | Height of the chamfer. |
theW | Width of the chamfer. |
theHexMesh | Boolean indicating if shape is prepared for hex mesh (default=True) |
theP1 | 1st junction point of main pipe |
theP2 | 2nd junction point of main pipe |
theP3 | Junction point of incident pipe |
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.
theR1 | Internal radius of main pipe |
theW1 | Width of main pipe |
theL1 | Half-length of main pipe |
theR2 | Internal radius of incident pipe (R2 < R1) |
theW2 | Width of incident pipe (R2+W2 < R1+W1) |
theL2 | Half-length of incident pipe |
theRF | Radius of curvature of fillet. |
theHexMesh | Boolean indicating if shape is prepared for hex mesh (default=True) |
theP1 | 1st junction point of main pipe |
theP2 | 2nd junction point of main pipe |
theP3 | Junction point of incident pipe |
References geompy.ParseParameters(), and geompy.RaiseIfFailed().