kliment / Printrun

Pronterface, Pronsole, and Printcore - Pure Python 3d printing host software
GNU General Public License v3.0
2.38k stars 998 forks source link

Disable file parsing when loading files to lower file loading times to zero #944

Open sebascarra opened 6 years ago

sebascarra commented 6 years ago

Hello, I use pronsole to print from the command line using a Raspberry Pi. Loading large files takes a couple minutes and honestly I just need to stream the file to another board. I'm not sure on why gcoder needs to run when loading from the command line, I don't need the ETA or anything like that. How can I disable gcoder or whatever is required to reduce loading times to near zero??

Thanks.

ghost commented 6 years ago

Bump

XL-Reaper commented 5 years ago

Same question, I would also like to have the option to disable parsing,

volconst commented 5 years ago

This could be achievable with 'pronsole> run_gcode_script cat path/to/file.gcode' since commit https://github.com/kliment/Printrun/commit/9298c8dc14acaa4ff90dbdd6c672d7aced8b6d51 . run_gcode_script now uses do_print, so it should be able to be paused and resumed, but may leak handles if output not exhausted.