Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4d3a3d1
)
Bug PAL9480. Fix "import ex05_hole1build"
author
eap
<eap@opencascade.com>
Thu, 1 Sep 2005 09:59:58 +0000
(09:59 +0000)
committer
eap
<eap@opencascade.com>
Thu, 1 Sep 2005 09:59:58 +0000
(09:59 +0000)
src/SMESH_SWIG/smesh.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/smesh.py
b/src/SMESH_SWIG/smesh.py
index 9c0d2baf766753f39159e17804fc89aaeacdb211..ea7c6d1312ad3c4cccdbd31ffa33b2ca28efd3b1 100644
(file)
--- a/
src/SMESH_SWIG/smesh.py
+++ b/
src/SMESH_SWIG/smesh.py
@@
-156,6
+156,7
@@
class Mesh_Segment(Mesh_Algorithm):
hyp = self.Hypothesis("NumberOfSegments", [n])
else:
hyp = self.Hypothesis("NumberOfSegments", [n,s])
hyp = self.Hypothesis("NumberOfSegments", [n])
else:
hyp = self.Hypothesis("NumberOfSegments", [n,s])
+ hyp.SetDistrType( 1 )
hyp.SetScaleFactor(s)
hyp.SetNumberOfSegments(n)
return hyp
hyp.SetScaleFactor(s)
hyp.SetNumberOfSegments(n)
return hyp