kartchnb / AutoTowersGenerator

A Cura plugin to automate the creation of 3D printer calibration towers (e.g. temperature towers, retraction towers, etc)
GNU Affero General Public License v3.0
146 stars 11 forks source link

Not applying post processing on Cura 5.3.0 #64

Open kfrancis opened 1 year ago

kfrancis commented 1 year ago

Steps:

Expected: The model should be placed on the bed and the post-processing should be added related to the selected option Actual: The model is placed, but the post-processing is missing.

image

Tried

Here's the generated g-code, renamed .txt so I could paste it here: Preset Temperature Tower - PETG.txt

kartchnb commented 1 year ago

Odd. I'm using the plugin with Cura 5.3.0 right now and it seems to work fine.

But it's very likely I missed something. I'll do some more investigation and see what I can find.

Thank you for the bug report!

kfrancis commented 1 year ago

I've tried to debug, but it seems like I'm not able to get cura running from source easily on this machine. Any tips, I'd be happy to assist.

x2on commented 1 year ago

same problem here. It generates the tower, but temperatures are always the same from the profile.

RookFett commented 1 year ago

I was using 5.2.2 and just updated to 5.3.0 and I am seeing changes in temps when this is printing.

kfrancis commented 1 year ago

same problem here. It generates the tower, but temperatures are always the same from the profile.

Well, I'm glad I'm not alone. :)

kartchnb commented 1 year ago

Sorry for the silence. I haven't been able to find any issues. If any of you (or anyone else) is still having this issue and could upload a copy of gcode that has been generated by my plugin and is not printing correctly, that would be very helpful.

A cura.log file might help as well.

HorstAlbiez commented 1 year ago

I have the same issue. Temperatures are always the same - with predefined towers (PETG) as well as custom setup towers. Using Cura 5.3 with Ultimaker S5. BTW I'm using Cura on a Mac with Ventura 13.2.1.

kfrancis commented 1 year ago

Here you go @kartchnb:

kartchnb commented 1 year ago

Thank you for that, @kfrancis. That's a big help.

Unfortunately, the gcode and log file look fine. The M104 commands to set the temperature are where I would expect them to be and look correct and there are no errors in the log file.

I wonder if the comments at the end of my added lines are causing problems. They shouldn't, but I really can't see anything else suspicious. Here's a copy of the gcode you sent me with the comments after the added M104 commands stripped out. Preset Temperature Tower - PETG - stripped.zip

If you have the time and patience, it would help to know if this file prints correctly (meaning the temperature changes between tower levels).

kfrancis commented 1 year ago

Hmm, so what's interesting is that the only reason I don't think it's working is because I don't see the post-processing step in there so I didn't try and print because I couldn't verify .. I assume @HorstAlbiez and @x2on mean as well?

HorstAlbiez commented 1 year ago

I can see on UM5 UI and in the temperature graph on printer management console that temperature stays constant at profile setting. Also the printed tower looks the same at each level.

kfrancis commented 1 year ago

It does seem to print correctly and I did observe the temperature changing as expected, at least in my case. I did both the temp PETg tower and the fan tower and both did what was expected, with the exception of the post-processing steps being visible unless that's by design.

SirDragonClaw commented 1 year ago

Sorry for the silence. I haven't been able to find any issues. If any of you (or anyone else) is still having this issue and could upload a copy of gcode that has been generated by my plugin and is not printing correctly, that would be very helpful.

A cura.log file might help as well.

I am having the same issue, the file generated has the tower itself but looking though the gcode I cannot see any temp changes other than the initial setting. Is there an additional button I have to press somewhere that runs the post process script? I am using 5.3 on windows.

The attachment is the gcode file, just with the extension changed to make github happy.

AM5_Preset Temperature Tower - PETG 1.txt

HorstAlbiez commented 1 year ago

... here my debug files for a newly generated PETG TempTower... The M104 commands look quite strange to me. At the beginning of a section the temperatures are correctly set to 250, 245, …and so on. But within a section the set values are changed and vary between 195,x and 205,x…

cura.log Preset Temperature Tower - PETG.gcode.txt

HorstAlbiez commented 1 year ago

Right now I made a test with the PLA TempTower. Temperature in the profile settings was 205°C. Expected set value for first temperature level was 230°C. It was printed at 205°C. Next expected set value was 225°C, but I saw the set value and actual value going down to about 195°C (at UI of printer) and coming back to 205°C within a couple of seconds (and stayed there). So the second level was also printed with with 205°C. At 220°C level same as before - temperature (and set value) went down to 195°C coming back to 205°C. That happened for each level. It seems that there is the attempt to change temperature at each tower level but there seems to be an invisible force ;-) which takes it back to the profile set value. Could the type of the printer be the reason? G-Code interpreted differently? Im using an UM S5.

