Coder Social home page Coder Social logo

Logging about klipper_estimator HOT 6 CLOSED

annex-engineering avatar annex-engineering commented on September 25, 2024
Logging

from klipper_estimator.

Comments (6)

dalegaard avatar dalegaard commented on September 25, 2024

Hi @paulsgale

There's no log as such, but a line is appended to the end of the file with a comment about what slicer was detected.

Are you looking for anything else in particular, that isn't already exposed in estimate or move dump modes?

Best regards,
Lasse

from klipper_estimator.

pgale avatar pgale commented on September 25, 2024

Ok thanks very much. I have it working now but another question if that's ok here?
In superslicer, is it possible to see the time estimated from klipper_estimator in the info panel? If not, what's the best way to integrate this rather than having to send it each time and wait for a print to start?

I know you can output the gcode and then run the estimator on that but is there a simpler way to do this?

Thanks.

from klipper_estimator.

dalegaard avatar dalegaard commented on September 25, 2024

Hi @pgale

SuperSlicer, and all other slicers as far as I'm aware, do not read back gcode after post processing and so can't show the output of the estimation. The slicers either need to change, or integrate the estimation directly. There's an open SuperSlicer issue on this, but I don't believe any progress has been made on it, or if there's even interest in it.

Best regards,
Lasse

from klipper_estimator.

pgale avatar pgale commented on September 25, 2024

Ok many thanks for clearing that up :) yes I don't expect SS to supoort that as current updates are pretty much non-existent since mid last year :(

from klipper_estimator.

truckershitch avatar truckershitch commented on September 25, 2024

So I have this comment at the end of my file:

; Processed by klipper_estimator v3.2.1, detected slicer PrusaSlicer 2.6.0-alpha3+linux-x64-GTK3

Could the time in seconds be added to that comment? The time could be extracted to rename the file by grep or something else. I'm unsure what program or script would do that, but the information would be there.

For example, a cron job could run periodically to check for new files in ~/gcode_files at a sane interval on the Kilpper device. That would be pretty easy to write. It probably would not catch a print job sent straight to the printer but it would catch others.

Adding the information could be optional.

from klipper_estimator.

dalegaard avatar dalegaard commented on September 25, 2024

Hi @truckershitch

In theory yes, but I'd prefer to keep the tool minimal. One could always use the estimate mode from a script, the run time is pretty fast even for big files so should be okay doing a couple of passes even in the worst case.

Moonraker can always extract relevant metadata from the files already, with support for multiple slicers.

Best regards
Lasse

from klipper_estimator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.