Functions | |
def | AddNode |
Add a node to the mesh by coordinates. | |
def | Add0DElement |
Creates a 0D element on a node with given number. | |
def | AddEdge |
Creates a linear or quadratic edge (this is determined by the number of given nodes). | |
def | AddFace |
Creates a linear or quadratic face (this is determined by the number of given nodes). | |
def | AddPolygonalFace |
Adds a polygonal face to the mesh by the list of node IDs. | |
def | AddVolume |
Creates both simple and quadratic volume (this is determined by the number of given nodes). | |
def | AddPolyhedralVolume |
Creates a volume of many faces, giving nodes for each face. | |
def | AddPolyhedralVolumeByFaces |
Creates a volume of many faces, giving the IDs of the existing faces. | |
def | SetNodeOnVertex |
Binds a node to a vertex. | |
def | SetNodeOnEdge |
Stores the node position on an edge. | |
def | SetNodeOnFace |
Stores node position on a face. | |
def | SetNodeInVolume |
Binds a node to a solid. | |
def | SetMeshElementOnShape |
Bind an element to a shape. |
def AddNode | ( | self, | |
x, | |||
y, | |||
z | |||
) |
Add a node to the mesh by coordinates.
References smesh.ParseParameters().
def Add0DElement | ( | self, | |
IDOfNode | |||
) |
Creates a 0D element on a node with given number.
IDOfNode | the ID of node for creation of the element. |
def AddEdge | ( | self, | |
IDsOfNodes | |||
) |
Creates a linear or quadratic edge (this is determined by the number of given nodes).
IDsOfNodes | the list of node IDs for creation of the element. The order of nodes in this list should correspond to the description of MED. This description is located by the following link: http://www.code-aster.org/outils/med/html/modele_de_donnees.html#3. |
def AddFace | ( | self, | |
IDsOfNodes | |||
) |
Creates a linear or quadratic face (this is determined by the number of given nodes).
IDsOfNodes | the list of node IDs for creation of the element. The order of nodes in this list should correspond to the description of MED. This description is located by the following link: http://www.code-aster.org/outils/med/html/modele_de_donnees.html#3. |
def AddPolygonalFace | ( | self, | |
IdsOfNodes | |||
) |
Adds a polygonal face to the mesh by the list of node IDs.
IdsOfNodes | the list of node IDs for creation of the element. |
def AddVolume | ( | self, | |
IDsOfNodes | |||
) |
Creates both simple and quadratic volume (this is determined by the number of given nodes).
IDsOfNodes | the list of node IDs for creation of the element. The order of nodes in this list should correspond to the description of MED. This description is located by the following link: http://www.code-aster.org/outils/med/html/modele_de_donnees.html#3. |
def AddPolyhedralVolume | ( | self, | |
IdsOfNodes, | |||
Quantities | |||
) |
Creates a volume of many faces, giving nodes for each face.
IdsOfNodes | the list of node IDs for volume creation face by face. |
Quantities | the list of integer values, Quantities[i] gives the quantity of nodes in face number i. |
def AddPolyhedralVolumeByFaces | ( | self, | |
IdsOfFaces | |||
) |
Creates a volume of many faces, giving the IDs of the existing faces.
IdsOfFaces | the list of face IDs for volume creation. |
Note: The created volume will refer only to the nodes of the given faces, not to the faces themselves.
def SetNodeOnVertex | ( | self, | |
NodeID, | |||
Vertex | |||
) |
Binds a node to a vertex.
NodeID | a node ID |
Vertex | a vertex or vertex ID |
def SetNodeOnEdge | ( | self, | |
NodeID, | |||
Edge, | |||
paramOnEdge | |||
) |
Stores the node position on an edge.
NodeID | a node ID |
Edge | an edge or edge ID |
paramOnEdge | a parameter on the edge where the node is located |
def SetNodeOnFace | ( | self, | |
NodeID, | |||
Face, | |||
u, | |||
v | |||
) |
Stores node position on a face.
NodeID | a node ID |
Face | a face or face ID |
u | U parameter on the face where the node is located |
v | V parameter on the face where the node is located |
def SetNodeInVolume | ( | self, | |
NodeID, | |||
Solid | |||
) |
Binds a node to a solid.
NodeID | a node ID |
Solid | a solid or solid ID |
def SetMeshElementOnShape | ( | self, | |
ElementID, | |||
Shape | |||
) |
Bind an element to a shape.
ElementID | an element ID |
Shape | a shape or shape ID |