FemMesh class Set the Part shape to mesh Update the internal mesh structure Add hypothesis Set some standard hypotheses for the whole shape Add a node by setting (x,y,z). Add an edge by setting two node indices. Add list of edges by list of node indices and list of nodes per edge. Add a face by setting three node indices. Add list of faces by list of node indices and list of nodes per face. Add a quad by setting four node indices. Add a volume by setting an arbitrary number of node indices. Add list of volumes by list of node indices and list of nodes per volume. Read in a various FEM mesh file formats. read(file.endingToExportTo) supported formats: DAT, INP, MED, STL, UNV, VTK, Z88 Write out various FEM mesh file formats. write(file.endingToExportTo) supported formats: BDF, DAT, INP, MED, STL, UNV, VTK, Z88 Write out as ABAQUS inp writeABAQUS(file, int elemParam, bool groupParam, str volVariant, str faceVariant, str edgeVariant) elemParam: 0: All elements 1: Highest elements only 2: FEM elements only (only edges not belonging to faces and faces not belonging to volumes) groupParam: True: Write group data False: Do not write group data volVariant: Volume elements "standard": Tetra4 -> C3D4, Penta6 -> C3D6, Hexa8 -> C3D8, Tetra10 -> C3D10, Penta15 -> C3D15, Hexa20 -> C3D20 "reduced": Hexa8 -> C3D8R, Hexa20 -> C3D20R "incompatible": Hexa8 -> C3D8I "modified": Tetra10 -> C3D10T "fluid": Tetra4 -> F3D4, Penta6 -> F3D6, Hexa8 -> F3D8 faceVariant: Face elements "shell": Tria3 -> S3, Quad4 -> S4, Tria6 -> S6, Quad8 -> S8 "shell reduced": Tria3 -> S3, Quad4 -> S4R, Tria6 -> S6, Quad8 -> S8R "membrane": Tria3 -> M3D3, Quad4 -> M3D4, Tria6 -> M3D6, Quad8 -> M3D8 "membrane reduced": Tria3 -> M3D3, Quad4 -> M3D4R, Tria6 -> M3D6, Quad8 -> M3D8R "stress": Tria3 -> CPS3, Quad4 -> CPS4, Tria6 -> CPS6, Quad8 -> CPS8 "stress reduced": Tria3 -> CPS3, Quad4 -> CPS4R, Tria6 -> CPS6, Quad8 -> CPS8R "strain": Tria3 -> CPE3, Quad4 -> CPE4, Tria6 -> CPE6, Quad8 -> CPE8 "strain reduced": Tria3 -> CPE3, Quad4 -> CPE4R, Tria6 -> CPE6, Quad8 -> CPE8R "axisymmetric": Tria3 -> CAX3, Quad4 -> CAX4, Tria6 -> CAX6, Quad8 -> CAX8 "axisymmetric reduced": Tria3 -> CAX3, Quad4 -> CAX4R, Tria6 -> CAX6, Quad8 -> CAX8R edgeVariant: Edge elements "beam": Seg2 -> B31, Seg3 -> B32 "beam reduced": Seg2 -> B31R, Seg3 -> B32R "truss": Seg2 -> T3D2, eg3 -> T3D3 "network": Seg3 -> D Elements are selected according to CalculiX availability. For example if volume variant "modified" is selected, Tetra10 mesh elements are assigned to C3D10T and remain elements uses "standard". Axisymmetric, plane strain and plane stress elements expect nodes in the plane z=0. Use a Placement object to perform a translation or rotation Make a copy of this FEM mesh. Return a list of face IDs which belong to a TopoFace Return a list of edge IDs which belong to a TopoEdge Return a dict of volume IDs and face IDs which belong to a TopoFace Return a dict of volume IDs and ccx face numbers which belong to a TopoFace Get the node position vector by a Node-ID Return a list of node IDs which belong to a TopoSolid Return a list of node IDs which belong to a TopoFace Return a list of node IDs which belong to a TopoEdge Return a list of node IDs which belong to a TopoVertex Return a tuple of node IDs to a given element ID Return a tuple of specific element IDs associated to a given node ID Return a string of group name to a given group ID Return a string of group element type to a given group ID Return a tuple of ElementIDs to a given group ID Add a group to mesh with specific name and type addGroup(name, typestring, [id]) name: string typestring: "All", "Node", "Edge", "Face", "Volume", "0DElement", "Ball" id: int Optional id is used to force specific id for group, but does not work, yet. Add a tuple of ElementIDs to a given group ID addGroupElements(groupid, list_of_elements) groupid: int list_of_elements: list of int Notice that the elements have to be in the mesh. Remove a group with a given group ID removeGroup(groupid) groupid: int Returns boolean. Return the element type of a given ID Return a tuple of IDs to a given element type Dictionary of Nodes by ID (int ID:Vector()) Number of nodes in the Mesh. Tuple of edge IDs Tuple of edge IDs which does not belong to any face (and thus not belong to any volume too) Number of edges in the Mesh. Tuple of face IDs Tuple of face IDs which does not belong to any volume Number of Faces in the Mesh. Number of Triangles in the Mesh. Number of Quadrangles in the Mesh. Number of Quadrangles in the Mesh. Tuple of volume IDs Number of Volumes in the Mesh. Number of Tetras in the Mesh. Number of Hexas in the Mesh. Number of Pyramids in the Mesh. Number of Prisms in the Mesh. Number of Polyhedrons in the Mesh. Number of SubMeshs in the Mesh. Number of Groups in the Mesh. Tuple of Group IDs. Volume of the mesh.