3D GCode Viewer integrated with DWC
-
@robm That's something I am looking at adding later, my main concern was making sure that I could get a good view working.
-
@eumldeuml I do a lot of multi-material & color mixing printing and one of the biggest problems I have is knowing how the extruders or m567 was setup on the print. Also this gives me the opportunity to setup the filament colors on each of the extruders to get an approximation of what the final result will roughly look. The code I wrote supports T# tool changes and M567 extruder %'s. Beyond that sometimes it's nice to see what you're about to print
-
@sindarius I understand! Sounds very practical for your purposes
-
Great implementation, well done.
Gave me a though I might start another thread in - why not incorporate a slicer in at this point? Youโve got the 3D viewer, and on a pi, you could fairly easily run a slic3r program in the background from the server.
Thoughts?
-
That is too awesome! Yes, Yes, Yes.....
-
I have a branch set up here for anyone interested in playing with this.
https://github.com/Sindarius/DuetWebControl/tree/3DViewer
and you can download a test version from here
https://juan-rosario.com/DuetWebControl.zip
I brought this up to date with the new master.
-
This is really great, please keep going!
-
I've been playing around with the code a little bit while I wait for a plugin system to be put in place. Recently added the ability to change the bed size and have the release on GitHub for anyone who wants to play with this. I use it fairly often at this point.
-
Forgot to mention that I am looking at adding a toggle to move the layer height slider based off the current print height this weekend hopefully.
-
Awesome! This is getting installed right after the ongoing print is done for sure!
Hope it get's integrated to the master asap!
-
This is awesome
Is this Client or DWC based? -
@AS-3D-Druck this is DWC based. Opens a new browser window to launch the 3D viewer but no special installation beyond the branch I have with it integrated.
-
@Sindarius Ok, what i tryed to say is does it get calculated by a Script on the Client or Duet Side?
-
@AS-3D-Druck itโs javascript based so it is client side. The viewer downloads the file and renders it.
-
@Sindarius Cool so it can be used even during a print Job right?
(without negative effecting the print Job) -
@AS-3D-Druck I use it while printing all the time. Only one Duet based printer at the moment the file download doesnโt impact the print from what I have seen.
-
Have you tried it with DWC 2.0.4 btw? I see that it's still realeased based on 2.0.0 ?
-
@Exerqtor Iโll look into updating the baseline with the latest. My changes on the DWC itself are very minimal. Just what is necessary to make the 3D Viewer link in the gcode list
-
@Exerqtor I have a release that is now updated to 2.0.4
https://github.com/Sindarius/DuetWebControl/releases -
Yeah i got the notification from Github earlier!
Just installed it, and it works but the extruder colors don't apply to the renders for some reason. There static gray (just tried with single extruder slices so far) no matter what i change the colors to.