Sync print weight and time parameters
This commit is contained in:
@@ -98,6 +98,13 @@ BMB-<first-12-sha1-chars>
|
||||
|
||||
This means repeat prints of the same file/name reuse the same `Part` and create new `StockItem` rows. To change matching behavior later, edit `PART_KEY_FIELDS`.
|
||||
|
||||
## InvenTree Part Parameters
|
||||
|
||||
For each synced `Part`, the service updates these InvenTree parameters when matching parameter templates exist:
|
||||
|
||||
- `Weight`: filament weight per printed item in grams. If a Bambuddy archive has `quantity=2`, the total filament weight is divided by 2.
|
||||
- `PrintTime`: print duration from Bambuddy. The visible value is formatted as `1h 6m 1s`; `data_numeric` stores the duration in seconds.
|
||||
|
||||
## Useful Endpoints
|
||||
|
||||
```text
|
||||
|
||||
Reference in New Issue
Block a user