Trelis 16.5 User Documentation
Trelis' underlying technology, Cubit, has always provided users with the ability to create some level of customization via its scripting language and journal files. The Algebraic Pre-Processor (APREPRO) adds another layer of detail and control to the process. When the Cubit Graphical User Interface was added to Cubit in 2004 Python was embedded into the framework and was made available via external scripting files or in the script tab.
csimsoft has been working for years to make the underlying framework available to third parties so others can embed their own technology into Trelis in order to give end users a seamless experience from geometry creation, to meshing, to setting up and running analysis solutions. Companies who have successfully used Trelis as an integration platform include Fidesys, Fieldscale, and SIMetris, to name a few. Anybody may request and receive the SDK from firstname.lastname@example.org for no charge. With the SDK users can access the Trelis framework and core functionality via Python or C++.
Anybody may contact support and request a download of the Trelis SDK. The SDK will enable developers to:
Create components which can be integrated directly into Trelis. A component can take any form, from a dialog, wizard, report, or any other interaction. As a component it can be inserted into its own menu that will be displayed on the menu bar, giving end-users seamless access to new components.
Create new commands. At its core Trelis is a command-driven module. Developers can create their own commands using the SDK. All developer-created commands are exposed along with all existing Trelis commands making this command-focused interaction seamless to the end user. Developer commands are journaled as if they were original to Trelis.
Create a new mesh exporter. Trelis supports many export formats. The SDK enables developers to create new exporters for their own needs.
Create and manage materials. The SDK exposes a materials database that can be fully managed by the developer. Materials managed through the SDK are available in the Trelis GUI for end users and can be exported as desired.
Localize the GUI. Trelis is delivered in US English. Using free tools supplied by the Qt Company, the graphical user interface may be localized into any language. There is no need to recompile Trelis. Trelis has been localized into Russian and Japanese by 3rd parties.
Gain access to low-level Trelis/Cubit data. Using CubitInterface, developers have access to low-level data. In fact, the current Trelis GUI is a separate application that runs on top of Cubit. All interaction between the GUI application and Cubit is through CubitInterface. In other words, an industrious developer could replace the entire Trelis GUI with one of their own using CubitInterface.
Python developers have complete access to CubitInterface. One other module, CubitInterfaceEx is also available to Python.
The look and feel for the user interface can be modified using style sheets. Please refer to the documentation for details.
Selecting multiple entities in a complex model can be challenging. The Extended Selection Dialog was created to help users create detailed and specific selection filters using Python and then reuse or share those filters with others. Refer to the documentation for details.
Beginning with Trelis 16.3, users are able to create their own workflows that can be shared with other users. Workflows encapsulate the process required to complete a given task. Read here for details.