mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 10:50:37 +05:00
NPAL17873. Update smesh.py: add precision parameter to LocalLength method.
This commit is contained in:
parent
553205962e
commit
434772a02f
@ -1461,9 +1461,11 @@ class Mesh_RadialPrism3D(Mesh_Algorithm):
|
||||
## Define "LocalLength" hypothesis, specifying segment length
|
||||
# to build between the inner and outer shells
|
||||
# @param l for the length of segments
|
||||
def LocalLength(self, l):
|
||||
hyp = self.OwnHypothesis("LocalLength", [l])
|
||||
# @param p for the precision of rounding
|
||||
def LocalLength(self, l, p=1e-07):
|
||||
hyp = self.OwnHypothesis("LocalLength", [l,p])
|
||||
hyp.SetLength(l)
|
||||
hyp.SetPrecision(p)
|
||||
return hyp
|
||||
|
||||
## Define "NumberOfSegments" hypothesis, specifying a number of layers of
|
||||
|
Loading…
Reference in New Issue
Block a user