Comments (6)
Hi @zellneralex
I'm not sure I understand what you mean with this? Do you want to run klipper_estimator
on every file uploaded via Moonraker?
If yes(which could work, though it might be slow because it's running on a Raspberry Pi) then that would be for the Moonraker project to do I think :-)
Best regards,
Lasse
from klipper_estimator.
Hi Lasse,
sorry for my late response. What did you expect ;-) a day after you published it at the klipper discord there where the first requests to add it in the UIs to get a better prediction on ETA.
And therefor I thought I start here as I know you would be capable to do it and do not wont to overload Arksine.
But I can understand your answer.
I can close it if you want that.
Best regards
Alex
from klipper_estimator.
I'm going to look into adding support for this, I started playing with it and I find it pretty exciting. On a Pi 3 it's reasonably fast, I ran a 200MB file in under 45s. When I wrote Moonraker's metadata parser it was important to me that it be quick, so it relies completely on what can be extracted from the comments (and it some cases from the gcode). The Klipper Estimator is more akin to Octoprint's gcode processor, however its FAST.
from klipper_estimator.
@Arksine that sounds great, let me know if you need any special output or find something missing. I recently added a --format json
option to the estimate
command so quite extensive output is available.
from klipper_estimator.
When dalegaard was "thinking of adding some generic metadata parsing support to the planner library, so clients can easily get stuff like layer height", I suggested implementing moonraker's metadata.py
json interface such that klipper_estimator
can be used as a drop-in replacement for this script. metadata.py
already runs in a separate process, thus it doesn't matters whether it use the python runtime or not.
Otoh, re-implementing a compatible and throughout metadata extraction might be out of scope for klipper_estimator
, since metadata.py
is almost ~1kLOC.
from klipper_estimator.
I'll close this for now, feel free to post any updates here and we'll re-open if relevant :)
Best regards
Lasse
from klipper_estimator.
Related Issues (20)
- Failed to run klipper_estimator HOT 1
- FR: Rename function HOT 1
- Use config.js if moonraker is not online HOT 1
- Display Popup Window with Estimate after Slicing/Export / Possible bug in layer time output HOT 1
- Increasing acceleration beyond machine's max acceleration still decreases the estimate of time taken to print HOT 2
- Issue with Release Version of Estimator Hanging when Piped in Command Line HOT 1
- Installation HOT 3
- Windows exe doesnt start HOT 2
- Error on 'M73 P0.000 R46': unable to parse 0.000 HOT 5
- max_accel_to_decel has been removed in newest klipper versions HOT 3
- Microsoft Defender says: Trojan:Win32/Wacatac.B!ml HOT 2
- Wrong max_accel_to_decel calculation in v3.7.x HOT 2
- [Feature request] Add support for object exclusions
- Won't open on windows 11 HOT 1
- incorrect estimate result HOT 1
- Estimated print time off by a lot/seemingly random amounts HOT 9
- override minimum_cruise_ratio some times HOT 2
- Add ability to pass total print time in seconds via gcode placeholder
- post-process doesn't seem to work. HOT 6
- How to EXTRACT dump-moves informations into an external file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klipper_estimator.