#I tried adding this macro to my printer cfg but now I get this error
37 messages · Page 1 of 1 (latest)
Ahoi @thorny ridge!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message
this attribute was deleted for 3 years in klipper: https://www.klipper3d.org/Config_Changes.html (scroll down to 20121102)
so your macro is just out out outdated... (and i think is also very strange with the SAVE_GCODE_STATE at the beginning...)
Where did you copy the macro from?
write your own macro or/and dont copy macros from random (outdated) github repos...
how familiar are you with gcode in general?
not very
I will try to find a more up to date macro thankyou
for now I just replaced all the spots where it calls for the varible with a regular number
i think this is just fine for this kind of macro
[gcode_macro LOAD_FILAMENT]
gcode:
M83
G1 E5 F75
G1 E50 F400
G1 E35 F400
G1 E20 F300
G1 E-1 F400
you can also remove the SAVE_GCODE_STATE. its not needed here
you can also move the filament faster instead of 400, in the area where your filament will not be pressed threw your nozzle. the 300 part is your purge part. this should be flow. but you have to change the lengh of the first gcodes where it is "loose" in your toolhead (the length between our gears and your nozzle)
in my testing 400 seems fast enough
can I ask you an unrealted question?
Im tuning presure advance
and im using the equation provided pressure_advance = <start> + <measured_height> * <factor>
is <factor> my layer hight?
b/c the measured hight would change based on that
factor is the value you used before in the command for the test tower
for example this command:
TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005
cool
the last value "FACTOR" is the the factor you need in the calculation
do I have to figure out what layer Im measuring
b/c how does it know what setting it was at for a given hight
just mesure the height with a ruler
with this formular
just mesure the height and fill in all values, then you get the value from the special layer/height of your print
I trust you but how does it know what layer im looking at based on the mesured hight
for example i measured 10.17 mm at 0.3 mm layer hight but that would be a completely diffrent layer at 0.2mm layer hight
the temp tower (the command above) works in mm and not in layer. klipper dont know the layer. only the height
if you want to read more about this command: https://www.klipper3d.org/G-Codes.html#tuning_tower
(every time z_height and now layer count)
oh ok