|
Functions | |
| def | smeshDC::Mesh.CreateEmptyGroup |
| Creates an empty mesh group. | |
| def | smeshDC::Mesh.Group |
| Creates a mesh group based on the geometric object grp and gives a name, if this parameter is not defined the name is the same as the geometric group name Note: Works like GroupOnGeom(). | |
| def | smeshDC::Mesh.GroupOnGeom |
| Creates a mesh group based on the geometrical object grp and gives a name, if this parameter is not defined the name is the same as the geometrical group name. | |
| def | smeshDC::Mesh.MakeGroupByIds |
| Creates a mesh group by the given ids of elements. | |
| def | smeshDC::Mesh.MakeGroup |
| Creates a mesh group by the given conditions. | |
| def | smeshDC::Mesh.MakeGroupByCriterion |
| Creates a mesh group by the given criterion. | |
| def | smeshDC::Mesh.MakeGroupByCriteria |
| Creates a mesh group by the given criteria (list of criteria) | |
| def | smeshDC::Mesh.MakeGroupByFilter |
| Creates a mesh group by the given filter. | |
| def | smeshDC::Mesh.GetGroups |
| Gets the list of groups existing in the mesh. | |
| def | smeshDC::Mesh.NbGroups |
| Gets the number of groups existing in the mesh. | |
| def | smeshDC::Mesh.GetGroupNames |
| Gets the list of names of groups existing in the mesh. | |
| def smeshDC.Mesh.CreateEmptyGroup | ( | self, | |
| elementType, | |||
| name | |||
| ) | [inherited] |
Creates an empty mesh group.
| elementType | the type of elements in the group |
| name | the name of the mesh group |
Definition at line 1716 of file smeshDC.py.
| def smeshDC.Mesh.GetGroupNames | ( | self | ) | [inherited] |
Gets the list of names of groups existing in the mesh.
Definition at line 1886 of file smeshDC.py.
| def smeshDC.Mesh.GetGroups | ( | self | ) | [inherited] |
Gets the list of groups existing in the mesh.
Definition at line 1874 of file smeshDC.py.
| def smeshDC.Mesh.Group | ( | self, | |
| grp, | |||
name = "" |
|||
| ) | [inherited] |
Creates a mesh group based on the geometric object grp and gives a name,
if this parameter is not defined the name is the same as the geometric group name
Note: Works like GroupOnGeom().
| grp | a geometric group, a vertex, an edge, a face or a solid |
| name | the name of the mesh group |
Definition at line 1727 of file smeshDC.py.
| def smeshDC.Mesh.GroupOnGeom | ( | self, | |
| grp, | |||
name = "", |
|||
typ = None |
|||
| ) | [inherited] |
Creates a mesh group based on the geometrical object grp and gives a name,
if this parameter is not defined the name is the same as the geometrical group name.
| grp | a geometrical group, a vertex, an edge, a face or a solid |
| name | the name of the mesh group |
| typ | the type of elements in the group. If not set, it is automatically detected by the type of the geometry |
Definition at line 1739 of file smeshDC.py.
| def smeshDC.Mesh.MakeGroup | ( | self, | |
| groupName, | |||
| elementType, | |||
CritType = FT_Undefined, |
|||
Compare = FT_EqualTo, |
|||
Treshold = "", |
|||
UnaryOp = FT_Undefined, |
|||
Tolerance = 1e-07 |
|||
| ) | [inherited] |
Creates a mesh group by the given conditions.
| groupName | the name of the mesh group |
| elementType | the type of elements in the group |
| CritType | the type of criterion( FT_Taper, FT_Area, FT_RangeOfIds, FT_LyingOnGeom etc. ) |
| Compare | belongs to {FT_LessThan, FT_MoreThan, FT_EqualTo} |
| Treshold | the threshold value (range of id ids as string, shape, numeric) |
| UnaryOp | FT_LogicalNOT or FT_Undefined |
| Tolerance | the tolerance used by FT_BelongToGeom, FT_BelongToSurface, FT_LyingOnGeom, FT_CoplanarFaces criteria |
Definition at line 1790 of file smeshDC.py.
| def smeshDC.Mesh.MakeGroupByCriteria | ( | self, | |
| groupName, | |||
| theCriteria | |||
| ) | [inherited] |
Creates a mesh group by the given criteria (list of criteria)
| groupName | the name of the mesh group |
| theCriteria | the list of criteria |
Definition at line 1822 of file smeshDC.py.
| def smeshDC.Mesh.MakeGroupByCriterion | ( | self, | |
| groupName, | |||
| Criterion | |||
| ) | [inherited] |
Creates a mesh group by the given criterion.
| groupName | the name of the mesh group |
| Criterion | the instance of Criterion class |
Definition at line 1807 of file smeshDC.py.
01808 : 01809 aFilterMgr = self.smeshpyD.CreateFilterManager() 01810 aFilter = aFilterMgr.CreateFilter() 01811 aCriteria = [] 01812 aCriteria.append(Criterion) 01813 aFilter.SetCriteria(aCriteria) 01814 group = self.MakeGroupByFilter(groupName, aFilter) 01815 aFilterMgr.UnRegister() 01816 return group
| def smeshDC.Mesh.MakeGroupByFilter | ( | self, | |
| groupName, | |||
| theFilter | |||
| ) | [inherited] |
Creates a mesh group by the given filter.
| groupName | the name of the mesh group |
| theFilter | the instance of Filter class |
Definition at line 1835 of file smeshDC.py.
| def smeshDC.Mesh.MakeGroupByIds | ( | self, | |
| groupName, | |||
| elementType, | |||
| elemIDs | |||
| ) | [inherited] |
Creates a mesh group by the given ids of elements.
| groupName | the name of the mesh group |
| elementType | the type of elements in the group |
| elemIDs | the list of ids |
Definition at line 1774 of file smeshDC.py.
| def smeshDC.Mesh.NbGroups | ( | self | ) | [inherited] |
Gets the number of groups existing in the mesh.
Definition at line 1880 of file smeshDC.py.