pyNastran/converters

format_converter Module

Multi-input/output format converter

pyNastran.converters.format_converter.cmd_line_format_converter(argv=None, log: SimpleLogger | None = None, quiet: str = False) None[source]

Interface for format_converter

pyNastran.converters.format_converter.element_slice(tecplot, data: dict[str, Any]) None[source]

removes solid elements from a tecplot model

pyNastran.converters.format_converter.process_abaqus(abaqus_filename: str, fmt2: str, fname2: str, log: SimpleLogger, data: dict[str, Any], quiet: bool = False) None[source]

Converts Abaqus to Nastran

pyNastran.converters.format_converter.process_cart3d(cart3d_filename: str, fmt2: str, fname2: str, log: SimpleLogger, data: dict[str, Any], quiet: bool = False) None[source]

Converts Cart3d to STL/Nastran/Tecplot/Cart3d

pyNastran.converters.format_converter.process_nastran(bdf_filename: str, fmt2: str, fname2: str, log: SimpleLogger | None = None, data: dict[str, Any] | None = None, debug: bool = True, quiet: bool = False) None[source]

Converts Nastran to STL/Cart3d/Tecplot/UGRID3d

pyNastran.converters.format_converter.process_stl(stl_filename: str, fmt2: str, fname2: str, log: SimpleLogger, data: dict[str, Any] | None = None, quiet: bool = False) None[source]

Converts STL to Nastran/Cart3d

pyNastran.converters.format_converter.process_tecplot(tecplot_filename: str, fmt2: str, fname2: str, log: SimpleLogger, data: dict[str, Any] | None = None, quiet: bool = False) None[source]

Converts Tecplot to Tecplot

Globs all input tecplot files (e.g. tecplot*.plt)

pyNastran.converters.format_converter.process_ugrid(ugrid_filename: str, fmt2: str, fname2: str, log: SimpleLogger, data: SimpleLogger | None = None, quiet: bool = False) None[source]

Converts UGRID to Nastran/Cart3d/STL/Tecplot

pyNastran.converters.format_converter.process_vrml(vrml_filename: str, fmt2: str, fname2: str, log: SimpleLogger, data: dict[str, Any], quiet: bool = False) None[source]

Converts VRML to Nastran

pyNastran.converters.format_converter.run_format_converter(fmt1: str, fname1: str, fmt2: str, fname2: str, data: dict[str, Any], log: SimpleLogger, quiet: bool = False) None[source]

Runs the format converter

Subpackages