Ejemplo n.º 1
0
    def __init__(self, inputs):
        html_logging = True
        GuiCommon2.__init__(self, html_logging, inputs)

        NastranIO.__init__(self)
        Cart3dIO.__init__(self)
        PanairIO.__init__(self)
        ShabpIO.__init__(self)
        LaWGS_IO.__init__(self)
        STL_IO.__init__(self)
        TetgenIO.__init__(self)
        Usm3dIO.__init__(self)
        Plot3d_io.__init__(self)
        ADB_IO.__init__(self)
        FastIO.__init__(self)

        fmt_order = [
            'nastran', 'cart3d', 'panair', 'shabp', 'usm3d', 'openvsp', # results
            'lawgs', 'tetgen', 'stl', 'fast', #'plot3d',  # no results
        ]
        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)
Ejemplo n.º 2
0
    def __init__(self, inputs):
        html_logging = True
        GuiCommon2.__init__(self, html_logging, inputs)

        NastranIO.__init__(self)
        Cart3dIO.__init__(self)
        PanairIO.__init__(self)
        ShabpIO.__init__(self)
        LaWGS_IO.__init__(self)
        STL_IO.__init__(self)
        TetgenIO.__init__(self)
        Usm3dIO.__init__(self)
        Plot3d_io.__init__(self)

        fmt_order = [
            'nastran', 'cart3d', 'panair', 'shabp', 'usm3d',  # results
            'lawgs', 'tetgen', 'stl',  #'plot3d',  # no results
        ]
        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)
Ejemplo n.º 3
0
    def __init__(self, inputs):
        html_logging = True
        GuiCommon2.__init__(self, html_logging, inputs)
        Cart3dIO.__init__(self)
        self.base_window_title = "pyCart3d v%s"  % pyNastran.__version__

        fmt_order = ['cart3d']
        self.build_fmts(fmt_order, stop_on_failure=True)
        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)
Ejemplo n.º 4
0
    def __init__(self, inputs):
        html_logging = True
        GuiCommon2.__init__(self, html_logging, inputs)
        Cart3dIO.__init__(self)
        self.base_window_title = "pyCart3d v%s"  % pyNastran.__version__

        fmt_order = ['cart3d']
        self.build_fmts(fmt_order, stop_on_failure=True)
        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)
Ejemplo n.º 5
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()