pyNastran icon indicating copy to clipboard operation
pyNastran copied to clipboard

Clean up explicit format loading

Open SteveDoyle2 opened this issue 6 years ago • 0 comments

The title of the gui should be:

  • Nastran - filename
  • AFLR2 / AFLR3 ugrid (2D) - filename
  • AFLR3 ugrid (3D) - filename
  • AFLR2 BEdge - filename

while the format is:

  • nastran
  • ugrid
  • ugrid3d
  • bedge

respectively.

This requires another argument to the get_*_wildcard_geometry_results_functions, which is the description.

    data = (
        'AFLR2 BEdge',
        'AFLR2 BEdge (*.bedge)', self.load_bedge_geometry,
        None, None)

becomes:

    data = (
        'bedge', 'AFLR2 BEdge',
        'AFLR2 BEdge (*.bedge)', self.load_bedge_geometry,
        None, None)

SteveDoyle2 avatar Jun 09 '18 22:06 SteveDoyle2