Defines a Quadrangle (Medial Axis Projection) 1D-2D algorithm. More...
Public Member Functions | |
def | __init__ |
Private constructor. More... | |
def | Get2DHypothesis |
Return 2D hypothesis holding the 1D one. More... | |
def | OwnHypothesis |
Private method creating a 1D hypothesis and storing it in the LayerDistribution hypothesis. More... | |
def | NumberOfLayers |
Defines "NumberOfLayers" hypothesis, specifying the number of layers. More... | |
def | LocalLength |
Defines "LocalLength" hypothesis, specifying the segment length. More... | |
def | NumberOfSegments |
Defines "NumberOfSegments" hypothesis, specifying the number of layers. More... | |
def | Arithmetic1D |
Defines "Arithmetic1D" hypothesis, specifying the distribution of segments with a length that changes in arithmetic progression. More... | |
def | GeometricProgression |
Defines "GeometricProgression" hypothesis, specifying the distribution of segments with a length that changes in Geometric progression. More... | |
def | StartEndLength |
Defines "StartEndLength" hypothesis, specifying distribution of segments as geometric length increasing. More... | |
def | AutomaticLength |
Defines "AutomaticLength" hypothesis, specifying the number of segments. More... | |
Data Fields | |
distribHyp | |
nbLayers | |
Static Public Attributes | |
string | meshMethod = "Quadrangle" |
name of the dynamic method in smeshBuilder.Mesh class More... | |
algoType = QUAD_MA_PROJ | |
type of algorithm used with helper function in smeshBuilder.Mesh class More... | |
string | docHelper = "Creates quadrangle 1D-2D algorithm for faces" |
doc string of the method More... | |
Defines a Quadrangle (Medial Axis Projection) 1D-2D algorithm.
It is created by calling smeshBuilder.Mesh.Quadrangle(smeshBuilder.QUAD_MA_PROJ,geom=0)
def __init__ | ( | self, | |
mesh, | |||
geom = 0 |
|||
) |
Private constructor.
mesh | parent mesh object algorithm is assigned to |
geom | geometry (shape/sub-shape) algorithm is assigned to; if it is 0 (default), the algorithm is assigned to the main shape |
References StdMeshersBuilder_Segment.algoType, StdMeshersBuilder_CompositeSegment.algoType, StdMeshersBuilder_Segment_Python.algoType, StdMeshersBuilder_Triangle_MEFISTO.algoType, StdMeshersBuilder_Quadrangle.algoType, StdMeshersBuilder_Hexahedron.algoType, StdMeshersBuilder_Projection1D.algoType, StdMeshersBuilder_Projection2D.algoType, StdMeshersBuilder_Projection1D2D.algoType, StdMeshersBuilder_Projection3D.algoType, StdMeshersBuilder_Prism3D.algoType, StdMeshersBuilder_RadialPrism3D.algoType, StdMeshersBuilder_RadialQuadrangle1D2D.algoType, StdMeshersBuilder_QuadMA_1D2D.algoType, and Mesh_Algorithm.Create().
|
inherited |
Return 2D hypothesis holding the 1D one.
References StdMeshersBuilder_Prism3D.distribHyp, StdMeshersBuilder_RadialPrism3D.distribHyp, StdMeshersBuilder_RadialAlgorithm.distribHyp, and Mesh_Algorithm.Hypothesis().
|
inherited |
Private method creating a 1D hypothesis and storing it in the LayerDistribution hypothesis.
Returns the created hypothesis
References StdMeshersBuilder_Prism3D.distribHyp, StdMeshersBuilder_RadialPrism3D.distribHyp, StdMeshersBuilder_RadialAlgorithm.distribHyp, Mesh_Algorithm.geom, StdMeshersBuilder_Segment.geom, Mesh.geom, Mesh_Algorithm.Hypothesis(), StdMeshersBuilder_Prism3D.nbLayers, StdMeshersBuilder_RadialPrism3D.nbLayers, and StdMeshersBuilder_RadialAlgorithm.nbLayers.
|
inherited |
Defines "NumberOfLayers" hypothesis, specifying the number of layers.
n | number of layers |
UseExisting | if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
References StdMeshersBuilder_Prism3D.distribHyp, StdMeshersBuilder_RadialPrism3D.distribHyp, StdMeshersBuilder_RadialAlgorithm.distribHyp, Mesh_Algorithm.geom, StdMeshersBuilder_Segment.geom, Mesh.geom, Mesh_Algorithm.Hypothesis(), smeshBuilder.IsEqual(), StdMeshersBuilder_Prism3D.nbLayers, StdMeshersBuilder_RadialPrism3D.nbLayers, and StdMeshersBuilder_RadialAlgorithm.nbLayers.
|
inherited |
Defines "LocalLength" hypothesis, specifying the segment length.
l | the length of segments |
p | the precision of rounding |
References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().
|
inherited |
Defines "NumberOfSegments" hypothesis, specifying the number of layers.
n | the number of layers |
s | the scale factor (optional) |
References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().
|
inherited |
Defines "Arithmetic1D" hypothesis, specifying the distribution of segments with a length that changes in arithmetic progression.
start | the length of the first segment |
end | the length of the last segment |
References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().
|
inherited |
Defines "GeometricProgression" hypothesis, specifying the distribution of segments with a length that changes in Geometric progression.
start | the length of the first segment |
ratio | the common ratio of the geometric progression |
References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().
|
inherited |
Defines "StartEndLength" hypothesis, specifying distribution of segments as geometric length increasing.
start | for the length of the first segment |
end | for the length of the last segment |
References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().
|
inherited |
Defines "AutomaticLength" hypothesis, specifying the number of segments.
fineness | defines the quality of the mesh within the range [0-1] |
References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().
|
static |
name of the dynamic method in smeshBuilder.Mesh class
|
static |
type of algorithm used with helper function in smeshBuilder.Mesh class
|
static |
doc string of the method
|
inherited |
|
inherited |