Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
Editing Meshes

Functions

def AddHypothesis
 Assign a hypothesis. More...
 
def IsUsedHypothesis
 Return True if an algorithm of hypothesis is assigned to a given shape. More...
 
def RemoveHypothesis
 Unassign a hypothesis. More...
 
def GetHypothesisList
 Get the list of hypotheses added on a geometry. More...
 
def RemoveGlobalHypotheses
 Remove all global hypotheses. More...
 

Detailed Description

Function Documentation

def AddHypothesis (   self,
  hyp,
  geom = 0 
)

Assign a hypothesis.

Parameters
hypa hypothesis to assign
geoma subhape of mesh geometry
Returns
SMESH.Hypothesis_Status

References smeshBuilder.AssureGeomPublished(), Mesh.geom, Mesh.GetName(), and smeshBuilder.TreatHypoStatus().

def IsUsedHypothesis (   self,
  hyp,
  geom 
)

Return True if an algorithm of hypothesis is assigned to a given shape.

Parameters
hypa hypothesis to check
geoma subhape of mesh geometry
Returns
True of False

References Mesh.GetHypothesisList().

def RemoveHypothesis (   self,
  hyp,
  geom = 0 
)

Unassign a hypothesis.

Parameters
hypa hypothesis to unassign
geoma sub-shape of mesh geometry
Returns
SMESH.Hypothesis_Status

References Mesh.geom, Mesh.GetName(), and Mesh.IsUsedHypothesis().

def GetHypothesisList (   self,
  geom 
)

Get the list of hypotheses added on a geometry.

Parameters
geoma sub-shape of mesh geometry
Returns
the sequence of SMESH_Hypothesis
def RemoveGlobalHypotheses (   self)

Remove all global hypotheses.

References Mesh.ExportMED(), and Mesh.geom.