Duet Web Control wishlist notes and priorities
-
It would be great to have a single button to zip all the files in the SD Card and download it. I know you can currently download all the system files, but it would be nice to include the other directories to simplify backup process.
- Option to include specific directories (ie: gcodes, macros, sys, www, etc.)
- Option to automatically append the current date and time to the filename to make the names unique
If this is not possible, at least having the option to "Download as ZIP" the files in the "macros" folder similar to the system files would be good. When I select all the macro files and folders and right click, there are no options to zip the files to back them up. The only option is to "delete" the files.
-
@shadowx said in Duet Web Control wishlist notes and priorities:
It would be great to have a single button to zip all the files in the SD Card and download it. I know you can currently download all the system files, but it would be nice to include the other directories to simplify backup process.
- Option to include specific directories (ie: gcodes, macros, sys, www, etc.)
- Option to automatically append the current date and time to the filename to make the names unique
If this is not possible, at least having the option to "Download as ZIP" the files in the "macros" folder similar to the system files would be good. When I select all the macro files and folders and right click, there are no options to zip the files to back them up. The only option is to "delete" the files.
I think this is an excellent suggestion and would like to second it.
-
Ability to change movement/feedrate button increments, please
I work with a 8x8x6 meter concrete printer...... 100mm is not very long to move, and 6000mm/sec is just slow af....
Kulitorum
-
@denke I think maybe you should look elsewhere for the performance issues? I run DWC on an iMac (20-inch, Early 2008) / 2.4 GHz Intel Core 2 Duo / 4.00 GB RAM. It struggles with most things but DWC doesn't seem to be an issue.
-
@chrishamm said in Duet Web Control wishlist notes and priorities:
my prioritised ordering:
- G-code visualiser (depending on whether I can get a good visualisation toolkit working in JS) (https://forum.duet3d.com/topic/141/gcode-visualizer)
- Parse last G29 code and determine if different heightmap file was specified (https://forum.duet3d.com/topic/5105/auto-display-saved-heightmap-file)
- G-code input history (https://forum.duet3d.com/topic/1631/detailed-print-history)
I would also like to add:
- more work to remove conditions where setting a temperature in DWC sets the printer waiting for the temperature to be reached ('Busy'). The main ones have been eliminated but I still get this occasionally.
This one (below) may be less important now that there is the G-code to remove the no-move-without-homing limitation overall - or it might be argued that it is better to have DWC and PanelDue use the S2 parameter for 'manual' moves and leave them otherwise disabled until the system is homed:
- Add S2 parameter to G1 movement codes (only as an option to be chosen in setup) (https://forum.duet3d.com/topic/4333/add-s2-parameter-to-head-movement-button-g1-actions)
Thanks for your work Chris.
-
I would like to see the message (console) separated by connection, with a small history buffer, perhaps five to eight lines, per connection.
I believe this would take some changes to RR firmware and DWC both.
-
It would be nice to name fans. I have LED strips and other cooling fans installed which is confusing when the names are FAN 1/2/3
-
And as promised here the first update, this is the changelog:
- Active tool is better highlighted
- Time on G-Code Console is no longer wrapped
- mplemented auto-completion feature on G-Code inputs
- G-code inputs provide a new link item to the G-code wiki page
- When G29 is invoked with the P-parameter, the corresponding heightmap file is displayed
- Move steps for each axis and extruder amounts+feedrates can be changed via right-click\
- When moving around on the Control page, S2 is added to the G1 code automatically. Can be turned off on the Settings page too
- Bug fix: When the DWC settings could not be loaded from the Duet, defaults are only uploaded if the file could not be found
- Bug fix: Sometimes failed AJAX requests could make DWC stop updating
- Bug fix: Fixed a problem where the A axis could cause a JS error
You can get the new beta here: https://github.com/chrishamm/DuetWebControl/blob/dev/DuetWebControl-1.21.2-b1.zip Please let me know if you find any problems.
-
Thank you @chrishamm,
Did not know that there is also a thread about DWC!
Everything is fine
@chrishamm said in Duet Web Control wishlist notes and priorities:
- G-code inputs provide a new link item to the G-code wiki page
The selection menu I liked but better, as the question mark where the G-code wiki page linked.
1.21.2-b1
1.21.1
This page I have already created a bookmark in my browser.
-
@chrishamm said in Duet Web Control wishlist notes and priorities:
First of all, thank you for the great update!
- G-code inputs provide a new link item to the G-code wiki page
I like the idea but I would find it even better if this link vould jump to the anchor of an already entered GCODE command. I know this is quite complicated with dozuki's way of creating the anchors but I wanted to state it anyway.
- Move steps for each axis and extruder amounts+feedrates can be changed via right-click\
I really like this one!
-
Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet Firmware Electronics: Duet WiFi 1.02 or later Firmware Version: 2.01beta1(RTOS) (2018-06-23b1) WiFi Server Version: 1.21 Web Interface Version: 1.21.2-b1
@chrishamm Just got the following error while trying to enter a new temperature at
Settings -> List Items -> Add new Temperature
:A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message: Version: 1.21.2-b1 Message: Uncaught TypeError: Cannot read property 'trim' of undefined URL: http://duet.localhost:8080/js/dwc.js Line: 7665:69 Error object: {}
Also found a typo in title text of
Settings -> User Interface -> Machine Control -> Allow moves if axes are not homed
where there is an "o" missing in "not" near the end of the text -
@chrishamm said in Duet Web Control wishlist notes and priorities:
- Move steps for each axis and extruder amounts+feedrates can be changed via right-click\
As mentioned before I really like this feature. I just tried it with a
M291
pop-up (as it would be used for e.g. manual mesh bed leveling) and it also works there but only partially. It will create the dialog to enter the new value but it will be hidden behind theM291
dialog which is modal and over everything else.EDIT: Now I just tried to change the value after clicking OK on the
M291
dialog (which leaves the change-value-dialog open and it gets accessible that way) but when I click on OK then I getA JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message: Version: 1.21.2-b1 Message: Uncaught TypeError: Cannot set property '0' of undefined URL: http://duet.localhost:8080/js/dwc.js Line: 6419:64 Error object: {}
This might be due to the fact that the control that should be adjusted is already closed at that point.Sadly this is the very point where I would need this functionality.
EDIT 2: Played a little more with it. I made the change dialog accessible (by juggling around in the order of the source code and setting
top: 250px
for this dialog in Chrome Dev Tools) and it still will fail due to the fact thatstepChangeAxisIndex
is -1 in this case. -
@chrishamm said in Duet Web Control wishlist notes and priorities:
Move steps for each axis and extruder amounts+feedrates can be changed via right-click\
Could we also have more move steps buttons in a future version?
-
+1 for more move steps buttons.
-
TBH I never intended to make the move buttons configurable on the M291 dialog so this was in fact a bug which has been resolved in my current beta 2. This version is now available here: https://github.com/chrishamm/DuetWebControl/blob/dev/DuetWebControl-1.21.2-b2.zip Here the changelog once more:
- Custom themes can be used by uploading own .theme.css files
- Compensation type is shown in the Auto Calibration dropdown menu
- Fan and heater names can be assigned (see M305 S and M106 C parameters)
- Use "axes" value instead of "xyz" length to get number of configured axes
- DWC reloads itself/its settings when it/its settings are updated
- Implemented possibility to download the G-code log as a CSV or TXT file
- Webcam image can be flipped and rotated on demand
- Improved settings behavior when running on localhost
- Minor other changes
- Bug fix: Tool Fan was always updated even if the user tried to change its value
- Bug fix: Sometimes codes could be accidentally sent twice when the auto-completion was open
- Bug fix: Successful G-codes were added to the list of auto-complete items even if they had been sent from a button
- Bug fix: G1 S2 moves were incorrectly generated for jog movements on Delta and SCARA configurations
- Bug fix: Movement steps could be changed on modal dialogs
Be aware that you will need another firmware build in order to be able to rename your non-virtual heaters and fans. You can get my latest firmware build here: https://www.dropbox.com/s/kbjp5pp3wowwhot/Duet2CombinedFirmware.bin?dl=0 The corresponding sources can be found on the v2-chrishamm branch of dc42's firmware repository.
Please let me know if you encounter any problems or if everything is working well!
-
@wilriker said in Duet Web Control wishlist notes and priorities:
stepChangeAxisIndex
You could try analyzing the JavaScript code. Your variable which is set to -1 is in modals.js lines 53 to 86. This is code which is newly added between b1 and b2.
If stepChangeAxisIndex is -1, so the array settings.axisMoveStep[][] is invalid. The method who calls showStepDialog sends a wrong third parameter (axisIndex).
I would change
if (stepChangeType == "axis") {
settings.axisMoveSteps[stepChangeAxisIndex][stepChangeIndex] = $("#input_step_amount").val();
in line 72-73into
if (stepChangeType == "axis") {
if(stepChangeAxisIndex >= 0) {
settings.axisMoveSteps[stepChangeAxisIndex][stepChangeIndex] = $("#input_step_amount").val();
}as a quick fix. But the method should not be called if the axisIndex is not defined.
-
@chrishamm said in Duet Web Control wishlist notes and priorities:
TBH I never intended to make the move buttons configurable on the M291 dialog so this was in fact a bug which has been resolved in my current beta 2.
In this case I see this new feature rather as a regression.
For me 0.1mm as lowest value was always too large when doing manual mesh bed leveling (this might be personal preference over real need but yeah, that's me ).
So I could at least use the option in UI settings to half the values of all Z-movement buttons everywhere.Now I am stuck with the previous defaults at the place where I would need modifying primarily but I am able to modify all other buttons - where I was happy with the default.I know I can just modifyreprap.htm.gz
(and in fact that is what I did with the current DWC beta) but since these values are modifiable everywhere else I would find it more consistent to also be able to modify them onM291
dialogs - or at least get this "half Z-movements" option back.Ah! I see that the values for the
M291
dialog are now bound to the same values that are used in Machine Control. That's something I can live with very well! Thank you. -
@chrishamm Small issue.
I updated to DWC 1.21.2 b1 and noticed that all of the list items for Gcodes and temperatures had been reset.
I updated to DWC 1.21.2 b2 and your customized version of RTOS 2.0b1 and now the list items for custom gcodes have been replaced by numbers and there doesn't appear to be any way to add new ones.
-
Unable to add new bed or extruder temperatures via the List Item page. DWC disconnects. Worked in older version.
-
This is also a nice new feature:
For some time now, I have always had a double FAN ("Tool Fan") slider
Slider 1 and 2 is for the same fan.