FormerLurker / Octolapse

Stabilized timelapses for Octoprint
GNU Affero General Public License v3.0
639 stars 99 forks source link

[Request] Option to disable all checks for the printer #767

Open Macj332 opened 3 years ago

Macj332 commented 3 years ago

If this is a feature request describe it here

I have a 3D printer that I am using to test software on a tablet by attaching a stylus to the head of the printer. I need to be able to take snapshots of the display after certain button presses. Currently, I am unable to do this because Octolapse will not trigger from a Gcode trigger if no layer has been placed. I also needed to fill in a bunch of random data in the slicer settings area because I am not using a slicer.

It would be very convenient if Octolapse had a setting where it do nothing except take a picture when it sees a Gcode trigger. Please let me know if this is already a setting that I just haven't found yet. Thank you.

Version of Octolapse

Octolapse Version: 0.4.1

Version of OctoPrint

OctoPrint Version: 1.6.1

When you ran into the problem, did you have diagnostic logging enabled?

Diagnostic Logging was Enabled: _REPLACE_THISYES_OR_NO

What were you doing when the problem occurred

  1. _REPLACE_THISSTEP_ONE_GOES_HERE
  2. _REPLACE_THISSTEP_TWO_GOES_HERE
  3. _REPLACE_THISSTEP_...

What should have happened?

_REPLACE_THISPUT_YOUR_DESCRIPTION_HERE

What happened instead?

_REPLACE_THISPUT_YOUR_DESCRIPTION_HERE

Operating System running OctoPrint and Octolapse

OS Name: _REPLACE_THISOS_NAME_GOES_HERE Os Version: _REPLACE_THISOS_VERSION_GOES_HERE

Printer model & used firmware incl. version

Printer Model: _REPLACE_THISPRINTER_MODEL_GOES_HERE Printer Firmware Version: _REPLACE_THISPRINTER_FIRMWARE_VERSION_GOES_HERE

Browser and version of browser, operating system running browser

Browser: _REPLACE_THISBROWSER_VERSION_GOES_HERE Browser OS: _REPLACE_THISBROWSER_OS_GOES_HERE

Link to the gcode file you were printing when the problem occurred

Link to Gcode File: _REPLACE_THISGCODE_FILE_LINK_GOES_HERE

Link to settings.json

Link to settings.json with all passwords removed: _REPLACE_THISSETTINGS_JSON_LINK_GOES_HERE

Link to plugin_octolapse.log

Link to plugin_octolapse.log: LINK_GOES_HERE

Link to octoprint.log

Link to octoprint.log: _REPLACE_THISLINK_GOES_HERE

Link to contents of Javascript console in the browser

Link to javascript console output: _REPLACE_THISLINK_GOES_HERE

Screenshots and/or videos of the problem:

Screenshot/Video Links: _REPLACE_THISLINKs_GO_HERE

Please consider becoming a patron

If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.

You can find various videos and tutorials by subscribing to my Youtube channel. You can also follow me on Twitter.

FormerLurker commented 3 years ago

No, there is no convenient way to do this currently. However, it would be pretty easy to setup a script and use the GcodeSystemCommand plugin to capture an image from your camera's stream. You can even then use Octolapse to assemble the snapshots into a video by uploading them into the 'Videos and Images'->'Saved Snapshots'->'Import Snapshot Archive (zip)' functionality! Let me know if you need some help. The first timelapse I did was using the GcodeSystemCommands plugin, so I have a soft spot in my heart for that plugin :)

Macj332 commented 3 years ago

Thank you. That is a neat plugin that I did not know existed. I will see if I can throw something together to get that to work. The one part I am having a little difficulty with is trying to take a picture while octoprint is using the camera. How did you get around that? Thank you for all the help.

FormerLurker commented 3 years ago

I basically downloaded the image from the snapshot url (http://ip_of_pi/webcam?action=snapshot) using curl. It will be a pretty short and easy script. I tried to find the one I used, but I might not have saved it :(

Macj332 commented 3 years ago

I would not have thought of using curl. That is very helpful. Hopefully I can have this working today. Thank you again.