-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from ansys-internal/fix_thumbnail1
Fix thumbnail1
- Loading branch information
Showing
9 changed files
with
90 additions
and
29 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.. _architecture: | ||
|
||
Architecture | ||
============ | ||
|
||
This repository is a common API for any new AEDT toolkit. It standardizes AEDT toolkits implementation. | ||
|
||
The API provides some methods to connect to an existing AEDT session, open an existing | ||
AEDT project or initialize a new AEDT session, which should be the basic capability of any toolkit. | ||
|
||
The architecture is divided in two main parts: | ||
|
||
|
||
1. The backend, using `Flask <https://flask.palletsprojects.com/en/2.3.x/>`_. Flask creates a REST API, | ||
which let interact different services by simply doing HTTP requests. | ||
|
||
2. The user interface, using `Pyside6 <https://doc.qt.io/qtforpython-6/quickstart.html>`_. Pyside6 has a designer tool | ||
which allows to create user interfaces and it is translated to python directly. | ||
|
||
Using Flask, the toolkit becomes interface agnostic, then you can decide change it and use a WebUI for instance | ||
as user interface. | ||
|
||
You can install the library like any other open source package. You can add this project as a dependency of the new toolkit. | ||
|
||
The architecture is defined in the following picture: | ||
|
||
.. image:: ../_static/toolkit_architecture.png | ||
:width: 800 | ||
:alt: Toolkit architecture |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.. _getting_started: | ||
|
||
=============== | ||
Getting started | ||
=============== | ||
|
||
If you want to develop a new toolkit, you need first to learn how the :ref:`architecture` works. | ||
|
||
.. grid:: 2 | ||
|
||
.. grid-item-card:: Architecture :fa:`person-running` | ||
:padding: 2 2 2 2 | ||
:link: architecture | ||
:link-type: doc | ||
|
||
Learn more about the toolkit architecture. | ||
|
||
.. grid-item-card:: Installation :fa:`book-bookmark` | ||
:padding: 2 2 2 2 | ||
:link: installation | ||
:link-type: doc | ||
|
||
Learn how to install the common library. | ||
|
||
.. grid-item-card:: Example toolkit :fa:`scroll` | ||
:padding: 2 2 2 2 | ||
:link: example_toolkit | ||
:link-type: doc | ||
|
||
Example toolkit using the common methods. | ||
|
||
|
||
.. toctree:: | ||
:hidden: | ||
:maxdepth: 2 | ||
|
||
architecture | ||
installation | ||
example_toolkit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.. _installation: | ||
|
||
Installation | ||
============ | ||
|
||
If you want to use this library for a toolkit or workflow, you can install the backend standalone or | ||
install backend and user interface common methods. | ||
|
||
You can install both backend and user interface methods from PyPI:: | ||
|
||
pip -m install git+https://github.com/ansys-internal/pyaedt-toolkits-common.git[all] | ||
|
||
You can install only the backend methods from PyPI, this is useful if you only need the common API:: | ||
|
||
pip -m install git+https://github.com/ansys-internal/pyaedt-toolkits-common.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters