klippain icon indicating copy to clipboard operation
klippain copied to clipboard

Different Bed Size for "CALIBRATE" macro

Open ProphecyKt opened this issue 2 years ago • 1 comments

Hello,

At the moment, the macro "CALIBRATE" call "PA" and "Flow" calibration with a fixe bed size of 300x300.

{% if TYPE=="flow" %}
        [...]
        START_PRINT [...] SIZE=130_130_170_170
        [...]
    {% elif TYPE=="pressure_advance" %}
        [...]
        START_PRINT [...] SIZE=90_90_210_210
        [...]

I think it would be beneficial to include some simple parameters to call this macro with different bed sizes. (at least 300 and 350)

Thank

ProphecyKt avatar Oct 30 '22 08:10 ProphecyKt

Thanks for raising an issue. At the moment this file is more like an example of how to use it, not really a generic way to do it. I will think about a way to do it automatically on every machine size and then modify this file accordingly :)

Frix-x avatar Nov 03 '22 15:11 Frix-x

souldn't it be possible to have a variable in the variables.cfg defining the bed size?

W141-ID avatar Dec 13 '22 09:12 W141-ID

No: bed size is already set in the steppers configuration. So better to just extract it from here :)

I just didn't had time to do it at the moment. But I'll do :)

Frix-x avatar Dec 13 '22 17:12 Frix-x

Hey, this is done in https://github.com/Frix-x/klippain/commit/490654b00d43b71fafb4cae23ba6e86c0fd97a1f To be merged soon in the main branch :)

Frix-x avatar Apr 16 '23 11:04 Frix-x