import_nastran#

Modeler3D.import_nastran(file_path, import_lines=True, lines_thickness=0, import_as_light_weight=False, **kwargs)[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_as_light_weightbool, optional

Import the stl generatated as light weight. It works only on SBR+ and HFSS Regions. Default is False.

Returns:
List of pyaedt.modeler.Object3d.Object3d