-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-write of Time Lapse #18923
Re-write of Time Lapse #18923
Conversation
An update to the script. - Added insertion frequency - Added support for relative extrusion - Retract is now a boolean and the settings come from Cura. There won't be a retraction if there is already a retraction.
hi @GregValiant, I'm not on the cura team anymore. best to request a review of one of the other cura devs. Thanks |
@casperlamboo thanks for getting back. I hope all goes well for you in the next phase. Greg |
@wawanbreton could you take look at this next power hours, since @saumyaj3 is currently on holiday |
Added support for Firmware Retraction
@wawanbreton The last commit adds support for firmware retraction. |
@wawanbreton Has there been any progress on this? |
Hi @GregValiant, sorry for not answering, I'm just back from holiday. I will create tickets to integrate this PR into our backlog for review, and also the one for the other plugin. |
I understand completely and was not trying to jostle your elbow. I knew 5.8.0 was due to be released and I was just curious if either would get in under the deadline. |
No offense taken... It's actually a good thing that you regularly raise some flags, so that we don't forget we have PRs to look at 😃 |
I have added the setting from #19556 but I have yet to update this PR as I am waiting to hear back from the other poster. I'm getting "merge conflicts" so I'm sitting on the revised version. |
Update TimeLapse.py Update to include a pause before the image is snapped.
bde9e90
to
ffc2140
Compare
The 6th commit appears to be correct and includes the change proposed in 19556. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very good, there is just something curious about the extra spaces after units 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We agreed with the team that those extra spaces should be removed, should it be at least for consistency. I spotted no visual issue related to this.
Question: do potential bugs caused by bad behaving other post-processing scripts count as problems, especially when there's an easy fix?
That assumes that E is the last parameter. In code produced by CuraEngine and Script.putValue() it will be, but if there's a script out there running before this which is crafting its own lines it might not be so polite. If "E" isn't the last parameter then the second item of the split() will be a string which will throw a ValueError when you try and cast it to a float. The script does catch exceptions, but in doing so it'll stop processing that entire layer, including if there's supposed to be a shot at the end. What's wrong with this? We already know there's an E value, we checked for that.
|
@wawanbreton, @Slashee-the-Cow I saw that but something else caught my eye and I forgot about it. |
Ok, good to know 🙂 if at some point we have to change the UI of the post-processing script, then we shall fix that ! |
@wawanbreton So if I want to put my code where my mouth is and try and push request in a refactored version that I, in my completely biased opinion, think is better:
|
For 5.9, yes. But you can still start working on this now and it can be integrated in next release.
Just make a fork of this Cura repository, then do whatevere you want on it, and when you are satisfied with your work, create a PR back to this repository |
An update to the Time Lapse script.
Description
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: