Comments (12)
Enter the folder %AppData%\Roaming\cura\5.2
, there should be a cura.log
there, please check it or upload it here so I can take a look.
from klipper-preprocessor.
See attached log. Everything else I did right though? One thing I wasn't sure is if I needed to create the estimator file manually or if it would generate automatically the first time it runs.
from klipper-preprocessor.
Ok, so the issue is your "Path to config file", that is a local file path where to store the backup of the config, not a web path!
Try setting it to "C:\Users\Louis\AppData\Roaming\cura\5.2\Klipper_Estimator\klipper_estimator.json" and I believe it should work fine.
from klipper-preprocessor.
So that did fix it. Thank you. However, for some reason running the plugin causes massive delays, not when I slice the file, but when I go to save it to disk or upload it to moonraker. I tried disabling each portion one by one, but even when only Time-lapse is enabled it still causes the massive delay. This delay will eventually load a small model but anything is significance delays for what seems like indefinitely. Even with everything unchecked the delay still exists. Only when I remove it completely from post-processing or break it with the incorrect config path for the estimator does the delay disappear. I have attached the Cura log and a screen shot of what I was trying to upload. I let the fule in the screen shot rub and it took about 20 minutes to load the final upload confirmation. bit sure if this is just due to my laptops limitations or not.
from klipper-preprocessor.
I let the fule in the screen shot rub and it took about 20 minutes to load the final upload confirmation. bit sure if this is just due to my laptops limitations or not.
What was the size of the gcode file? can you zip it and upload it here?
There's nothing on the log to indicate a single long operation, however klipper_estimator might take a bit of time... not much I can do about that, this is just a script that runs the app.
from klipper-preprocessor.
cura.log
CE3E3V2_screw_driver8.zip
here is a new log with the actual upload after 20 minutes or so and the gcode file itself
from klipper-preprocessor.
I've checked the logs and do see some weird long operations, however these are not related to this script as all it does is run a few apps.
I've just released a new version 1.2.2 of the script that will add more logging so it will enable you to more easily see if any of the external apps called by the script is causing this issue; if it is, I suggest you check with the respective app maintainer.
from klipper-preprocessor.
I downloaded the update and ran it again. The log is attached. I think I put to many of the files in the folder for the estimator and cancel object. My earlier post has a screen shot of what I put in the app folders. Maybe that's why it is slow? Which files are needed for the apps to run on Windows? Sorry for the newb question. Thanks again for your help.
from klipper-preprocessor.
Can you confirm that you see "Klipper Preprocessor v1.2.2" on the "Post Processing Scripts" window?
The log you attached does not show the added logging I put on 1.2.2, so I believe you probably did some mistake with the update.
from klipper-preprocessor.
I forgot to restart Cura. It updated now. See correct log.
Should i delete any of the files in the App folders for cancel object and estimator?
from klipper-preprocessor.
Well, I now know that this is not a problem with this script or any of the apps invoked by it!
Here's a partial of the new log entries:
2023-06-20 10:04:07,129 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._onBackendQuit [969]: Backend finished slicing. Resetting process and socket.
2023-06-20 10:04:09,429 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.KlipperPreprocessor.execute [115]: Initial run...
2023-06-20 10:04:09,640 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.KlipperPreprocessor.execute_preprocess_cancellation [143]: Running preprocess_cancellation...
2023-06-20 10:04:11,637 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.KlipperPreprocessor.execute_klipper_estimator [164]: Running klipper_estimator to get config from Moonraker...
2023-06-20 10:04:11,862 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.KlipperPreprocessor.execute_klipper_estimator [184]: Running klipper_estimator...
2023-06-20 10:04:12,087 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.KlipperPreprocessor.execute [136]: Return output...
2023-06-20 10:04:12,120 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.CreateThumbnail._createSnapshot [15]: Creating thumbnail image...
I can see the plugin work started at 10:04:09 and finished by 10:04:12, so a total of 3 seconds!
So whatever you are experiencing, it has to be something else...
Unrelated to this script, but I did notice that "Encoding thumbnail image..." entries seem to take a long time (2 minutes and above) so that might be your best bet to find the problem!
from klipper-preprocessor.
So I figured it out. when the thumbnails are listed after the Klipper script it causes the delay but when the thumbnails are listed before the Klipper script no delay. I attached a log showing both scenarios with the last entry showing them listed first.
from klipper-preprocessor.
Related Issues (10)
- Possible to add total filament usage to script? HOT 7
- Object cancelation doesn't properly recognize and label groups. HOT 3
- Bed Cooldown towards the end of a print HOT 2
- klipper-preprocessor not working with Smart Avionics Cura Master Branch HOT 9
- Klipper preprocessor makes saving/uploading from Cura extremely slow on larger files HOT 4
- klipper-preprocessor does not appear in "add a script" list HOT 7
- Timeout for preprocess_cancellation and klipper_estimator is too short HOT 1
- Error with SET_PRINT_STATS_INFO HOT 1
- Failing to load on macOS, Cura 1.4 HOT 1
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-preprocessor.