Annex-Engineering / klipper_estimator

MIT License
279 stars 26 forks source link

Support for the acceleration change set by orcaslicer with Emit Limits in G-Code option #66

Closed sb53systems closed 2 weeks ago

sb53systems commented 2 months ago

How to include the acceleration change set by orcaslicer with Emit Limits in G-Code option ? 346765550-afe5a207-44ec-4725-8164-2f49cd392856 image

image

Thank you.

sb53systems commented 2 months ago

this small time difference is due to this missing parameter

image

dalegaard commented 1 month ago

Hi,

I'm not sure what's being reported here.

Best regards, Lasse

sb53systems commented 1 month ago

Hey Lasse,

I think that Klipper_Estimator_Script uses the maximum printer acceleration provided in the Config.json file to estimate the time of each movement and its flow rate average, and does not support the acceleration defined in the G-Code, Example :

SET_VELOCITY_LIMIT ACCEL=1400 ACCEL_TO_DECEL=700 G1 F9000 G1 X35 Y48 SET_VELOCITY_LIMIT ACCEL=3000 ACCEL_TO_DECEL=1500 G1 F3600 G1 X40 Y50

I noticed this because the time estimated by Klipper_Estimator is always the same whether the option (Emit Limits to G-code) is activated or not.

My Config.json File is below

{ "max_velocity": 300.0, "max_acceleration": 6000.0, "minimum_cruise_ratio": 0.5, "square_corner_velocity": 5.0, "instant_corner_velocity": 1.0, "mm_per_arc_segment": 0.1, "move_checkers": [ { "axis_limiter": { "axis": [ 0.0, 0.0, 1.0 ], "max_velocity": 5.0, "max_accel": 200.0 } }, { "extruder_limiter": { "max_velocity": 79.82432411074329, "max_accel": 1596.486482214866 } } ] }

sb53systems commented 2 weeks ago

@dalegaard any future support for this issue ?
Your help would be very valuable !

Best regards, Salim

dalegaard commented 2 weeks ago

Hi @sb53systems

set_velocity_limit is supported, so I'm not sure what's wrong here. I don't use klipper_estimator anymore and I don't have time to debug the issue. Sorry.

Best regards, Lasse