APoloG13 wrote: ↑Fri Mar 30, 2018 11:39 am
Windows Arhi, but i have no clue about what to do even reading your tutorial.
widows is easy
download the latest zip from
https://github.com/arhi/gcodestat/releases (latest attm is
0.7 )
unpack it in c:\gcodestat\ so you get
Code: Select all
c:\gcodestat\gcodestat.exe
c:\gcodestat\gs.bat
c:\gcodestat\samples\*
edit gs.bat to be like this (this configuration does not upload file to octoprint, if you want to automatically upload to octoprint leave the api and url thing as original just change api and url values):
Code: Select all
@echo off
for %%a in (%1) do (
set filepath=%%~dpa
set filename=%%~na
set extension=%%~xa
)
set if=%filepath%%filename%%extension%
set of=%filepath%%filename%_M117%extension%
C:\gcodestat\gcodestat.exe --alert -d 0.02 -a 1000 --gcode="%if%" --output="%of%"
start s3d
edit process settings
go to scripts tab
in the "additional termina commands for post processing" add:
Code: Select all
c:\gcodestat\gs.bat "[output_filepath]"
save your profile and that's it, slice a file and save it after slicing and after slicing you'll get a popup with time to print, also you will get a second file at the same place you saved original file with _M117 so if you saved "butterfly.gcode" you will also get "butterfly_M117.gcode" file there. the new file will have M117 codes embedded in the file so every 10% of time to finish it will update the lcd on the printer with proper time till print is finished
lemme know how it works for you