1201 Commits

Author SHA1 Message Date
Stefan Dej
f93ee19b9a bugfix: add resize listener to gcode viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-20 20:40:15 +02:00
Stefan Dej
d3c1d1409d feature: add some rendering options to gcode viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-20 00:45:49 +02:00
Stefan Dej
5eab1917bd feature: clear settings from gcode viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 23:15:19 +02:00
Stefan Dej
c8551abdda feature: optimize g-code viewer workflow and button positions
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 16:44:14 +02:00
Stefan Dej
fbc3afd69e locale(fr): fix some typos
thx to kataphile

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 01:18:07 +02:00
Stefan Dej
65acd0f190 chore: update gcodeviewer to v2.1.11
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 01:04:04 +02:00
Stefan Dej
58bbe40a8c bugfix: fix issue with enable/disable live tracking
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 01:03:45 +02:00
Stefan Dej
638dd0dcb3 feature: automatic rendering after changing color mode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 00:13:53 +02:00
Stefan Dej
5b622fdcd9 feature: move color mode select from settings to gcode viewer page and remove debounce of z slider
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 00:04:55 +02:00
Stefan Dej
395ead7ce1 bugfix: force redraw after changing z-slider and fix rendering snackbar after fileupload with url
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 23:24:42 +02:00
Stefan Dej
2c38aad7fd feature: add snackbar for display the downloading gcode file and option to cancel it
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 23:00:15 +02:00
Stefan Dej
1c1ce285bd bugfix: remove viewer from vuex
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 22:16:17 +02:00
Stefan Dej
bb15bbec08 feature: add snackbar for display the rendering process and cancel it
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 21:06:58 +02:00
Stefan Dej
542e094348 feature: add backup and restore gcode viewer state
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 19:09:07 +02:00
Stefan Dej
61232dfd95 chore: update gcodeviewer to v2.1.10
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-12 15:00:23 +02:00
Stefan Dej
5dbffdb167 chore: merge master in develop
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-09 00:33:17 +02:00
Stefan Dej
7ae0fe2209 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	src/App.vue
#	src/components/panels/ControlPanel.vue
#	src/components/panels/FarmPrinterPanel.vue
#	src/pages/Files.vue
#	src/store/farm/printer/getters.ts
#	src/store/farm/printer/mutations.ts
#	src/store/files/getters.ts
#	src/store/printer/mutations.ts
#	src/store/server/history/getters.ts
#	src/store/socket/getters.ts
2021-09-09 00:27:19 +02:00
Stefan Dej
855959a1f9 chore(type): fix type for build
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-08 23:24:57 +02:00
Stefan Dej
4d38b019be chore: increment version number to V2.0.1
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-08 23:21:25 +02:00
Stefan Dej
2cf4d8ba58 hotfix(gcodefiles): fix printed files filter
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-08 20:47:49 +02:00
Stefan Dej
62afec1934 hotfix(store): fix error of migrate drv_status in store
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-07 23:58:40 +02:00
Stefan Dej
5f40c54160 hotfix(webcam): add leading zero to FPS output below 10 (only adaptive mjpegstreamer)
Closes: #348
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-07 21:34:18 +02:00
Stefan Dej
3c570cadfe hotfix(console): autofocus input field after click on a command
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 22:46:40 +02:00
Stefan Dej
4f42092159
hotfix(theme): fix mainBackground image #349 (#351)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 13:46:46 +02:00
Stefan Dej
b2f6e7dc08
hotfix(gcodefiles): fix typo in error message (#350)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 12:18:41 +02:00
Stefan Dej
44c43a6fb5 feature(console): autofocus input field after click on a command
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 12:13:10 +02:00
Stefan Dej
f83d33b20d Merge remote-tracking branch 'origin/develop' into develop 2021-09-04 11:43:21 +02:00
Stefan Dej
c0a1bdd1d6 chore(editor): update gcodeviewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 11:43:11 +02:00
Eike Ahmels
3e4c73e381
docs: multi webcam documentation (#343)
* image fix, grammar fix

* fixed suggestions bug, some cleanup from old editor, svg edge case

* FIX: save a file with special characters

* DOCU: new community theme, multi cam setup

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* DOCU: changed some wordings and skipped terminal commands

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* feature: gcodeviewer (#322)

* Initial implementation of GCode Viewer in Mainsail

* Revert files.vue

* Reupdate files.vue

* Fix router

* Add render quality and force line mode settings

* Cache off canvas

Dynamically create and cache the canvas element so it does not have to reload and to keep current item loaded. Saves time on reload. Will need to test when vue watches are applied.

* Loading progress indicator

* Turn off loading progress after changing render quality.

* Failed render check.

* Added a live tracking button

* Work on settings

* Hide the loading required button earlier

* Added more settings.

* min and max feed coloring settings

* Set ZClipPlane for WebGL1 viewers

* Bed and Delta

* Force line rendering is saved

Addressed an issue where watchers could try to fire on  a viewer that is not initialized

* Move loading progress bar

* Multiple UI Updates

Add Progress Color setting and persistence
Add z clip control - enabled when not tracking
Move loading progress bar into canvas area

* Update to package 1.0.6

* Pulled latest

* Update to @sindarius/gcodeviewer 2.0.4

Setting extruder colors directly was removed and instead has been replaced with configuring tools. This opens up the ability to set a nozzle size as well for tool changer type systems that could have multiple nozzle sizes.

* Set tracking position to 0 when starting tracking.

* A timeout is needed to reset the visual

* Created forceRedraw to deal with a timing issue when starting tracking.

* Update to 2.0.6 package

* Revert "feature: gcodeviewer (#322)" (#341)

This reverts commit 673fd9f8798fbb9325c40a49547551ae5bc1c695.

Co-authored-by: Juan Rosario <pyroclasmx@yahoo.com>
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-08-31 21:34:34 +02:00
Stefan Dej
005ed8814b
bugfix(webcam): display the wrong webcam if you connect to a remote printer with relativ webcam url (#345)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-31 21:33:31 +02:00
Stefan Dej
41b21aa66e
hotfix: printerfarm panel (#344)
* bugfix(printerfarm): fix store theme files in farm printer

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature(printerfarm): display dynamic mainsail-logo in printerfarm panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix(printerfarm): fix image/webcam height to 3:2 ratio

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix(printerfarm): disable webcam if printer is not connected

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix(printerfarm): change button to "reconnect" when printer is not connected

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix(controlpanel): align center for bar control buttons

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-31 20:03:47 +02:00
Stefan Dej
62e2147f0b bugfix(gcodeviewr): fix z slider height
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-29 02:04:00 +02:00
Stefan Dej
f482b57c71
Revert "feature: gcodeviewer (#322)" (#341)
This reverts commit 673fd9f8798fbb9325c40a49547551ae5bc1c695.
2021-08-29 01:20:51 +02:00
Juan Rosario
673fd9f879
feature: gcodeviewer (#322)
* Initial implementation of GCode Viewer in Mainsail

* Revert files.vue

* Reupdate files.vue

* Fix router

* Add render quality and force line mode settings

* Cache off canvas

Dynamically create and cache the canvas element so it does not have to reload and to keep current item loaded. Saves time on reload. Will need to test when vue watches are applied.

* Loading progress indicator

* Turn off loading progress after changing render quality.

* Failed render check.

* Added a live tracking button

* Work on settings

* Hide the loading required button earlier

* Added more settings.

* min and max feed coloring settings

* Set ZClipPlane for WebGL1 viewers

* Bed and Delta

* Force line rendering is saved

Addressed an issue where watchers could try to fire on  a viewer that is not initialized

* Move loading progress bar

* Multiple UI Updates

Add Progress Color setting and persistence
Add z clip control - enabled when not tracking
Move loading progress bar into canvas area

* Update to package 1.0.6

* Pulled latest

* Update to @sindarius/gcodeviewer 2.0.4

Setting extruder colors directly was removed and instead has been replaced with configuring tools. This opens up the ability to set a nozzle size as well for tool changer type systems that could have multiple nozzle sizes.

* Set tracking position to 0 when starting tracking.

* A timeout is needed to reset the visual

* Created forceRedraw to deal with a timing issue when starting tracking.

* Update to 2.0.6 package
2021-08-29 01:17:51 +02:00
Stefan Dej
586977cc89 chore(gcodeviewr): fix some types
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-29 01:12:02 +02:00
Stefan Dej
2f88def03a chore(gcodeviewr): convert to TS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-29 01:06:24 +02:00
Stefan Dej
cc85e2a441 Merge branch 'develop' into feature/gcodeviewer 2021-08-28 20:50:38 +02:00
Stefan Dej
13e305e9e7 bugfix(i18n): fix issue after eslint rules fix
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-28 20:50:24 +02:00
Stefan Dej
fb0bc9755e chore: fix eslint rules and update from develop
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-28 20:47:58 +02:00
Stefan Dej
b2447ee9d9 Merge branch 'develop' into feature/gcodeviewer
# Conflicts:
#	package-lock.json
#	src/components/TheSettingsMenu.vue
#	src/routes/index.ts
#	src/store/gui/index.ts
2021-08-28 16:41:58 +02:00
Stefan Dej
f1094e9c29
chore(eslint): config and fix eslint rules (#340)
* chore(eslint): init & config eslint

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* chore(eslint): fix eslint rules

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-28 16:08:00 +02:00
Juan Rosario
29364f7403 Update to 2.0.6 package 2021-08-27 17:14:24 -05:00
Juan Rosario
b078b141f1 Created forceRedraw to deal with a timing issue when starting tracking. 2021-08-26 18:00:40 -05:00
Juan Rosario
5659365588 A timeout is needed to reset the visual 2021-08-26 14:34:54 -05:00
Juan Rosario
c27857d1bb Set tracking position to 0 when starting tracking. 2021-08-26 14:08:56 -05:00
Stefan Dej
b8c93bdb0f docs: update screenshot to v2.0.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-26 20:27:01 +02:00
Stefan Dej
c8df1418d1 Merge branch 'master' into develop 2021-08-26 20:23:09 +02:00
Stefan Dej
3c7f9ae7ba locale(fr): fix one type in settings console tab
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-26 19:17:12 +02:00
Juan Rosario
e896590eb0 Update to @sindarius/gcodeviewer 2.0.4
Setting extruder colors directly was removed and instead has been replaced with configuring tools. This opens up the ability to set a nozzle size as well for tool changer type systems that could have multiple nozzle sizes.
2021-08-25 21:47:43 -05:00
Juan Rosario
99dde5405d Merge remote-tracking branch 'meteyou/master' into feature/gcodeviewer 2021-08-25 20:46:48 -05:00