|
Functions | |
| def | smeshDC::Mesh.AddNode |
| Add a node to the mesh by coordinates. | |
| def | smeshDC::Mesh.Add0DElement |
| Creates a 0D element on a node with given number. | |
| def | smeshDC::Mesh.AddEdge |
| Creates a linear or quadratic edge (this is determined by the number of given nodes). | |
| def | smeshDC::Mesh.AddFace |
| Creates a linear or quadratic face (this is determined by the number of given nodes). | |
| def | smeshDC::Mesh.AddPolygonalFace |
| Adds a polygonal face to the mesh by the list of node IDs. | |
| def | smeshDC::Mesh.AddVolume |
| Creates both simple and quadratic volume (this is determined by the number of given nodes). | |
| def | smeshDC::Mesh.AddPolyhedralVolume |
| Creates a volume of many faces, giving nodes for each face. | |
| def | smeshDC::Mesh.AddPolyhedralVolumeByFaces |
| Creates a volume of many faces, giving the IDs of the existing faces. | |
| def | smeshDC::Mesh.SetNodeOnVertex |
| Binds a node to a vertex. | |
| def | smeshDC::Mesh.SetNodeOnEdge |
| Stores the node position on an edge. | |
| def | smeshDC::Mesh.SetNodeOnFace |
| Stores node position on a face. | |
| def | smeshDC::Mesh.SetNodeInVolume |
| Binds a node to a solid. | |
| def | smeshDC::Mesh.SetMeshElementOnShape |
| Bind an element to a shape. | |
| def smeshDC.Mesh.Add0DElement | ( | self, | |
| IDOfNode | |||
| ) | [inherited] |
Creates a 0D element on a node with given number.
| IDOfNode | the ID of node for creation of the element. |
Definition at line 2509 of file smeshDC.py.
| def smeshDC.Mesh.AddEdge | ( | self, | |
| IDsOfNodes | |||
| ) | [inherited] |
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. |
Definition at line 2520 of file smeshDC.py.
| def smeshDC.Mesh.AddFace | ( | self, | |
| IDsOfNodes | |||
| ) | [inherited] |
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. |
Definition at line 2531 of file smeshDC.py.
| def smeshDC.Mesh.AddNode | ( | self, | |
| x, | |||
| y, | |||
| z | |||
| ) | [inherited] |
Add a node to the mesh by coordinates.
Definition at line 2500 of file smeshDC.py.
| def smeshDC.Mesh.AddPolygonalFace | ( | self, | |
| IdsOfNodes | |||
| ) | [inherited] |
Adds a polygonal face to the mesh by the list of node IDs.
| IdsOfNodes | the list of node IDs for creation of the element. |
Definition at line 2538 of file smeshDC.py.
| def smeshDC.Mesh.AddPolyhedralVolume | ( | self, | |
| IdsOfNodes, | |||
| Quantities | |||
| ) | [inherited] |
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. |
Definition at line 2558 of file smeshDC.py.
| def smeshDC.Mesh.AddPolyhedralVolumeByFaces | ( | self, | |
| IdsOfFaces | |||
| ) | [inherited] |
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.
Definition at line 2568 of file smeshDC.py.
| def smeshDC.Mesh.AddVolume | ( | self, | |
| IDsOfNodes | |||
| ) | [inherited] |
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. |
Definition at line 2549 of file smeshDC.py.
| def smeshDC.Mesh.SetMeshElementOnShape | ( | self, | |
| ElementID, | |||
| Shape | |||
| ) | [inherited] |
Bind an element to a shape.
| ElementID | an element ID |
| Shape | a shape or shape ID |
Definition at line 2645 of file smeshDC.py.
02646 : 02647 if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)): 02648 ShapeID = Shape.GetSubShapeIndices()[0] 02649 else: 02650 ShapeID = Shape 02651 try: 02652 self.editor.SetMeshElementOnShape(ElementID, ShapeID) 02653 except SALOME.SALOME_Exception, inst: 02654 raise ValueError, inst.details.text 02655 return True 02656
| def smeshDC.Mesh.SetNodeInVolume | ( | self, | |
| NodeID, | |||
| Solid | |||
| ) | [inherited] |
Binds a node to a solid.
| NodeID | a node ID |
| Solid | a solid or solid ID |
Definition at line 2629 of file smeshDC.py.
02630 : 02631 if ( isinstance( Solid, geompyDC.GEOM._objref_GEOM_Object)): 02632 SolidID = Solid.GetSubShapeIndices()[0] 02633 else: 02634 SolidID = Solid 02635 try: 02636 self.editor.SetNodeInVolume(NodeID, SolidID) 02637 except SALOME.SALOME_Exception, inst: 02638 raise ValueError, inst.details.text 02639 return True
| def smeshDC.Mesh.SetNodeOnEdge | ( | self, | |
| NodeID, | |||
| Edge, | |||
| paramOnEdge | |||
| ) | [inherited] |
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 |
Definition at line 2595 of file smeshDC.py.
02596 : 02597 if ( isinstance( Edge, geompyDC.GEOM._objref_GEOM_Object)): 02598 EdgeID = Edge.GetSubShapeIndices()[0] 02599 else: 02600 EdgeID = Edge 02601 try: 02602 self.editor.SetNodeOnEdge(NodeID, EdgeID, paramOnEdge) 02603 except SALOME.SALOME_Exception, inst: 02604 raise ValueError, inst.details.text 02605 return True
| def smeshDC.Mesh.SetNodeOnFace | ( | self, | |
| NodeID, | |||
| Face, | |||
| u, | |||
| v | |||
| ) | [inherited] |
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 |
Definition at line 2613 of file smeshDC.py.
02614 : 02615 if ( isinstance( Face, geompyDC.GEOM._objref_GEOM_Object)): 02616 FaceID = Face.GetSubShapeIndices()[0] 02617 else: 02618 FaceID = Face 02619 try: 02620 self.editor.SetNodeOnFace(NodeID, FaceID, u, v) 02621 except SALOME.SALOME_Exception, inst: 02622 raise ValueError, inst.details.text 02623 return True
| def smeshDC.Mesh.SetNodeOnVertex | ( | self, | |
| NodeID, | |||
| Vertex | |||
| ) | [inherited] |
Binds a node to a vertex.
| NodeID | a node ID |
| Vertex | a vertex or vertex ID |
Definition at line 2577 of file smeshDC.py.
02578 : 02579 if ( isinstance( Vertex, geompyDC.GEOM._objref_GEOM_Object)): 02580 VertexID = Vertex.GetSubShapeIndices()[0] 02581 else: 02582 VertexID = Vertex 02583 try: 02584 self.editor.SetNodeOnVertex(NodeID, VertexID) 02585 except SALOME.SALOME_Exception, inst: 02586 raise ValueError, inst.details.text 02587 return True 02588