Rolleroo commented 1 year ago

Running 5.3.1 with Octoprint on a stock Ender 3 S1 Plus and I don't appear to have any issues. Happy to supply logs if needed.

GreggAdventure commented 1 year ago

My NEW ISSUE button won't work. Been trying forever. Asking here. Hope it is ok: The Version # on my Cura 5.3.1 is showing 2.6.0, rather than 2.6.2. I've done uninstall and all the usual. Any thoughts?

Sungod3000 commented 1 year ago

Hi, im on 5.3.1 and when i add a speed tower and look at in in the preview window all speeds are the same. is there a way to activate this post-processing?

pnlrogue1 commented 1 year ago

I'm trying to add a Retraction Distance tower in Cura 5.3.1 and when I sliced and printed, I got stringing on every layer on my Ender 3 Pro (BTT SKR 1.4 Turbo board, TMC2208 steppers, Klipper firmware). Looking through the code, I only see three times it calls E- and two of them appear to be at the end but I have almost zero knowledge of GCode so I could be totally misunderstanding things.

I've attached my GCode and cura.log (note that I tried another tower by 5axes, though that looks to be doing the same thing)

zanzark commented 1 year ago

Could this be a bug with marlin firmware? I'm using it

kartchnb commented 1 year ago

I can't believe I missed all these comments for months.

If you haven't all given up on me...

@kfrancis, unfortunately, my post-processing will not show up in Cura's preview. I suspect my plugin IS working for you, but you won't see it until you print.

@HorstAlbiez, thank you for posting your gcode file! I haven't seen temperature changes within sections like that before and my post-processing completely ignores them, which explains what you're seeing. It shouldn't be difficult to update my plugin to handle that and I'll work on that for the next version.

@GreggAdventure, I'm not sure what's causing what you're seeing. If you uninstall and reinstall, you should get the latest version on the Marketplace, which is 2.6.2 at the moment. It's possible that I forgot to update the displayed version number, but I've tried to make that foolproof. All I can suggest is waiting until my next release (2.7.2) is approved and up on the Marketplace. It's been in the process for a while, but it takes time for the Ultimaker people to push it through.

@Sungod3000, unfortunately, I don't know of any way to get Cura's preview to show my post-processing. Even if you generate a tower, slice it, save it to a file, and load that into Cura, you won't see the speed changes. I think this has to do with the way I'm adjusting the speeds with the M220 command. I suspect Cura just isn't set up to recognize this.

@pnlrogue1, it doesn't look like my post-processing is being applied at all, and I can't see a reason for that. I wonder if there is some sort of interaction with other plugins you have installed, but I have no way of checking. As it stands, Cura doesn't appear to be calling my plugin at all. There's no evidence of it in the gcode file OR the log file. I'm at a loss here.

@zanzark, I'm pretty sure the problems people are seeing are in Cura or my plugin (@HorstAlbiez's issues are definitely due to my plugin). I'm using the Marlin firmware as well, and things work fine for me.

GreggAdventure commented 1 year ago

Thanks for the reply! Just tried again. Still 2.6.0 I will keep an eye for the new release. Will it be OK for CURA 5.4? Note: I just found 2.7.1 on here, and installed that for now, till 2.7.2)

danhawkins commented 1 year ago

Also having this issue, flow tower and temp tower no post processing in cura 5.4.0

GreggAdventure commented 1 year ago

Try uninstall and reinstall the extension, or, download the newest version, from Github. It was recently updated


From: Danny Hawkins @.> Sent: Wednesday, September 20, 2023 2:24 PM To: kartchnb/AutoTowersGenerator @.> Cc: Gregg Cerenzio @.>; Mention @.> Subject: Re: [kartchnb/AutoTowersGenerator] Not applying post processing on Cura 5.3.0 (Issue #64)

Also having this issue, flow tower and temp tower no post processing in cura 5.4.0

— Reply to this email directly, view it on GitHubhttps://github.com/kartchnb/AutoTowersGenerator/issues/64#issuecomment-1728231285, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6CA2KGU7SQ35UCZTMFRUNDX3MYEJANCNFSM6AAAAAAWKAI5II. You are receiving this because you were mentioned.Message ID: @.***>

trankillity commented 1 year ago

For anyone still arriving at this that believes they're experiencing this issue, please wait until at least layer 5 starts to check. I came here to ask about the same issue, and had a look at the gcode. @kartchnb does not initiate the custom temperatures until the base layer is done, which is after 4 layers @ 0.2mm in my case. This will appear like it's just printing in your stock temperature (which it is). This might be worth calling out in the documentation @kartchnb.

image