Compare commits
32
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfaccb39a5 | ||
|
|
ff0d50239c | ||
|
|
fb4bfb3f57 | ||
|
|
86638effdd | ||
|
|
6ffb771eeb | ||
|
|
bbf2832238 | ||
|
|
c7fc694fca | ||
|
|
4aec550a90 | ||
|
|
3011928ca3 | ||
|
|
d657db36d6 | ||
|
|
fd89ff7ba3 | ||
|
|
cc888a3924 | ||
|
|
5cbcebb771 | ||
|
|
bc841609ba | ||
|
|
fccd8321bb | ||
|
|
04a39361c3 | ||
|
|
090cda6350 | ||
|
|
ad6015b69f | ||
|
|
76cedb174e | ||
|
|
0da85e0e20 | ||
|
|
9e64fb139d | ||
|
|
257c31790f | ||
|
|
35716eae24 | ||
|
|
666897570a | ||
|
|
8b4465300d | ||
|
|
97912022c2 | ||
|
|
087d9b7104 | ||
|
|
8ddf13081f | ||
|
|
eadf2e1527 | ||
|
|
737b94995d | ||
|
|
35e6a2a5c4 | ||
|
|
05069ee43b |
No files matched your search
Generated
+22
-4
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "mainsail",
|
||||
"version": "2.2.0-beta1",
|
||||
"version": "2.2.0-beta4",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mainsail",
|
||||
"version": "2.2.0-beta1",
|
||||
"version": "2.2.0-beta3",
|
||||
"dependencies": {
|
||||
"@codemirror/basic-setup": "^0.19.0",
|
||||
"@codemirror/highlight": "^0.19.6",
|
||||
@@ -42,6 +42,7 @@
|
||||
"vue-meta": "^2.4.0",
|
||||
"vue-observe-visibility": "^1.0.0",
|
||||
"vue-property-decorator": "^9.1.2",
|
||||
"vue-resize": "^1.0.1",
|
||||
"vue-toast-notification": "^0.6.1",
|
||||
"vuedraggable": "^2.24.3",
|
||||
"vuetify": "^2.6.1",
|
||||
@@ -1810,7 +1811,6 @@
|
||||
"version": "7.17.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.7.tgz",
|
||||
"integrity": "sha512-L6rvG9GDxaLgFjg41K+5Yv9OMrU98sWe+Ykmc6FDJW/+vYZMhdOMKkISgzptMaERHvS2Y2lw9MDRm2gHhlQQoA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"regenerator-runtime": "^0.13.4"
|
||||
},
|
||||
@@ -8974,6 +8974,17 @@
|
||||
"vue-class-component": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/vue-resize": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-1.0.1.tgz",
|
||||
"integrity": "sha512-z5M7lJs0QluJnaoMFTIeGx6dIkYxOwHThlZDeQnWZBizKblb99GSejPnK37ZbNE/rVwDcYcHY+Io+AxdpY952w==",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^2.6.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue-router": {
|
||||
"version": "3.5.3",
|
||||
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.3.tgz",
|
||||
@@ -10636,7 +10647,6 @@
|
||||
"version": "7.17.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.7.tgz",
|
||||
"integrity": "sha512-L6rvG9GDxaLgFjg41K+5Yv9OMrU98sWe+Ykmc6FDJW/+vYZMhdOMKkISgzptMaERHvS2Y2lw9MDRm2gHhlQQoA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"regenerator-runtime": "^0.13.4"
|
||||
}
|
||||
@@ -15912,6 +15922,14 @@
|
||||
"integrity": "sha512-xYA8MkZynPBGd/w5QFJ2d/NM0z/YeegMqYTphy7NJQXbZcuU6FC6AOdUAcy4SXP+YnkerC6AfH+ldg7PDk9ESQ==",
|
||||
"requires": {}
|
||||
},
|
||||
"vue-resize": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-1.0.1.tgz",
|
||||
"integrity": "sha512-z5M7lJs0QluJnaoMFTIeGx6dIkYxOwHThlZDeQnWZBizKblb99GSejPnK37ZbNE/rVwDcYcHY+Io+AxdpY952w==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.13.10"
|
||||
}
|
||||
},
|
||||
"vue-router": {
|
||||
"version": "3.5.3",
|
||||
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.3.tgz",
|
||||
|
||||
+2
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mainsail",
|
||||
"version": "2.2.0-beta1",
|
||||
"version": "2.2.0-beta4",
|
||||
"private": true,
|
||||
"decription": "a klipper web interface",
|
||||
"author": {
|
||||
@@ -56,6 +56,7 @@
|
||||
"vue-meta": "^2.4.0",
|
||||
"vue-observe-visibility": "^1.0.0",
|
||||
"vue-property-decorator": "^9.1.2",
|
||||
"vue-resize": "^1.0.1",
|
||||
"vue-toast-notification": "^0.6.1",
|
||||
"vuedraggable": "^2.24.3",
|
||||
"vuetify": "^2.6.1",
|
||||
|
||||
@@ -253,7 +253,7 @@ export default class TheEditor extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get title() {
|
||||
const title = `${this.filepath}/${this.filename}`
|
||||
const title = this.filepath ? `${this.filepath}/${this.filename}` : this.filename
|
||||
|
||||
if (!this.isWriteable) return `${title} (${this.$t('Editor.FileReadOnly')})`
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
ref="historyAllPrintStatus"
|
||||
v-observe-visibility="visibilityChanged"
|
||||
:option="chartOptions"
|
||||
:autoresize="true"
|
||||
:init-options="{ renderer: 'svg' }"
|
||||
style="height: 250px; width: 100%"></e-chart>
|
||||
</template>
|
||||
@@ -85,12 +86,6 @@ export default class HistoryAllPrintStatus extends Mixins(BaseMixin) {
|
||||
mounted() {
|
||||
this.chartOptions.series[0].data = this.printStatusArray
|
||||
this.chart?.setOption(this.chartOptions)
|
||||
|
||||
window.addEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
destroyed() {
|
||||
window.removeEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
beforeDestroy() {
|
||||
@@ -114,9 +109,5 @@ export default class HistoryAllPrintStatus extends Mixins(BaseMixin) {
|
||||
visibilityChanged(isVisible: boolean) {
|
||||
if (isVisible) this.chart?.resize()
|
||||
}
|
||||
|
||||
eventListenerResize() {
|
||||
this.chart?.resize()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -3,6 +3,7 @@
|
||||
ref="historyFilamentUsage"
|
||||
v-observe-visibility="visibilityChanged"
|
||||
:option="chartOptions"
|
||||
:autoresize="true"
|
||||
:init-options="{ renderer: 'svg' }"
|
||||
style="height: 175px; width: 100%"></e-chart>
|
||||
</template>
|
||||
@@ -115,12 +116,6 @@ export default class HistoryPrinttimeAvg extends Mixins(BaseMixin) {
|
||||
mounted() {
|
||||
this.chartOptions.series[0].data = this.filamentUsageArray
|
||||
this.chart?.setOption(this.chartOptions)
|
||||
|
||||
window.addEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
destroyed() {
|
||||
window.removeEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
beforeDestroy() {
|
||||
@@ -144,9 +139,5 @@ export default class HistoryPrinttimeAvg extends Mixins(BaseMixin) {
|
||||
visibilityChanged(isVisible: boolean) {
|
||||
if (isVisible) this.chart?.resize()
|
||||
}
|
||||
|
||||
eventListenerResize() {
|
||||
this.chart?.resize()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -101,12 +101,6 @@ export default class HistoryPrinttimeAvg extends Mixins(BaseMixin) {
|
||||
mounted() {
|
||||
this.chartOptions.series[0].data = this.printtimeAvgArray
|
||||
this.chart?.setOption(this.chartOptions)
|
||||
|
||||
window.addEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
destroyed() {
|
||||
window.removeEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
beforeDestroy() {
|
||||
@@ -130,9 +124,5 @@ export default class HistoryPrinttimeAvg extends Mixins(BaseMixin) {
|
||||
visibilityChanged(isVisible: boolean) {
|
||||
if (isVisible) this.chart?.resize()
|
||||
}
|
||||
|
||||
eventListenerResize() {
|
||||
this.chart?.resize()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -4,6 +4,7 @@
|
||||
v-observe-visibility="visibilityChanged"
|
||||
:option="chartOptions"
|
||||
:init-options="{ renderer: 'svg' }"
|
||||
:autoresize="true"
|
||||
style="height: 250px; width: 100%"></e-chart>
|
||||
</template>
|
||||
|
||||
@@ -47,7 +48,7 @@ export default class TempChart extends Mixins(BaseMixin) {
|
||||
fontSize: '14px',
|
||||
},
|
||||
padding: 15,
|
||||
formatter: this.tooltipFormater,
|
||||
formatter: this.tooltipFormatter,
|
||||
confine: true,
|
||||
className: 'echarts-tooltip',
|
||||
position: function (pos: any, params: any, dom: any, rect: any, size: any) {
|
||||
@@ -228,19 +229,11 @@ export default class TempChart extends Mixins(BaseMixin) {
|
||||
|
||||
mounted() {
|
||||
this.initChart()
|
||||
|
||||
window.addEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
beforeDestroy() {
|
||||
if (typeof window === 'undefined') return
|
||||
if (this.chart) this.chart.dispose()
|
||||
|
||||
window.removeEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
eventListenerResize() {
|
||||
this.chart?.resize()
|
||||
}
|
||||
|
||||
initChart() {
|
||||
@@ -297,21 +290,17 @@ export default class TempChart extends Mixins(BaseMixin) {
|
||||
}
|
||||
}
|
||||
|
||||
tooltipFormater(datasets: any) {
|
||||
tooltipFormatter(datasets: any) {
|
||||
let output = ''
|
||||
|
||||
const mainDatasets = datasets.filter((dataset: any) => {
|
||||
if (dataset.seriesName === 'date') return false
|
||||
if (dataset.seriesName.includes('-')) {
|
||||
if (dataset.seriesName.lastIndexOf('-') > -1) {
|
||||
const suffix = dataset.seriesName.slice(dataset.seriesName.lastIndexOf('-') + 1)
|
||||
return !['target', 'power'].includes(suffix)
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
const lastIndex = dataset.seriesName.lastIndexOf('-')
|
||||
if (lastIndex === -1) return true
|
||||
|
||||
return true
|
||||
const suffix = dataset.seriesName.slice(lastIndex + 1)
|
||||
return !['target', 'power', 'speed'].includes(suffix)
|
||||
})
|
||||
if (datasets.length) {
|
||||
let outputTime = datasets[0]['axisValueLabel']
|
||||
|
||||
@@ -53,6 +53,10 @@
|
||||
.disable-transition {
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
.gcode-viewer-panel {
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
@@ -219,6 +223,7 @@
|
||||
type="file"
|
||||
@change="fileSelected" />
|
||||
</v-card-text>
|
||||
<resize-observer @notify="handleResize" />
|
||||
</panel>
|
||||
<v-snackbar v-model="loading" :timeout="-1" :value="true" fixed right bottom dark>
|
||||
<div>
|
||||
@@ -276,6 +281,7 @@ import {
|
||||
mdiToggleSwitchOffOutline,
|
||||
mdiVideo3d,
|
||||
} from '@mdi/js'
|
||||
import { Debounce } from 'vue-debounce-decorator'
|
||||
|
||||
interface downloadSnackbar {
|
||||
status: boolean
|
||||
@@ -358,8 +364,6 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
viewer = this.$store.state.gcodeviewer?.viewerBackup ?? null
|
||||
|
||||
await this.init()
|
||||
|
||||
window.addEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
beforeDestroy() {
|
||||
@@ -368,12 +372,13 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
this.$store.dispatch('gcodeviewer/setLoadedFileBackup', this.loadedFile)
|
||||
this.$store.dispatch('gcodeviewer/setViewerBackup', viewer)
|
||||
}
|
||||
|
||||
window.removeEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
eventListenerResize() {
|
||||
viewer?.resize()
|
||||
@Debounce(200)
|
||||
handleResize() {
|
||||
this.$nextTick(() => {
|
||||
viewer?.resize()
|
||||
})
|
||||
}
|
||||
|
||||
get filePosition() {
|
||||
|
||||
@@ -261,7 +261,7 @@ export default class MiscellaneousSlider extends Mixins(BaseMixin) {
|
||||
|
||||
@Watch('target')
|
||||
targetChanged(newVal: number): void {
|
||||
this.value = newVal / this.max
|
||||
this.value = newVal
|
||||
}
|
||||
|
||||
@Watch('value')
|
||||
|
||||
@@ -23,18 +23,19 @@
|
||||
|
||||
<template>
|
||||
<div class="d-flex align-center">
|
||||
<v-text-field
|
||||
v-model="value"
|
||||
suffix="°C"
|
||||
type="number"
|
||||
dense
|
||||
outlined
|
||||
hide-details
|
||||
hide-spin-buttons
|
||||
class="_temp-input pr-1"
|
||||
@blur="value = target"
|
||||
@focus="$event.target.select()"
|
||||
@keyup.enter="setTemps"></v-text-field>
|
||||
<form @submit.prevent="setTemps">
|
||||
<v-text-field
|
||||
v-model="value"
|
||||
suffix="°C"
|
||||
type="number"
|
||||
dense
|
||||
outlined
|
||||
hide-details
|
||||
hide-spin-buttons
|
||||
class="_temp-input pr-1"
|
||||
@blur="value = target"
|
||||
@focus="$event.target.select()"></v-text-field>
|
||||
</form>
|
||||
<v-menu v-if="presets" :offset-y="true" left title="Preheat">
|
||||
<template #activator="{ on, attrs }">
|
||||
<v-btn
|
||||
|
||||
@@ -7,10 +7,6 @@ export default class ControlMixin extends Vue {
|
||||
return this.$store.state.printer?.gcode_move?.absolute_coordinates ?? true
|
||||
}
|
||||
|
||||
get homedAxes(): string {
|
||||
return this.$store.state.printer?.toolhead?.homed_axes ?? ''
|
||||
}
|
||||
|
||||
get enableXYHoming(): boolean {
|
||||
return this.$store.state.gui.control.enableXYHoming
|
||||
}
|
||||
@@ -63,6 +59,26 @@ export default class ControlMixin extends Vue {
|
||||
return this.$store.getters['gui/getDefaultControlActionButton']
|
||||
}
|
||||
|
||||
/**
|
||||
* Axes home states
|
||||
*/
|
||||
|
||||
get homedAxes(): string {
|
||||
return this.$store.state.printer?.toolhead?.homed_axes ?? ''
|
||||
}
|
||||
|
||||
get xAxisHomed(): boolean {
|
||||
return this.homedAxes.includes('x')
|
||||
}
|
||||
|
||||
get yAxisHomed(): boolean {
|
||||
return this.homedAxes.includes('y')
|
||||
}
|
||||
|
||||
get zAxisHomed(): boolean {
|
||||
return this.homedAxes.includes('z')
|
||||
}
|
||||
|
||||
doHome() {
|
||||
this.$store.dispatch('server/addEvent', { message: 'G28', type: 'command' })
|
||||
this.$socket.emit('printer.gcode.script', { script: 'G28' }, { loading: 'homeAll' })
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
import Vue from 'vue'
|
||||
import Component from 'vue-class-component'
|
||||
import {
|
||||
mdiAlbum,
|
||||
mdiCampfire,
|
||||
mdiDoor,
|
||||
mdiRadiatorDisabled,
|
||||
mdiPrinter3d,
|
||||
mdiPrinter3dNozzle,
|
||||
mdiRaspberryPi,
|
||||
mdiWebcam,
|
||||
} from '@mdi/js'
|
||||
|
||||
@Component
|
||||
export default class WebcamMixin extends Vue {
|
||||
convertWebcamIcon(iconName: string): string {
|
||||
switch (iconName) {
|
||||
case 'mdiAlbum':
|
||||
return mdiAlbum
|
||||
case 'mdiCampfire':
|
||||
return mdiCampfire
|
||||
case 'mdiDoor':
|
||||
return mdiDoor
|
||||
case 'mdiRadiatorDisabled':
|
||||
return mdiRadiatorDisabled
|
||||
case 'mdiPrinter3d':
|
||||
return mdiPrinter3d
|
||||
case 'mdiPrinter3dNozzle':
|
||||
return mdiPrinter3dNozzle
|
||||
case 'mdiRaspberryPi':
|
||||
return mdiRaspberryPi
|
||||
|
||||
default:
|
||||
return mdiWebcam
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<v-alert text :color="alertColor" border="left">
|
||||
<v-alert :class="`notification-menu-entry--priority-${entry.priority}`" text :color="alertColor" border="left">
|
||||
<v-row align="start">
|
||||
<v-col class="grow">
|
||||
<div class="notification-menu-entry__headline mb-1 text-subtitle-1">
|
||||
@@ -15,7 +15,9 @@
|
||||
<span :class="`${alertColor}--text`">{{ entry.title }}</span>
|
||||
</template>
|
||||
</div>
|
||||
<p class="text-body-2 mb-0 text--disabled font-weight-light" v-html="formatedText"></p>
|
||||
<p
|
||||
class="notification-menu-entry__description text-body-2 mb-0 text--disabled font-weight-light"
|
||||
v-html="formatedText"></p>
|
||||
</v-col>
|
||||
<v-col
|
||||
v-if="entry.priority !== 'critical'"
|
||||
@@ -117,7 +119,10 @@ export default class NotificationMenuEntry extends Mixins(BaseMixin) {
|
||||
declare readonly parentState: boolean
|
||||
|
||||
get formatedText() {
|
||||
return this.entry.description.replace(/\[([^\]]+)\]\(([^)]+)\)/, '<a href="$2" target="_blank">$1</a>')
|
||||
return this.entry.description.replace(
|
||||
/(\bhttps?:\/\/[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])/gim,
|
||||
'<a href="$1" target="_blank" class="' + this.alertColor + '--text">$1</a>'
|
||||
)
|
||||
}
|
||||
|
||||
get alertColor() {
|
||||
@@ -153,4 +158,12 @@ export default class NotificationMenuEntry extends Mixins(BaseMixin) {
|
||||
.notification-menu-entry__headline {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.notification-menu-entry__description {
|
||||
max-width: 292px;
|
||||
}
|
||||
|
||||
.notification-menu-entry--priority-critical .notification-menu-entry__description {
|
||||
max-width: 336px;
|
||||
}
|
||||
</style>
|
||||
Whitespace-only changes.
@@ -117,22 +117,17 @@
|
||||
<responsive :breakpoints="{ large: (el) => el.width >= 640 }">
|
||||
<template #default="{ el }">
|
||||
<!-- TOOL SELECTOR BUTTONS -->
|
||||
<v-container v-if="extruders.length > 1" class="pb-1">
|
||||
<v-container v-if="toolchangeMacros.length > 1" class="pb-1">
|
||||
<v-item-group class="_btn-group py-0">
|
||||
<v-btn
|
||||
v-for="extruder in extruders"
|
||||
:key="extruder.key"
|
||||
:class="extruder.key === activeExtruder ? 'primary--text' : {}"
|
||||
:value="extruder.key"
|
||||
v-for="tool in toolchangeMacros"
|
||||
:key="tool.name"
|
||||
:class="tool.active ? 'primary--text' : {}"
|
||||
:disabled="isPrinting"
|
||||
dense
|
||||
class="flex-grow-1 px-0"
|
||||
@click="activateExtruder(extruder.key)">
|
||||
{{
|
||||
toolchangeMacros.length === extruders.length
|
||||
? toolchangeMacros[extruders.indexOf(extruder)]
|
||||
: extruder.name
|
||||
}}
|
||||
@click="doSend(tool.name)">
|
||||
{{ tool.name }}
|
||||
</v-btn>
|
||||
</v-item-group>
|
||||
</v-container>
|
||||
@@ -367,8 +362,9 @@ import {
|
||||
mdiDotsVertical,
|
||||
} from '@mdi/js'
|
||||
import { Component, Mixins, Watch } from 'vue-property-decorator'
|
||||
import { PrinterStateExtruder } from '@/store/printer/types'
|
||||
import { PrinterStateExtruder, PrinterStateToolchangeMacro } from '@/store/printer/types'
|
||||
import BaseMixin from '../mixins/base'
|
||||
import ControlMixin from '../mixins/control'
|
||||
import NumberInput from '@/components/inputs/NumberInput.vue'
|
||||
import Panel from '@/components/ui/Panel.vue'
|
||||
import PressureAdvanceSettings from '@/components/panels/MachineSettings/PressureAdvanceSettings.vue'
|
||||
@@ -384,7 +380,7 @@ import ToolSlider from '@/components/inputs/ToolSlider.vue'
|
||||
ToolSlider,
|
||||
},
|
||||
})
|
||||
export default class ExtruderControlPanel extends Mixins(BaseMixin) {
|
||||
export default class ExtruderControlPanel extends Mixins(BaseMixin, ControlMixin) {
|
||||
mdiArrowUpBold = mdiArrowUpBold
|
||||
mdiArrowDownBold = mdiArrowDownBold
|
||||
mdiPrinter3dNozzle = mdiPrinter3dNozzle
|
||||
@@ -397,14 +393,8 @@ export default class ExtruderControlPanel extends Mixins(BaseMixin) {
|
||||
return ['printing'].includes(this.printer_state)
|
||||
}
|
||||
|
||||
get toolchangeMacros(): string[] {
|
||||
let tools: string[] = []
|
||||
for (let i = 0; i < this.extruders.length; i++) {
|
||||
this.$store.getters['printer/getMacros'].forEach((m: any) => {
|
||||
if (`T${i}`.includes(m.name.toUpperCase())) tools.push(`T${i}`)
|
||||
})
|
||||
}
|
||||
return tools
|
||||
get toolchangeMacros(): PrinterStateToolchangeMacro[] {
|
||||
return this.$store.getters['printer/getToolchangeMacros']
|
||||
}
|
||||
|
||||
get filamentChangeMacros(): boolean {
|
||||
@@ -512,22 +502,6 @@ export default class ExtruderControlPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
}
|
||||
|
||||
activateExtruder(extruder: string): void {
|
||||
/**
|
||||
* If toolchange macros in the form of T{n} are found, use those
|
||||
* otherwise use the regular 'ACTIVATE_EXTRUDER' Klipper command
|
||||
*/
|
||||
let gcode: string
|
||||
if (this.toolchangeMacros.length === this.extruders.length) {
|
||||
gcode = `T${this.extruders.findIndex((ex: any) => ex.key === extruder)}`
|
||||
} else {
|
||||
gcode = `ACTIVATE_EXTRUDER EXTRUDER=${extruder}`
|
||||
}
|
||||
|
||||
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
|
||||
this.$socket.emit('printer.gcode.script', { script: gcode })
|
||||
}
|
||||
|
||||
sendRetract(): void {
|
||||
const gcode = `M83\nG1 E-${this.feedamount} F${this.feedrate * 60}`
|
||||
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
|
||||
|
||||
@@ -1,33 +1,3 @@
|
||||
<style scoped>
|
||||
.v-card.disabledPrinter {
|
||||
opacity: 0.6;
|
||||
filter: grayscale(70%);
|
||||
}
|
||||
|
||||
.webcamContainer,
|
||||
.webcamContainer .vue-load-image,
|
||||
.webcamContainer > div,
|
||||
.webcamContainer img {
|
||||
position: absolute !important;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.webcamContainer img {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.webcamContainer .webcamFpsOutput {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.v-overlay {
|
||||
top: 48px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<panel
|
||||
:icon="mdiPrinter3d"
|
||||
@@ -48,20 +18,20 @@
|
||||
</template>
|
||||
<v-list dense class="py-0">
|
||||
<v-list-item link @click="currentCamId = 'off'">
|
||||
<v-list-item-icon class="mr-0">
|
||||
<v-icon small>{{ mdiWebcamOff }}</v-icon>
|
||||
<v-list-item-icon class="mr-2">
|
||||
<v-icon small class="mt-1">{{ mdiWebcamOff }}</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>{{ $t('Panels.FarmPrinterPanel.WebcamOff') }}</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
<v-list-item
|
||||
v-for="webcam of printer_webcams"
|
||||
v-for="webcam of supportedPrinterWebcams"
|
||||
:key="webcam.index"
|
||||
link
|
||||
@click="currentCamId = webcam.id">
|
||||
<v-list-item-icon class="mr-0">
|
||||
<v-icon small>{{ webcam.icon }}</v-icon>
|
||||
<v-list-item-icon class="mr-2">
|
||||
<v-icon small class="mt-1">{{ convertWebcamIcon(webcam.icon) }}</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title v-text="webcam.name"></v-list-item-title>
|
||||
@@ -75,21 +45,28 @@
|
||||
<div>
|
||||
<v-img ref="imageDiv" :height="imageHeight" :src="printer_image" class="d-flex align-end">
|
||||
<div
|
||||
v-if="printer.socket.isConnected && currentCamId !== 'off' && currentWebcam"
|
||||
v-if="
|
||||
printer.socket.isConnected &&
|
||||
currentCamId !== 'off' &&
|
||||
currentWebcam &&
|
||||
'service' in currentWebcam
|
||||
"
|
||||
class="webcamContainer">
|
||||
<template v-if="'service' in currentWebcam && currentWebcam.service === 'mjpegstreamer'">
|
||||
<webcam-mjpegstreamer
|
||||
:cam-settings="currentWebcam"
|
||||
:printer-url="printerUrl"
|
||||
:show-fps="false"></webcam-mjpegstreamer>
|
||||
</template>
|
||||
<template
|
||||
v-if="'service' in currentWebcam && currentWebcam.service === 'mjpegstreamer-adaptive'">
|
||||
<webcam-mjpegstreamer-adaptive
|
||||
:cam-settings="currentWebcam"
|
||||
:printer-url="printerUrl"
|
||||
:show-fps="false"></webcam-mjpegstreamer-adaptive>
|
||||
</template>
|
||||
<webcam-mjpegstreamer
|
||||
v-if="currentWebcam.service === 'mjpegstreamer'"
|
||||
:cam-settings="currentWebcam"
|
||||
:printer-url="printerUrl"
|
||||
:show-fps="false"></webcam-mjpegstreamer>
|
||||
<webcam-mjpegstreamer-adaptive
|
||||
v-else-if="currentWebcam.service === 'mjpegstreamer-adaptive'"
|
||||
:cam-settings="currentWebcam"
|
||||
:printer-url="printerUrl"
|
||||
:show-fps="false"></webcam-mjpegstreamer-adaptive>
|
||||
<webcam-uv4l-mjpeg
|
||||
v-else-if="currentWebcam.service === 'uv4l-mjpeg'"
|
||||
:cam-settings="currentWebcam"
|
||||
:printer-url="printerUrl"
|
||||
:show-fps="false"></webcam-uv4l-mjpeg>
|
||||
</div>
|
||||
<v-card-title
|
||||
class="white--text py-2"
|
||||
@@ -145,6 +122,7 @@
|
||||
</div>
|
||||
</template>
|
||||
</v-hover>
|
||||
<resize-observer @notify="handleResize" />
|
||||
</panel>
|
||||
</template>
|
||||
|
||||
@@ -154,19 +132,24 @@ import BaseMixin from '@/components/mixins/base'
|
||||
import { FarmPrinterState } from '@/store/farm/printer/types'
|
||||
import Mjpegstreamer from '@/components/webcams/Mjpegstreamer.vue'
|
||||
import MjpegstreamerAdaptive from '@/components/webcams/MjpegstreamerAdaptive.vue'
|
||||
import Uv4lMjpeg from '@/components/webcams/Uv4lMjpeg.vue'
|
||||
import MainsailLogo from '@/components/ui/MainsailLogo.vue'
|
||||
import Panel from '@/components/ui/Panel.vue'
|
||||
import { mdiPrinter3d, mdiWebcam, mdiMenuDown, mdiWebcamOff, mdiFileOutline } from '@mdi/js'
|
||||
import { Debounce } from 'vue-debounce-decorator'
|
||||
import { GuiWebcamStateWebcam } from '@/store/gui/webcams/types'
|
||||
import WebcamMixin from '@/components/mixins/webcam'
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
Panel,
|
||||
'webcam-mjpegstreamer': Mjpegstreamer,
|
||||
'webcam-mjpegstreamer-adaptive': MjpegstreamerAdaptive,
|
||||
'webcam-uv4l-mjpeg': Uv4lMjpeg,
|
||||
'mainsail-logo': MainsailLogo,
|
||||
},
|
||||
})
|
||||
export default class FarmPrinterPanel extends Mixins(BaseMixin) {
|
||||
export default class FarmPrinterPanel extends Mixins(BaseMixin, WebcamMixin) {
|
||||
mdiPrinter3d = mdiPrinter3d
|
||||
mdiWebcam = mdiWebcam
|
||||
mdiMenuDown = mdiMenuDown
|
||||
@@ -235,13 +218,19 @@ export default class FarmPrinterPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get showWebcamSwitch() {
|
||||
return this.printer.socket.isConnected && this.printer_webcams.length > 0
|
||||
return this.printer.socket.isConnected && this.supportedPrinterWebcams.length > 0
|
||||
}
|
||||
|
||||
get printer_webcams() {
|
||||
return this.$store.getters['farm/' + this.printer._namespace + '/getPrinterWebcams']
|
||||
}
|
||||
|
||||
get supportedPrinterWebcams() {
|
||||
return this.printer_webcams.filter((webcam: GuiWebcamStateWebcam) =>
|
||||
['mjpegstreamer', 'mjpegstreamer-adaptive', 'uv4l-mjpeg'].includes(webcam.service)
|
||||
)
|
||||
}
|
||||
|
||||
get currentWebcam() {
|
||||
const currentCam = this.printer_webcams.find((webcam: any) => webcam.id === this.currentCamId)
|
||||
if (currentCam) return currentCam
|
||||
@@ -255,18 +244,59 @@ export default class FarmPrinterPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
mounted() {
|
||||
window.addEventListener('resize', this.resize)
|
||||
this.resize()
|
||||
this.calcImageHeight()
|
||||
}
|
||||
|
||||
beforeDestroy() {
|
||||
window.removeEventListener('resize', this.resize)
|
||||
}
|
||||
|
||||
resize() {
|
||||
calcImageHeight() {
|
||||
if (this.imageDiv?.$el?.clientWidth) {
|
||||
this.imageHeight = Math.round((this.imageDiv.$el.clientWidth / 3) * 2)
|
||||
} else this.imageHeight = 200
|
||||
return
|
||||
}
|
||||
|
||||
this.imageHeight = 200
|
||||
}
|
||||
|
||||
@Debounce(200)
|
||||
handleResize() {
|
||||
this.$nextTick(() => {
|
||||
this.calcImageHeight()
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.v-card.disabledPrinter {
|
||||
opacity: 0.6;
|
||||
filter: grayscale(70%);
|
||||
}
|
||||
|
||||
.webcamContainer,
|
||||
.webcamContainer .vue-load-image,
|
||||
.webcamContainer > div,
|
||||
.webcamContainer img {
|
||||
position: absolute !important;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.webcamContainer img {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.webcamContainer .webcamFpsOutput {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.v-overlay {
|
||||
top: 48px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style>
|
||||
.farmprinter-panel {
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
@@ -396,7 +396,7 @@
|
||||
{{ $t('Files.Rename') }}
|
||||
</v-list-item>
|
||||
<v-list-item v-if="!contextMenu.item.isDirectory" @click="editFile(contextMenu.item)">
|
||||
<v-icon class="mr-1">{{ mdiPencil }}</v-icon>
|
||||
<v-icon class="mr-1">{{ mdiFileDocumentEditOutline }}</v-icon>
|
||||
{{ $t('Files.EditFile') }}
|
||||
</v-list-item>
|
||||
<v-list-item v-if="!contextMenu.item.isDirectory" @click="renameFile(contextMenu.item)">
|
||||
@@ -561,7 +561,7 @@ import {
|
||||
mdiRenameBox,
|
||||
mdiUpload,
|
||||
mdiVideo3d,
|
||||
mdiPencil,
|
||||
mdiFileDocumentEditOutline,
|
||||
} from '@mdi/js'
|
||||
import StartPrintDialog from '@/components/dialogs/StartPrintDialog.vue'
|
||||
|
||||
@@ -609,7 +609,7 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
mdiVideo3d = mdiVideo3d
|
||||
mdiCloudDownload = mdiCloudDownload
|
||||
mdiRenameBox = mdiRenameBox
|
||||
mdiPencil = mdiPencil
|
||||
mdiFileDocumentEditOutline = mdiFileDocumentEditOutline
|
||||
mdiDelete = mdiDelete
|
||||
mdiCloseThick = mdiCloseThick
|
||||
mdiCheckboxBlankOutline = mdiCheckboxBlankOutline
|
||||
@@ -1126,14 +1126,6 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
})
|
||||
}
|
||||
|
||||
created() {
|
||||
this.$socket.emit(
|
||||
'server.files.get_directory',
|
||||
{ path: 'gcodes/' + this.currentPath },
|
||||
{ action: 'files/getDirectory' }
|
||||
)
|
||||
}
|
||||
|
||||
clickRow(item: FileStateGcodefile, force = false) {
|
||||
if (!this.contextMenu.shown || force) {
|
||||
if (force) this.contextMenu.shown = false
|
||||
@@ -1152,9 +1144,8 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
addToQueue(item: FileStateGcodefile | FileStateFile) {
|
||||
let path = this.currentPath.slice(7)
|
||||
if (path != '') path += '/'
|
||||
const filename = path + item.filename
|
||||
let filename = [this.currentPath, item.filename].join('/')
|
||||
if (filename.startsWith('/')) filename = filename.slice(1)
|
||||
|
||||
this.$store.dispatch('server/jobQueue/addToQueue', [filename])
|
||||
}
|
||||
|
||||
@@ -99,6 +99,7 @@
|
||||
</tr>
|
||||
</template>
|
||||
</v-data-table>
|
||||
<resize-observer @notify="handleResize" />
|
||||
</panel>
|
||||
<v-menu v-model="contextMenu.shown" :position-x="contextMenu.x" :position-y="contextMenu.y" absolute offset-y>
|
||||
<v-list>
|
||||
@@ -219,16 +220,23 @@ export default class JobqueuePanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
mounted() {
|
||||
window.addEventListener('resize', this.eventListenerResize)
|
||||
this.eventListenerResize()
|
||||
this.calcContentTdWidth()
|
||||
}
|
||||
|
||||
destroyed() {
|
||||
window.removeEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
eventListenerResize() {
|
||||
calcContentTdWidth() {
|
||||
this.contentTdWidth = this.$refs.jobqueuePanel?.$el?.clientWidth - 48 - 32
|
||||
}
|
||||
|
||||
handleResize() {
|
||||
this.$nextTick(() => {
|
||||
this.calcContentTdWidth()
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.jobqueue-panel {
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
@@ -1,7 +1,5 @@
|
||||
<style lang="scss" scoped></style>
|
||||
|
||||
<template>
|
||||
<v-card ref="filesGcodeCard" flat>
|
||||
<v-card ref="filesGcodeCard" class="filesGcodeCard" flat>
|
||||
<v-data-table
|
||||
:items="gcodeFiles"
|
||||
hide-default-footer
|
||||
@@ -77,6 +75,7 @@
|
||||
</tr>
|
||||
</template>
|
||||
</v-data-table>
|
||||
<resize-observer @notify="handleResize" />
|
||||
<start-print-dialog
|
||||
:bool="showDialogBool"
|
||||
:file="dialogFile"
|
||||
@@ -113,7 +112,7 @@
|
||||
{{ $t('Files.Download') }}
|
||||
</v-list-item>
|
||||
<v-list-item @click="editFile(contextMenu.item)">
|
||||
<v-icon class="mr-1">{{ mdiPencil }}</v-icon>
|
||||
<v-icon class="mr-1">{{ mdiFileDocumentEditOutline }}</v-icon>
|
||||
{{ $t('Files.EditFile') }}
|
||||
</v-list-item>
|
||||
<v-list-item @click="renameFile(contextMenu.item)">
|
||||
@@ -167,7 +166,7 @@ import {
|
||||
mdiFire,
|
||||
mdiVideo3d,
|
||||
mdiCloudDownload,
|
||||
mdiPencil,
|
||||
mdiFileDocumentEditOutline,
|
||||
mdiRenameBox,
|
||||
mdiDelete,
|
||||
mdiCloseThick,
|
||||
@@ -191,7 +190,7 @@ export default class StatusPanelGcodefiles extends Mixins(BaseMixin) {
|
||||
mdiFire = mdiFire
|
||||
mdiVideo3d = mdiVideo3d
|
||||
mdiCloudDownload = mdiCloudDownload
|
||||
mdiPencil = mdiPencil
|
||||
mdiFileDocumentEditOutline = mdiFileDocumentEditOutline
|
||||
mdiRenameBox = mdiRenameBox
|
||||
mdiDelete = mdiDelete
|
||||
mdiCloseThick = mdiCloseThick
|
||||
@@ -458,16 +457,23 @@ export default class StatusPanelGcodefiles extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
mounted() {
|
||||
window.addEventListener('resize', this.eventListenerResize)
|
||||
this.eventListenerResize()
|
||||
this.calcContentTdWidth()
|
||||
}
|
||||
|
||||
destroyed() {
|
||||
window.removeEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
eventListenerResize() {
|
||||
calcContentTdWidth() {
|
||||
this.contentTdWidth = this.$refs.filesGcodeCard?.$el?.clientWidth - 48 - 48 - 32
|
||||
}
|
||||
|
||||
handleResize() {
|
||||
this.$nextTick(() => {
|
||||
this.calcContentTdWidth()
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.filesGcodeCard {
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
@@ -1,7 +1,5 @@
|
||||
<style lang="scss" scoped></style>
|
||||
|
||||
<template>
|
||||
<v-card ref="filesJobqueue" flat>
|
||||
<v-card ref="filesJobqueue" class="filesJobqueue" flat>
|
||||
<v-data-table
|
||||
:items="jobsTable"
|
||||
hide-default-footer
|
||||
@@ -59,7 +57,7 @@
|
||||
</template>
|
||||
</td>
|
||||
<td class="pr-2">
|
||||
<template v-if="item.isFirst">
|
||||
<template v-if="item.isFirst && !printerIsPrinting">
|
||||
<v-btn icon color="success" class="float-right minwidth-0 mt-1" @click="startJobqueue">
|
||||
<v-icon>{{ mdiPlay }}</v-icon>
|
||||
</v-btn>
|
||||
@@ -86,6 +84,7 @@
|
||||
</tr>
|
||||
</template>
|
||||
</v-data-table>
|
||||
<resize-observer @notify="handleResize" />
|
||||
<v-menu v-model="contextMenu.shown" :position-x="contextMenu.x" :position-y="contextMenu.y" absolute offset-y>
|
||||
<v-list>
|
||||
<v-list-item @click="removeFromJobqueue(contextMenu.item)">
|
||||
@@ -255,16 +254,23 @@ export default class StatusPanelJobqueue extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
mounted() {
|
||||
window.addEventListener('resize', this.eventListenerResize)
|
||||
this.eventListenerResize()
|
||||
this.calcContentTdWidth()
|
||||
}
|
||||
|
||||
destroyed() {
|
||||
window.removeEventListener('resize', this.eventListenerResize)
|
||||
}
|
||||
|
||||
eventListenerResize() {
|
||||
calcContentTdWidth() {
|
||||
this.contentTdWidth = this.$refs.filesJobqueue?.$el?.clientWidth - 48 - 48 - 32
|
||||
}
|
||||
|
||||
handleResize() {
|
||||
this.$nextTick(() => {
|
||||
this.calcContentTdWidth()
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.filesJobqueue {
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
@@ -1,11 +1,5 @@
|
||||
<style lang="scss" scoped>
|
||||
.statusPanel-big-thumbnail {
|
||||
transition: height 0.25s ease-out;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<div v-if="current_filename">
|
||||
<div v-if="current_filename" class="statusPanel-printstatus-thumbnail">
|
||||
<v-img
|
||||
v-if="boolBigThumbnail"
|
||||
ref="bigThumbnail"
|
||||
@@ -75,6 +69,7 @@
|
||||
</v-row>
|
||||
</v-container>
|
||||
</template>
|
||||
<resize-observer @notify="handleResize" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -84,6 +79,7 @@ import { Mixins } from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import { thumbnailBigMin, thumbnailSmallMax, thumbnailSmallMin } from '@/store/variables'
|
||||
import { mdiFileOutline, mdiFile } from '@mdi/js'
|
||||
import { Debounce } from 'vue-debounce-decorator'
|
||||
|
||||
@Component({
|
||||
components: {},
|
||||
@@ -198,17 +194,22 @@ export default class StatusPanelPrintstatusThumbnail extends Mixins(BaseMixin) {
|
||||
}
|
||||
}
|
||||
|
||||
created() {
|
||||
window.addEventListener('resize', this.onResize)
|
||||
}
|
||||
|
||||
destroyed() {
|
||||
window.removeEventListener('resize', this.onResize)
|
||||
}
|
||||
|
||||
onResize() {
|
||||
const isFocused = document.activeElement === this.$refs.bigThumbnail?.$el
|
||||
if (isFocused) this.focusBigThumbnail()
|
||||
@Debounce(200)
|
||||
handleResize() {
|
||||
this.$nextTick(() => {
|
||||
const isFocused = document.activeElement === this.$refs.bigThumbnail?.$el
|
||||
if (isFocused) this.focusBigThumbnail()
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.statusPanel-big-thumbnail {
|
||||
transition: height 0.25s ease-out;
|
||||
}
|
||||
|
||||
.statusPanel-printstatus-thumbnail {
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
@@ -122,13 +122,13 @@ export default class StatusPanel extends Mixins(BaseMixin) {
|
||||
mdiCloseCircle = mdiCloseCircle
|
||||
|
||||
private boolShowObjects = false
|
||||
private boolFirstLoad = true
|
||||
|
||||
declare $refs: {
|
||||
bigThumbnail: any
|
||||
}
|
||||
|
||||
private activeTab = 'files'
|
||||
private lastFilename = ''
|
||||
|
||||
get jobs() {
|
||||
return this.$store.getters['server/jobQueue/getJobs']
|
||||
@@ -241,11 +241,10 @@ export default class StatusPanel extends Mixins(BaseMixin) {
|
||||
|
||||
@Watch('current_filename')
|
||||
current_filenameChanged(newVal: string) {
|
||||
if (this.current_filename === '' && newVal !== '') this.activeTab = 'status'
|
||||
if (this.boolFirstLoad && newVal !== '') {
|
||||
this.boolFirstLoad = false
|
||||
this.activeTab = 'status'
|
||||
}
|
||||
if (newVal === '') this.activeTab = 'files'
|
||||
else if (this.lastFilename !== newVal) this.activeTab = 'status'
|
||||
|
||||
this.lastFilename = newVal
|
||||
}
|
||||
|
||||
clearDisplayMessage() {
|
||||
|
||||
@@ -155,7 +155,7 @@
|
||||
</span>
|
||||
</div>
|
||||
<div v-if="object.rpm !== null">
|
||||
<small :class="object.rpmClass">{{ object.rpm }}</small>
|
||||
<small :class="object.rpmClass">{{ object.rpm }} RPM</small>
|
||||
</div>
|
||||
</td>
|
||||
<td class="target">
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#buttons>
|
||||
<v-menu left offset-y :close-on-content-click="false" class="pa-0">
|
||||
<template #activator="{ on, attrs }">
|
||||
<v-btn icon tile v-bind="attrs" v-on="on">
|
||||
<v-btn icon tile v-bind="attrs" :disabled="['printing'].includes(printer_state)" v-on="on">
|
||||
<v-icon>{{ mdiDotsVertical }}</v-icon>
|
||||
</v-btn>
|
||||
</template>
|
||||
|
||||
@@ -376,8 +376,6 @@ export default class CrossControl extends Mixins(BaseMixin, ControlMixin) {
|
||||
mdiEngineOff = mdiEngineOff
|
||||
mdiHome = mdiHome
|
||||
|
||||
private stepSize = this.stepsReversed[this.selectedCrossStep]
|
||||
|
||||
get actionButton(): string {
|
||||
return this.$store.state.gui.control.actionButton ?? this.defaultActionButton
|
||||
}
|
||||
@@ -393,6 +391,10 @@ export default class CrossControl extends Mixins(BaseMixin, ControlMixin) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.selectedCrossStep', value: newVal })
|
||||
}
|
||||
|
||||
get stepSize(): number {
|
||||
return this.stepsReversed[this.selectedCrossStep]
|
||||
}
|
||||
|
||||
/**
|
||||
* Axes reverse states
|
||||
*/
|
||||
@@ -415,20 +417,5 @@ export default class CrossControl extends Mixins(BaseMixin, ControlMixin) {
|
||||
get stepsReversed() {
|
||||
return Array.from(new Set([...(this.stepsAll ?? [])])).sort((a, b) => a - b)
|
||||
}
|
||||
|
||||
/**
|
||||
* Axes home states
|
||||
*/
|
||||
get xAxisHomed(): boolean {
|
||||
return this.$store.state.printer.toolhead?.homed_axes.includes('x') ?? false
|
||||
}
|
||||
|
||||
get yAxisHomed(): boolean {
|
||||
return this.$store.state.printer.toolhead?.homed_axes.includes('y') ?? false
|
||||
}
|
||||
|
||||
get zAxisHomed(): boolean {
|
||||
return this.$store.state.printer.toolhead?.homed_axes.includes('z') ?? false
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -97,21 +97,6 @@ export default class MoveToControl extends Mixins(BaseMixin, ControlMixin) {
|
||||
this.input.z.pos = newVal
|
||||
}
|
||||
|
||||
/**
|
||||
* Axes home states
|
||||
*/
|
||||
get xAxisHomed(): boolean {
|
||||
return this.$store.state.printer.toolhead?.homed_axes.includes('x') ?? false
|
||||
}
|
||||
|
||||
get yAxisHomed(): boolean {
|
||||
return this.$store.state.printer.toolhead?.homed_axes.includes('y') ?? false
|
||||
}
|
||||
|
||||
get zAxisHomed(): boolean {
|
||||
return this.$store.state.printer.toolhead?.homed_axes.includes('z') ?? false
|
||||
}
|
||||
|
||||
/**
|
||||
* Axis limits
|
||||
*/
|
||||
|
||||
@@ -11,23 +11,25 @@
|
||||
<v-menu :offset-y="true" title="Webcam">
|
||||
<template #activator="{ on, attrs }">
|
||||
<v-btn text tile v-bind="attrs" v-on="on">
|
||||
<v-icon v-if="'icon' in currentCam" small class="mr-2">{{ currentCam.icon }}</v-icon>
|
||||
<v-icon v-if="'icon' in currentCam" small class="mr-2">
|
||||
{{ convertWebcamIcon(currentCam.icon) }}
|
||||
</v-icon>
|
||||
<span class="d-none d-md-block">{{ 'name' in currentCam ? currentCam.name : 'unknown' }}</span>
|
||||
<v-icon small>{{ mdiMenuDown }}</v-icon>
|
||||
</v-btn>
|
||||
</template>
|
||||
<v-list dense class="py-0">
|
||||
<v-list-item link @click="currentCamId = 'all'">
|
||||
<v-list-item-icon class="mr-0">
|
||||
<v-icon small>{{ mdiViewGrid }}</v-icon>
|
||||
<v-list-item-icon class="mr-2">
|
||||
<v-icon small class="mt-1">{{ mdiViewGrid }}</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>{{ $t('Panels.WebcamPanel.All') }}</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
<v-list-item v-for="webcam of webcams" :key="webcam.id" link @click="currentCamId = webcam.id">
|
||||
<v-list-item-icon class="mr-0">
|
||||
<v-icon small>{{ webcam.icon }}</v-icon>
|
||||
<v-list-item-icon class="mr-2">
|
||||
<v-icon small class="mt-1">{{ convertWebcamIcon(webcam.icon) }}</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title v-text="webcam.name"></v-list-item-title>
|
||||
@@ -78,6 +80,7 @@ import BaseMixin from '../mixins/base'
|
||||
import Panel from '@/components/ui/Panel.vue'
|
||||
import { GuiWebcamStateWebcam } from '@/store/gui/webcams/types'
|
||||
import { mdiMenuDown, mdiViewGrid, mdiWebcam } from '@mdi/js'
|
||||
import WebcamMixin from '@/components/mixins/webcam'
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
@@ -89,7 +92,7 @@ import { mdiMenuDown, mdiViewGrid, mdiWebcam } from '@mdi/js'
|
||||
'webcam-grid': WebcamGrid,
|
||||
},
|
||||
})
|
||||
export default class WebcamPanel extends Mixins(BaseMixin) {
|
||||
export default class WebcamPanel extends Mixins(BaseMixin, WebcamMixin) {
|
||||
@Prop({ default: 'dashboard' }) declare currentPage?: string
|
||||
|
||||
mdiWebcam = mdiWebcam
|
||||
|
||||
@@ -6,7 +6,13 @@
|
||||
<v-card-text>
|
||||
<v-form ref="formControlExtruder">
|
||||
<!-- TOOLHEAD CONTROL SETTINGS -->
|
||||
<v-card-title class="mx-n4">{{ $t('Panels.ToolheadControlPanel.Headline') }}</v-card-title>
|
||||
<div class="d-flex align-center">
|
||||
<v-icon style="opacity: 0.7">{{ mdiGamepad }}</v-icon>
|
||||
<v-card-title class="mx-n2">
|
||||
{{ $t('Panels.ToolheadControlPanel.Headline') }}
|
||||
</v-card-title>
|
||||
<v-divider class="ml-3"></v-divider>
|
||||
</div>
|
||||
<settings-row :title="$t('Settings.ControlTab.Style').toString()">
|
||||
<v-select
|
||||
v-model="controlStyle"
|
||||
@@ -201,8 +207,6 @@
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
</template>
|
||||
<!-- EXTRUDER CONTROL SETTINGS -->
|
||||
<v-card-title class="mx-n4">{{ $t('Panels.ExtruderControlPanel.Headline') }}</v-card-title>
|
||||
<settings-row
|
||||
:title="$t('Settings.ControlTab.ZOffsetIncrements').toString()"
|
||||
:mobile-second-row="true">
|
||||
@@ -225,9 +229,14 @@
|
||||
outlined
|
||||
hide-spin-buttons />
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<!-- EXTRUDER CONTROL SETTINGS -->
|
||||
<v-card-title class="mx-n4">{{ $t('Panels.ExtruderControlPanel.Headline') }}</v-card-title>
|
||||
<div class="d-flex align-center">
|
||||
<v-icon style="opacity: 0.7">{{ mdiPrinter3dNozzle }}</v-icon>
|
||||
<v-card-title class="mx-n2">
|
||||
{{ $t('Panels.ExtruderControlPanel.Headline') }}
|
||||
</v-card-title>
|
||||
<v-divider class="ml-3"></v-divider>
|
||||
</div>
|
||||
<settings-row
|
||||
:title="$t('Settings.ControlTab.MoveDistancesEInMm').toString()"
|
||||
:mobile-second-row="true">
|
||||
@@ -271,6 +280,7 @@
|
||||
outlined
|
||||
hide-spin-buttons></v-combobox>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row
|
||||
:title="$t('Settings.ControlTab.EstimatedExtrusionInfo').toString()"
|
||||
:sub-title="$t('Settings.ControlTab.EstimatedExtrusionInfoDescription').toString()"
|
||||
@@ -288,11 +298,15 @@ import { Component, Mixins } from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import ControlMixin from '@/components/mixins/control'
|
||||
import SettingsRow from '@/components/settings/SettingsRow.vue'
|
||||
import { mdiPrinter3dNozzle, mdiGamepad } from '@mdi/js'
|
||||
|
||||
@Component({
|
||||
components: { SettingsRow },
|
||||
})
|
||||
export default class SettingsControlTab extends Mixins(BaseMixin, ControlMixin) {
|
||||
mdiGamepad = mdiGamepad
|
||||
mdiPrinter3dNozzle = mdiPrinter3dNozzle
|
||||
|
||||
declare $refs: {
|
||||
formControlExtruder: HTMLFormElement
|
||||
}
|
||||
|
||||
@@ -32,7 +32,10 @@
|
||||
<h3 class="text-h5 mb-3">{{ $t('Settings.WebcamsTab.Webcams') }}</h3>
|
||||
<div v-for="webcam in webcams" :key="webcam.id">
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="webcam.name" :icon="webcam.icon" :sub-title="getSubtitle(webcam)">
|
||||
<settings-row
|
||||
:title="webcam.name"
|
||||
:icon="convertWebcamIcon(webcam.icon)"
|
||||
:sub-title="getSubtitle(webcam)">
|
||||
<v-btn small outlined @click="editWebcam(webcam)">
|
||||
<v-icon small left>{{ mdiPencil }}</v-icon>
|
||||
{{ $t('Settings.Edit') }}
|
||||
@@ -76,7 +79,7 @@
|
||||
v-on="on"
|
||||
@blur="selectIcon = !selectIcon"
|
||||
@focus="selectIcon = !selectIcon">
|
||||
<v-icon>{{ form.icon }}</v-icon>
|
||||
<v-icon>{{ convertWebcamIcon(form.icon) }}</v-icon>
|
||||
<v-icon
|
||||
:class="!selectIcon ? '' : '_rotate-180'"
|
||||
:color="!selectIcon ? '' : 'primary'"
|
||||
@@ -91,8 +94,10 @@
|
||||
:key="icon.value"
|
||||
link
|
||||
@click="setFormIcon(icon.value)">
|
||||
<v-list-item-icon class="mr-0">
|
||||
<v-icon small>{{ icon.value }}</v-icon>
|
||||
<v-list-item-icon class="mr-2">
|
||||
<v-icon small class="mt-1">
|
||||
{{ convertWebcamIcon(icon.value) }}
|
||||
</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title v-text="icon.text"></v-list-item-title>
|
||||
@@ -224,19 +229,8 @@ import Mjpegstreamer from '@/components/webcams/Mjpegstreamer.vue'
|
||||
import MjpegstreamerAdaptive from '@/components/webcams/MjpegstreamerAdaptive.vue'
|
||||
import Uv4lMjpeg from '@/components/webcams/Uv4lMjpeg.vue'
|
||||
import Ipstreamer from '@/components/webcams/Ipstreamer.vue'
|
||||
import {
|
||||
mdiAlbum,
|
||||
mdiCampfire,
|
||||
mdiDoor,
|
||||
mdiMenuDown,
|
||||
mdiDelete,
|
||||
mdiPencil,
|
||||
mdiPrinter3d,
|
||||
mdiPrinter3dNozzle,
|
||||
mdiRadiatorDisabled,
|
||||
mdiRaspberryPi,
|
||||
mdiWebcam,
|
||||
} from '@mdi/js'
|
||||
import { mdiMenuDown, mdiDelete, mdiPencil, mdiWebcam } from '@mdi/js'
|
||||
import WebcamMixin from '@/components/mixins/webcam'
|
||||
|
||||
interface webcamForm {
|
||||
bool: boolean
|
||||
@@ -261,7 +255,7 @@ interface webcamForm {
|
||||
'webcam-ipstreamer': Ipstreamer,
|
||||
},
|
||||
})
|
||||
export default class SettingsWebcamsTab extends Mixins(BaseMixin) {
|
||||
export default class SettingsWebcamsTab extends Mixins(BaseMixin, WebcamMixin) {
|
||||
mdiPencil = mdiPencil
|
||||
mdiDelete = mdiDelete
|
||||
mdiMenuDown = mdiMenuDown
|
||||
@@ -297,14 +291,14 @@ export default class SettingsWebcamsTab extends Mixins(BaseMixin) {
|
||||
|
||||
get iconItems() {
|
||||
return [
|
||||
{ value: mdiPrinter3d, text: this.$t('Settings.WebcamsTab.IconPrinter') },
|
||||
{ value: mdiPrinter3dNozzle, text: this.$t('Settings.WebcamsTab.IconNozzle') },
|
||||
{ value: mdiRadiatorDisabled, text: this.$t('Settings.WebcamsTab.IconBed') },
|
||||
{ value: mdiWebcam, text: this.$t('Settings.WebcamsTab.IconCam') },
|
||||
{ value: mdiAlbum, text: this.$t('Settings.WebcamsTab.IconFilament') },
|
||||
{ value: mdiDoor, text: this.$t('Settings.WebcamsTab.IconDoor') },
|
||||
{ value: mdiRaspberryPi, text: this.$t('Settings.WebcamsTab.IconMcu') },
|
||||
{ value: mdiCampfire, text: this.$t('Settings.WebcamsTab.IconHot') },
|
||||
{ value: 'mdiPrinter3d', text: this.$t('Settings.WebcamsTab.IconPrinter') },
|
||||
{ value: 'mdiPrinter3dNozzle', text: this.$t('Settings.WebcamsTab.IconNozzle') },
|
||||
{ value: 'mdiRadiatorDisabled', text: this.$t('Settings.WebcamsTab.IconBed') },
|
||||
{ value: 'mdiWebcam', text: this.$t('Settings.WebcamsTab.IconCam') },
|
||||
{ value: 'mdiAlbum', text: this.$t('Settings.WebcamsTab.IconFilament') },
|
||||
{ value: 'mdiDoor', text: this.$t('Settings.WebcamsTab.IconDoor') },
|
||||
{ value: 'mdiRaspberryPi', text: this.$t('Settings.WebcamsTab.IconMcu') },
|
||||
{ value: 'mdiCampfire', text: this.$t('Settings.WebcamsTab.IconHot') },
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<style>
|
||||
.webcamImage {
|
||||
width: 100%;
|
||||
background: lightgray;
|
||||
}
|
||||
|
||||
.webcamFpsOutput {
|
||||
@@ -15,8 +16,13 @@
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<div v-observe-visibility="visibilityChanged" style="position: relative">
|
||||
<img ref="image" class="webcamImage" :style="webcamStyle" />
|
||||
<div style="position: relative">
|
||||
<img
|
||||
ref="image"
|
||||
v-observe-visibility="visibilityChanged"
|
||||
class="webcamImage"
|
||||
:style="webcamStyle"
|
||||
@load="onload" />
|
||||
<span v-if="showFps" class="webcamFpsOutput">{{ $t('Panels.WebcamPanel.FPS') }}: {{ fpsOutput }}</span>
|
||||
</div>
|
||||
</template>
|
||||
@@ -31,8 +37,9 @@ const TYPE_JPEG = 'image/jpeg'
|
||||
|
||||
@Component
|
||||
export default class Mjpegstreamer extends Mixins(BaseMixin) {
|
||||
private isVisible = true
|
||||
private currentFPS = 0
|
||||
private streamState = false
|
||||
private aspectRatio: null | number = null
|
||||
private timerFPS: number | null = null
|
||||
private timerRestart: number | null = null
|
||||
private stream: ReadableStream | null = null
|
||||
@@ -59,12 +66,19 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get webcamStyle() {
|
||||
const output = {
|
||||
transform: 'none',
|
||||
aspectRatio: 16 / 9,
|
||||
}
|
||||
|
||||
let transforms = ''
|
||||
if ('flipX' in this.camSettings && this.camSettings.flipX) transforms += ' scaleX(-1)'
|
||||
if ('flipX' in this.camSettings && this.camSettings.flipY) transforms += ' scaleY(-1)'
|
||||
if (transforms.trimLeft().length) return { transform: transforms.trimLeft() }
|
||||
if (transforms.trimStart().length) output.transform = transforms.trimStart()
|
||||
|
||||
return ''
|
||||
if (this.aspectRatio) output.aspectRatio = this.aspectRatio
|
||||
|
||||
return output
|
||||
}
|
||||
|
||||
get fpsOutput() {
|
||||
@@ -72,6 +86,8 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
startStream() {
|
||||
this.streamState = true
|
||||
|
||||
const SOI = new Uint8Array(2)
|
||||
SOI[0] = 0xff
|
||||
SOI[1] = 0xd8
|
||||
@@ -92,7 +108,7 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
|
||||
const { signal } = this.controller
|
||||
|
||||
//readable stream credit to from https://github.com/aruntj/mjpeg-readable-stream
|
||||
fetch(this.url, { signal })
|
||||
fetch(this.url, { signal, mode: 'cors' })
|
||||
.then((response) => response.body)
|
||||
.then((rb) => {
|
||||
const reader = rb?.getReader()
|
||||
@@ -117,10 +133,8 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
|
||||
|
||||
this.stream = new ReadableStream({
|
||||
start(controller) {
|
||||
return pump()
|
||||
|
||||
// The following function handles each data chunk
|
||||
function pump(): any {
|
||||
const pump = (): any => {
|
||||
// "done" is a Boolean and value a "Uint8Array"
|
||||
return reader?.read().then(({ done, value }) => {
|
||||
// If there is no more data to read
|
||||
@@ -149,7 +163,12 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
|
||||
}
|
||||
// we're done reading the jpeg. Time to render it.
|
||||
else {
|
||||
img.src = URL.createObjectURL(new Blob([imageBuffer], { type: TYPE_JPEG }))
|
||||
if (img) {
|
||||
img.src = URL.createObjectURL(
|
||||
new Blob([imageBuffer], { type: TYPE_JPEG })
|
||||
)
|
||||
img.onload = () => URL.revokeObjectURL(img.src)
|
||||
}
|
||||
frames++
|
||||
contentLength = 0
|
||||
bytesRead = 0
|
||||
@@ -161,26 +180,26 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
|
||||
return pump()
|
||||
})
|
||||
}
|
||||
|
||||
return pump()
|
||||
},
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
visibilityChanged(isVisible: boolean) {
|
||||
this.isVisible = isVisible
|
||||
|
||||
if (isVisible) {
|
||||
this.startStream()
|
||||
} else {
|
||||
this.stopStream()
|
||||
}
|
||||
mounted() {
|
||||
document.addEventListener('visibilitychange', this.documentVisibilityChanged)
|
||||
this.startStream()
|
||||
}
|
||||
|
||||
beforeDestroy() {
|
||||
document.removeEventListener('visibilitychange', this.documentVisibilityChanged)
|
||||
this.stopStream()
|
||||
}
|
||||
|
||||
stopStream() {
|
||||
this.streamState = false
|
||||
URL.revokeObjectURL(this.url)
|
||||
if (this.timerFPS) clearTimeout(this.timerFPS)
|
||||
if (this.timerRestart) clearTimeout(this.timerRestart)
|
||||
this.controller?.abort()
|
||||
@@ -194,7 +213,32 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
|
||||
|
||||
@Watch('url')
|
||||
urlChanged() {
|
||||
this.aspectRatio = null
|
||||
this.restartStream()
|
||||
}
|
||||
|
||||
// this function check if you changed the browser tab
|
||||
documentVisibilityChanged() {
|
||||
const visibility = document.visibilityState
|
||||
this.visibilityChanged(visibility === 'visible')
|
||||
}
|
||||
|
||||
// this function is to stop the stream, on scroll or on collapse the webcam panel
|
||||
visibilityChanged(newVal: boolean) {
|
||||
if (newVal && this.streamState) return
|
||||
|
||||
if (newVal) {
|
||||
this.startStream()
|
||||
return
|
||||
}
|
||||
|
||||
this.stopStream()
|
||||
}
|
||||
|
||||
onload() {
|
||||
if (this.aspectRatio === null && this.$refs.image) {
|
||||
this.aspectRatio = this.$refs.image.naturalWidth / this.$refs.image.naturalHeight
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -11,12 +11,13 @@
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<div v-observe-visibility="visibilityChanged" style="position: relative">
|
||||
<div style="position: relative">
|
||||
<div v-if="!isLoaded" class="text-center py-5">
|
||||
<v-progress-circular indeterminate color="primary"></v-progress-circular>
|
||||
</div>
|
||||
<canvas
|
||||
ref="mjpegstreamerAdaptive"
|
||||
v-observe-visibility="visibilityChanged"
|
||||
width="600"
|
||||
height="400"
|
||||
:style="webcamStyle"
|
||||
@@ -46,6 +47,7 @@ export default class MjpegstreamerAdaptive extends Mixins(BaseMixin) {
|
||||
private time_smoothing = 0.6
|
||||
private request_time_smoothing = 0.1
|
||||
private currentFPS = 0
|
||||
private aspectRatio: null | number = null
|
||||
|
||||
declare $refs: {
|
||||
mjpegstreamerAdaptive: any
|
||||
@@ -56,27 +58,25 @@ export default class MjpegstreamerAdaptive extends Mixins(BaseMixin) {
|
||||
@Prop({ default: true }) declare showFps: boolean
|
||||
|
||||
get webcamStyle() {
|
||||
const output = {
|
||||
transform: 'none',
|
||||
aspectRatio: 16 / 9,
|
||||
}
|
||||
|
||||
let transforms = ''
|
||||
if ('flipX' in this.camSettings && this.camSettings.flipX) transforms += ' scaleX(-1)'
|
||||
if ('flipX' in this.camSettings && this.camSettings.flipY) transforms += ' scaleY(-1)'
|
||||
if (transforms.trimLeft().length) return { transform: transforms.trimLeft() }
|
||||
if (transforms.trimStart().length) output.transform = transforms.trimStart()
|
||||
|
||||
return ''
|
||||
if (this.aspectRatio) output.aspectRatio = this.aspectRatio
|
||||
|
||||
return output
|
||||
}
|
||||
|
||||
get fpsOutput() {
|
||||
return this.currentFPS < 10 ? '0' + this.currentFPS.toString() : this.currentFPS
|
||||
}
|
||||
|
||||
visibilityChanged(isVisible: boolean) {
|
||||
this.isVisible = isVisible
|
||||
if (isVisible) this.refreshFrame()
|
||||
else {
|
||||
clearTimeout(this.timer)
|
||||
this.timer = undefined
|
||||
}
|
||||
}
|
||||
|
||||
refreshFrame() {
|
||||
if (this.isVisible) {
|
||||
this.refresh = new Date().getTime()
|
||||
@@ -121,6 +121,9 @@ export default class MjpegstreamerAdaptive extends Mixins(BaseMixin) {
|
||||
|
||||
canvas.width = canvas.clientWidth
|
||||
canvas.height = canvas.clientWidth * (frame.height / frame.width)
|
||||
if (this.aspectRatio === null) {
|
||||
this.aspectRatio = frame.width / frame.height
|
||||
}
|
||||
|
||||
ctx?.drawImage(frame, 0, 0, frame.width, frame.height, 0, 0, canvas.width, canvas.height)
|
||||
this.isLoaded = true
|
||||
@@ -139,5 +142,31 @@ export default class MjpegstreamerAdaptive extends Mixins(BaseMixin) {
|
||||
image.src = url
|
||||
})
|
||||
}
|
||||
|
||||
mounted() {
|
||||
document.addEventListener('visibilitychange', this.documentVisibilityChanged)
|
||||
this.refreshFrame()
|
||||
}
|
||||
|
||||
beforeDestroy() {
|
||||
document.removeEventListener('visibilitychange', this.documentVisibilityChanged)
|
||||
}
|
||||
|
||||
documentVisibilityChanged() {
|
||||
const visibility = document.visibilityState
|
||||
this.visibilityChanged(visibility === 'visible')
|
||||
}
|
||||
|
||||
visibilityChanged(newVal: boolean) {
|
||||
if (newVal) {
|
||||
this.isVisible = true
|
||||
this.refreshFrame()
|
||||
return
|
||||
}
|
||||
|
||||
this.isVisible = false
|
||||
clearTimeout(this.timer)
|
||||
this.timer = undefined
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -1,38 +1,36 @@
|
||||
<style scoped>
|
||||
.webcamImage {
|
||||
width: 100%;
|
||||
background: lightgray;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<vue-load-image v-observe-visibility="visibilityChanged">
|
||||
<img slot="image" :src="url" alt="Preview" :style="webcamStyle" class="webcamImage" />
|
||||
<div slot="preloader" class="text-center py-5">
|
||||
<v-progress-circular indeterminate color="primary"></v-progress-circular>
|
||||
</div>
|
||||
<div slot="error" class="text-center py-5">
|
||||
<v-icon x-large>{{ mdiWebcamOff }}</v-icon>
|
||||
<div class="subtitle-1 mt-2">{{ $t('Panels.WebcamPanel.UrlNotAvailable') }}</div>
|
||||
</div>
|
||||
</vue-load-image>
|
||||
<img
|
||||
ref="webcamUv4lMjpegImage"
|
||||
v-observe-visibility="visibilityChanged"
|
||||
:src="url"
|
||||
:alt="camSettings.name"
|
||||
:style="webcamStyle"
|
||||
class="webcamImage"
|
||||
@load="onload" />
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Component, Mixins, Prop } from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import { GuiWebcamStateWebcam } from '@/store/gui/webcams/types'
|
||||
import { mdiWebcamOff } from '@mdi/js'
|
||||
|
||||
@Component
|
||||
export default class Uv4lMjpeg extends Mixins(BaseMixin) {
|
||||
mdiWebcamOff = mdiWebcamOff
|
||||
|
||||
private isVisible = true
|
||||
|
||||
private aspectRatio: null | number = null
|
||||
@Prop({ required: true }) declare readonly camSettings: GuiWebcamStateWebcam
|
||||
|
||||
@Prop({ default: null }) declare readonly printerUrl: string | null
|
||||
|
||||
declare $refs: {
|
||||
webcamUv4lMjpegImage: HTMLImageElement
|
||||
}
|
||||
|
||||
get url() {
|
||||
const baseUrl = this.camSettings.urlStream
|
||||
const url = new URL(baseUrl, this.printerUrl === null ? this.hostUrl.toString() : this.printerUrl)
|
||||
@@ -41,16 +39,60 @@ export default class Uv4lMjpeg extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get webcamStyle() {
|
||||
const output = {
|
||||
transform: 'none',
|
||||
aspectRatio: 16 / 9,
|
||||
}
|
||||
|
||||
let transforms = ''
|
||||
if ('flipX' in this.camSettings && this.camSettings.flipX) transforms += ' scaleX(-1)'
|
||||
if ('flipX' in this.camSettings && this.camSettings.flipY) transforms += ' scaleY(-1)'
|
||||
if (transforms.trimLeft().length) return { transform: transforms.trimLeft() }
|
||||
if (transforms.trimStart().length) output.transform = transforms.trimStart()
|
||||
|
||||
return ''
|
||||
if (this.aspectRatio) output.aspectRatio = this.aspectRatio
|
||||
|
||||
return output
|
||||
}
|
||||
|
||||
visibilityChanged(isVisible: boolean) {
|
||||
this.isVisible = isVisible
|
||||
mounted() {
|
||||
document.addEventListener('visibilitychange', this.documentVisibilityChanged)
|
||||
}
|
||||
|
||||
beforeDestroy() {
|
||||
document.removeEventListener('visibilitychange', this.documentVisibilityChanged)
|
||||
this.stopStream()
|
||||
}
|
||||
|
||||
startStream() {
|
||||
if (this.$refs.webcamUv4lMjpegImage) this.$refs.webcamUv4lMjpegImage.setAttribute('src', this.url)
|
||||
}
|
||||
|
||||
stopStream() {
|
||||
if (this.$refs.webcamUv4lMjpegImage) {
|
||||
this.$refs.webcamUv4lMjpegImage.removeAttribute('src')
|
||||
URL.revokeObjectURL(this.url)
|
||||
}
|
||||
}
|
||||
|
||||
documentVisibilityChanged() {
|
||||
const visibility = document.visibilityState
|
||||
this.visibilityChanged(visibility === 'visible')
|
||||
}
|
||||
|
||||
visibilityChanged(newVal: boolean) {
|
||||
if (newVal) {
|
||||
this.startStream()
|
||||
return
|
||||
}
|
||||
|
||||
this.stopStream()
|
||||
}
|
||||
|
||||
onload() {
|
||||
if (this.aspectRatio === null && this.$refs.webcamUv4lMjpegImage) {
|
||||
this.aspectRatio =
|
||||
this.$refs.webcamUv4lMjpegImage.naturalWidth / this.$refs.webcamUv4lMjpegImage.naturalHeight
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
+1
-9
@@ -138,8 +138,6 @@
|
||||
"DeleteDirectoryQuestion": "Vil du slette mappen \"{name}\" og alt dens indhold?",
|
||||
"Download": "Download",
|
||||
"Downloading": "Downloader",
|
||||
"DoYouWantToStartFilename": "Vil du printe {filename}?",
|
||||
"DropFilesToAddGcode": "Træk G-Code-filer her for at uploade.",
|
||||
"EditFile": "Rediger Fil",
|
||||
"Empty": "Tom",
|
||||
"Filament": "Filament",
|
||||
@@ -170,8 +168,6 @@
|
||||
"Search": "Søg",
|
||||
"SetupCurrentList": "Rediger visning",
|
||||
"Slicer": "Slicer",
|
||||
"StartJob": "Start print",
|
||||
"StartPrint": "Start print",
|
||||
"SuccessfullyCreated": "{filename} oprettet.",
|
||||
"SuccessfullyDeleted": "{filename} slettet.",
|
||||
"SuccessfullyMoved": "{filename} flyttet.",
|
||||
@@ -181,8 +177,7 @@
|
||||
"Uploading": "Uploader",
|
||||
"UploadNewGcode": "Upload ny G-Code",
|
||||
"Used": "Brugt",
|
||||
"View3D": "Vis i 3D",
|
||||
"WrongFileUploaded": "Upload blev afvist for {filename}. Forkert filformat!"
|
||||
"View3D": "Vis i 3D"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Fjern",
|
||||
@@ -310,7 +305,6 @@
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "Alle Jobs",
|
||||
"Delete": "Slet",
|
||||
"Empty": "Tom",
|
||||
"JobQueue": "Jobkø",
|
||||
"Jobs": "Jobs",
|
||||
@@ -858,8 +852,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Vis bekræftelse ved ændringer på Enhedens strømtilstand",
|
||||
"DisplayCANCEL_PRINT": "Vis Afbryd print",
|
||||
"DisplayCANCEL_PRINTDescription": "Viser Afbryd print knappen konstant - ingen tofaktor godkendelse nødvendig.",
|
||||
"DisplayZOffset": "Vis Z-Offset-panel",
|
||||
"DisplayZOffsetDescription": "Ellers vises panelet kun når et print er igang.",
|
||||
"GcodeThumbnails": "Gcode forhåndsvisninger",
|
||||
"GcodeThumbnailsDescription": "Klik på knappen for mere information.",
|
||||
"Guide": "Guide",
|
||||
|
||||
+1
-8
@@ -159,8 +159,6 @@
|
||||
"DeleteDirectoryQuestion": "Willst du wirklich das Verzeichnis \"{name}\" mit seinem gesamten Inhalt löschen?",
|
||||
"Download": "Herunterladen",
|
||||
"Downloading": "Herunterladen",
|
||||
"DoYouWantToStartFilename": "Willst du {filename} starten?",
|
||||
"DropFilesToAddGcode": "Drag & Drop, um G-Code hinzuzufügen.",
|
||||
"EditFile": "Datei bearbeiten",
|
||||
"Empty": "Leer",
|
||||
"Filament": "Filament",
|
||||
@@ -191,8 +189,6 @@
|
||||
"Search": "Suchen",
|
||||
"SetupCurrentList": "Einstellungen",
|
||||
"Slicer": "Slicer",
|
||||
"StartJob": "Job beginnen",
|
||||
"StartPrint": "Druck starten",
|
||||
"SuccessfullyCreated": "{filename} erfolgreich erstellt.",
|
||||
"SuccessfullyDeleted": "{filename} erfolgreich gelöscht.",
|
||||
"SuccessfullyMoved": "{filename} erfolgreich verschoben.",
|
||||
@@ -202,8 +198,7 @@
|
||||
"Uploading": "Hochladen",
|
||||
"UploadNewGcode": "G-Code hochladen",
|
||||
"Used": "Belegt",
|
||||
"View3D": "3D Betrachtung",
|
||||
"WrongFileUploaded": "Hochladen von {filename} verweigert. Falsches Dateiformat!"
|
||||
"View3D": "3D Betrachtung"
|
||||
},
|
||||
"FullscreenUpload": {
|
||||
"CannotUploadFile": "Datei konnte nicht hochgeladen werden!",
|
||||
@@ -681,8 +676,6 @@
|
||||
"Circle": "Kreis",
|
||||
"Control": "Steuerung",
|
||||
"Cross": "Kreuz",
|
||||
"DisplayZOffset": "Z-Offset-Steuerung immer anzeigen",
|
||||
"DisplayZOffsetDescription": "Wenn deaktiviert, dann werden die Steuerelemente nur angezeigt wenn ein Druckvorgang gestartet wurde.",
|
||||
"EnableXYHoming": "Aktiviere kombiniertes X & Y homing",
|
||||
"EstimatedExtrusionInfo": "Zeige Info zur geschätzten Extrusion",
|
||||
"EstimatedExtrusionInfoDescription": "Anzeigen/ausblenden der Info zur geschätzten Extrusion, basierend auf Extrusionmenge und Extrusionsgeschwindigkeit",
|
||||
|
||||
+2
-7
@@ -165,7 +165,6 @@
|
||||
"DeleteSelectedQuestion": "Do you really want to delete {count} selected files?",
|
||||
"Download": "Download",
|
||||
"Downloading": "Downloading",
|
||||
"DropFilesToAddGcode": "Drag & Drop files to add G-Code.",
|
||||
"EditFile": "Edit File",
|
||||
"Empty": "Empty",
|
||||
"Filament": "Filament",
|
||||
@@ -201,8 +200,6 @@
|
||||
"Search": "Search",
|
||||
"SetupCurrentList": "Setup current list",
|
||||
"Slicer": "Slicer",
|
||||
"StartJob": "Start Job",
|
||||
"StartPrint": "Start print",
|
||||
"SuccessfullyCreated": "Successfully created {filename}.",
|
||||
"SuccessfullyDeleted": "Successfully deleted {filename}.",
|
||||
"SuccessfullyMoved": "Successfully moved {filename}.",
|
||||
@@ -212,8 +209,7 @@
|
||||
"Uploading": "Uploading",
|
||||
"UploadNewGcode": "Upload new G-Code",
|
||||
"Used": "Used",
|
||||
"View3D": "View 3D",
|
||||
"WrongFileUploaded": "Upload was denied for {filename}. Wrong file format!"
|
||||
"View3D": "View 3D"
|
||||
},
|
||||
"FullscreenUpload": {
|
||||
"CannotUploadFile": "Cannot upload file!",
|
||||
@@ -618,6 +614,7 @@
|
||||
"Absolute": "absolute",
|
||||
"ALL": "ALL",
|
||||
"Headline": "Toolhead",
|
||||
"Invalid": "Invalid",
|
||||
"InvertX": "Invert X",
|
||||
"InvertY": "Invert Y",
|
||||
"InvertZ": "Invert Z",
|
||||
@@ -723,8 +720,6 @@
|
||||
"Circle": "Circle",
|
||||
"Control": "Control",
|
||||
"Cross": "Cross",
|
||||
"DisplayZOffset": "Always display Z-Offset-Controls",
|
||||
"DisplayZOffsetDescription": "If disabled, the controls will appear only if a print has started.",
|
||||
"EnableXYHoming": "Enable combined X & Y axes homing",
|
||||
"EstimatedExtrusionInfo": "Show estimated extrusion info",
|
||||
"EstimatedExtrusionInfoDescription": "Show / Hide info for estimated extrusions based on extrusion amount and feedrate",
|
||||
|
||||
+2
-21
@@ -21,8 +21,6 @@
|
||||
"DescriptionPreviouslyUnderVolted": "El voltaje de entrada de rPi se redujo a menos de 4.65V por lo menos una vez desde el último encendido.",
|
||||
"DescriptionTemperatureLimitActive": "rPi uC (3A+/3B+ solamente). La temperatura está actualmente por encima del límite (default 60C).",
|
||||
"DescriptionUnderVoltageDetected": "El voltaje de alimentación del rPi está actualmente por debajo de los 4.65V",
|
||||
"HeadlineCurrentFlags": "Flags actuales",
|
||||
"HeadlinePreviouslyFlags": "Flags anteriores",
|
||||
"TitleCurrentlyThrottled": "Actualmente limitado",
|
||||
"TitleFrequencyCapped": "Limitado por frecuencia",
|
||||
"TitlePreviouslyFrequencyCapped": "Limitado anteriormente por frecuencia",
|
||||
@@ -140,8 +138,6 @@
|
||||
"DeleteDirectoryQuestion": "¿Realmente quiere borrar la carpeta \"{name}\" con todo su contenido?",
|
||||
"Download": "Descargar",
|
||||
"Downloading": "Descargando",
|
||||
"DoYouWantToStartFilename": "¿Quiere iniciar {filename}?",
|
||||
"DropFilesToAddGcode": "Arrastre y suelte archivos para agregar G-code.",
|
||||
"EditFile": "Editar archivo",
|
||||
"Empty": "Vacío",
|
||||
"Filament": "Filamento",
|
||||
@@ -172,8 +168,6 @@
|
||||
"Search": "Buscar",
|
||||
"SetupCurrentList": "Configurar lista actual",
|
||||
"Slicer": "Laminador",
|
||||
"StartJob": "Comenzar trabajo",
|
||||
"StartPrint": "Iniciar impresión",
|
||||
"SuccessfullyCreated": "{filename} creado con éxito.",
|
||||
"SuccessfullyDeleted": "{filename} eliminado con éxito.",
|
||||
"SuccessfullyMoved": "{filename} movido con éxito.",
|
||||
@@ -183,8 +177,7 @@
|
||||
"Uploading": "Cargando",
|
||||
"UploadNewGcode": "Cargar nuevo G-Code",
|
||||
"Used": "Usado",
|
||||
"View3D": "Vista 3D",
|
||||
"WrongFileUploaded": "Carga denegada para {filename}. ¡Formato de archivo erróneo!"
|
||||
"View3D": "Vista 3D"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Borrar",
|
||||
@@ -226,8 +219,6 @@
|
||||
"Variance": "Variación"
|
||||
},
|
||||
"DeleteBedMeshProfile": "Borrar perfil de la malla de cama",
|
||||
"Deleted": "Eliminado",
|
||||
"DoYouReallyWantToCalibrate": "¿Realmente quiere iniciar la calibración de la cama?",
|
||||
"DoYouReallyWantToDelete": "¿Realmente quiere eliminar el perfil \"{name}\"?",
|
||||
"ErrorKlipperNotReady": "Klipper no disponible. Mapa de altura deshabilitado.",
|
||||
"Flat": "Plana",
|
||||
@@ -245,7 +236,6 @@
|
||||
"Rename": "renombrar",
|
||||
"RenameBedMeshProfile": "Renombrar perfil de BED_MESH",
|
||||
"SAVE_CONFIG": "SAVE_CONFIG",
|
||||
"Scale": "Escala",
|
||||
"ScaleGradient": "Gradiente de escala",
|
||||
"ScaleZMax": "Escalar Z-Max",
|
||||
"TitleCalibrate": "Calibrar nueva malla de cama",
|
||||
@@ -290,7 +280,6 @@
|
||||
"SelectedFilamentUsed": "",
|
||||
"SelectedJobs": "",
|
||||
"SelectedPrinttime": "",
|
||||
"ShowStatusName": "Mostrar \"{name}\" ({count})",
|
||||
"Slicer": "Laminador",
|
||||
"SlicerVersion": "Versión del laminador",
|
||||
"StartTime": "Hora de inicio",
|
||||
@@ -307,7 +296,6 @@
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "Todas las tareas",
|
||||
"Delete": "Eliminar",
|
||||
"Empty": "Vacía",
|
||||
"JobQueue": "Cola de tareas",
|
||||
"Jobs": "Tareas",
|
||||
@@ -359,17 +347,12 @@
|
||||
"Logfiles": "Archivos de registro"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"Awake": "Encendida",
|
||||
"Constants": "Constantes",
|
||||
"Distro": "Distribución",
|
||||
"Frequency": "Frec.",
|
||||
"HostDetails": "Detalles del host",
|
||||
"LastStats": "Últimas estadísticas",
|
||||
"Load": "Carga",
|
||||
"Memory": "Mem.",
|
||||
"Os": "SO",
|
||||
"SystemLoad": "Cargas del sistema",
|
||||
"Version": "Versión"
|
||||
"SystemLoad": "Cargas del sistema"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "Verificar actualizaciones",
|
||||
@@ -831,8 +814,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Muestra una ventana de confirmación en los cambios de energía del dispositivo.",
|
||||
"DisplayCANCEL_PRINT": "Mostrar CANCEL_PRINT",
|
||||
"DisplayCANCEL_PRINTDescription": "Mostrar el botón CANCEL_PRINT permanentemente - no hay segundo nivel de confirmación.",
|
||||
"DisplayZOffset": "Mostrar el panel Z-Offset",
|
||||
"DisplayZOffsetDescription": "De lo contrario, el panel aparecerá sólo después de que haya comenzado una impresión.\n",
|
||||
"GcodeThumbnails": "Miniatura G-Code",
|
||||
"GcodeThumbnailsDescription": "Click en el botón para obtener instrucciones.",
|
||||
"Guide": "Guía",
|
||||
|
||||
+169
-48
@@ -1,10 +1,27 @@
|
||||
{
|
||||
"_last_update:": "09.01.2022",
|
||||
"_last_update:": "24.05.2022",
|
||||
"App": {
|
||||
"Notifications": {
|
||||
"KlipperWarnings": {
|
||||
"DeprecatedOption": "L'option '{option}' dans la section '{section}' est obsolète.",
|
||||
"DeprecatedValue": "La valeur '{value}' dans l'option '{option}' dans la section '{section}' est obsolète."
|
||||
"DeprecatedValue": "La valeur '{value}' dans l'option '{option}' dans la section '{section}' est obsolète.",
|
||||
"DeprecatedOptionHeadline": "Option de Klipper obsolète",
|
||||
"DeprecatedValueHeadline": "Valeur d'une option Klipper obsolète",
|
||||
"KlipperWarning": "Avertissement Klipper"
|
||||
},
|
||||
"DependencyDescription": "La version actuelle de {name} ne supporte pas toutes les fonctionalités de Mainsail. Mettez {name} a jour vers la version {neededVersion}.",
|
||||
"DependencyName": "Dépendance: {name}",
|
||||
"DismissAll": "Annuler tout",
|
||||
"Never": "jamais",
|
||||
"NextReboot": "prochain redémarrage",
|
||||
"NoNotification": "Pas de notification(s) disponible(s)",
|
||||
"Remind": "Rappel:",
|
||||
"MoonrakerWarnings": {
|
||||
"MoonrakerComponent": "Moonraker: {component}",
|
||||
"MoonrakerFailedComponentDescription": "Une erreur a été détectée lors du chargement de '{component}'. Contrôlez le fichier log et corrigez le problème.",
|
||||
"MoonrakerWarning": "Avertissement Moonraker",
|
||||
"UnparsedConfigOption": "L' option '{option}: {value}' de la section [{section}] n'a pas été analysée. Cela peut provenir du fait que cette option n'est plus disponible ou que le chargement d'un module a créé une erreur. Dans le futur, ceci créera une erreur de démarrage.",
|
||||
"UnparsedConfigSection": "L'a section [{section}] n'a pas été analysée. Cela peut provenir du fait que cette option n'est plus disponible ou que le chargement d'un module a créé une erreur. Dans le futur, ceci créera une erreur de démarrage."
|
||||
}
|
||||
},
|
||||
"Printers": "Imprimantes",
|
||||
@@ -17,8 +34,6 @@
|
||||
"DescriptionPreviouslyUnderVolted": "rPI l'alimentation a chuté au moins une fois sous 4.65V depuis la dernière mise sous tension",
|
||||
"DescriptionTemperatureLimitActive": "rPi uC (3A+/3B+) température au dessus de la limite software (défaut 60°C).",
|
||||
"DescriptionUnderVoltageDetected": "rPI alimentation inférieure à 4.65V",
|
||||
"HeadlineCurrentFlags": "Etat actuel",
|
||||
"HeadlinePreviouslyFlags": "Etat précédent",
|
||||
"TitleCurrentlyThrottled": "actuellement en mode réduit",
|
||||
"TitleFrequencyCapped": "fréquence réduite",
|
||||
"TitlePreviouslyFrequencyCapped": "a été limité en fréquence",
|
||||
@@ -85,6 +100,11 @@
|
||||
"RecoveringDone": "Restauration {software} effectuée !",
|
||||
"Updating": "Mise à jour {software}...",
|
||||
"UpdatingDone": "Mise à jour {software} effectuée !"
|
||||
},
|
||||
"NumberInput": {
|
||||
"GreaterOrEqualError": "Doit être plus grand ou égal à {min} !",
|
||||
"MustBeBetweenError": "Doit être compris entre {min} et {max} !",
|
||||
"NoEmptyAllowedError": "Une valeur est nécessaire !"
|
||||
}
|
||||
},
|
||||
"ConnectionDialog": {
|
||||
@@ -136,8 +156,6 @@
|
||||
"DeleteDirectoryQuestion": "Voulez vous vraiment effacer le dossier \"{name}\" et tout son contenu ?",
|
||||
"Download": "Téléchargement",
|
||||
"Downloading": "Téléchargement en cours",
|
||||
"DoYouWantToStartFilename": "Voulez vous imprimer {filename} ?",
|
||||
"DropFilesToAddGcode": "Drop files to add G-Code.",
|
||||
"EditFile": "Editer Fichier",
|
||||
"Empty": "vide",
|
||||
"Filament": "Filament",
|
||||
@@ -168,8 +186,6 @@
|
||||
"Search": "Rechercher",
|
||||
"SetupCurrentList": "Configurer liste",
|
||||
"Slicer": "Trancheur",
|
||||
"StartJob": "Démarrer",
|
||||
"StartPrint": "Imprimer",
|
||||
"SuccessfullyCreated": "Fichier {filename} créé",
|
||||
"SuccessfullyDeleted": "Fichier {filename} éffacé",
|
||||
"SuccessfullyMoved": "Fichier {filename} déplacé",
|
||||
@@ -180,7 +196,12 @@
|
||||
"UploadNewGcode": "Charger nouveau G-Code",
|
||||
"Used": "Utilisé",
|
||||
"View3D": "Vue 3D",
|
||||
"WrongFileUploaded": "Téléchargem,ent refusé pour {filename}. Mauvais format de fichier !"
|
||||
"DeleteSelectedQuestion": "Désirez-vous supprimer {count} fichiers ?",
|
||||
"LastEndTime": "Dernière heure de fin d'impression",
|
||||
"LastFilamentUsed": "Dernier filament utilisé",
|
||||
"LastPrintDuration": "Dernière durée d'impression",
|
||||
"LastStartTime": "Dernière heure de départ d'impression",
|
||||
"LastTotalDuration": "Dernière durée totale"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Effacer",
|
||||
@@ -222,8 +243,6 @@
|
||||
"Variance": "Variance"
|
||||
},
|
||||
"DeleteBedMeshProfile": "Effacer maillage",
|
||||
"Deleted": "effacé",
|
||||
"DoYouReallyWantToCalibrate": "Voulez-vous démarrer la calibration du maillage plateau ?",
|
||||
"DoYouReallyWantToDelete": "Voulez-vous effacer le maillage \"{name}\" ?",
|
||||
"ErrorKlipperNotReady": "Klipper pas prêt, maillage désactivé",
|
||||
"Flat": "Plat",
|
||||
@@ -237,11 +256,16 @@
|
||||
"Remove": "supprimer",
|
||||
"Rename": "renommer",
|
||||
"RenameBedMeshProfile": "Renommer maillage",
|
||||
"Scale": "Echelle",
|
||||
"TitleCalibrate": "Calibrer nouveau maillage",
|
||||
"TitleClear": "Effacer maillage",
|
||||
"TitleHomeAll": "Réf. tous",
|
||||
"Wireframe": "Maillage"
|
||||
"Wireframe": "Maillage",
|
||||
"Later": "Plus tard",
|
||||
"Ok": "OK",
|
||||
"RemoveSaveDescription": "Le maillage a été enregistré comme supprimé. Cliquez sur SAVE_CONFIG pour le retirer du fichier printer.cfg et redémarrez Klipper.",
|
||||
"SAVE_CONFIG": "SAVE_CONFIG",
|
||||
"ScaleGradient": "Facteur d'échelle",
|
||||
"ScaleZMax": "Echelle z-max."
|
||||
},
|
||||
"History": {
|
||||
"AllJobs": "Tous",
|
||||
@@ -275,7 +299,6 @@
|
||||
"PrinttimeAvg": "Temps moyen d'impression",
|
||||
"Reprint": "Ré-impression",
|
||||
"Search": "Recherche",
|
||||
"ShowStatusName": "Afficher \"{name}\" ({count})",
|
||||
"Slicer": "Trancheur",
|
||||
"SlicerVersion": "Version trancheur",
|
||||
"StartTime": "Heure départ",
|
||||
@@ -287,16 +310,36 @@
|
||||
"TotalFilamentUsed": "Total filament utilisé",
|
||||
"TotalJobs": "Nombre travaux",
|
||||
"TotalPrinttime": "Total temps d'impression",
|
||||
"TotalTime": "Temps total"
|
||||
"TotalTime": "Temps total",
|
||||
"AddNote": "Ajouter ue note",
|
||||
"Cancel": "Annuler",
|
||||
"CreateNote": "Créer une note",
|
||||
"DeleteSelectedQuestion": "Vulez-vous vraiment effacer {count} travaux ?",
|
||||
"EditNote": "Editer note",
|
||||
"Note": "Note",
|
||||
"Save": "sauvegarder",
|
||||
"SelectedFilamentUsed": "Filament sélectionné utilisé",
|
||||
"SelectedJobs": "Travaux sélectionnés",
|
||||
"SelectedPrinttime": "Temps d'impression sélectionnés",
|
||||
"StatusValues": {
|
||||
"cancelled": "Annulé",
|
||||
"completed": "Terminé",
|
||||
"error": "Erreur",
|
||||
"in_progress": "en cours",
|
||||
"klippy_disconnect": "Klippy déconnecté",
|
||||
"klippy_shutdown": "Klippy arrêté",
|
||||
"server_exit": "Serveur quitté"
|
||||
},
|
||||
"TitleExportHistory": "Exporter l'historique"
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "Tous",
|
||||
"Delete": "Effacer",
|
||||
"Empty": "vide",
|
||||
"JobQueue": "Queue des travaux",
|
||||
"Jobs": "Travaux",
|
||||
"Pause": "Pause",
|
||||
"Start": "Impression"
|
||||
"Start": "Impression",
|
||||
"RemoveFromQueue": "Enlever de la queue des travaux"
|
||||
},
|
||||
"Machine": {
|
||||
"ConfigFilesPanel": {
|
||||
@@ -330,7 +373,9 @@
|
||||
"Total": "Total",
|
||||
"UploadFile": "Chargement d'un fichier",
|
||||
"Uploading": "Téléchargement",
|
||||
"Used": "Utilisé"
|
||||
"Used": "Utilisé",
|
||||
"DeleteSelectedQuestion": "Effacer {count} éléments sélectionnés",
|
||||
"Root": "Racine"
|
||||
},
|
||||
"EndstopPanel": {
|
||||
"Endstop": "Fin de course",
|
||||
@@ -343,17 +388,29 @@
|
||||
"Logfiles": "Fichiers log"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"Awake": "Actif",
|
||||
"Constants": "Constantes",
|
||||
"Distro": "Distribution",
|
||||
"Frequency": "Fréquence",
|
||||
"HostDetails": "Détails hôte",
|
||||
"LastStats": "Dern. Stats.",
|
||||
"Load": "Charge",
|
||||
"Memory": "Mémoire",
|
||||
"Os": "OS",
|
||||
"SystemLoad": "Charge Système",
|
||||
"Version": "Version"
|
||||
"Cpu": "CPU",
|
||||
"NoMoreInfos": "Pas d'infos supplémentaires",
|
||||
"Values": {
|
||||
"Awake": "Eveillé: {awake}",
|
||||
"Bandwidth": "Bande passante: {bandwidth}/s",
|
||||
"Distro": "Distribution: {name} {version_id}",
|
||||
"Frequency": "Frequence: {frequency}",
|
||||
"Load": "Charge: {load}",
|
||||
"Memory": "Mémoire: {memory}",
|
||||
"Os": "OS: {os}",
|
||||
"Received": "Reçu: {received}",
|
||||
"Temp": "Température: {temp}°C",
|
||||
"TempMax": "max: {temp}°C",
|
||||
"TempMin": "min: {temp}°C",
|
||||
"Transmitted": "Transmis: {transmitted}",
|
||||
"Version": "Version: {version}"
|
||||
}
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "Contrôle de disponibilité de mises à jour",
|
||||
@@ -380,16 +437,20 @@
|
||||
}
|
||||
},
|
||||
"Panels": {
|
||||
"DependenciesPanel": {
|
||||
"Dependency": "Dépendance(s)",
|
||||
"DependencyDescription": "Votre version {name} ne supporte pas toutes possibilités de Mainsail. Mettez à jour {name} vers {neededVersion}."
|
||||
},
|
||||
"ExtruderControlPanel": {
|
||||
"Extrude": "Extrusion",
|
||||
"ExtrusionFactor": "Facteur d'extrusion",
|
||||
"ExtrusionFeedrate": "Vitesse d'extrusion",
|
||||
"Headline": "Contrôles d'Extrudeur",
|
||||
"Retract": "Rétractation"
|
||||
"Retract": "Rétractation",
|
||||
"Allowed": "Permis",
|
||||
"EstimatedExtrusion": "Estimation d'extrusion:",
|
||||
"ExtruderTempTooLow": "Température d'extrusion trop basse",
|
||||
"FilamentLength": "Longueur de filament",
|
||||
"LoadFilament": "Chargement du filament",
|
||||
"Requested": "Demandé",
|
||||
"TooLargeExtrusion": "Extrusion trop grande !",
|
||||
"UnloadFilament": "Déchargement du filament"
|
||||
},
|
||||
"FarmPrinterPanel": {
|
||||
"ReconnectToPrinter": "Re-connection",
|
||||
@@ -451,12 +512,6 @@
|
||||
"Empty": "vide"
|
||||
}
|
||||
},
|
||||
"MoonrakerStatePanel": {
|
||||
"DownloadLog": "Téléchargement log",
|
||||
"FollowingPluginHasAnError": "Le Plug-in suivant a une erreur:",
|
||||
"MoonrakerErrorInfo": "Une erreur a été détectée lors du chargement d'un composant de Moonraker. Contrôlez le fichier log et corrigez.",
|
||||
"MoonrakerWarnings": "Avertissement Moonraker"
|
||||
},
|
||||
"PowerControlPanel": {
|
||||
"Error": "Erreur",
|
||||
"Off": "Arrêt",
|
||||
@@ -491,7 +546,14 @@
|
||||
"Slicer": "Trancheur",
|
||||
"Speed": "Vitesse",
|
||||
"Total": "Total",
|
||||
"Unknown": "Inconnu"
|
||||
"Unknown": "Inconnu",
|
||||
"EmptyGcodes": "Pas de G-Codes disponibles",
|
||||
"EmptyJobqueue": "Pas de fichier dans la queue d'impression",
|
||||
"Files": "Fichiers",
|
||||
"Jobqueue": "Queue d'impression ({count})",
|
||||
"JobqueueMoreFiles": "plus de travaux | un travail | {count} travaux",
|
||||
"PrintTime": "Durée d'impression",
|
||||
"Status": "Status"
|
||||
},
|
||||
"TemperaturePanel": {
|
||||
"AutoscaleChart": "Echelle automatique",
|
||||
@@ -533,14 +595,22 @@
|
||||
"SettingsInterfaceControl": "Réglages > Interface > Contrôle",
|
||||
"SetupControls": "Réglages",
|
||||
"SpeedFactor": "Facteur de vitesse",
|
||||
"ZTilt": "Z Tilt"
|
||||
"ZTilt": "Z Tilt",
|
||||
"Headline": "Tête d'impression",
|
||||
"Invalid": "Invalide",
|
||||
"MotorsOff": "Arrêt des moteurs",
|
||||
"OutOfRange": "Hors limites !",
|
||||
"XOffset": "Offset-X",
|
||||
"YOffset": "Offset-Y",
|
||||
"ZOffset": "Offset-Z"
|
||||
},
|
||||
"WebcamPanel": {
|
||||
"All": "Tous",
|
||||
"FPS": "IPS",
|
||||
"Headline": "Caméra",
|
||||
"UnknownWebcamService": "Service Caméra inconnu",
|
||||
"UrlNotAvailable": "URL non disponible"
|
||||
"UrlNotAvailable": "URL non disponible",
|
||||
"NoWebcam": "Pas de caméra disponible. Ajoutez une caméra dans \"Réglages interface\" > \"Caméras\""
|
||||
},
|
||||
"ZoffsetPanel": {
|
||||
"CurrentOffset": "Offset actuel",
|
||||
@@ -553,7 +623,24 @@
|
||||
"SaveInfoDescriptionPrint": "Le nouvel offset Z a été calculé et enregistré. Après l'impression cliquez sur \"SAVE CONFIG\" dans la barre du haut afin de sauvegarder les valeurs dans \"printer.cfg\" et redémarrez Klipper.",
|
||||
"SaveInfoHeadline": "Information",
|
||||
"ToEndstop": "jusqu'au fin de course",
|
||||
"ToProbe": "jusqu'à la sonde"
|
||||
"ToProbe": "jusqu'à la sonde",
|
||||
"Clear": "Effacer"
|
||||
},
|
||||
"ControlPanel": {
|
||||
"ALL": "Tous",
|
||||
"AlternateControls": "Contrôles alternatifs",
|
||||
"Headline": "Contrôles",
|
||||
"InvertX": "Inversion X",
|
||||
"InvertY": "Inversion Y",
|
||||
"InvertZ": "Inversion Z",
|
||||
"PleaseConfigureSteps": "Configurez les pas",
|
||||
"QGL": "QGL",
|
||||
"SettingsInterfaceControl": "Paramètres > Interface > Contrôles",
|
||||
"X": "X",
|
||||
"Y": "Y",
|
||||
"Z": "Z",
|
||||
"ZTilt": "Z Tilt",
|
||||
"SetupControls": "Configuration des contrôles"
|
||||
}
|
||||
},
|
||||
"PowerDeviceChangeDialog": {
|
||||
@@ -590,7 +677,9 @@
|
||||
"SelectPrinter": "Choisir imprimante",
|
||||
"TryAgain": "re-essayer",
|
||||
"UpdatePrinter": "Mise à jour imprimante",
|
||||
"YouCanFindMore": "Vous pouvez trouver plus de détails ici:"
|
||||
"YouCanFindMore": "Vous pouvez trouver plus de détails ici:",
|
||||
"HostnameIp": "Nom d'hôte/IP",
|
||||
"Port": "Port"
|
||||
},
|
||||
"Settings": {
|
||||
"Cancel": "Annuler",
|
||||
@@ -633,7 +722,15 @@
|
||||
"SpeedXY": "Vitesse X & Y",
|
||||
"SpeedZ": "Vitesse Z",
|
||||
"Style": "Style",
|
||||
"ValueGreaterThan": "La valeur doit être supérieure à {value}"
|
||||
"ValueGreaterThan": "La valeur doit être supérieure à {value}",
|
||||
"EnableXYHoming": "Activer les m.a.z. simultanées des axes X & Y",
|
||||
"EstimatedExtrusionInfo": "Afficher les estimations d'extrusion",
|
||||
"EstimatedExtrusionInfoDescription": "Afficher / Cacher les estimations d'extrusions basées sur la quantité et le débit.",
|
||||
"IsDefault": " (default)",
|
||||
"MotorsOff": "Arrêt moteur {isDefault}",
|
||||
"QuadGantryLevel": "Quad Gantry Level{isDefault}",
|
||||
"ZOffsetIncrements": "Increments Offset-Z (in mm)",
|
||||
"ZTiltAdjust": "Adjustement Z-Tilt{isDefault}"
|
||||
},
|
||||
"DashboardTab": {
|
||||
"Dashboard": "Tab. de bord",
|
||||
@@ -649,7 +746,11 @@
|
||||
"ConfirmUnsavedChangesDescription": "Si actif, l'éditeur requiert une confirmation de sauvegarde ou d'annulation des changements effectués. Si inactif, les changements sont annulés sans confirmation.",
|
||||
"Editor": "Editeur",
|
||||
"UseEscToClose": "Utiliser la touche \"esc\" pour fermer l'éditeur",
|
||||
"UseEscToCloseDescription": "Autoriser la touche \"esc\" de fermer l'éditeur."
|
||||
"UseEscToCloseDescription": "Autoriser la touche \"esc\" de fermer l'éditeur.",
|
||||
"KlipperRestartMethod": "Méthode de redémarrage de Klipper",
|
||||
"KlipperRestartMethodDescription": "Choisissez la méthode utilisée pour redémarrer Klipper lors d'un appui sur 'Save & Restart' après édition des fichiers de configuration.",
|
||||
"MoonrakerRestartInstance": "Redémarrage Moonraker",
|
||||
"MoonrakerRestartInstanceDescription": "Choisissez quel service Moonraker doit redémarrer lors d'un appui sur 'Save & Restart' après édition des fichiers de configuration."
|
||||
},
|
||||
"GCodeViewerTab": {
|
||||
"BackgroundColor": "Couleur de l'arrière-plan",
|
||||
@@ -682,7 +783,12 @@
|
||||
"PrinterName": "Nom de l'imprimante",
|
||||
"Reset": "réinitalisation",
|
||||
"Restore": "Restauration",
|
||||
"RestoreDialog": "Choisissez les sections que vous désirez restaurer:"
|
||||
"RestoreDialog": "Choisissez les sections que vous désirez restaurer:",
|
||||
"EstimateValues": {
|
||||
"Filament": "Filament",
|
||||
"File": "Fichier",
|
||||
"Slicer": "Trancheur"
|
||||
}
|
||||
},
|
||||
"InterfaceSettings": "Réglages interface",
|
||||
"MacrosTab": {
|
||||
@@ -733,7 +839,11 @@
|
||||
"PresetInfo": "Vous devez définir une température cible ou un G-Code utilisateur",
|
||||
"StoreButton": "Ajouter préréglage",
|
||||
"UpdateButton": "Mise à jour préréglage",
|
||||
"UpdateCooldown": "Mise à jour refroidissement"
|
||||
"UpdateCooldown": "Mise à jour refroidissement",
|
||||
"ErrorInvalidValue": "Valeur invalide",
|
||||
"ErrorNameNotUnique": "Nom existe déjà",
|
||||
"ErrorNameRequired": "Nom nécessaire",
|
||||
"PresetNamePlaceholder": "Name par défaut (required)"
|
||||
},
|
||||
"RemotePrintersTab": {
|
||||
"AddPrinter": "Ajouter imprimante",
|
||||
@@ -806,9 +916,9 @@
|
||||
"VariableFps": "IPS variable",
|
||||
"VariableFpsDescription": "Si activé, le nombre d'images par seconde (IPS) sera calculé tenant compte de la taille du fichier de sortie.",
|
||||
"VariableFpsMax": "IPS variable max",
|
||||
"VariableFpsMaxDescription": "En cas d'IPS variable, nombre maximum d'images par seconde (IPS)",
|
||||
"VariableFpsMaxDescription": "",
|
||||
"VariableFpsMin": "IPS variable min",
|
||||
"VariableFpsMinDescription": "En cas d'IPS variable, nombre minimum d'images par seconde (IPS)"
|
||||
"VariableFpsMinDescription": ""
|
||||
},
|
||||
"UiSettingsTab": {
|
||||
"BoolBigThumbnail": "Grande miniature",
|
||||
@@ -821,8 +931,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Affiche une demande de confirmation pour changement de mode de modules de puissance.",
|
||||
"DisplayCANCEL_PRINT": "Affiche CANCEL_PRINT",
|
||||
"DisplayCANCEL_PRINTDescription": "Affiche le bouton CANCEL_PRINT de manière permanente. Pas de confirmation demandée.",
|
||||
"DisplayZOffset": "Affiche le panneau Z-Offset",
|
||||
"DisplayZOffsetDescription": "Si inactif le panneau n'apparaît qu'une fois l'impression démarrée.",
|
||||
"GcodeThumbnails": "Miniature G-Code",
|
||||
"GcodeThumbnailsDescription": "Cliquez sur le bouton pour obtenir des instructions.",
|
||||
"Guide": "Guide",
|
||||
@@ -919,5 +1027,18 @@
|
||||
"Variable": "Variable",
|
||||
"Video": "Vidéo"
|
||||
},
|
||||
"title": "Français"
|
||||
"title": "Français",
|
||||
"Dialogs": {
|
||||
"StartPrint": {
|
||||
"Cancel": "Annuler",
|
||||
"DoYouWantToStartFilename": "Désirez-vous imprimer {filename} ?",
|
||||
"Headline": "Démarrage Impression",
|
||||
"Print": "Impression",
|
||||
"Timelapse": "Accéléré"
|
||||
}
|
||||
},
|
||||
"FullscreenUpload": {
|
||||
"CannotUploadFile": "Impossible de télécharger le fichier !",
|
||||
"DropFilesToUploadFiles": "Déposez les fichiers à télécharger"
|
||||
}
|
||||
}
|
||||
+2
-21
@@ -16,8 +16,6 @@
|
||||
"DescriptionPreviouslyUnderVolted": "Az rPI tápfeszültsége az utolsó bekapcsolás óta legalább egyszer 4,65 V alá esett.",
|
||||
"DescriptionTemperatureLimitActive": "Az rPi uC(csak 3A+/3B+) hőmérséklete jelenleg az első határérték felett van (alapértelmezett 60C).",
|
||||
"DescriptionUnderVoltageDetected": "Az rPI tápfeszültsége jelenleg 4,65 V alatt van",
|
||||
"HeadlineCurrentFlags": "Aktuális jelzések",
|
||||
"HeadlinePreviouslyFlags": "Korábbi jelzések",
|
||||
"TitleCurrentlyThrottled": "Jelenleg leterhelt",
|
||||
"TitleFrequencyCapped": "Frekvencia-korlátozások",
|
||||
"TitlePreviouslyFrequencyCapped": "Korábbi frekvencia-korlátozások",
|
||||
@@ -135,8 +133,6 @@
|
||||
"DeleteDirectoryQuestion": "Tényleg szeretnéd törölni a(z) \"{name}\" mappát és minden tartalmát?",
|
||||
"Download": "Letöltés",
|
||||
"Downloading": "Letöltés...",
|
||||
"DoYouWantToStartFilename": "El akarod indítani ezt?: {filename}",
|
||||
"DropFilesToAddGcode": "Gcode hozzáadásáért dobd ide a fájlod.",
|
||||
"EditFile": "Fájl szerkesztése",
|
||||
"Empty": "Üres",
|
||||
"Filament": "Filament",
|
||||
@@ -167,8 +163,6 @@
|
||||
"Search": "Keresés",
|
||||
"SetupCurrentList": "Aktuális lista készítése",
|
||||
"Slicer": "Slicer",
|
||||
"StartJob": "Munka indítása",
|
||||
"StartPrint": "Nyomtatás indítása",
|
||||
"SuccessfullyCreated": "Sikeresen létrehozva: {filename}",
|
||||
"SuccessfullyDeleted": "Sikeresen törölve: {filename}",
|
||||
"SuccessfullyMoved": "Sikeresen áthelyezve: {filename}",
|
||||
@@ -178,8 +172,7 @@
|
||||
"Uploading": "Feltöltés",
|
||||
"UploadNewGcode": "Új Gcode feltöltése",
|
||||
"Used": "Felhasznált",
|
||||
"View3D": "3D nézet",
|
||||
"WrongFileUploaded": "A {filename} feltöltése meghiusúlt. Rossz file formátum!"
|
||||
"View3D": "3D nézet"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Kitakarít",
|
||||
@@ -221,8 +214,6 @@
|
||||
"Variance": "Eltérés"
|
||||
},
|
||||
"DeleteBedMeshProfile": "Síkrács profil törlése",
|
||||
"Deleted": "eltávolított",
|
||||
"DoYouReallyWantToCalibrate": "Tényleg el akarod kezdeni az asztal kalibrálását?",
|
||||
"DoYouReallyWantToDelete": "Tényleg törölni akarod a profilt?: \"{name}\"",
|
||||
"ErrorKlipperNotReady": "A Klipper nem áll készen. Magasságtérkép letiltva.",
|
||||
"Flat": "Lapos",
|
||||
@@ -236,7 +227,6 @@
|
||||
"Remove": "eltávolítás",
|
||||
"Rename": "átnevez",
|
||||
"RenameBedMeshProfile": "Síkrács profil átnevezése",
|
||||
"Scale": "Méretarány",
|
||||
"TitleCalibrate": "Új síkrács kalibrálása",
|
||||
"TitleClear": "Síkrács kinullázása",
|
||||
"TitleHomeAll": "Kezdőpontba áll",
|
||||
@@ -274,7 +264,6 @@
|
||||
"PrinttimeAvg": "Nyomtatási átlag",
|
||||
"Reprint": "Újranyomtat",
|
||||
"Search": "keresés",
|
||||
"ShowStatusName": "\"{name}\" ({count}) megjelenítése",
|
||||
"Slicer": "Slicer",
|
||||
"SlicerVersion": "Slicer verzió",
|
||||
"StartTime": "Kezdés",
|
||||
@@ -290,7 +279,6 @@
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "Minden Feladat",
|
||||
"Delete": "Törlés",
|
||||
"Empty": "Üres",
|
||||
"JobQueue": "Feladatlista",
|
||||
"Jobs": "Feladatok",
|
||||
@@ -342,17 +330,12 @@
|
||||
"Logfiles": "Logfájlok"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"Awake": "Ébren",
|
||||
"Constants": "Állandók",
|
||||
"Distro": "Disztribúció",
|
||||
"Frequency": "Frekv.",
|
||||
"HostDetails": "Gazdagép részletei",
|
||||
"LastStats": "Utolsó statisztikák",
|
||||
"Load": "Betöltés",
|
||||
"Memory": "Mem",
|
||||
"Os": "OS",
|
||||
"SystemLoad": "Rendszerterhelések",
|
||||
"Version": "Verzió"
|
||||
"SystemLoad": "Rendszerterhelések"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "Frissítések keresése",
|
||||
@@ -818,8 +801,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Megerősítő párbeszéd megjelenítése az Eszköz Tápellátásának változtatásához",
|
||||
"DisplayCANCEL_PRINT": "Nyomtatás_megszakítása mutatása",
|
||||
"DisplayCANCEL_PRINTDescription": "A Nyomtatás megszakítása gomb véglegesítése, megerősítést nem kér.",
|
||||
"DisplayZOffset": "Z-eltolás-panel mutatása",
|
||||
"DisplayZOffsetDescription": "Egyébként a panel csak a nyomtatás megkezdése után jelenik meg.",
|
||||
"GcodeThumbnails": "G-Code előképek",
|
||||
"GcodeThumbnailsDescription": "Kattints a gombra útmutatásért",
|
||||
"Guide": "Útmutató",
|
||||
|
||||
+2
-21
@@ -16,8 +16,6 @@
|
||||
"DescriptionPreviouslyUnderVolted": "La tensione di alimentazione dell'rPI è scesa al di sotto di 4,65V almeno una volta dall'ultima accensione.",
|
||||
"DescriptionTemperatureLimitActive": "La temperatura del microcontrollore rPI (solo 3A+/3B+) è attualmente sopra il limite minimo (predefinito 60C).",
|
||||
"DescriptionUnderVoltageDetected": "Tensione di alimentazione dell'rPI attualmente inferiore a 4,65V",
|
||||
"HeadlineCurrentFlags": "Segnalazioni Attuali",
|
||||
"HeadlinePreviouslyFlags": "Segnalazioni Precedenti",
|
||||
"TitleCurrentlyThrottled": "Attualmente Rallentato",
|
||||
"TitleFrequencyCapped": "Frequenza Limitata",
|
||||
"TitlePreviouslyFrequencyCapped": "Precedentemente Frequenza-Limitato ",
|
||||
@@ -135,8 +133,6 @@
|
||||
"DeleteDirectoryQuestion": "Vuoi davvero eliminare la directory \"{name}\" con tutto il suo contenuto?",
|
||||
"Download": "Scarica",
|
||||
"Downloading": "Scaricando",
|
||||
"DoYouWantToStartFilename": "Vuoi avviare {filename}?",
|
||||
"DropFilesToAddGcode": "Trascina i file per aggiungere gcode.",
|
||||
"EditFile": "Modifica file",
|
||||
"Empty": "Vuoto",
|
||||
"Filament": "Filamento",
|
||||
@@ -167,8 +163,6 @@
|
||||
"Search": "Cerca",
|
||||
"SetupCurrentList": "Imposta l'elenco corrente",
|
||||
"Slicer": "Slicer",
|
||||
"StartJob": "Inizia il processo",
|
||||
"StartPrint": "Avvia stampa",
|
||||
"SuccessfullyCreated": "Creato {filename} con successo.",
|
||||
"SuccessfullyDeleted": "Eliminato {filename} con successo.",
|
||||
"SuccessfullyMoved": "Spostato {filename} con successo.",
|
||||
@@ -178,8 +172,7 @@
|
||||
"Uploading": "Caricamento",
|
||||
"UploadNewGcode": "Carica nuovo Gcode",
|
||||
"Used": "Utilizzato",
|
||||
"View3D": "Vedi 3D",
|
||||
"WrongFileUploaded": "Il caricamento è stato rifiutato per {filename}. Formato file sbagliato!"
|
||||
"View3D": "Vedi 3D"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Rimuovi",
|
||||
@@ -221,8 +214,6 @@
|
||||
"Variance": "Variazione "
|
||||
},
|
||||
"DeleteBedMeshProfile": "Elimina il Profilo \"Bed Mesh\"",
|
||||
"Deleted": "cancellato",
|
||||
"DoYouReallyWantToCalibrate": "Vuoi davvero avviare la calibrazione del piano?",
|
||||
"DoYouReallyWantToDelete": "Vuoi davvero eliminare il profilo",
|
||||
"ErrorKlipperNotReady": "Klipper non è pronto. Mappatura dei rilievi disabilitata.",
|
||||
"Flat": "Piatto",
|
||||
@@ -236,7 +227,6 @@
|
||||
"Remove": "eliminare",
|
||||
"Rename": "rinominare",
|
||||
"RenameBedMeshProfile": "Rinomina Profilo \"Bed Mesh\"",
|
||||
"Scale": "Scala",
|
||||
"TitleCalibrate": "Calibra nuovo \"Bed Mesh\"",
|
||||
"TitleClear": "Cancella \"Bed Mesh\"",
|
||||
"TitleHomeAll": "Home - Tutti gli assi",
|
||||
@@ -274,7 +264,6 @@
|
||||
"PrinttimeAvg": "Tempo di stampa medio",
|
||||
"Reprint": "Ristampa",
|
||||
"Search": "cerca",
|
||||
"ShowStatusName": "Mostra \"{name}\" ({count})",
|
||||
"Slicer": "Slicer",
|
||||
"SlicerVersion": "Versione Slicer",
|
||||
"StartTime": "Ora Inizio",
|
||||
@@ -290,7 +279,6 @@
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "Tutti i lavori",
|
||||
"Delete": "Cancella",
|
||||
"Empty": "Vuoto",
|
||||
"JobQueue": "Coda dei lavori",
|
||||
"Jobs": "Lavori",
|
||||
@@ -342,17 +330,12 @@
|
||||
"Logfiles": "File di registro"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"Awake": "Sveglio",
|
||||
"Constants": "Costanti",
|
||||
"Distro": "Distro",
|
||||
"Frequency": "Freq",
|
||||
"HostDetails": "Dettagli dell'Host",
|
||||
"LastStats": "Ultime statistiche",
|
||||
"Load": "Utilizzo",
|
||||
"Memory": "Memoria",
|
||||
"Os": "SO",
|
||||
"SystemLoad": "Carichi di Sistema",
|
||||
"Version": "Versione"
|
||||
"SystemLoad": "Carichi di Sistema"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "Verifica aggiornamenti",
|
||||
@@ -814,8 +797,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Mostra un dialogo di conferma alle modifiche di Device Power",
|
||||
"DisplayCANCEL_PRINT": "Mostra CANCEL_PRINT",
|
||||
"DisplayCANCEL_PRINTDescription": "Mostra un bottone CANCEL_PRINT permanentemente - nessuna conferma del secondo strato necessaria.",
|
||||
"DisplayZOffset": "Mostra pannello Z-Offset",
|
||||
"DisplayZOffsetDescription": "Altrimenti, il pannello apparirà solo dopo una stampa è iniziata.",
|
||||
"GcodeThumbnails": "Anteprime Gcode",
|
||||
"GcodeThumbnailsDescription": "Clicca sul bottone per ricevere le istruzioni.",
|
||||
"Guide": "Guida",
|
||||
|
||||
+70
-53
@@ -121,6 +121,15 @@
|
||||
"SendCode": "コード送信...",
|
||||
"SetupConsole": "コンソール設定"
|
||||
},
|
||||
"Dialogs": {
|
||||
"StartPrint": {
|
||||
"Cancel": "取り消し",
|
||||
"DoYouWantToStartFilename": "{filename}の印刷を開始しますか?",
|
||||
"Headline": "ジョブ開始",
|
||||
"Print": "印刷",
|
||||
"Timelapse": "タイムラプス"
|
||||
}
|
||||
},
|
||||
"Editor": {
|
||||
"Cancel": "取り消し",
|
||||
"ConfigReference": "設定の参考",
|
||||
@@ -156,28 +165,30 @@
|
||||
"DeleteSelectedQuestion": "選択された {count}個のファイルを削除します。よろしいですか?",
|
||||
"Download": "ダウンロード",
|
||||
"Downloading": "ダウンロード中",
|
||||
"DoYouWantToStartFilename": "{filename}の印刷を開始しますか?",
|
||||
"DropFilesToAddGcode": "ドラッグ&ドロップしてG-コードを追加します。",
|
||||
"EditFile": "ファイル編集",
|
||||
"Empty": "空",
|
||||
"Filament": "フィラメント",
|
||||
"FilamentName": "フィラメント名",
|
||||
"FilamentType": "フィラメントタイプ",
|
||||
"FilamentUsage": "フィラメント用途",
|
||||
"FilamentWeight": "フィラメント重量",
|
||||
"FilamentType": "材質",
|
||||
"FilamentUsage": "長さ",
|
||||
"FilamentWeight": "重量",
|
||||
"Files": "ファイル",
|
||||
"Filesize": "ファイルサイズ",
|
||||
"Filesize": "サイズ",
|
||||
"Free": "空き",
|
||||
"FreeDisk": "空きディスク",
|
||||
"GCodeFiles": "G-コードファイル",
|
||||
"GCodeFiles": "Gコードファイル",
|
||||
"HiddenFiles": "隠し属性ファイル",
|
||||
"LastEndTime": "直近の終了時刻",
|
||||
"LastFilamentUsed": "直近の使用量",
|
||||
"LastModified": "最終更新",
|
||||
"LastPrintDuration": "直近のプリント時間",
|
||||
"LastStartTime": "直近の開始時刻",
|
||||
"LastTotalDuration": "直近の総プリント時間",
|
||||
"LayerHeight": "層の高さ",
|
||||
"Name": "名前",
|
||||
"NewDirectory": "新規ディレクトリ",
|
||||
"NozzleDiameter": "ノズル穴径",
|
||||
"ObjectHeight": "印刷オブジェクトの高さ",
|
||||
"ObjectHeight": "印刷物の高さ",
|
||||
"Preheat": "予備加熱",
|
||||
"PrintedFiles": "印刷したファイル",
|
||||
"PrintStart": "印刷開始",
|
||||
@@ -189,8 +200,6 @@
|
||||
"Search": "検索",
|
||||
"SetupCurrentList": "一覧の設定",
|
||||
"Slicer": "スライサー",
|
||||
"StartJob": "ジョブ開始",
|
||||
"StartPrint": "印刷開始",
|
||||
"SuccessfullyCreated": "{filename}が作成されました。",
|
||||
"SuccessfullyDeleted": "{filename}が削除されました。",
|
||||
"SuccessfullyMoved": "{filename}が移動されました。",
|
||||
@@ -198,10 +207,13 @@
|
||||
"SuccessfullyUploaded": "{filename}がアップロードされました!",
|
||||
"Total": "総計",
|
||||
"Uploading": "アップロード中",
|
||||
"UploadNewGcode": "新しいG-コードファイルをアップロード",
|
||||
"UploadNewGcode": "新しいGコードファイルをアップロード",
|
||||
"Used": "使用済み",
|
||||
"View3D": "3Dビュー",
|
||||
"WrongFileUploaded": "{filename}のアップロードが拒否されました。ファイル形式が正しくありません。"
|
||||
"View3D": "3Dビュー"
|
||||
},
|
||||
"FullscreenUpload": {
|
||||
"CannotUploadFile": "アップロードできませんでした!",
|
||||
"DropFilesToUploadFiles": "アップロードするファイルをドロップ"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "クリア",
|
||||
@@ -222,7 +234,7 @@
|
||||
"ShowTravelMoves": "トラベル表示",
|
||||
"ShowObjectSelection": "オブジェクト選択表示",
|
||||
"SpecularLighting": "スペキュラーラインティング",
|
||||
"Title": "G-Code ビュアー",
|
||||
"Title": "Gコードビュアー",
|
||||
"Tracking": "トラッキング",
|
||||
"Transparency": "透明",
|
||||
"Ultra": "ウルトラ",
|
||||
@@ -261,7 +273,7 @@
|
||||
"RenameBedMeshProfile": "ベッドメッシュのプロファイル名変更",
|
||||
"SAVE_CONFIG": "設定保存",
|
||||
"ScaleGradient": "目盛の勾配",
|
||||
"ScaleZMax": "目盛のz-max.",
|
||||
"ScaleZMax": "目盛のZ軸最大値",
|
||||
"TitleCalibrate": "新規ベッドメッシュの校正",
|
||||
"TitleClear": "ベッドメッシュのクリア",
|
||||
"TitleHomeAll": "全軸ホームポジション",
|
||||
@@ -283,8 +295,8 @@
|
||||
"EstimatedFilamentWeight": "推定フィラメント重量",
|
||||
"EstimatedTime": "推定印刷時間",
|
||||
"FilamentCalc": "フィラメント計算",
|
||||
"FilamentUsage": "フィラメント用途",
|
||||
"FilamentUsed": "使用フィラメント長",
|
||||
"FilamentUsage": "使用フィラメント",
|
||||
"FilamentUsed": "長さ",
|
||||
"Filename": "ファイル名",
|
||||
"Filesize": "ファイルサイズ",
|
||||
"FirstLayerBedTemp": "第1層目のベッド温度",
|
||||
@@ -298,7 +310,7 @@
|
||||
"LayerHeight": "層の高さ",
|
||||
"LongestPrinttime": "最長印刷時間",
|
||||
"Note": "ノート",
|
||||
"ObjectHeight": "オブジェクトの高さ",
|
||||
"ObjectHeight": "印刷物の高さ",
|
||||
"PrintDuration": "印刷時間",
|
||||
"PrintHistory": "印刷履歴",
|
||||
"PrintTime": "印刷時間",
|
||||
@@ -337,7 +349,6 @@
|
||||
"Jobs": "ジョブ",
|
||||
"AllJobs": "全ジョブ",
|
||||
"Empty": "空",
|
||||
"Delete": "削除",
|
||||
"Start": "開始",
|
||||
"Pause": "一時停止"
|
||||
},
|
||||
@@ -353,6 +364,7 @@
|
||||
"Delete": "削除",
|
||||
"DeleteDirectory": "ディレクトリ削除",
|
||||
"DeleteDirectoryQuestion": "ディレクトリ\"{name}\"と中に含まれるすべてのファイルが削除されます。よろしいですか?",
|
||||
"DeleteSelectedQuestion": "選択した {count}個を削除しますか?",
|
||||
"Download": "ダウンロード",
|
||||
"EditFile": "ファイル編集",
|
||||
"Empty": "空",
|
||||
@@ -424,7 +436,7 @@
|
||||
"Dirty": "dirty",
|
||||
"ERROR": "エラー",
|
||||
"Invalid": "無効",
|
||||
"OSPackages": "OS-パッケージ",
|
||||
"OSPackages": "OSパッケージ",
|
||||
"PackagesCanBeUpgraded": "アップグレード可能なパッケージ",
|
||||
"System": "システム",
|
||||
"Unknown": "不明",
|
||||
@@ -440,9 +452,9 @@
|
||||
"ALL": "すべて",
|
||||
"AlternateControls": "代替コントロール",
|
||||
"Headline": "コントロール",
|
||||
"InvertX": "X反転",
|
||||
"InvertY": "Y反転",
|
||||
"InvertZ": "Z反転",
|
||||
"InvertX": "X軸反転",
|
||||
"InvertY": "Y軸反転",
|
||||
"InvertZ": "Z軸反転",
|
||||
"PleaseConfigureSteps": "ステップを設定してください",
|
||||
"QGL": "QGL",
|
||||
"SettingsInterfaceControl": "設定 > インターフェース > コントロール",
|
||||
@@ -450,7 +462,7 @@
|
||||
"X": "X",
|
||||
"Y": "Y",
|
||||
"Z": "Z",
|
||||
"ZTilt": "Zチルト"
|
||||
"ZTilt": "Z軸チルト"
|
||||
},
|
||||
"ExtruderControlPanel": {
|
||||
"Allowed": "許可",
|
||||
@@ -487,13 +499,13 @@
|
||||
"UnretractExtraLength": "追加の戻り長",
|
||||
"UnretractSpeed": "戻り速度"
|
||||
},
|
||||
"Headline": "機械設定",
|
||||
"Headline": "機器設定",
|
||||
"MotionSettings": {
|
||||
"Acceleration": "加速度",
|
||||
"Acceleration": "最大加速度",
|
||||
"MaxAccelToDecel": "最大加速から減速",
|
||||
"Motion": "運動",
|
||||
"SquareCornerVelocity": "正方角速度(SCV)",
|
||||
"Velocity": "速度"
|
||||
"Motion": "運動特性",
|
||||
"SquareCornerVelocity": "コーナー速度(SCV)",
|
||||
"Velocity": "最高速度"
|
||||
},
|
||||
"PressureAdvanceSettings": {
|
||||
"Advance": "Pressure Advance",
|
||||
@@ -548,11 +560,17 @@
|
||||
},
|
||||
"Filament": "フィラメント",
|
||||
"File": "ファイル",
|
||||
"Files": "ファイル",
|
||||
"EmptyGcodes": "Gコードがありません。",
|
||||
"EmptyJobqueue": "現在、ジョブキューにファイルがありません。",
|
||||
"Jobqueue": "ジョブキュー ({count})",
|
||||
"JobqueueMoreFiles": "ジョブなし | あとひとつのジョブ | あと {count}個のジョブ",
|
||||
"PrintTime": "印刷時間",
|
||||
"Flow": "フロー",
|
||||
"Headline": "状態",
|
||||
"Layer": "層",
|
||||
"Max": "最大",
|
||||
"ObjectHeight": "オブジェクトの高さ",
|
||||
"ObjectHeight": "印刷物の高さ",
|
||||
"PausePrint": "印刷一時停止",
|
||||
"Print": "印刷",
|
||||
"ReprintJob": "再印刷ジョブ",
|
||||
@@ -560,6 +578,7 @@
|
||||
"ResumePrint": "印刷再開",
|
||||
"Slicer": "スライサー",
|
||||
"Speed": "速度",
|
||||
"Status": "状態",
|
||||
"Total": "総計",
|
||||
"Unknown": "不明"
|
||||
},
|
||||
@@ -568,10 +587,10 @@
|
||||
"Avg": "平均",
|
||||
"Color": "色",
|
||||
"Cooldown": "クールダウン",
|
||||
"Current": "電流",
|
||||
"Current": "温度",
|
||||
"Dataset": {
|
||||
"Power": "PWM-出力",
|
||||
"Speed": "PWM-速度",
|
||||
"Power": "PWM出力",
|
||||
"Speed": "PWM速度",
|
||||
"Target": "目標温度",
|
||||
"Temperature": "現在の温度"
|
||||
},
|
||||
@@ -606,10 +625,10 @@
|
||||
"SettingsInterfaceControl": "設定 > インターフェース > コントロール",
|
||||
"SetupControls": "コントロール設定",
|
||||
"SpeedFactor": "速度係数",
|
||||
"XOffset": "X-オフセット",
|
||||
"YOffset": "Y-オフセット",
|
||||
"ZOffset": "Z-オフセット",
|
||||
"ZTilt": "Z-チルト"
|
||||
"XOffset": "X軸オフセット",
|
||||
"YOffset": "Y軸オフセット",
|
||||
"ZOffset": "Z軸オフセット",
|
||||
"ZTilt": "Z軸チルト"
|
||||
},
|
||||
"WebcamPanel": {
|
||||
"All": "すべて",
|
||||
@@ -622,13 +641,13 @@
|
||||
"ZoffsetPanel": {
|
||||
"Clear": "初期化",
|
||||
"CurrentOffset": "現在のオフセット",
|
||||
"Headline": "Z-オフセット",
|
||||
"Headline": "Z軸オフセット",
|
||||
"Later": "あとで",
|
||||
"Ok": "OK",
|
||||
"Save": "保存",
|
||||
"SaveConfig": "設定保存",
|
||||
"SaveInfoDescription": "新しいZ-オフセットが計算され登録されました。\"設定保存\"をクリックするとprinter.cfgに保存して、Klipperを再始動します。",
|
||||
"SaveInfoDescriptionPrint": "新しいZ-オフセットが計算され登録されました。印刷後、トップバーの\"設定保存\"をクリックするとprinter.cfgに保存して、Klipperを再始動します。",
|
||||
"SaveInfoDescription": "新しいZ軸オフセットが計算され登録されました。\"設定保存\"をクリックするとprinter.cfgに保存して、Klipperを再始動します。",
|
||||
"SaveInfoDescriptionPrint": "新しいZ軸オフセットが計算され登録されました。印刷後、トップバーの\"設定保存\"をクリックするとprinter.cfgに保存して、Klipperを再始動します。",
|
||||
"SaveInfoHeadline": "情報",
|
||||
"ToEndstop": "エンドストップまで",
|
||||
"ToProbe": "プローブまで"
|
||||
@@ -644,11 +663,11 @@
|
||||
"Router": {
|
||||
"Console": "コンソール",
|
||||
"Dashboard": "ダッシュボード",
|
||||
"G-Code Files": "G-コードファイル",
|
||||
"G-Code Viewer": "G-コードビュアー",
|
||||
"G-Code Files": "Gコードファイル",
|
||||
"G-Code Viewer": "Gコードビュアー",
|
||||
"Heightmap": "高低マップ",
|
||||
"History": "履歴",
|
||||
"Machine": "機械",
|
||||
"Machine": "機器",
|
||||
"Printers": "プリンター",
|
||||
"Timelapse": "タイムラプス",
|
||||
"Webcam": "カメラ"
|
||||
@@ -699,8 +718,6 @@
|
||||
"Circle": "サークル",
|
||||
"Control": "コントロール",
|
||||
"Cross": "クロス",
|
||||
"DisplayZOffset": "Z-オフセットコントロールを常に表示",
|
||||
"DisplayZOffsetDescription": "無効にした場合、このコントロールは印刷時のみ表示されます。",
|
||||
"EnableXYHoming": "XY軸の複合ホーミングを有効",
|
||||
"EstimatedExtrusionInfo": "推定押し出し情報を表示",
|
||||
"EstimatedExtrusionInfoDescription": "押し出し量と送り速度に基づいて推定された押し出し情報を表示または隠す。",
|
||||
@@ -722,8 +739,8 @@
|
||||
"SpeedZ": "Z軸の移動速度",
|
||||
"Style": "スタイル",
|
||||
"ValueGreaterThan": "値は {value}よりも大きくなければなりません。",
|
||||
"ZOffsetIncrements": "Z-オフセット増分(mm)",
|
||||
"ZTiltAdjust": "Z-チルト調整{isDefault}"
|
||||
"ZOffsetIncrements": "Z軸オフセット増分(mm)",
|
||||
"ZTiltAdjust": "Zチルト調整{isDefault}"
|
||||
},
|
||||
"DashboardTab": {
|
||||
"Dashboard": "ダッシュボード",
|
||||
@@ -748,7 +765,7 @@
|
||||
"GCodeViewerTab": {
|
||||
"BackgroundColor": "背景色",
|
||||
"ExtruderColor": "エクストルーダー色",
|
||||
"GCodeViewer": "G-Code ビュアー",
|
||||
"GCodeViewer": "Gコードビュアー",
|
||||
"GridColor": "グリッド色",
|
||||
"MaxFeed": "最大フィードレート",
|
||||
"MinFeed": "最小フィードレート",
|
||||
@@ -824,7 +841,7 @@
|
||||
"AddPreset": "プリセット追加",
|
||||
"Cooldown": "クールダウン",
|
||||
"CreateHeadline": "プリセット作成",
|
||||
"CustomGCode": "カスタムG-コード",
|
||||
"CustomGCode": "カスタムGコード",
|
||||
"EditCooldown": "クールダウン編集",
|
||||
"EditHeadline": "プリセット編集",
|
||||
"ErrorInvalidValue": "無効な値",
|
||||
@@ -832,7 +849,7 @@
|
||||
"ErrorNameRequired": "名前が必要です",
|
||||
"Name": "名前",
|
||||
"PreheatPresets": "プリセット",
|
||||
"PresetInfo": "少なくとも目標温度かカスタムG-コードのどちらかを設定してください。",
|
||||
"PresetInfo": "少なくとも目標温度かカスタムGコードのどちらかを設定してください。",
|
||||
"PresetNamePlaceholder": "プリセット名(必須)",
|
||||
"StoreButton": "プリセット保存",
|
||||
"UpdateButton": "プリセット更新",
|
||||
@@ -861,8 +878,8 @@
|
||||
"ExtraoutputparamsDescription": "FFMPGへの追加の出力パラメータを定義します。※ここで何かを設定すると回転の設定は無効になります。",
|
||||
"FwRetract": "ファームウェア引き込み",
|
||||
"FwRetractDescription": "タイムラプスマクロでファームウェア引き込みを使う",
|
||||
"GcodeVerbose": "G-コード詳細表示",
|
||||
"GcodeVerboseDescription": "有効のとき、G-コードマクロはコンソールに情報出力します",
|
||||
"GcodeVerbose": "Gコード詳細表示",
|
||||
"GcodeVerboseDescription": "有効のとき、Gコードマクロはコンソールに情報出力します",
|
||||
"General": "全般",
|
||||
"HyperlapseCycle": "ハイパーラプス周期時間",
|
||||
"HyperlapseCycleDescription": "X秒ごとにスナップショットが撮影されます",
|
||||
@@ -924,7 +941,7 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "電源デバイス変更時に確認ダイアログを表示します。",
|
||||
"DisplayCANCEL_PRINT": "印刷取り消しの表示",
|
||||
"DisplayCANCEL_PRINTDescription": "印刷取り消しボタンを常に表示します - 2層目の確認不要",
|
||||
"GcodeThumbnails": "G-コードのサムネイル",
|
||||
"GcodeThumbnails": "Gコードのサムネイル",
|
||||
"GcodeThumbnailsDescription": "ボタンをクリックすると、説明書に移動します。",
|
||||
"Guide": "ガイド",
|
||||
"LockSliders": "タッチスクリーンデバイスのスライダーをロックする",
|
||||
|
||||
+2
-21
@@ -16,8 +16,6 @@
|
||||
"DescriptionPreviouslyUnderVolted": "rPI voedingsspanning is onder de 4.65V sinds de laatste power-on.",
|
||||
"DescriptionTemperatureLimitActive": "rPi uC (alleen 3A+/3B+) temperatuur is momenteel boven de soft limit (standaard 60C).",
|
||||
"DescriptionUnderVoltageDetected": "rPI voedingsspanning is momenteel onder de 4.65V",
|
||||
"HeadlineCurrentFlags": "Huidige Flags",
|
||||
"HeadlinePreviouslyFlags": "Vorige Flags",
|
||||
"TitleCurrentlyThrottled": "Momenteel Gethrottled",
|
||||
"TitleFrequencyCapped": "Frequentie Beperkt",
|
||||
"TitlePreviouslyFrequencyCapped": "Voorheen Freqentie Beperkt",
|
||||
@@ -135,8 +133,6 @@
|
||||
"DeleteDirectoryQuestion": "Weet je zeker dat je de \"{name}\" map wil verwijderen met alle inhoud?",
|
||||
"Download": "Download",
|
||||
"Downloading": "Downloaden",
|
||||
"DoYouWantToStartFilename": "Wil je {filename} starten?",
|
||||
"DropFilesToAddGcode": "Sleep bestanden om G-Code toe te voegen",
|
||||
"EditFile": "Bewerk bestand",
|
||||
"Empty": "Leeg",
|
||||
"Filament": "Filament",
|
||||
@@ -167,8 +163,6 @@
|
||||
"Search": "Zoeken",
|
||||
"SetupCurrentList": "Instellingen",
|
||||
"Slicer": "Slicer",
|
||||
"StartJob": "Starten",
|
||||
"StartPrint": "Start print",
|
||||
"SuccessfullyCreated": "{filename} succesvol aangemaakt.",
|
||||
"SuccessfullyDeleted": "{filename} succesvol verwijderd.",
|
||||
"SuccessfullyMoved": "{filename} succesvol verplaatsd.",
|
||||
@@ -178,8 +172,7 @@
|
||||
"Uploading": "Uploaden",
|
||||
"UploadNewGcode": "Upload nieuwe G-Code",
|
||||
"Used": "Gebruikt",
|
||||
"View3D": "Bekijk in 3D",
|
||||
"WrongFileUploaded": "Upload is gewijgerd voor {filename}. Verkeerd bestandsformaat!"
|
||||
"View3D": "Bekijk in 3D"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Leeg",
|
||||
@@ -221,8 +214,6 @@
|
||||
"Variance": "Variatie"
|
||||
},
|
||||
"DeleteBedMeshProfile": "Verwijder Bed Mesh Profiel",
|
||||
"Deleted": "verwijderd",
|
||||
"DoYouReallyWantToCalibrate": "Weet je zeker dat je een bedkalibratie wil starten?",
|
||||
"DoYouReallyWantToDelete": "Weet je zeker dat je het profiel \"{name}\" wil verwijderen?",
|
||||
"ErrorKlipperNotReady": "Klipper nog niet klaar . Hoogtekaart uitgeschakeld.",
|
||||
"Flat": "Vlak",
|
||||
@@ -236,7 +227,6 @@
|
||||
"Remove": "verwijderen",
|
||||
"Rename": "hernoemen",
|
||||
"RenameBedMeshProfile": "Hernoem Bed Mesh Profiel",
|
||||
"Scale": "Schaal",
|
||||
"TitleCalibrate": "Kalibreer nieuwe bed mesh",
|
||||
"TitleClear": "Verijwder bed mesh",
|
||||
"TitleHomeAll": "Home alles",
|
||||
@@ -274,7 +264,6 @@
|
||||
"PrinttimeAvg": "Printtijd gemiddeld",
|
||||
"Reprint": "Opnieuw printen",
|
||||
"Search": "zoek",
|
||||
"ShowStatusName": "Toon \"{name}\" ({count})",
|
||||
"Slicer": "Slicer",
|
||||
"SlicerVersion": "Slicer Versie",
|
||||
"StartTime": "Starttijd",
|
||||
@@ -290,7 +279,6 @@
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "Alle jobs",
|
||||
"Delete": "Verwijderen",
|
||||
"Empty": "Leeg",
|
||||
"JobQueue": "Job wachtrij",
|
||||
"Jobs": "Jobs",
|
||||
@@ -342,17 +330,12 @@
|
||||
"Logfiles": "Logbestanden"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"Awake": "Wakker",
|
||||
"Constants": "Constanten",
|
||||
"Distro": "Distributie",
|
||||
"Frequency": "Freq",
|
||||
"HostDetails": "Host details",
|
||||
"LastStats": "Laatste statistieken",
|
||||
"Load": "Load",
|
||||
"Memory": "Mem",
|
||||
"Os": "OS",
|
||||
"SystemLoad": "Systeem Loads",
|
||||
"Version": "Versie"
|
||||
"SystemLoad": "Systeem Loads"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "Controleer op updates",
|
||||
@@ -843,8 +826,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Vraag om een bevesting bij wijzigen van Stroomvoorziening van apparaten",
|
||||
"DisplayCANCEL_PRINT": "Toon CANCEL_PRINT",
|
||||
"DisplayCANCEL_PRINTDescription": "Toont de CANCEL_PRINT knop altijd - geen bevestiging nodig.",
|
||||
"DisplayZOffset": "Toon Z-Offset Paneel",
|
||||
"DisplayZOffsetDescription": "Zo niet, wordt het alleen getoond nadat een print is gestart.",
|
||||
"GcodeThumbnails": "Gcode thumbnails",
|
||||
"GcodeThumbnailsDescription": "Klik op de knop om naar de instructies te gaan.",
|
||||
"Guide": "Richtlijnen",
|
||||
|
||||
+2
-21
@@ -16,8 +16,6 @@
|
||||
"DescriptionPreviouslyUnderVolted": "Zasilanie rPi było poniżej 4.65V co najmniej raz od ostatniego włączenia.",
|
||||
"DescriptionTemperatureLimitActive": "Temperatura rPi (wyłącznie 3A+/3B+) jest aktualnie powyżej ograniczeń programowych (domyślnie 60C).",
|
||||
"DescriptionUnderVoltageDetected": "Zasilanie rPi poniżej 4.65V",
|
||||
"HeadlineCurrentFlags": "Aktualne flagi",
|
||||
"HeadlinePreviouslyFlags": "Poprzednie flagi",
|
||||
"TitleCurrentlyThrottled": "Zdławienie",
|
||||
"TitleFrequencyCapped": "Obniżenie częstotliwości",
|
||||
"TitlePreviouslyFrequencyCapped": "Poprzednio ograniczone taktowanie",
|
||||
@@ -135,8 +133,6 @@
|
||||
"DeleteDirectoryQuestion": "Czy na pewno chcesz usunąć katalog \"{name}\" z całą jej zawartością?",
|
||||
"Download": "Pobierz",
|
||||
"Downloading": "Pobieranie",
|
||||
"DoYouWantToStartFilename": "Czy chcesz rozpocząć druk {filename}?",
|
||||
"DropFilesToAddGcode": "Przenieś i upuść plik(i) aby wgrać G-Code",
|
||||
"EditFile": "Edytowanie pliku",
|
||||
"Empty": "Puste",
|
||||
"Filament": "Filament",
|
||||
@@ -167,8 +163,6 @@
|
||||
"Search": "Wyszukaj",
|
||||
"SetupCurrentList": "Ustawienia aktualnych list",
|
||||
"Slicer": "Slicer",
|
||||
"StartJob": "Start pracy",
|
||||
"StartPrint": "Start druku",
|
||||
"SuccessfullyCreated": "Pomyślnie utworzono {filename}.",
|
||||
"SuccessfullyDeleted": "Pomyślnie usunięto {filename}.",
|
||||
"SuccessfullyMoved": "Pomyślnie przeniesiono {filename}.",
|
||||
@@ -178,8 +172,7 @@
|
||||
"Uploading": "Wgrywanie",
|
||||
"UploadNewGcode": "Wgraj nowy G-Code",
|
||||
"Used": "Użyte",
|
||||
"View3D": "Zobacz w 3D",
|
||||
"WrongFileUploaded": "Niemożliwe wgranie {filename}. Zły format pliku!"
|
||||
"View3D": "Zobacz w 3D"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Wyczyść",
|
||||
@@ -221,8 +214,6 @@
|
||||
"Variance": "Różnica"
|
||||
},
|
||||
"DeleteBedMeshProfile": "Usuń siatkę stołu",
|
||||
"Deleted": "Usunięto",
|
||||
"DoYouReallyWantToCalibrate": "Czy na pewno chcesz rozpocząć nową kalibrację siatki?",
|
||||
"DoYouReallyWantToDelete": "Czy na pewno chcesz usunąć profil \"{name}\"?",
|
||||
"ErrorKlipperNotReady": "Klipper nie jest gotowy. Mapa stołu wyłączona",
|
||||
"Flat": "Stół",
|
||||
@@ -236,7 +227,6 @@
|
||||
"Remove": "Usuń",
|
||||
"Rename": "Zmień nazwę",
|
||||
"RenameBedMeshProfile": "Zmień nazwę siatki stołu",
|
||||
"Scale": "Skala",
|
||||
"TitleCalibrate": "Kalibracja nowej siatki",
|
||||
"TitleClear": "Wyczyść siatkę stołu.",
|
||||
"TitleHomeAll": "Pozycja zerowa wszystkich osi",
|
||||
@@ -274,7 +264,6 @@
|
||||
"PrinttimeAvg": "Średni czas wydruku",
|
||||
"Reprint": "Ponownie wydrukuj",
|
||||
"Search": "wyszukaj",
|
||||
"ShowStatusName": "Pokaż \"{name}\" ({count})",
|
||||
"Slicer": "Slicer",
|
||||
"SlicerVersion": "Wersja Slicera",
|
||||
"StartTime": "Czas rozpoczęcia",
|
||||
@@ -290,7 +279,6 @@
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "Wszystkie wydruki",
|
||||
"Delete": "Usuń",
|
||||
"Empty": "Puste",
|
||||
"JobQueue": "Kolejka wydruków",
|
||||
"Jobs": "Wydruki",
|
||||
@@ -342,17 +330,12 @@
|
||||
"Logfiles": "Pliki logów"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"Awake": "Wzbudzony",
|
||||
"Constants": "Stałe",
|
||||
"Distro": "Dystrybucja",
|
||||
"Frequency": "Częstotliwość",
|
||||
"HostDetails": "Detale Hosta",
|
||||
"LastStats": "Ostatnie statystyki",
|
||||
"Load": "Śr. zużycia",
|
||||
"Memory": "Pamięć",
|
||||
"Os": "System",
|
||||
"SystemLoad": "Ładowanie systemu",
|
||||
"Version": "Wersja"
|
||||
"SystemLoad": "Ładowanie systemu"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "Sprawdź , czy są dostępne aktualizacje",
|
||||
@@ -815,8 +798,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Pokazuj dialog potwierdzenia po naciśnięciu zmiany zasilania.",
|
||||
"DisplayCANCEL_PRINT": "Pokazuj przycisk ANULUJ_WYDRUK",
|
||||
"DisplayCANCEL_PRINTDescription": "Pokazuje przycisk ANULUJ_WYDRUK permamentnie - brak potrzeby drugiej warstwy.",
|
||||
"DisplayZOffset": "Pokazuj panel Z-Offset",
|
||||
"DisplayZOffsetDescription": "W przeciwnym wypadku , panel będzie pojawiał się wyłącznie po rozpoczęciu wydruku.",
|
||||
"GcodeThumbnails": "Pokazuj miniaturki",
|
||||
"GcodeThumbnailsDescription": "Wciśnij aby przejść na stronę z pomocnikiem dot. włączenia funkcji.",
|
||||
"Guide": "Przewodnik",
|
||||
|
||||
+2
-21
@@ -16,8 +16,6 @@
|
||||
"DescriptionPreviouslyUnderVolted": "Напряжение питания rPI упало ниже 4,65 В хотя бы один раз с момента последнего включения питания.",
|
||||
"DescriptionTemperatureLimitActive": "rPi uC (только 3A+/3B+) температура в настоящее время выше плавного предела (по умолчанию 60C).",
|
||||
"DescriptionUnderVoltageDetected": "Напряжение питания rPI в настоящее время ниже 4,65 В",
|
||||
"HeadlineCurrentFlags": "Текущие флаги",
|
||||
"HeadlinePreviouslyFlags": "Ранее флаги",
|
||||
"TitleCurrentlyThrottled": "В настоящее время дросселируется",
|
||||
"TitleFrequencyCapped": "Частота ограничена",
|
||||
"TitlePreviouslyFrequencyCapped": "Ранее частота была ограничена",
|
||||
@@ -135,8 +133,6 @@
|
||||
"DeleteDirectoryQuestion": "Вы действительно хотите удалить каталог \"{name}\" со всем его содержимым?",
|
||||
"Download": "Скачать",
|
||||
"Downloading": "Загрузка",
|
||||
"DoYouWantToStartFilename": "Вы хотите начать {filename}?",
|
||||
"DropFilesToAddGcode": "Удалить файлы для добавления кода.",
|
||||
"EditFile": "Редактировать файл",
|
||||
"Empty": "Пустой",
|
||||
"Filament": "Филамент",
|
||||
@@ -167,8 +163,6 @@
|
||||
"Search": "Поиск",
|
||||
"SetupCurrentList": "Создать текущий список",
|
||||
"Slicer": "Slicer",
|
||||
"StartJob": "Стартовый заказ",
|
||||
"StartPrint": "Druck starten",
|
||||
"SuccessfullyCreated": "Успешно создано {filename}.",
|
||||
"SuccessfullyDeleted": "Успешно удалено {filename}.",
|
||||
"SuccessfullyMoved": "Успешное перемещение {filename}.",
|
||||
@@ -178,8 +172,7 @@
|
||||
"Uploading": "Загрузить",
|
||||
"UploadNewGcode": "Загрузить новый Gcode",
|
||||
"Used": "Использует: ",
|
||||
"View3D": "3D просмотр",
|
||||
"WrongFileUploaded": "В загрузке файла {filename} было отказано. Неправильный формат файла!"
|
||||
"View3D": "3D просмотр"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Удалить",
|
||||
@@ -221,8 +214,6 @@
|
||||
"Variance": "Отклонение"
|
||||
},
|
||||
"DeleteBedMeshProfile": "Удалить профиль высоты кровати",
|
||||
"Deleted": "удалённый",
|
||||
"DoYouReallyWantToCalibrate": "Ты действительно хочешь начать калибровку постели?",
|
||||
"DoYouReallyWantToDelete": "Вы действительно хотите удалить профиль \"{name}\"?",
|
||||
"ErrorKlipperNotReady": "Клиппер не готов. Карта высот отключена.",
|
||||
"Flat": "Плоский",
|
||||
@@ -236,7 +227,6 @@
|
||||
"Remove": "удалить",
|
||||
"Rename": "переименовать",
|
||||
"RenameBedMeshProfile": "Переименовать профиль высоты кровати",
|
||||
"Scale": "Шкала",
|
||||
"TitleCalibrate": " новая постельная сетка",
|
||||
"TitleClear": "Ясная сетка",
|
||||
"TitleHomeAll": "Дома все",
|
||||
@@ -274,7 +264,6 @@
|
||||
"PrinttimeAvg": "время печати",
|
||||
"Reprint": "Перепечатка",
|
||||
"Search": "Поиск",
|
||||
"ShowStatusName": "Показать \" {name}\" ({count})",
|
||||
"Slicer": "Slicer",
|
||||
"SlicerVersion": "Slicer Версия",
|
||||
"StartTime": "Время начала",
|
||||
@@ -290,7 +279,6 @@
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "Все заказы",
|
||||
"Delete": "Удалить",
|
||||
"Empty": "Пустой",
|
||||
"JobQueue": "Очередь на работу",
|
||||
"Jobs": "Заказы",
|
||||
@@ -342,17 +330,12 @@
|
||||
"Logfiles": "Журналы"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"Awake": "Проснись",
|
||||
"Constants": "Константы",
|
||||
"Distro": "Распространение",
|
||||
"Frequency": "Частота",
|
||||
"HostDetails": "Информация о хозяине",
|
||||
"LastStats": "Последняя статистика",
|
||||
"Load": "Нагрузка",
|
||||
"Memory": "Память",
|
||||
"Os": "OS",
|
||||
"SystemLoad": "Нагрузки на систему",
|
||||
"Version": "Версия"
|
||||
"SystemLoad": "Нагрузки на систему"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "Проверьте наличие обновлений",
|
||||
@@ -841,8 +824,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Отображение диалога подтверждения перед изменением питания устройств.",
|
||||
"DisplayCANCEL_PRINT": "Показать CANCEL_PRINT",
|
||||
"DisplayCANCEL_PRINTDescription": "Отображает кнопку CANCEL_PRINT постоянно - дальнейшее подтверждение не требуется.",
|
||||
"DisplayZOffset": "Показать панель Z-смещения",
|
||||
"DisplayZOffsetDescription": "В противном случае панель управления отображается только после запуска печати.",
|
||||
"GcodeThumbnails": "Эскизы G-кода",
|
||||
"GcodeThumbnailsDescription": "Нажмите на кнопку, чтобы перейти к руководству.",
|
||||
"Guide": "Руководство",
|
||||
|
||||
@@ -155,8 +155,6 @@
|
||||
"DeleteDirectoryQuestion": "Vill du verkligen ta bort katalogen \"{name}\" med allt dess innehåll?",
|
||||
"Download": "Ladda ner",
|
||||
"Downloading": "Laddar ner",
|
||||
"DoYouWantToStartFilename": "Vill du starta {filename}?",
|
||||
"DropFilesToAddGcode": "Dra & släpp filer för att lägga till G-Code.",
|
||||
"EditFile": "Redigera fil",
|
||||
"Empty": "Tom",
|
||||
"Filament": "Filament",
|
||||
@@ -187,8 +185,6 @@
|
||||
"Search": "Sök",
|
||||
"SetupCurrentList": "Ställ in aktuell lista",
|
||||
"Slicer": "Slicer",
|
||||
"StartJob": "Starta jobb",
|
||||
"StartPrint": "Starta utskriften",
|
||||
"SuccessfullyCreated": "{filename} har skapats.",
|
||||
"SuccessfullyDeleted": "{filename} har raderats.",
|
||||
"SuccessfullyMoved": "{filename} har flyttats.",
|
||||
@@ -198,8 +194,7 @@
|
||||
"Uploading": "Laddar upp",
|
||||
"UploadNewGcode": "Ladda upp ny G-Code",
|
||||
"Used": "Använt",
|
||||
"View3D": "Visa 3D",
|
||||
"WrongFileUploaded": "Uppladdningen nekades för {filename}. Fel filformat!"
|
||||
"View3D": "Visa 3D"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Rensa",
|
||||
@@ -332,7 +327,6 @@
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "Alla jobb",
|
||||
"Delete": "Radera",
|
||||
"Empty": "Tom",
|
||||
"JobQueue": "Jobbkö",
|
||||
"Jobs": "Jobb",
|
||||
@@ -889,8 +883,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Visa en bekräftelsedialogruta för ändringar av enhetsström",
|
||||
"DisplayCANCEL_PRINT": "Visa CANCEL_PRINT",
|
||||
"DisplayCANCEL_PRINTDescription": "Visar CANCEL_PRINT-knappen permanent – ingen ytterliggare bekräftelse behövs.",
|
||||
"DisplayZOffset": "Visa Z-Offset-Panel",
|
||||
"DisplayZOffsetDescription": "Annars visas panelen först efter att en utskrift har startat.",
|
||||
"GcodeThumbnails": "G-Code miniatyrbilder",
|
||||
"GcodeThumbnailsDescription": "Klicka på knappen för att komma till instruktionerna.",
|
||||
"Guide": "Guide",
|
||||
|
||||
+1
-17
@@ -16,8 +16,6 @@
|
||||
"DescriptionPreviouslyUnderVolted": "自上次通電後,樹莓派電源電壓至少有一次降至4.65V以下.",
|
||||
"DescriptionTemperatureLimitActive": "rPi uC (僅 3A+/3B+)溫度目前高於軟限制(默認 60C)。",
|
||||
"DescriptionUnderVoltageDetected": "樹莓派電源電壓目前低於4.65V",
|
||||
"HeadlineCurrentFlags": "目前標記",
|
||||
"HeadlinePreviouslyFlags": "以前的標記",
|
||||
"TitleCurrentlyThrottled": "目前被限制",
|
||||
"TitleFrequencyCapped": "頻率上限",
|
||||
"TitlePreviouslyFrequencyCapped": "以前的頻率上限",
|
||||
@@ -100,8 +98,6 @@
|
||||
"DeleteDirectoryQuestion": "您真的要刪除 \"{name}\" 目錄及其所有內容嗎?",
|
||||
"Download": "下載",
|
||||
"Downloading": "下載中",
|
||||
"DoYouWantToStartFilename": "確認打開 {filename}?",
|
||||
"DropFilesToAddGcode": "拖曳並新增 Gcode",
|
||||
"EditFile": "編輯檔案",
|
||||
"Empty": "空的",
|
||||
"FilamentUsage": "耗材用量",
|
||||
@@ -128,8 +124,6 @@
|
||||
"Search": "搜尋",
|
||||
"SetupCurrentList": "設置目前列表",
|
||||
"Slicer": "切片",
|
||||
"StartJob": "開始列印",
|
||||
"StartPrint": "開始列印",
|
||||
"SuccessfullyCreated": "{filename} 建立成功.",
|
||||
"SuccessfullyDeleted": "{filename} 刪除成功.",
|
||||
"SuccessfullyMoved": "{filename} 移動成功.",
|
||||
@@ -181,8 +175,6 @@
|
||||
"Variance": "差異"
|
||||
},
|
||||
"DeleteBedMeshProfile": "刪除網床設定檔",
|
||||
"Deleted": "已刪除",
|
||||
"DoYouReallyWantToCalibrate": "你真的要開始平台校正嗎?",
|
||||
"DoYouReallyWantToDelete": "你真的要刪除\"{name}\"設定檔嗎 ?",
|
||||
"ErrorKlipperNotReady": "Klipper 沒有準備好, 高度圖已禁用.",
|
||||
"Flat": "平的",
|
||||
@@ -196,7 +188,6 @@
|
||||
"Remove": "刪除",
|
||||
"Rename": "重新命名",
|
||||
"RenameBedMeshProfile": "重命名網床設定檔",
|
||||
"Scale": "縮放",
|
||||
"TitleCalibrate": "校正新床網",
|
||||
"TitleClear": "清除網床",
|
||||
"TitleHomeAll": "全部歸零",
|
||||
@@ -234,7 +225,6 @@
|
||||
"PrinttimeAvg": "平均列印時間",
|
||||
"Reprint": "重印",
|
||||
"Search": "搜尋",
|
||||
"ShowStatusName": "顯示 \"{name}\" ({count})",
|
||||
"Slicer": "切片",
|
||||
"SlicerVersion": "切片版本",
|
||||
"StartTime": "開始時間",
|
||||
@@ -293,16 +283,12 @@
|
||||
"Logfiles": "日誌檔案"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"Awake": "喚醒",
|
||||
"Constants": "常量",
|
||||
"Frequency": "頻率",
|
||||
"HostDetails": "主機詳細訊息",
|
||||
"LastStats": "最後統計數據",
|
||||
"Load": "載入",
|
||||
"Memory": "內存",
|
||||
"Os": "操作系統",
|
||||
"SystemLoad": "系統負載",
|
||||
"Version": "版本"
|
||||
"SystemLoad": "系統負載"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "檢查更新",
|
||||
@@ -745,8 +731,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "顯示設備電源更改的確認對話框",
|
||||
"DisplayCANCEL_PRINT": "關閉取消列印按鈕",
|
||||
"DisplayCANCEL_PRINTDescription": "一直顯示取消列印按鈕, 無需再次確認.",
|
||||
"DisplayZOffset": "顯示Z偏移面板",
|
||||
"DisplayZOffsetDescription": "否則,面板將僅在開始列印後顯示.",
|
||||
"GcodeThumbnails": "Gcode 縮圖",
|
||||
"GcodeThumbnailsDescription": "點擊按鈕進入說明。",
|
||||
"Guide": "指南",
|
||||
|
||||
+2
-21
@@ -16,8 +16,6 @@
|
||||
"DescriptionPreviouslyUnderVolted": "rPI 自从开机一来已经不止一次低于 4.65V.",
|
||||
"DescriptionTemperatureLimitActive": "rPi uC (3A+/3B+ 仅) 温度当前超过限制数值 (默认 60C).",
|
||||
"DescriptionUnderVoltageDetected": "树莓派电源目前低于 4.65V",
|
||||
"HeadlineCurrentFlags": "当前标志",
|
||||
"HeadlinePreviouslyFlags": "先前的标志",
|
||||
"TitleCurrentlyThrottled": "当前受到限制",
|
||||
"TitleFrequencyCapped": "频率上限",
|
||||
"TitlePreviouslyFrequencyCapped": "历史频率上限",
|
||||
@@ -135,8 +133,6 @@
|
||||
"DeleteDirectoryQuestion": "你确定想要删除 \"{name}\" 和内部所有的内容吗?",
|
||||
"Download": "下载",
|
||||
"Downloading": "下载中",
|
||||
"DoYouWantToStartFilename": "你想要开始 {filename}?",
|
||||
"DropFilesToAddGcode": "拖 & 放 文件来添加 G-Code.",
|
||||
"EditFile": "编辑文件",
|
||||
"Empty": "空",
|
||||
"Filament": "耗材",
|
||||
@@ -167,8 +163,6 @@
|
||||
"Search": "搜索",
|
||||
"SetupCurrentList": "设置当前列表",
|
||||
"Slicer": "切片",
|
||||
"StartJob": "开始工作",
|
||||
"StartPrint": "开始打印",
|
||||
"SuccessfullyCreated": "成功创建 {filename}.",
|
||||
"SuccessfullyDeleted": "成功删除 {filename}.",
|
||||
"SuccessfullyMoved": "成功移动{filename}.",
|
||||
@@ -178,8 +172,7 @@
|
||||
"Uploading": "上传中",
|
||||
"UploadNewGcode": "上传新的 G-Code",
|
||||
"Used": "已经使用",
|
||||
"View3D": "打开 3D",
|
||||
"WrongFileUploaded": "上传 {filename}被否定. 文件格式错误!"
|
||||
"View3D": "打开 3D"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "清除",
|
||||
@@ -221,8 +214,6 @@
|
||||
"Variance": "方差"
|
||||
},
|
||||
"DeleteBedMeshProfile": "删除预设网床",
|
||||
"Deleted": "删除",
|
||||
"DoYouReallyWantToCalibrate": "你确定要开始网床校准吗?",
|
||||
"DoYouReallyWantToDelete": "你确定要删除预设 \"{name}\"?",
|
||||
"ErrorKlipperNotReady": "Klipper 未准备好. 高度图未开启.",
|
||||
"Flat": "平",
|
||||
@@ -236,7 +227,6 @@
|
||||
"Remove": "删除",
|
||||
"Rename": "重命名",
|
||||
"RenameBedMeshProfile": "重命名网床",
|
||||
"Scale": "比例",
|
||||
"TitleCalibrate": "校准新网床",
|
||||
"TitleClear": "清除网床",
|
||||
"TitleHomeAll": "归位",
|
||||
@@ -274,7 +264,6 @@
|
||||
"PrinttimeAvg": "平均打印时间",
|
||||
"Reprint": "转载",
|
||||
"Search": "搜索",
|
||||
"ShowStatusName": "显示 \"{name}\" ({count})",
|
||||
"Slicer": "切片",
|
||||
"SlicerVersion": "切片版本",
|
||||
"StartTime": "开始时间",
|
||||
@@ -290,7 +279,6 @@
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "所有的任务",
|
||||
"Delete": "删除",
|
||||
"Empty": "空",
|
||||
"JobQueue": "打印队列",
|
||||
"Jobs": "任务",
|
||||
@@ -342,17 +330,12 @@
|
||||
"Logfiles": "日志文件"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"Awake": "唤醒",
|
||||
"Constants": "常数",
|
||||
"Distro": "发行版",
|
||||
"Frequency": "频率",
|
||||
"HostDetails": "主控细节",
|
||||
"LastStats": "最后统计",
|
||||
"Load": "负载",
|
||||
"Memory": "内存",
|
||||
"Os": "操作系统",
|
||||
"SystemLoad": "系统负载",
|
||||
"Version": "版本"
|
||||
"SystemLoad": "系统负载"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "检查更新",
|
||||
@@ -814,8 +797,6 @@
|
||||
"ConfirmOnPowerDeviceChangeDescription": "显示有关设备电源更改的确认对话框",
|
||||
"DisplayCANCEL_PRINT": "显示 取消打印",
|
||||
"DisplayCANCEL_PRINTDescription": "永久显示 取消打印 按钮 - 不需要第二层.",
|
||||
"DisplayZOffset": "显示 Z-微调-面板",
|
||||
"DisplayZOffsetDescription": "否则,面板将旨在打印开始后显示.",
|
||||
"GcodeThumbnails": "Gcode 缩略图",
|
||||
"GcodeThumbnailsDescription": "单击按钮获得说明.",
|
||||
"Guide": "说明",
|
||||
|
||||
+8
-2
@@ -19,8 +19,8 @@ const updateSW = registerSW({
|
||||
Vue.config.productionTip = false
|
||||
|
||||
// vue-observe-visibility
|
||||
import VueObserveVisibility from 'vue-observe-visibility'
|
||||
Vue.use(VueObserveVisibility)
|
||||
import { ObserveVisibility } from 'vue-observe-visibility'
|
||||
Vue.directive('observe-visibility', ObserveVisibility)
|
||||
|
||||
//vue-meta
|
||||
import VueMeta from 'vue-meta'
|
||||
@@ -67,6 +67,12 @@ import { GridComponent, LegendComponent, TooltipComponent, DatasetComponent } fr
|
||||
use([SVGRenderer, LineChart, BarChart, LegendComponent, PieChart, DatasetComponent, GridComponent, TooltipComponent])
|
||||
Vue.component('EChart', ECharts)
|
||||
|
||||
// vue-resize
|
||||
import 'vue-resize/dist/vue-resize.css'
|
||||
// @ts-ignore
|
||||
import VueResize from 'vue-resize'
|
||||
Vue.use(VueResize)
|
||||
|
||||
//load config.json and init vue
|
||||
fetch('/config.json')
|
||||
.then((res) => res.json())
|
||||
|
||||
@@ -93,7 +93,7 @@ export const actions: ActionTree<EditorState, RootState> = {
|
||||
const formData = new FormData()
|
||||
formData.append('file', content, state.filename)
|
||||
formData.append('root', state.fileroot)
|
||||
formData.append('path', state.filepath.slice(1))
|
||||
formData.append('path', state.filepath)
|
||||
formData.append('checksum', sha256(payload.content))
|
||||
|
||||
const url = rootGetters['socket/getUrl'] + '/server/files/upload'
|
||||
|
||||
@@ -34,7 +34,7 @@ export const actions: ActionTree<FileState, RootState> = {
|
||||
const root = pathArray.length ? pathArray[0] : payload.requestParams.path
|
||||
|
||||
const slashIndex = payload.requestParams.path.indexOf('/')
|
||||
const path = slashIndex > 1 ? payload.requestParams.path.substr(slashIndex + 1) : ''
|
||||
const path = slashIndex > 1 ? payload.requestParams.path.slice(slashIndex + 1) : ''
|
||||
const directory = getters['getDirectory'](root + '/' + path)
|
||||
|
||||
if (directory?.childrens?.length) {
|
||||
|
||||
@@ -29,6 +29,26 @@ export const actions: ActionTree<GuiState, RootState> = {
|
||||
delete payload.value.remoteprinters
|
||||
}
|
||||
|
||||
// delete currentPath if exists
|
||||
if (
|
||||
'view' in payload.value &&
|
||||
'gcodefiles' in payload.value.view &&
|
||||
'currentPath' in payload.value.view.gcodefiles
|
||||
) {
|
||||
window.console.debug('remove currentPath from gui namespace')
|
||||
await fetch(mainsailUrl + '&key=view.gcodefiles.currentPath', { method: 'DELETE' })
|
||||
}
|
||||
|
||||
// delete currentPath if exists
|
||||
if (
|
||||
'view' in payload.value &&
|
||||
'configfiles' in payload.value.view &&
|
||||
'currentPath' in payload.value.view.configfiles
|
||||
) {
|
||||
window.console.debug('remove currentPath from gui namespace')
|
||||
await fetch(mainsailUrl + '&key=view.configfiles.currentPath', { method: 'DELETE' })
|
||||
}
|
||||
|
||||
//update cooldownGcode from V2.0.1 to V2.1.0
|
||||
if ('cooldownGcode' in payload.value) {
|
||||
window.console.debug('update cooldownGcode to new namespace')
|
||||
@@ -187,16 +207,16 @@ export const actions: ActionTree<GuiState, RootState> = {
|
||||
setGcodefilesMetadata({ commit, dispatch, state }, data) {
|
||||
commit('setGcodefilesMetadata', data)
|
||||
dispatch('updateSettings', {
|
||||
keyName: 'view.gcodefiles',
|
||||
newVal: state.view.gcodefiles,
|
||||
keyName: 'view.gcodefiles.hideMetadataColumns',
|
||||
newVal: state.view.gcodefiles.hideMetadataColumns,
|
||||
})
|
||||
},
|
||||
|
||||
setGcodefilesShowHiddenFiles({ commit, dispatch, state }, data) {
|
||||
commit('setGcodefilesShowHiddenFiles', data)
|
||||
dispatch('updateSettings', {
|
||||
keyName: 'view.gcodefiles',
|
||||
newVal: state.view.gcodefiles,
|
||||
keyName: 'view.gcodefiles.showHiddenFiles',
|
||||
newVal: state.view.gcodefiles.showHiddenFiles,
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ import {
|
||||
PrinterStateMacro,
|
||||
PrinterStateTemperatureObject,
|
||||
PrinterStateTemperatureSensor,
|
||||
PrinterStateToolchangeMacro,
|
||||
} from '@/store/printer/types'
|
||||
import { caseInsensitiveSort, formatFrequency, getMacroParams } from '@/plugins/helpers'
|
||||
import { RootState } from '@/store/types'
|
||||
@@ -69,11 +70,14 @@ export const getters: GetterTree<PrinterState, RootState> = {
|
||||
!('rename_existing' in state.configfile.config[prop]) &&
|
||||
!(hiddenMacros.indexOf(prop.replace('gcode_macro ', '').toLowerCase()) > -1)
|
||||
) {
|
||||
const variables = state[prop] ?? {}
|
||||
|
||||
array.push({
|
||||
name: prop.replace('gcode_macro ', ''),
|
||||
description: state.configfile.config[prop].description ?? null,
|
||||
prop: state.configfile.config[prop],
|
||||
params: getMacroParams(state.configfile.config[prop]),
|
||||
variables,
|
||||
})
|
||||
}
|
||||
})
|
||||
@@ -254,7 +258,7 @@ export const getters: GetterTree<PrinterState, RootState> = {
|
||||
max_temp: fan.max_temp,
|
||||
measured_min_temp: null,
|
||||
measured_max_temp: null,
|
||||
rpm: `${fan.rpm} RPM`,
|
||||
rpm: fan.rpm,
|
||||
rpmClass: fan.rpm === 0 && fan.speed > 0 ? 'red--text' : '',
|
||||
command: 'SET_TEMPERATURE_FAN_TARGET',
|
||||
commandAttributeName: 'TEMPERATURE_FAN',
|
||||
@@ -461,11 +465,14 @@ export const getters: GetterTree<PrinterState, RootState> = {
|
||||
!prop.startsWith('gcode_macro _') &&
|
||||
!Object.hasOwnProperty.call(state.configfile.config[prop], 'rename_existing')
|
||||
) {
|
||||
const variables = state[prop] ?? {}
|
||||
|
||||
array.push({
|
||||
name: prop.replace('gcode_macro ', ''),
|
||||
description: state.configfile.config[prop].description ?? null,
|
||||
prop: state.configfile.config[prop],
|
||||
params: getMacroParams(state.configfile.config[prop]),
|
||||
variables,
|
||||
})
|
||||
}
|
||||
})
|
||||
@@ -674,7 +681,7 @@ export const getters: GetterTree<PrinterState, RootState> = {
|
||||
const extruders: PrinterStateExtruder[] = []
|
||||
if (state.configfile?.settings) {
|
||||
Object.keys(state.configfile?.settings)
|
||||
.filter((key) => key.startsWith('extruder'))
|
||||
.filter((key) => key.match(/^(extruder)\d?$/g))
|
||||
.sort()
|
||||
.forEach((key: string) => {
|
||||
const extruder = state.configfile?.settings[key]
|
||||
@@ -847,6 +854,22 @@ export const getters: GetterTree<PrinterState, RootState> = {
|
||||
return 0
|
||||
},
|
||||
|
||||
getToolchangeMacros: (state, getters) => {
|
||||
const macros = getters['getMacros']
|
||||
const tools: PrinterStateToolchangeMacro[] = []
|
||||
|
||||
macros
|
||||
.filter((macro: any) => macro.name.toUpperCase().match(/^T\d+/))
|
||||
.forEach((macro: any) =>
|
||||
tools.push({
|
||||
name: macro.name,
|
||||
active: macro.variables.active ?? false,
|
||||
})
|
||||
)
|
||||
|
||||
return tools
|
||||
},
|
||||
|
||||
existsQGL: (state) => {
|
||||
if (!state.configfile?.settings) return false
|
||||
|
||||
|
||||
@@ -106,12 +106,12 @@ export const actions: ActionTree<PrinterTempHistoryState, RootState> = {
|
||||
const masterDatasetKeys = tempDatasetKeys
|
||||
.filter((tmp) => {
|
||||
if (tmp.startsWith('_')) return false
|
||||
if (tmp.lastIndexOf('-') > -1) {
|
||||
const suffix = tmp.slice(tmp.lastIndexOf('-') + 1)
|
||||
return !['target', 'power'].includes(suffix)
|
||||
}
|
||||
|
||||
return true
|
||||
const lastIndex = tmp.lastIndexOf('-')
|
||||
if (lastIndex === -1) return true
|
||||
|
||||
const suffix = tmp.slice(lastIndex + 1)
|
||||
return !['target', 'power', 'speed'].includes(suffix)
|
||||
})
|
||||
.sort()
|
||||
const series: PrinterTempHistoryStateSerie[] = []
|
||||
|
||||
@@ -100,9 +100,8 @@ export const getters: GetterTree<PrinterTempHistoryState, RootState> = {
|
||||
},
|
||||
|
||||
getTemperatureStoreSize: (state, getters, rootState, rootGetters) => {
|
||||
const serverSize = rootGetters['server/getConfig']('server', 'temperature_store_size')
|
||||
const dataStoreSize = rootGetters['server/getConfig']('data_store', 'temperature_store_size')
|
||||
|
||||
return dataStoreSize ?? serverSize ?? 1200
|
||||
return dataStoreSize ?? 1200
|
||||
},
|
||||
}
|
||||
@@ -86,7 +86,7 @@ export interface PrinterStateTemperatureObject {
|
||||
max_temp: number
|
||||
measured_min_temp: number | null
|
||||
measured_max_temp: number | null
|
||||
rpm: string | null
|
||||
rpm: number | null
|
||||
rpmClass: string
|
||||
command: 'SET_HEATER_TEMPERATURE' | 'SET_TEMPERATURE_FAN_TARGET' | null
|
||||
commandAttributeName: 'HEATER' | 'TEMPERATURE_FAN' | null
|
||||
@@ -169,6 +169,10 @@ export interface PrinterStateMacro {
|
||||
// eslint-disable-next-line
|
||||
[key: string]: any
|
||||
}
|
||||
variables: {
|
||||
// eslint-disable-next-line
|
||||
[key: string]: any
|
||||
}
|
||||
params: PrinterStateMacroParams
|
||||
}
|
||||
|
||||
@@ -213,11 +217,7 @@ export interface PrinterStateExtruder {
|
||||
maxExtrudeOnlyDistance: number
|
||||
}
|
||||
|
||||
export interface PrinterStateExtruder {
|
||||
key: string
|
||||
export interface PrinterStateToolchangeMacro {
|
||||
name: string
|
||||
filamentDiameter: number
|
||||
minExtrudeTemp: number
|
||||
nozzleDiameter: number
|
||||
maxExtrudeOnlyDistance: number
|
||||
active: boolean
|
||||
}
|
||||
Reference in new issue
Block a user