Note |
---|
You need at least aggregator version 1.1 to use this configuration. |
The machine configuration model:
...
Configuration
...
Data
...
Descripton
...
Mandatory
...
type
...
Carbon3d
...
The machines interface type
...
x
...
url
...
http://192.168.2.47:5000/
...
The individual machines interface url
...
The following configuration options of the common machine configuration model apply to Carbon3D machines.
Obtaining a secret.json file:
Connect to https://print.carbon3d.com/ and login to obtain your secret.json. The secret file should look like this:
Code Block | ||
---|---|---|
| ||
{
"client_id": "CLIENT_ID",
"client_secret": "RSA_PRIVATE_KEY"
} |
Aggregator version 1.4+
Configuration | Data | Description | Required |
---|---|---|---|
|
| The machine's interface type. | ✓ |
|
| Carbon3D api base url. | ✓ |
|
| The custom machine name to be displayed in the Agile MES. Will be read from the machine if unset. | ✗ |
|
| The serial number of the machine. | ✓ |
|
| Secrets for JWT authentication as provided by Carbon3D. For files, the path can be absolute or relative to the Aggregator. | ✓ |
|
| The MES instance(s) of your organization. | ✓ |
Carbon3D machine example:
Code Block | ||
---|---|---|
| ||
{
"type": "CARBON3D",
"url": "https://api.carbon3d.com",
"custom_name": "my_carbon3d_machine",
"unique_name": "3P01CM",
"authentication_file_path": "./secret.json", // contents as shown above
"mes_id": [
1
]
} |
OR
Code Block | ||
---|---|---|
| ||
{
"type": "CARBON3D",
"url": "https://api.carbon3d.com",
"custom_name": "my_carbon3d_machine",
"unique_name": "3P01CM",
"authentication_file_path": {
"client_id": "CLIENT_ID",
"client_secret": "RSA_PRIVATE_KEY"
},
"mes_id": [
1
]
} |
Aggregator version 1.2 - 1.3
Configuration | Data | Description | Required |
---|---|---|---|
|
| The machine's interface type. | ✓ |
|
| Carbon3D api base url. | ✓ |
|
| The custom machine name will to be displayed in MES together with the machine url.xthe Agile MES. Will be read from the machine if unset. | ✗ |
|
| The serial number of the machine. | ✓ |
|
| The secret.json for JWT authentication as provided by Carbon3D. For instructions visit Carbon3D. | x✓ |
|
| The MES instance(s) of your organization. | x✓ |
|
| To specify umati Umati server port used for internal data transfer between aggregator and the machine driver.optional. Set if the default port is conflicting with another port on your server. | ✗ |
Carbon3D machine example:
Code Block | ||
---|---|---|
| ||
{ "type": "MTCONNECTCARBON3D", "url": "httphttps://192api.168.2.47:5000carbon3d.com", "custom_name": "my_carbon3d_machine", "unique_name": "3P01CM", "authentication_file_path": "./secret.json", "mes_id": [ 10, 33 ] }"mes_id": [ 1 ] } |
Secret example:
Add the secret file name to the field authentication_file_path
in your config.json
.
Aggregator version 1.1
Configuration | Data | Description | Required |
---|---|---|---|
|
| The machine's interface type. | ✓ |
|
| The individual machine's interface url. | ✓ |
|
| The custom machine name to be displayed in the Agile MES. Will be appended by the machine’s url. Combined length may not be more than 31 characters. | X |
|
| The serial number of the machine. | ✓ |
|
| The secret.json for JWT authentication as provided by Carbon3D. For instructions visit Carbon3D. | ✓ |
|
| The MES instance(s) of your organization. | ✓ |
|
| Umati server port used for internal data transfer. Set if the default port is conflicting with another port on your server. | X |
Carbon3D machine example:
Code Block | ||
---|---|---|
| ||
{
"type": "CARBON3D",
"url": "https://api.carbon3d.com",
"custom_name": "carb3d",
"unique_name": "3P01CM",
"path_to_secret": "/absolute/path/to/secret.json",
"mes_id": [
1
]
} |
Secret example:
Add the secret file name to the field path_to_secret
in your config.json
.