export_mcids
Module¶
- Defines:
- nodes, bars = export_mcids(bdf_filename, csv_filename=None)
-
pyNastran.bdf.mesh_utils.export_mcids.
_add_elements
(nid, eid, nodes, bars, centroid, iaxis, jaxis, export_both_axes, export_xaxis)[source]¶ adds the element data
-
pyNastran.bdf.mesh_utils.export_mcids.
_export_coord_axes
(nodes, bars, csv_filename)[source]¶ save the coordinate systems in a csv file
-
pyNastran.bdf.mesh_utils.export_mcids.
_export_quad
(elem, nodes, iply, nid, eid, pids_failed, bars, export_both_axes, export_xaxis, consider_property_rotation)[source]¶
-
pyNastran.bdf.mesh_utils.export_mcids.
_export_tria
(elem, nodes, iply, nid, eid, pids_failed, bars, export_both_axes, export_xaxis, consider_property_rotation)[source]¶ helper method for
export_mcids
-
pyNastran.bdf.mesh_utils.export_mcids.
_rotate_mcid
(elem, pid_ref, iply, imat, jmat, normal, consider_property_rotation=True)[source]¶ rotates a material coordinate system
-
pyNastran.bdf.mesh_utils.export_mcids.
export_mcids
(bdf_filename, csv_filename=None, eids=None, export_xaxis=True, export_yaxis=True, iply=0, log=None, debug=False)[source]¶ Exports the element material coordinates systems for non-isotropic materials.
Parameters: - bdf_filename : str/BDF
a bdf filename or BDF model
- csv_filename : str; default=None
str : the path to the output csv None : don’t write a CSV
- eids : List[int]
the element ids to consider
- export_xaxis : bool; default=True
export the x-axis
- export_yaxis : bool; default=True
export the x-axis
- iply : int; default=0
TODO: not validated the ply to consider
PSHELL
iply location —- ——–
0 mid1 or mid2 1 mid1 2 mid2 3 mid3 4 mid4
PCOMP/PCOMPG
iply location —- ——– 0 layer1 1 layer2
Returns: - nodes : (nnodes, 3) float list
the nodes
- bars : (nbars, 2) int list
the “bars” that represent the x/y axes of the coordinate systems