import_nastran#

Modeler3D.import_nastran(file_path, import_lines=True, lines_thickness=0, import_solids=True)[source]#

Import Nastran file into 3D Modeler by converting the faces to stl and reading it. The solids are translated directly to AEDT format.

Parameters:
file_pathstr

Path to .nas file.

import_linesbool, optional

Whether to import the lines or only triangles. Default is True.

lines_thicknessfloat, optional

Whether to thicken lines after creation and it’s default value. Every line will be parametrized with a design variable called xsection_linename.

import_solidsbool, optional

Whether to import the solids or only triangles. Default is True.

Returns:
List of pyaedt.modeler.Object3d.Object3d