nastran Package

bdf_to_p3d Module

nastranIOv Module

nastran_to_cart3d Module

pyNastran.converters.nastran.nastran_to_cart3d.nastran_to_cart3d(bdf, log=None, debug=False)[source]

Converts a Nastran BDF object to Cart3D format.

Parameters:
  • bdf – a BDF object
  • log – a logger object (or None)
  • debug – True/False (used if log is not defined)
Returns cart3d:

a Cart3D object

pyNastran.converters.nastran.nastran_to_cart3d.nastran_to_cart3d_filename(bdf_filename, cart3d_filename, log=None, debug=False)[source]

Converts a Nastran file to Cart3D format.

Parameters:
  • bdf_filename – the path to the BDF
  • cart3d_filename – the path to the Cart3D output file
  • log – a logger object (or None)
  • debug – True/False (used if log is not defined)

nastran_to_stl Module

pyNastran.converters.nastran.nastran_to_stl.nastran_to_stl_filename(bdf_filename, stl_filename, log=None)[source]