remove_unused Module
- defines some methods for cleaning up a model
- model = remove_unused(bdf_filename, remove_nids=True, remove_cids=True,
remove_pids=True, remove_mids=True)
- pyNastran.bdf.mesh_utils.remove_unused.remove_unused(bdf_filename: str | PurePath, remove_nids: bool = True, remove_cids: bool = True, remove_pids: bool = True, remove_mids: bool = True, remove_spcs: bool = True, remove_mpcs: bool = True, remove_optimization: bool = True, reset_type_to_id_map: bool = False) tuple[BDF, dict[str, ndarray]][source]
Takes an uncross-referenced bdf and removes unused data
- removes unused:
nodes
properties
materials
coords
spcs
mpcs
- cannot be removed:
loads