Example #1
0
    def __init__(self, inputs, **kwds):
        """
        inputs=None
        """
        html_logging = True
        fmt_order = [
            # results
            'nastran', 'cart3d', 'panair', 'shabp', 'usm3d',
            'tecplot', 'surf', 'ugrid',

            # no results
            'lawgs', 'stl', 'fast',
            'bedge', 'su2', 'tetgen', 'avus', 'abaqus',
        ]
        #GuiCommon2.__init__(self, fmt_order, html_logging, inputs, parent)
        kwds['inputs'] = inputs
        kwds['fmt_order'] = fmt_order
        kwds['html_logging'] = html_logging
        super(MainWindow, self).__init__(**kwds)
        #fmt_order=fmt_order, inputs=inputs,
        #html_logging=html_logging,

        if qt_version in [4, 5]:
            ADB_IO.__init__(self)
            AvusIO.__init__(self)
            BEdge_IO.__init__(self)
            NastranIO.__init__(self)
            Cart3dIO.__init__(self)
            DegenGeomIO.__init__(self)
            FastIO.__init__(self)
            LaWGS_IO.__init__(self)
            PanairIO.__init__(self)
            #Plot3d_io.__init__(self)
            STL_IO.__init__(self)
            ShabpIO.__init__(self)
            SurfIO.__init__(self)
            TetgenIO.__init__(self)
            TecplotIO.__init__(self)
            Usm3dIO.__init__(self)
            UGRID_IO.__init__(self)
            AbaqusIO.__init__(self)
            SU2_IO.__init__(self)

        self.build_fmts(fmt_order, stop_on_failure=False)

        logo = os.path.join(icon_path, 'logo.png')
        self.logo = logo
        self.set_script_path(script_path)
        self.set_icon_path(icon_path)

        self.setup_gui()
        self.setup_post(inputs)
        self._check_for_latest_version(inputs['no_update'])
Example #2
0
    def __init__(self, inputs, **kwds):
        """
        inputs=None
        """
        html_logging = True
        fmt_order = [
            # results
            'nastran', 'cart3d', 'panair', 'shabp', 'usm3d', #'openvsp',
            'degen_geom', 'tecplot',
            'surf', 'ugrid',

            # no results
            'lawgs', 'stl', 'fast', 'avus', 'abaqus', #'plot3d', 'tetgen',
            'bedge',
        ]
        #GuiCommon2.__init__(self, fmt_order, html_logging, inputs, parent)
        kwds['inputs'] = inputs
        kwds['fmt_order'] = fmt_order
        kwds['html_logging'] = html_logging
        super(MainWindow, self).__init__(**kwds)
        #fmt_order=fmt_order, inputs=inputs,
        #html_logging=html_logging,

        if qt_version in [4, 5]:
            ADB_IO.__init__(self)
            AvusIO.__init__(self)
            BEdge_IO.__init__(self)
            NastranIO.__init__(self)
            Cart3dIO.__init__(self)
            DegenGeomIO.__init__(self)
            FastIO.__init__(self)
            LaWGS_IO.__init__(self)
            PanairIO.__init__(self)
            Plot3d_io.__init__(self)
            STL_IO.__init__(self)
            ShabpIO.__init__(self)
            SurfIO.__init__(self)
            TetgenIO.__init__(self)
            TecplotIO.__init__(self)
            Usm3dIO.__init__(self)
            UGRID_IO.__init__(self)
            AbaqusIO.__init__(self)

        self.build_fmts(fmt_order, stop_on_failure=False)

        logo = os.path.join(icon_path, 'logo.png')
        self.logo = logo
        self.set_script_path(script_path)
        self.set_icon_path(icon_path)

        self.setup_gui()
        self.setup_post(inputs)
        self._check_for_latest_version(inputs['no_update'])
Example #3
0
    def __init__(self, inputs):
        html_logging = True
        fmt_order = [
            # results
            'nastran', 'cart3d', 'panair', 'shabp', 'usm3d', 'openvsp', 'degen_geom', 'tecplot',
            'surf', 'ugrid',

            # no results
            'lawgs', 'stl', 'fast', 'avus', #'plot3d', 'tetgen',
        ]
        GuiCommon2.__init__(self, fmt_order, html_logging, inputs)

        ADB_IO.__init__(self)
        AvusIO.__init__(self)
        NastranIO.__init__(self)
        Cart3dIO.__init__(self)
        DegenGeomIO.__init__(self)
        FastIO.__init__(self)
        LaWGS_IO.__init__(self)
        PanairIO.__init__(self)
        Plot3d_io.__init__(self)
        STL_IO.__init__(self)
        ShabpIO.__init__(self)
        SurfIO.__init__(self)
        TetgenIO.__init__(self)
        TecplotIO.__init__(self)
        Usm3dIO.__init__(self)
        UGRID_IO.__init__(self)

        self.build_fmts(fmt_order, stop_on_failure=False)

        logo = os.path.join(icon_path, 'logo.png')
        self.set_logo(logo)
        self.set_script_path(script_path)
        self.set_icon_path(icon_path)

        self.setup_gui()
        self.setup_post(inputs)
        self._check_for_latest_version()