-
-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mathis Mensing <[email protected]>
- Loading branch information
Showing
41 changed files
with
1,308 additions
and
9 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
layout: default | ||
title: Spool Management | ||
parent: Features | ||
nav_order: 17 | ||
permalink: /features/spoolman | ||
--- | ||
|
||
# Spool Management | ||
{: .no_toc } | ||
|
||
## Table of contents | ||
{: .no_toc .text-delta } | ||
|
||
1. TOC | ||
{:toc} | ||
|
||
--- | ||
|
||
Fluidd offers support for the [Spoolman](https://github.com/Donkie/Spoolman) filament spool manager. | ||
|
||
### Print start | ||
On print start, Fluidd will show a modal asking you to select the spool you want to use for printing. | ||
The modal shows all available (i.e. not archived) spools. | ||
<!-- TODO uncomment when QR scanning is available | ||
A spool can either be selected by selecting it directly, or by scanning an associated QR code using an attached webcam. | ||
![screenshot](/assets/images/spoolman-scan-spool.png) | ||
--> | ||
|
||
Automatically opening the spool selection modal can be disabled from the Fluidd settings. | ||
|
||
### Dashboard card | ||
The currently selected spool and its metadata is shown in the Spoolman dashboard card. | ||
|
||
#### Selecting a different spool | ||
If you need to select another spool during your print (e.g. when your current spool has run out, or you have a multicolor print), | ||
you can do so through the "Change Spool" button in the dashboard card. | ||
|
||
![screenshot](/assets/images/spoolman-dashboard-card.png) | ||
|
||
### Sanity checks | ||
When starting a print or changing spools, Fluidd will automatically perform these sanity checks and warn you if they fail: | ||
1) a spool is selected | ||
2) the selected spool has enough filament left on it to finish the print job | ||
3) the selected spool's filament type matches the one selected in the slicer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<template> | ||
<div> | ||
<v-subheader id="spoolman"> | ||
{{ $t('app.spoolman.title.spoolman') }} | ||
</v-subheader> | ||
<v-card | ||
:elevation="5" | ||
dense | ||
class="mb-4" | ||
> | ||
<app-setting | ||
:title="$t('app.spoolman.setting.show_spool_selection_dialog_on_print_start')" | ||
> | ||
<v-switch | ||
v-model="autoSpoolSelectionDialog" | ||
hide-details | ||
class="mt-0 mb-4" | ||
/> | ||
</app-setting> | ||
|
||
<!-- TODO uncomment when QR scanning is available | ||
<v-divider /> | ||
<app-setting | ||
:title="$tc('app.spoolman.setting.auto_open_qr_camera')" | ||
> | ||
<v-select | ||
v-model="autoOpenQRDetectionCameraId" | ||
filled | ||
dense | ||
single-line | ||
hide-details="auto" | ||
:items="supportedCameras" | ||
/> | ||
</app-setting> | ||
--> | ||
|
||
<v-divider /> | ||
<app-setting :title="$t('app.setting.label.reset')"> | ||
<app-btn | ||
outlined | ||
small | ||
color="primary" | ||
@click="handleReset" | ||
> | ||
{{ $t('app.setting.btn.reset') }} | ||
</app-btn> | ||
</app-setting> | ||
</v-card> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { Component, Mixins } from 'vue-property-decorator' | ||
import { defaultState } from '@/store/config/state' | ||
import StateMixin from '@/mixins/state' | ||
import { CameraConfig } from '@/store/cameras/types' | ||
@Component({ | ||
components: {} | ||
}) | ||
export default class SpoolmanSettings extends Mixins(StateMixin) { | ||
get autoSpoolSelectionDialog (): boolean { | ||
return this.$store.state.config.uiSettings.spoolman.autoSpoolSelectionDialog | ||
} | ||
set autoSpoolSelectionDialog (value: boolean) { | ||
this.$store.dispatch('config/saveByPath', { | ||
path: 'uiSettings.spoolman.autoSpoolSelectionDialog', | ||
value, | ||
server: true | ||
}) | ||
} | ||
get supportedCameras () { | ||
return [ | ||
{ text: this.$tc('app.setting.label.none', 0), value: null }, | ||
...this.$store.getters['cameras/getEnabledCameras'] | ||
.map((camera: CameraConfig) => ({ text: camera.name, value: camera.id, disabled: !camera.enabled || camera.service === 'iframe' })) | ||
] | ||
} | ||
get autoOpenQRDetectionCameraId (): string { | ||
return this.$store.state.config.uiSettings.spoolman.autoOpenQRDetectionCamera | ||
} | ||
set autoOpenQRDetectionCameraId (value: string) { | ||
this.$store.dispatch('config/saveByPath', { | ||
path: 'uiSettings.spoolman.autoOpenQRDetectionCamera', | ||
value, | ||
server: true | ||
}) | ||
} | ||
handleReset () { | ||
this.$store.dispatch('config/saveByPath', { | ||
path: 'uiSettings.spoolman', | ||
value: defaultState().uiSettings.spoolman, | ||
server: true | ||
}) | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
ref="streamingElement" | ||
autoplay | ||
muted | ||
crossorigin="anonymous" | ||
:style="cameraStyle" | ||
/> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
:src="cameraVideoSource" | ||
autoplay | ||
muted | ||
crossorigin="anonymous" | ||
:style="cameraStyle" | ||
/> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.