I thought it is already explained as simple as possible but it can always be better. What OS are you running your S3D on?
Windows Arhi, but i have no clue about what to do even reading your tutorial.
widows is easy
Code: Select all
c:\gcodestat\gcodestat.exe
c:\gcodestat\gs.bat
c:\gcodestat\samples\*
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%"
Code: Select all
c:\gcodestat\gs.bat "[output_filepath]"
Done and as you say the pop up with time to print shows up when i save. Today i will try with some prints and find how accurated is.arhi wrote: ↑Sat Mar 31, 2018 6:52 amwidows 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 getedit 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
c:\gcodestat\gcodestat.exe c:\gcodestat\gs.bat c:\gcodestat\samples\*
start s3dCode: 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%"
edit process settings
go to scripts tab
in the "additional termina commands for post processing" add:
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 finishedCode: Select all
c:\gcodestat\gs.bat "[output_filepath]"
lemme know how it works for you
Code: Select all
Total time: ( -14:-8 )
Code: Select all
G1 Z10 ; lower
Code: Select all
G1 Z10 F1 ; lower