3D GCode Viewer integrated with DWC
-
@Sindarius said in 3D GCode Viewer integrated with DWC:
@CaLviNx if you are talking about the 3D viewer the original purpose of it was because I use a mixing hotend and I wanted a way to preview how a model would look when i changed the filament on each of the extruders. This viewer approximates what the printed model will look like based on configured colors. Another use is being able to see the model before printing without having to go to a slicer to load it up.
ok that explains its real world use for you
-
@CaLviNx no one is forcing you to install or use this plugin. But thanks for your input...
-
O.K. still like it!
If you would be able to position the file relative to the "plate" in your simulation (that I hope fetches its size from the absolute machine-csys within config.g?) by an offset defined within G54-59 that would do the job.
To try that out you just slice an object that is of course smaller then your buildplate and position it as close to the csys (if the csys is in the corner) or in the middle of the csys (if csys is the center) and then when you uploaded the sliced file to your duet you move your printhead e.g. to a certain spot where you want it to be printed and define the "local" csys e.g. for G54. If the "active" csys could be reflected (...as long as it is active...) in the simulation that would be awesome! I think a lot of cnc-people out there would welcome it!
(Another thing I saw in the video: Since you can get the size of the print-volume via config.g you could limit zoom-out to a reasonable value when stuff get´s so small you cannot see anything anymore also I saw that of course you implemented center-the-view and stuff like it )
-
@Veti said in 3D GCode Viewer integrated with DWC:
this has been a feature in octoprint for some time.
https://plugins.octoprint.org/plugins/cancelobject/each object layer has a prefix comment. if the object is to be cancelled the pointer jumps to the next prefix object for the g code printing. leaving out the g code of that object.
What is the relevance of mentioning octoprint when this software is to be used on the duet.
And it still doesn't explain how what you said:
when one print fails over you can still finish the print on the other objects.
Relates to the "gcode viewer" ? you seem to be off on some tangent .
Seeing as we are now off on a tangent, what would be really useful is if there was a way to
have a camera integrated into the "cancel object" software/plugin or what ever you want to call, that could monitor when a segment has failed and automatically modify the g-code on the fly to stop the printer from extruding plastic for that segment. -
@jay_s_uk said in 3D GCode Viewer integrated with DWC:
@CaLviNx no one is forcing you to install or use this plugin. But thanks for your input...
excuse me ?
Please show me where I said anyone was forcing me to do anything, I was asking a question nothing more nothing less, but if you wish to take the hump about me asking a question and then try to be passive aggressive about it, be very careful.
It was NOT input it was a QUESTION
question, a noun (ASKING)
A sentence or phrase used to find out information
-
This post is deleted! -
Do you think on the long run the "color" could be somehow connected/attached to some sort of variable within filament-config.g and the actual number of extruders and their loaded filament? Just thinking out loud...
EDIT: (actually I am so impressed by the multi-colour-printer from deckingman, that I think that those multicolourprinters could get on the long run a relaistic visualization what colour the g-code wants to have and if that is realy loaded -> Of course this is maybe more complex with "mixing" hotends vs multiple independent colours after another but not mixing concepts)
-
@LB As I work toward further implementation some of that is totally possible. Originally this viewer popped up in a separate window and didn't collect any duet info. Since this is a plugin now it is much easier to access the object model and data that DWC captures.
Sample of changing extruders color just cause I happen to have one on hand.
-
@Sindarius said in 3D GCode Viewer integrated with DWC:
@LB As I work toward further implementation some of that is totally possible. Originally this viewer popped up in a separate window and didn't collect any duet info. Since this is a plugin now it is much easier to access the object model and data that DWC captures.
Awesome: On the long run I can imagine even a preview of "internal" files like movement-trajectories as lines/curves for bed-levelling and homing or that sort... on most cnc´s those are red-lines...
Yeah, as said, first thing for me would be a wire-frame for the absolut bounding-box of the machine. Second would be small crosses(or cross-hairs(?) I am not a native-english-speaker/-writer) for the absolut-csys (if active) and for the "actual"/temporary csys (with name written beside it would be nice e.g. a small "G5x") or something relative in this bounding box located (IF ACTIVE only of course)...
(As far as I remember the active csys like "G54" are already reflected in DWC when any but the machine-csys G53 is put active)
Sample of changing extruders color just cause I happen to have one on hand.
Looks great!
(
@dc42
)Do you think it is possible with the new conditional-g-code to defina a variable within filament-config.g for the hex-code (this is using a hex-code for the color it seems?)?
-
I'm really impressed. Will test when 3.2 be official release.
With things like that duet ecosystem winnings!! -
@CaLviNx said in 3D GCode Viewer integrated with DWC:
Seeing as we are now off on a tangent, what would be really useful is if there was a way to
have a camera integrated into the "cancel object" software/plugin or what ever you want to call, that could monitor when a segment has failed and automatically modify the g-code on the fly to stop the printer from extruding plastic for that segment.You may not like this, but there's also an octoprint plugin that does this. And yes it could become a plugin here as well.
https://www.thespaghettidetective.com/
The object cancelation functions already right now so that if you had a camera and you yourself saw an object fail, you could send the manual command to cancel that object.
https://duet3d.dozuki.com/Wiki/Gcode#Section_M486_Object_cancellation
The gcode viewer functionality could enable a useful GUI for many features.
-
https://github.com/Sindarius/DWC_GCodeViewer_Plugin/releases/tag/0.6.5
Posted a new update. Cleaned up the side menu a bit.
https://user-images.githubusercontent.com/12520045/99151632-3acb8900-2662-11eb-920a-216d9a346b23.png
-
@Phaedrux said in 3D GCode Viewer integrated with DWC:
@CaLviNx said in 3D GCode Viewer integrated with DWC:
Seeing as we are now off on a tangent, what would be really useful is if there was a way to
have a camera integrated into the "cancel object" software/plugin or what ever you want to call, that could monitor when a segment has failed and automatically modify the g-code on the fly to stop the printer from extruding plastic for that segment.You may not like this, but there's also an octoprint plugin that does this. And yes it could become a plugin here as well.
https://www.thespaghettidetective.com/
The object cancelation functions already right now so that if you had a camera and you yourself saw an object fail, you could send the manual command to cancel that object.
https://duet3d.dozuki.com/Wiki/Gcode#Section_M486_Object_cancellation
The gcode viewer functionality could enable a useful GUI for many features.
Why would I not like it?
And I reiterate, it would be useful if :
that plugin could monitor when a segment has failed and automatically modify the g-code on the fly to stop the printer from extruding plastic for that segment.
And still this does not explain the reason why someone would even mention a feature that occurs in octoprint, and what relationship that feature has to do with the Author's gcode viewer,
-
@CaLviNx said in 3D GCode Viewer integrated with DWC:
And still this does not explain the reason why someone would even mention a feature that occurs in octoprint, and what relationship that feature has to do with the Author's gcode viewer,
Because he posted a photo showing a canceled object. (The one with the Xs over it) and you asked what the real world use was and veti told you what the use of cancelling an object is and posted a link to the origin of the feature in the form of the octoprint plugin. For such a big brain I'm surprised you're not following along here.
-
@Sindarius said in 3D GCode Viewer integrated with DWC:
https://github.com/Sindarius/DWC_GCodeViewer_Plugin/releases/tag/0.6.5
Hey I clicked on your link, could you help me where to find in the forum or duet-wiki a reference how to implement this plugin?
-
@LB upload the zip file via the systems tab.
There will be a pop up asking if you want to install the plugin.
It can then be activated under the plugins tab on the machine specific settings tab -
@LB I just posted a 0.7.0 with async loading Download the zip from the release page and with the latest DWC 3.2 beta you can simply go to the system tab and upload the file to install the plugin.
@jay_s_uk beat me to it
-
weird bug, it seems the bed rendered is too small. (see pic)
any idea?
same on safari and firefox. Mac os big sur.
-
@Thalios I have not yet implemented reading the axis limit so the bed size is fixed @ 235,235 at the moment.
-
I understand! I like it still!