unable to apply skew profile
created a skew correction section in the config, saved. used command to send set the skew and apply it to a profile, again saved.
I see the original block as well as the new block in the auto generated portion at the bottom. as far as I can tell the profile is properly setup and saved to the config.
following the ratrig setup docs it mentions to uncomment a line referenced a gcode macro variable, but I do not have this section in my config file anywhere. I manually added this line to the macro configuration section
yet no matter what, either during a print or manually applying the skew profile, if I run GET_CURRENT_SKEW klipper reports nothing is applied
the macros file shows that a START PRINT macro should eventually call in the skew profile once the extruder is heated
What am I missing?
27 Replies
hello
try renaming this
[skew_correction CaliFlower]
#xy_skew = -2.220446049250313e-16
#xz_skew = 0.0
#yz_skew = 0.0
use only [skew_correction]
remove everything else and only include the variable
no need for the _start_print_after_heating_extruder macro
if set on variables, the profile should be loaded every single time
What do I put in the variable then? It's asking for a profile name isn't it?
also I should point out that the after_heating_extruder is part of the default start_print macro. that is all default setup.
removing the profile name and setting the variable to just True and saving, restarting, get_current_skew still shows 0
yeah, I give up. I can not even manually apply a skew profile.
doing these same actions on my normal mainsailOS install on my ender applies and reports as expected
so I'm doing the right things, but RatOS is not happy with the same commands.
I have
SKEW_PROFILE LOAD=my_skew_profile
in my start gcode and then in my printer.cfg
even if I manually skew_profile load if I check get current skew right after it still shows 0
what you said is how I had it set up and how it does not work
like getting this to work in the start_print macro is now second priority, first is figuring out how to get any skew profile to apply at all
Just for laughs, change the profile name to all lower case.
in your logs I see
variable_skew_profile = True
as the last entry. Not having access to your printer.cfg not sure how you are setting that to Truehttps://discord.com/channels/582187371529764864/1271116512257773638/1271456240299675731
that was done because MDF suggested removing the profile name, but I wasn't sure what else to set that to if there was not a profile name. I am manually setting it by adding the variable to the gcode macros section and typing it in myself. there was no skew correction section in my cfg in the first place (like the docs imply there should be)
also, that variable should not matter if I'm manually "skew_profile load="
we can worry about variables and macros later
nope
try uncommenting lines 736-738, restart klipper, and then try manually loading the skew profile
that manually happens when you apply new values and they get added to the generated config block
also that did not fix it
WELL
I guess klipper doesn't like it's own generated rational values?
removing e-16 fixed it, but obviously this gives me crazy values
interesting
I guess I'll just take this as a hint that my skew is too small to worry about fixing
or trying to run the califlower calculator in google docs is broken
@Adam - Vector 3D might want to take note
Pretty sure it has been updated with an open format for libre office
Also the calculator just sticks out 99.6,99.6,70.29 so it is klipper that gives itself bad values
Just did a quick speed read.
In RATos the 'correct' way to load the profile is using the macro
Configuring RatOS Macros | RatOS
RatOS comes with a bunch of flexible predefined macro's that can be customized via variables and macro hooks.
The macro needs to be the name of the profile, not true/false
the macro is working as originally expected to once I removed the e-16
@Adam - Vector 3D I think you might want to put in calculator that if the value is really small (like e-16) then just ignore it
Ah ok, yes I see now.
@Lemcott could you private DM me your spreadsheet that provided the e-16 result please?
the spreadsheet just output 99.6,99.6,70.29 , it was when I set that skew in klipper that klipper recorded that value. I don't think it is an issue with the spreadsheet, not sure if you still wanna see it
Yes please.
perhaps I did not explain myself clear...
The way is to set this on the variables
variable_skew_profile: "my_skew" (or whatever name is saved)
and the profile will always be loaded on start print without having to change any other macro.
including [skew_correction] will make sure is there.
yes exactly, the RATos macros.