Пример #1
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(buttonText='FML Impact model',
                              object=Activator(
                                  os.path.join(thisDir, 'impact_xiugaiDB.py')),
                              kernelInitString='import Lamin',
                              messageId=AFXMode.ID_ACTIVATE,
                              icon=None,
                              applicableModules=ALL,
                              version='N/A',
                              author='N/A',
                              description='N/A',
                              helpUrl='N/A')
Пример #2
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(buttonText='EU4 Exporter 2.0',
                              object=Activator(
                                  os.path.join(thisDir, 'exportToEU4_2DB.py')),
                              kernelInitString='import executeExporter_2',
                              messageId=AFXMode.ID_ACTIVATE,
                              icon=None,
                              applicableModules=ALL,
                              version='N/A',
                              author='N/A',
                              description='N/A',
                              helpUrl='N/A')
Пример #3
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(buttonText='Flange Main GUI',
                              object=Activator(
                                  os.path.join(thisDir, 'flangeMainGUIDB.py')),
                              kernelInitString='import mainScript',
                              messageId=AFXMode.ID_ACTIVATE,
                              icon=None,
                              applicableModules=ALL,
                              version='N/A',
                              author='N/A',
                              description='N/A',
                              helpUrl='N/A')
Пример #4
0
from abaqusGui import getAFXApp, Activator, AFXMode, afxCreatePNGIcon
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(
    buttonText='FracTool',
    object=Activator(os.path.join(thisDir, 'plugin3DB.py')),
    kernelInitString='import EDC2',
    messageId=AFXMode.ID_ACTIVATE,
    icon=afxCreatePNGIcon(os.path.join(thisDir,'logo.png')),
    applicableModules=ALL,
    version='N/A',
    author='N/A',
    description='N/A',
    helpUrl='N/A'
)
Пример #5
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(buttonText='Specimen',
                              object=Activator(
                                  os.path.join(thisDir, 'specimenDB.py')),
                              kernelInitString='import kernel',
                              messageId=AFXMode.ID_ACTIVATE,
                              icon=None,
                              applicableModules=ALL,
                              version='N/A',
                              author='N/A',
                              description='N/A',
                              helpUrl='N/A')
Пример #6
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(
    buttonText='WZL|HSMC-GUI',
    object=Activator(os.path.join(thisDir, 'hSMCDB.py')),
    kernelInitString='',
    messageId=AFXMode.ID_ACTIVATE,
    #icon='iconPlotMat24x24.bmp',
    applicableModules=ALL,
    version='0.5.130405',
    author='Daniel Trauth, WZL der RWTH Aachen University',
    description='N/A',
    helpUrl='N/A')
Пример #7
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(
    buttonText='FML stretching model', 
    object=Activator(os.path.join(thisDir, 'tensile_plusDB.py')),
    kernelInitString='import abaqusMacros',
    messageId=AFXMode.ID_ACTIVATE,
    icon=None,
    applicableModules=ALL,
    version='N/A',
    author='N/A',
    description='N/A',
    helpUrl='N/A'
)
Пример #8
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(buttonText='Test',
                              object=Activator(
                                  os.path.join(thisDir, 'rVE_pluginDB.py')),
                              kernelInitString='import Random_Short_Fiber',
                              messageId=AFXMode.ID_ACTIVATE,
                              icon=None,
                              applicableModules=ALL,
                              version='N/A',
                              author='N/A',
                              description='N/A',
                              helpUrl='N/A')
Пример #9
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(
    buttonText='Pre-design module', 
    object=Activator(os.path.join(thisDir, 'design_impact_plusDB.py')),
    kernelInitString='import predesign',
    messageId=AFXMode.ID_ACTIVATE,
    icon=None,
    applicableModules=ALL,
    version='N/A',
    author='N/A',
    description='N/A',
    helpUrl='N/A'
)
Пример #10
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(buttonText='CSDN_plugin',
                              object=Activator(
                                  os.path.join(thisDir, 'cSDN_dirDB.py')),
                              kernelInitString='import creat_part',
                              messageId=AFXMode.ID_ACTIVATE,
                              icon=None,
                              applicableModules=ALL,
                              version='N/A',
                              author='N/A',
                              description='N/A',
                              helpUrl='N/A')
Пример #11
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(buttonText='MTEX2abaqus',
                              object=Activator(
                                  os.path.join(thisDir, 'mTEX2AbaqusDB.py')),
                              kernelInitString='import AbaqusImport',
                              messageId=AFXMode.ID_ACTIVATE,
                              icon=None,
                              applicableModules=ALL,
                              version='N/A',
                              author='N/A',
                              description='N/A',
                              helpUrl='N/A')
Пример #12
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(
    buttonText='Hot Forging', 
    object=Activator(os.path.join(thisDir, 'hotForgingPlugInDB.py')),
    kernelInitString='import MacroHotForging',
    messageId=AFXMode.ID_ACTIVATE,
    icon=None,
    applicableModules=ALL,
    version='N/A',
    author='N/A',
    description='N/A',
    helpUrl='N/A'
)
Пример #13
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(buttonText='fatigueParameter',
                              object=Activator(
                                  os.path.join(thisDir,
                                               'fatigueParameterDB.py')),
                              kernelInitString='import startupGUI',
                              messageId=AFXMode.ID_ACTIVATE,
                              icon=None,
                              applicableModules=ALL,
                              version='N/A',
                              author='N/A',
                              description='N/A',
                              helpUrl='N/A')
Пример #14
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(buttonText='dummy_delete',
                              object=Activator(
                                  os.path.join(thisDir, 'dummy_deleteDB.py')),
                              kernelInitString='import dummy_delete',
                              messageId=AFXMode.ID_ACTIVATE,
                              icon=None,
                              applicableModules=ALL,
                              version='N/A',
                              author='N/A',
                              description='N/A',
                              helpUrl='N/A')
Пример #15
0
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)

toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(buttonText='Fibre_insert',
                              object=Activator(
                                  os.path.join(thisDir, 'fibre_insertDB.py')),
                              kernelInitString='import Fibre_insert',
                              messageId=AFXMode.ID_ACTIVATE,
                              icon=None,
                              applicableModules=ALL,
                              version='N/A',
                              author='N/A',
                              description='N/A',
                              helpUrl='N/A')