Mesh_RadialPrism3D Class Reference
[Radial Prism]
Defines a Radial Prism 3D algorithm.
More...
Public Member Functions |
| def | __init__ |
| | Private constructor.
|
| def | Get3DHypothesis |
| | Return 3D hypothesis holding the 1D one.
|
| def | OwnHypothesis |
| | Private method creating a 1D hypothesis and storing it in the LayerDistribution hypothesis.
|
| def | NumberOfLayers |
| | Defines "NumberOfLayers" hypothesis, specifying the number of layers of prisms to build between the inner and outer shells.
|
| def | CompareNumberOfLayers |
| | Checks if the given "NumberOfLayers" hypothesis has the same parameters as the given arguments.
|
| def | LocalLength |
| | Defines "LocalLength" hypothesis, specifying the segment length to build between the inner and the outer shells.
|
| def | NumberOfSegments |
| | Defines "NumberOfSegments" hypothesis, specifying the number of layers of prisms to build between the inner and the outer shells.
|
| def | Arithmetic1D |
| | Defines "Arithmetic1D" hypothesis, specifying the distribution of segments to build between the inner and the outer shells with a length that changes in arithmetic progression.
|
| def | StartEndLength |
| | Defines "StartEndLength" hypothesis, specifying distribution of segments to build between the inner and the outer shells as geometric length increasing.
|
| def | AutomaticLength |
| | Defines "AutomaticLength" hypothesis, specifying the number of segments to build between the inner and outer shells.
|
| def | __init__ |
| def | FindHypothesis |
| | Finds a hypothesis in the study by its type name and parameters.
|
| def | FindAlgorithm |
| | Finds the algorithm in the study by its type name.
|
| def | GetSubMesh |
| | If the algorithm is global, returns 0;
else returns the submesh associated to this algorithm.
|
| def | GetAlgorithm |
| | Returns the wrapped mesher.
|
| def | GetCompatibleHypothesis |
| | Gets the list of hypothesis that can be used with this algorithm.
|
| def | GetName |
| | Gets the name of the algorithm.
|
| def | SetName |
| | Sets the name to the algorithm.
|
| def | GetId |
| | Gets the id of the algorithm.
|
| def | Create |
| | Private method.
|
| def | Assign |
| | Private method.
|
| def | CompareHyp |
| def | CompareEqualHyp |
| def | Hypothesis |
| | Private method.
|
| def | MainShapeEntry |
| | Returns entry of the shape to mesh in the study.
|
Data Fields |
| | distribHyp |
| | nbLayers |
| | mesh |
| | geom |
| | subm |
| | algo |
Detailed Description
Defines a Radial Prism 3D algorithm.
Member Function Documentation
| def __init__ |
( |
|
self, |
|
|
|
mesh, |
|
|
|
geom = 0 | |
|
) |
| | |
| def Get3DHypothesis |
( |
|
self |
) |
|
Return 3D hypothesis holding the 1D one.
| def OwnHypothesis |
( |
|
self, |
|
|
|
hypType, |
|
|
|
args = [], |
|
|
|
so = "libStdMeshersEngine.so" | |
|
) |
| | |
Private method creating a 1D hypothesis and storing it in the LayerDistribution hypothesis.
Returns the created hypothesis
Defines "NumberOfLayers" hypothesis, specifying the number of layers of prisms to build between the inner and outer shells.
- Parameters:
-
| n | number of layers |
| UseExisting | if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
| def CompareNumberOfLayers |
( |
|
self, |
|
|
|
hyp, |
|
|
|
args | |
|
) |
| | |
Checks if the given "NumberOfLayers" hypothesis has the same parameters as the given arguments.
Defines "LocalLength" hypothesis, specifying the segment length to build between the inner and the outer shells.
- Parameters:
-
| l | the length of segments |
| p | the precision of rounding |
Defines "NumberOfSegments" hypothesis, specifying the number of layers of prisms to build between the inner and the outer shells.
- Parameters:
-
| n | the number of layers |
| s | the scale factor (optional) |
Defines "Arithmetic1D" hypothesis, specifying the distribution of segments to build between the inner and the outer shells with a length that changes in arithmetic progression.
- Parameters:
-
| start | the length of the first segment |
| end | the length of the last segment |
Defines "StartEndLength" hypothesis, specifying distribution of segments to build between the inner and the outer shells as geometric length increasing.
- Parameters:
-
| start | for the length of the first segment |
| end | for the length of the last segment |
| def AutomaticLength |
( |
|
self, |
|
|
|
fineness = 0 | |
|
) |
| | |
Defines "AutomaticLength" hypothesis, specifying the number of segments to build between the inner and outer shells.
- Parameters:
-
| fineness | defines the quality of the mesh within the range [0-1] |
| def __init__ |
( |
|
self |
) |
[inherited] |
| def FindHypothesis |
( |
|
self, |
|
|
|
hypname, |
|
|
|
args, |
|
|
|
CompareMethod, |
|
|
|
smeshpyD | |
|
) |
| | [inherited] |
Finds a hypothesis in the study by its type name and parameters.
Finds only the hypotheses created in smeshpyD engine.
- Returns:
- SMESH.SMESH_Hypothesis
| def FindAlgorithm |
( |
|
self, |
|
|
|
algoname, |
|
|
|
smeshpyD | |
|
) |
| | [inherited] |
Finds the algorithm in the study by its type name.
Finds only the algorithms, which have been created in smeshpyD engine.
- Returns:
- SMESH.SMESH_Algo
| def GetSubMesh |
( |
|
self |
) |
[inherited] |
If the algorithm is global, returns 0;
else returns the submesh associated to this algorithm.
| def GetAlgorithm |
( |
|
self |
) |
[inherited] |
Returns the wrapped mesher.
| def GetCompatibleHypothesis |
( |
|
self |
) |
[inherited] |
Gets the list of hypothesis that can be used with this algorithm.
| def GetName |
( |
|
self |
) |
[inherited] |
Gets the name of the algorithm.
| def SetName |
( |
|
self, |
|
|
|
name | |
|
) |
| | [inherited] |
Sets the name to the algorithm.
| def GetId |
( |
|
self |
) |
[inherited] |
Gets the id of the algorithm.
| def Create |
( |
|
self, |
|
|
|
mesh, |
|
|
|
geom, |
|
|
|
hypo, |
|
|
|
so = "libStdMeshersEngine.so" | |
|
) |
| | [inherited] |
| def Assign |
( |
|
self, |
|
|
|
algo, |
|
|
|
mesh, |
|
|
|
geom | |
|
) |
| | [inherited] |
| def CompareHyp |
( |
|
self, |
|
|
|
hyp, |
|
|
|
args | |
|
) |
| | [inherited] |
| def CompareEqualHyp |
( |
|
self, |
|
|
|
hyp, |
|
|
|
args | |
|
) |
| | [inherited] |
| def Hypothesis |
( |
|
self, |
|
|
|
hyp, |
|
|
|
args = [], |
|
|
|
so = "libStdMeshersEngine.so", |
|
|
|
UseExisting = 0, |
|
|
|
CompareMethod = "" | |
|
) |
| | [inherited] |
| def MainShapeEntry |
( |
|
self |
) |
[inherited] |
Returns entry of the shape to mesh in the study.
Field Documentation