The following configuration options of the common machine configuration model apply to Formlabs machines.
Obtaining access credentials:
Info |
---|
Please refer to the Formlabs developer documentation for more details. |
Dashboard credentials:
Setusername
andpassword
upon account creation at https://formlabs.com/ .Developer API credentials:
Obtainclient_id
andclient_secret
by contacting Formlabs at gtl@formlabs.com.
Secret file example:
For OAuth authentication you will have to create a file similar to the one below and adjust the authentication_file_path
in your config.json
.
Code Block | ||
---|---|---|
| ||
{
"username":"USERNAME",
"password":"PASSWORD",
"client_id":"CLIENT_ID",
"client_secret":"CLIENT_SECRET"
} |
Aggregator version 1.
...
4
Configuration | Data | Description | Required | ||||
---|---|---|---|---|---|---|---|
|
| The machine's interface type. | ✓ | ||||
|
| Formlabs 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. | ✓ | ||||
|
| A secrets file for OAuth authentication (see below). Path can be absolute or relative to the Aggregator. | ✓ | ||||
|
| 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. | ✗ |
Formlabs machine example:
Code Block | ||
---|---|---|
| ||
{ "type":"FORMLABS", "url":"https://api.formlabs.com", "custom_name":"my_formlabs_machine", "unique_name":"MyPrinter", "authentication_file_path":"./secret.json", "mes_id":[ 1 ] } |
Secret file example:
...
Aggregator version 1.3
Configuration | Data | Description | Required |
---|---|---|---|
|
| The machine's interface type. | ✓ |
|
| Formlabs 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. | ✓ |
|
| A secrets file for OAuth authentication (see below). Path can be absolute or relative to the Aggregator. | ✓ |
|
| 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. | ✗ |
Formlabs machine example:
Code Block | ||
---|---|---|
| ||
{ "usernametype":"USERNAMEFORMLABS", "passwordurl":"PASSWORDhttps://api.formlabs.com", "clientcustom_idname":"CLIENTmy_formlabs_IDmachine", "clientunique_secretname":"CLIENT_SECRET" } |
Obtaining access credentials:
Info |
---|
Please refer to the Formlabs developer documentation for more details. |
...
Dashboard credentials:
Set username
and password
upon account creation at https://formlabs.com/.
...
"MyPrinter",
"authentication_file_path":"./secret.json",
"mes_id":[
1
]
} |