bdf_remove_comments Module
- defines:
- bdf_renumber(bdf_filename, bdf_filename_out, size=8, is_double=False,
starting_id_dict=None, round_ids=False, cards_to_skip=None, log=None, debug=False)
- superelement_renumber(bdf_filename, bdf_filename_out=None, size=8, is_double=False,
starting_id_dict=None, cards_to_skip=None, log=None, debug=False)
- pyNastran.bdf.mesh_utils.bdf_remove_comments.bdf_remove_comments(bdf_filename: PathLike | BDF | StringIO, bdf_filename_out: str, size: int = 8, is_double: bool = False, log: SimpleLogger | None = None, debug: bool = False) BDF[source]
Removes the comments from a BDF
- Parameters:
- bdf_filenamestr / BDF
str : a bdf_filename (string; supported) BDF : a BDF model that has been cross referenced and is fully valid (an equivalenced deck is not valid)
- bdf_filename_outstr / None
str : a bdf_filename to write None : don’t write the BDF
- sizeint; {8, 16}; default=8
the bdf write precision
- is_doublebool; default=False
the field precision to write
- Returns:
- modelBDF()
a cleaned file