mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 23:10:33 +05:00
0051789: TC7.2.0: NoteBook cannot update study
Enable calling mesh.Prism('RadialPrism_3D') +class StdMeshersDC_RadialPrism3D(StdMeshersDC_Prism3D): + ...
This commit is contained in:
parent
fc626c5c07
commit
35ba9b8c12
@ -983,6 +983,39 @@ class StdMeshersDC_Prism3D(Mesh_Algorithm):
|
||||
|
||||
pass # end of StdMeshersDC_Prism3D class
|
||||
|
||||
## Defines a Prism 3D algorithm, which is either "Extrusion 3D" or "Radial Prism"
|
||||
# depending on geometry
|
||||
#
|
||||
# It is created by calling smesh.Mesh.Prism(geom=0)
|
||||
#
|
||||
# @ingroup l3_algos_3dextr
|
||||
class StdMeshersDC_RadialPrism3D(StdMeshersDC_Prism3D):
|
||||
|
||||
## name of the dynamic method in smesh.Mesh class
|
||||
# @internal
|
||||
meshMethod = "Prism"
|
||||
## type of algorithm used with helper function in smesh.Mesh class
|
||||
# @internal
|
||||
algoType = "RadialPrism_3D"
|
||||
## doc string of the method
|
||||
# @internal
|
||||
docHelper = "Creates prism 3D algorithm for volumes"
|
||||
|
||||
## Private constructor.
|
||||
# @param mesh parent mesh object algorithm is assigned to
|
||||
# @param geom geometry (shape/sub-shape) algorithm is assigned to;
|
||||
# if it is @c 0 (default), the algorithm is assigned to the main shape
|
||||
def __init__(self, mesh, geom=0):
|
||||
Mesh_Algorithm.__init__(self)
|
||||
|
||||
shape = geom
|
||||
if not shape:
|
||||
shape = mesh.geom
|
||||
self.Create(mesh, geom, "RadialPrism_3D")
|
||||
self.distribHyp = self.Hypothesis("LayerDistribution", UseExisting=0)
|
||||
self.nbLayers = None
|
||||
return
|
||||
|
||||
## Defines a Radial Quadrangle 1D-2D algorithm
|
||||
#
|
||||
# It is created by calling smesh.Mesh.Quadrangle(smesh.RADIAL_QUAD,geom=0)
|
||||
|
Loading…
Reference in New Issue
Block a user