Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nozzle_prime.cfg not an issue, but discussions is not visible #5

Open
massamino opened this issue Jun 19, 2022 · 2 comments
Open

nozzle_prime.cfg not an issue, but discussions is not visible #5

massamino opened this issue Jun 19, 2022 · 2 comments

Comments

@massamino
Copy link

I think I found the formula for the priming:
Line 26: # I'd expect E-vals to be 15, but I'm getting ~8.38

It is not exactly 15, but I think the math is correct:

line_width (lw) = 0.7
layer_height (lh) = 0.28
filament_diameter (fd) = 1.75
distance (d) = 180

(the filament volume used for the distance without a nozzle)
volume_raw_filament = (pi * (fd / 2) ** 2) * d =  (3.14 * (1.75/2)**2)*180 = 432.95...
(the volume we need for our line width and height)
volume_layer = ((pi * (lh / 2) ** 2) + ((lw - lh) * lh)) * d = ((3.14 * (0.3 / 2) ** 2) + ((0.7 - 0.28) * 0.28)) * 180 = 32.25...
(volume difference between the two in %)
volume_difference = volume_layer / volume_raw_filament = 0.07449...
(length we have to push through)
filament_to_extrude = d * volume_difference = 180 * 0.07449... = 13.4086...

I guess the 15 comes from another length (200) or a wider line (0.8)

https://github.com/massamino/klipper-config/blob/main/macros/prime_line.cfg

@dudeofawesome
Copy link
Owner

Thanks for looking in to this! I'd love to see a PR merging this in!

@massamino
Copy link
Author

merge in where?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants