Skip to content

Environment Setup

Papyrus4Manufacturing provides an Intergrated Development Environment (IDE) to design and develop NPB and AAS DT of the NPB. The following steps guide you to download and run the IDE on your computer.


Step-by-Step Guide

Two basic steps to download and setup Papyrus4Manufacturing IDE.

Step 1: Download Papyrus4Manufacturing

Open your web browser and navigate to the official Papyrus4Manufacturing website. In the navigate bar of the website, go to Downloads AAS Designer > Nightly RCP section. Click to download and save the file to the workspace in your computer.

download
Figure 1. Download the Nightly RCP Papyrus4Manufacturing version

Step 2: Run Papyrus4Manufacturing

Extract the downloaded file (p4m_nightly_linux.tar.gz). You can use the following command:

$ tar -xvzf p4m_nightly_linux.tar.gz

After the extraction, you will have a new folder Papyrus4AAS. Inside this folder, there are resources to run the Papyrus4Manufacturing IDE. Launch it with the following command:

$ ./Papyrus4AAS/Papyrus4Manufacturing

For the first launch, you must choose a workspace to save your future Papyrus4Manufacturing projects. Browse you target folder, check the box Use this as the default and do not ask again, then click Launch. You should walkthrough the cheet sheets in the Cheet Sheets window to understand the basic steps to design AAS and deploy AAS DT.

download
Figure 2. Cheet Sheets window in the GUI of Papyrus4Manufacturing

Helpful Tips

Some tools are helpful for the development.

Install TM Terminal on Papyrus4Manufacturing

Open Papyrus4Manufacturing. In the menu bar, go to Help > Install New Software. In the Work with field, input the URL https://download.eclipse.org/tools/cdt/releases/11.6/, click Add. Wait for the list to populate. Check the box Terminal Features and Terminal SDK Features, click Next, then continue with the on-screen instructions. After the installation is finished, you need to restart Papyrus4Manufacturing.

To open the TM Terminal: in the menu bar, go to Window > Show View > Other... > Terminal. The terminal tray will appear. Using the shortcut key Ctrl + Shift + Alt + T to open a new terminal.

download
Figure 3. TM Terminal on Papyrus4Manufacturing

Install Docker on Linux

Open a terminal. Install the docker version for linux using apt:

$ sudo apt install docker.io

Note: The version docker-ce can be used instead.

Check if docker is succesfully installed with the following command. The expected result is the header row of an empty table with no running docker containers.

$ docker ps

Enable your user account to use Docker without needing root privileges:

$ sudo groupadd docker
$ sudo usermod -aG docker $USER