File Structure Changed - Trying to Restore Old printer.cfg

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?
38 Replies
miklschmidt
miklschmidt2y ago
So you updated from v1 to v2 which is not backwards compatible, please see https://os.ratrig.com/changelog#ratos-v20
miklschmidt
miklschmidt2y ago
You can only use your printer.cfg as reference Do not copy paste
continuing-cyan
continuing-cyanOP2y ago
So lots of changes then?
miklschmidt
miklschmidt2y ago
Oh yes
continuing-cyan
continuing-cyanOP2y ago
I'll have to manually copy all my changes across
miklschmidt
miklschmidt2y ago
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.
continuing-cyan
continuing-cyanOP2y ago
I should be able to copy my input shaper config manually, right?
miklschmidt
miklschmidt2y ago
Yes
continuing-cyan
continuing-cyanOP2y ago
Cool
miklschmidt
miklschmidt2y ago
Everything after (and including) the user overrides section is fair game
continuing-cyan
continuing-cyanOP2y ago
I suppose it won't take too long. I just have quite a few changes to the default due to motor changes, etc.
miklschmidt
miklschmidt2y ago
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.
continuing-cyan
continuing-cyanOP2y ago
I guess it's not so much Glad you're still awake @miklschmidt! This is why I prefer not to update anything!
miklschmidt
miklschmidt2y ago
Well not for long, got a roadtrip in 5 hours 😂
continuing-cyan
continuing-cyanOP2y ago
Oh, nice! Where are you going?
miklschmidt
miklschmidt2y ago
Germany Just a one day trip Shopping at the border like a proper Dane
continuing-cyan
continuing-cyanOP2y ago
Wow! Have fun!
miklschmidt
miklschmidt2y ago
Thank you! And good luck, i'll check in tomorrow night and see if you're completely screwed 😂
continuing-cyan
continuing-cyanOP2y ago
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
miklschmidt
miklschmidt2y ago
You can copy paste the whole save config block, or you can just cherry pick stuff from it and remove the #*# in front. Delete this. All you need is to replace
[include RatOS/steppers/ldo/42sth40-1684ac/2209/24v-1.188a-y.cfg]
[include RatOS/steppers/ldo/42sth40-1684ac/2209/24v-1.188a-y.cfg]
with
[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-y.cfg]
[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-y.cfg]
Up in the stepper section 🙂 They're motor and driver specific and they're defined in the stepper config files. Yeah don't use duponts, those are supposed to be JST plugs. RatOS v2 has native adaptive meshing.
miklschmidt
miklschmidt2y ago
Adaptive Meshing (BETA) | RatOS
RatOS comes with it's own adaptive meshing (functionality was previously handled by PAM by Helge Keck), similar to KAMP. When enabled and configured in your slicer, RatOS will only probe the print area and your configured probe location, potentially saving a lot of time on smaller prints on bigger printers. RatOS will keep the resolution of your...
miklschmidt
miklschmidt2y ago
No need for KAMP
continuing-cyan
continuing-cyanOP2y ago
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?
miklschmidt
miklschmidt2y ago
Sorry i made a typo: [include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-y.cfg] RatOS then everything else. Although clicking update all should work in theory, it'll always do thirdparty components first, then klipper/moonraker and finally system packages.
continuing-cyan
continuing-cyanOP2y ago
Yes, that's what I used. It's just different from what I used to have for HSTART/HEND and TBL
miklschmidt
miklschmidt2y ago
It hasn’t changed since it was introduced so 🤷🏻‍♂️
continuing-cyan
continuing-cyanOP17mo ago
@miklschmidt 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
miklschmidt
miklschmidt17mo ago
Sounds like bad parameters from the slicer possibly. The console will spit out debugging information before starting the mesh, maybe there's a clue in there.
continuing-cyan
continuing-cyanOP17mo ago
Maybe, but the behavior is the same with Super Sliver and Orca
miklschmidt
miklschmidt17mo ago
Post the info from the console And your printer.cfg for good measure
continuing-cyan
continuing-cyanOP17mo ago
Is there an elegant way to save the copy the console, other than cut and pasting (with it being reverse chronological order)?
continuing-cyan
continuing-cyanOP17mo ago
X0=66.1478 yet the lowest X probed is 93.947 Y0=68.5486 yet the lowest Y probed is 80.550
miklschmidt
miklschmidt17mo ago
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.
continuing-cyan
continuing-cyanOP17mo ago
That's what it looked like to me
miklschmidt
miklschmidt17mo ago
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)
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.
continuing-cyan
continuing-cyanOP17mo ago
Indeed! Does it need exclude object enabled, like KAMP does?
miklschmidt
miklschmidt17mo ago
No I specifically avoided that so it works on slower devices as well
Want results from more Discord servers?
Add your server