Sync Bambuddy thumbnails to InvenTree parts
This commit is contained in:
12
README.md
12
README.md
@@ -105,6 +105,18 @@ For each synced `Part`, the service updates these InvenTree parameters when matc
|
||||
- `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.
|
||||
|
||||
## InvenTree Part Images
|
||||
|
||||
When `SYNC_PART_IMAGES=true`, the service downloads the Bambuddy archive thumbnail and uploads it to the InvenTree `Part.image` field.
|
||||
|
||||
By default, existing InvenTree part images are preserved:
|
||||
|
||||
```env
|
||||
OVERWRITE_PART_IMAGES=false
|
||||
```
|
||||
|
||||
Set `OVERWRITE_PART_IMAGES=true` if Bambuddy thumbnails should replace existing part images.
|
||||
|
||||
## Useful Endpoints
|
||||
|
||||
```text
|
||||
|
||||
Reference in New Issue
Block a user