#File Structure Changed - Trying to Restore Old printer.cfg

65 messages · Page 1 of 1 (latest)

warm island
#

I've done a fresh install of RatOS (after an attempt to update Moonraker bricked my printer). I uploaded my old printer.cfg over-writing the default, but the file structure has changed. So I added "RatOS/" after "config/" in all the includes to try to correct this.

I'm getting:

Include file '/home/pi/printer_data/config/config/RatOS/boards/btt-skr-2-429/config.cfg' does not exist

I'm not sure about the /home/pi/printer_data/config/ (that config/config/ doesn't look right), but changing the path to /config/RatOS/boards/btt-skr-2-429/config.cfg doesn't help.

This must be something obvious, but I'm not seeing it. What's wrong here?

fallen bear
#

You can only use your printer.cfg as reference

#

Do not copy paste

warm island
#

So lots of changes then?

fallen bear
warm island
#

I'll have to manually copy all my changes across

fallen bear
#

Your user override section should be copy pastable

#

But not the rest

#

You can still install a v1 release, but it was discontinued back in may after a 3 month warning.

warm island
#

I should be able to copy my input shaper config manually, right?

warm island
#

Cool

fallen bear
#

Everything after (and including) the user overrides section is fair game

warm island
#

I suppose it won't take too long. I just have quite a few changes to the default due to motor changes, etc.

fallen bear
#

Right, shouldn't be a big issue, it's similar to v1, but the order of some includes has changed and a bunch of new stuff was introduced.

warm island
#

I guess it's not so much

#

Glad you're still awake @fallen bear!

#

This is why I prefer not to update anything!

fallen bear
#

Well not for long, got a roadtrip in 5 hours 😂

warm island
#

Oh, nice! Where are you going?

fallen bear
#

Germany

#

Just a one day trip

#

Shopping at the border like a proper Dane

warm island
#

Wow!

#

Have fun!

fallen bear
#

Thank you! And good luck, i'll check in tomorrow night and see if you're completely screwed 😂

warm island
#

I'm up and running again, still have a few things to do like working out how to transfer input shaping, as that only appear in the saved (do not edit) part of the config.

#

I'm using a 42STH48-2504AC for my y axis. Previously I had:

#

[tmc2209 stepper_y]
uart_pin: y_uart_pin
run_current: 1.6
driver_TBL: 1
driver_TOFF: 3
driver_HEND: 3
driver_HSTRT: 4

#

That I lazily dumped in to my printer.cfg. Now I see the stepper config for this setup is:

#

[tmc2209 stepper_y]
uart_pin: y_uart_pin
run_current: 1.6
driver_TBL: 2
driver_TOFF: 3
driver_HEND: 0
driver_HSTRT: 6

#

I'm not sure if those HEND/HSTART and TBL differences matter

#

BTW, I did have big issues with my y axis last night until I discovered the dupont connector had come unseated! I wasted best part of an hour due to that!

#

After I've got the basics in place, I plan to get KAMP running

fallen bear
fallen bear
fallen bear
fallen bear
fallen bear
#

No need for KAMP

warm island
#

Yeah, I get the principle of the motor-specific settings. I'm just not sure what's right for the 42STH48-2504AC

#

I will have to try the adaptive meshing

#

BTW, what *is *the correct order for doing updates?

fallen bear
fallen bear
#

Although clicking update all should work in theory, it'll always do thirdparty components first, then klipper/moonraker and finally system packages.

warm island
fallen bear
warm island
#

@fallen bear Adaptive mesh isn't working correctly for me. It seems to start with x min equal to the x center of the bed. I'm trying a centered print, but the meshing is offset to the right

fallen bear
warm island
#

Maybe, but the behavior is the same with Super Sliver and Orca

fallen bear
#

And your printer.cfg for good measure

warm island
#

Is there an elegant way to save the copy the console, other than cut and pasting (with it being reverse chronological order)?

#

X0=66.1478 yet the lowest X probed is 93.947

#

Y0=68.5486 yet the lowest Y probed is 80.550

fallen bear
# warm island Y0=68.5486 yet the lowest Y probed is 80.550

So here's the fun part: echo: CALIBRATE_ADAPTIVE_MESH: mesh coordinates X0=66.1478 Y0=68.5486 X1=114.868 Y1=113.88 is what the macro is passing to BED_MESH_CALIBRATE. Those are correct. So whatever's going on is inside BED_MESH_CALIBRATE.

warm island
#

That's what it looked like to me

fallen bear
#
8 | (142.7, 125.9) | (114.9, 113.9)
9:29 PM
7 | (118.3, 125.9) | (90.5, 113.9)
9:29 PM
6 | (93.9, 125.9) | (66.1, 113.9)
9:29 PM
5 | (93.9, 103.2) | (66.1, 91.2)
9:29 PM
4 | (118.3, 103.2) | (90.5, 91.2)
9:29 PM
3 | (142.7, 103.2) | (114.9, 91.2)
9:29 PM
2 | (142.7, 80.5) | (114.9, 68.5)
9:29 PM
1 | (118.3, 80.5) | (90.5, 68.5)
9:29 PM
0 | (93.9, 80.5) | (66.1, 68.5)

So the points BED_MESH_CALIBRATE generates goes from 66.1, 68.5 to 142.7,125.9. But That's not what it's probing.. wtf.

warm island
#

Indeed!

warm island
#

Does it need exclude object enabled, like KAMP does?