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

Question RE E steps/ #2764

Closed
ruggb opened this issue Nov 7, 2015 · 18 comments
Closed

Question RE E steps/ #2764

ruggb opened this issue Nov 7, 2015 · 18 comments
Assignees
Labels

Comments

@ruggb
Copy link

ruggb commented Nov 7, 2015

DEFAULT_AXIS_STEPS_PER_UNIT in Configuration_h defines E axis steps/unit (mm)
There is also a STEPS_MM_E defined in Configuration_h_adv
Instead of redefining this and having 2 variables for the same parameter, would it not be better to use the definition in _H for the ADVANCE function?

If so, the same would apply for the filament diameter
DEFAULT_NOMINAL_FILAMENT_DIA in _H
and D_FILAMENT in _H_adv

Since these are inside if stmts and used in multiple places they should be located at the top.
Just saying... defining the same thing in 2 places is a major source for future issues.

@AnHardt
Copy link
Contributor

AnHardt commented Nov 24, 2015

ADVANCE is considered as broken. Reimplementation is needed. When that will be done we'll look after this. DEFAULT_AXIS_STEPS_PER_UNIT and STEPS_MM_E have different units. They may be calculated from each other but are not the same.

@AnHardt AnHardt added Bug: Potential ? Needs: Work More work is needed labels Nov 24, 2015
@ruggb
Copy link
Author

ruggb commented Nov 24, 2015

Well, I guess then I am totally confused.
now I have no idea why I enabled this and set the parameters as I did or what it is suppose to affect.
do i need to disable this?

@AnHardt
Copy link
Contributor

AnHardt commented Nov 25, 2015

If you don't know what ADVANCE is - you do not need it.
It's a kind of pressure management for the nozzle

@ruggb
Copy link
Author

ruggb commented Nov 25, 2015

well I thought I knew - can u give me a clue as to some info on it?

@Roxy-3D
Copy link
Member

Roxy-3D commented Nov 25, 2015

AnHardt obviously knows more about this than I do. But I remember a discussion where NopHead was experimenting with stuff to smooth out the amount of material the extruder actually put on the print. There are some weird issues that happen with the retraction and re-engagement of the filament. I don't know (and lets wait for somebody that really knows to offer an opinion) but I think this was an effort to fix some issues with retraction.

@lrpirlet
Copy link
Contributor

            There is a discussion of the advance here https://github.com/MarlinFirmware/Marlin/issues/916... The pdf is not accessible anymore :(

        The very first page of the wiki,  <http://reprap.org/wiki/Marlin> http://reprap.org/wiki/Marlin has a reference to advance "preliminary support for Matthew Roberts advance algorithm For more info see: http://reprap.org/pipermail/reprap-dev/2011-May/003323.html"



        I found quite a few talk about the subject just google "marlin advance"



        I was really interested by the concept of regulating the pressure in the head function of the speed to fight inertia (this is how I understood it! )



        Enjoy.

De : Roxy-3DPrintBoard [mailto:[email protected]]
Envoyé : mercredi 25 novembre 2015 04:51
À : MarlinFirmware/Marlin [email protected]
Objet : Re: [Marlin] Question RE E steps/ (#2764)

AnHardt obviously knows more about this than I do. But I remember a discussion where NopHead was experimenting with stuff to smooth out the amount of material the extruder actually put on the print. There are some weird issues that happen with the retraction and re-engagement of the filament. I don't know (and lets wait for somebody that really knows to offer an opinion) but I think this was an effort to fix some issues with retraction.


Reply to this email directly or view it on GitHub #2764 (comment) . https://github.com/notifications/beacon/ALEmPZo5UZZ89KYicM_WMNra2rIA1V8Jks5pJSeYgaJpZM4GeAbM.gif

@ruggb
Copy link
Author

ruggb commented Nov 27, 2015

can someone tell me what STEPS_MM_E is?
And/or how is it determined?
I assumed it was STEPS/MM for E but maybe not.
thx

@Nandox7
Copy link

Nandox7 commented Nov 27, 2015

Funny that the discussion about this feature keeps coming back again and again. :)

Most of the slicers now have features that in a way mimic this BUT the slicer is never aware of the speed and acceleration settings in the FW so I think there is still need for it.
I had a initial test, where I started looking at what sailfish did and porting it to marlin but never ended it.

@ruggb yes that is correct. steps/mm for the E. That is duplicated and can be obtained from the main settings.

@ruggb
Copy link
Author

ruggb commented Dec 8, 2015

anhardt said they r not the same - different units - but no definition of such.
I guess it is really broken and as such should be totally removed if no one can define it.

@KiteLab
Copy link
Contributor

KiteLab commented Dec 8, 2015

STEPS_MM_E is defined in 15 config. files but is never used.
What is used in the advanced algorithm, is STEPS_PER_CUBIC_MM_E.
That is defined in Conditionals.h as #define STEPS_PER_CUBIC_MM_E (axis_steps_per_unit[E_AXIS] / EXTRUSION_AREA). EXTRUSION_AREA is defined one line above as #define EXTRUSION_AREA (0.25 * D_FILAMENT * D_FILAMENT * M_PI)
Its counterpart DEFAULT_NOMINAL_FILAMENT_DIA was introduced with the FILAMENT_SENSOR and is used only in that context.
Believe it or not; your slicer needs the same value an other time.

Anyone else here with the source code of these mysterious Marlin

@Wackerbarth
Copy link
Contributor

Should we remove "STEPS_MM_E" to reduce the confusion?

@KiteLab
Copy link
Contributor

KiteLab commented Dec 8, 2015

I think so.

@Roxy-3D
Copy link
Member

Roxy-3D commented Dec 8, 2015

If we don't remove it, we should put a very descriptive comment on it so people know exactly what it is.

@Wackerbarth
Copy link
Contributor

@Roxy-3DPrintBoard -- As pointed out earlier in this thread, although it is defined in Configuration_adv.h, it is NOT USED in any of the code.

Rather than "documenting" a non-feature, I think it would be better to eliminate it and, when/if needed, introduce a different, more descriptive name.

@KiteLab
Copy link
Contributor

KiteLab commented Dec 8, 2015

Advance should use the filament diameter of the active extruder anyway. But that's only one of the many subsystems what can't handle different extruders

@thinkyhead
Copy link
Member

I've submitted PRs to remove the STEPS_MM_E setting.

It does look like the D_FILAMENT setting could go away, with EXTRUSION_AREA calculated from DEFAULT_NOMINAL_FILAMENT_DIA. Although DEFAULT_NOMINAL_FILAMENT_DIA was originally used only in the context of FILAMENT_SENSOR, that is no longer the case. DEFAULT_NOMINAL_FILAMENT_DIA has been in use by the EEPROM code as a default when writing, even if FILAMENT_SENSOR is not enabled.

I discovered this fact when I submitted MarlinFirmware/MarlinDev#359 grouping the FILAMENT_SENSOR options together. DEFAULT_NOMINAL_FILAMENT_DIA should be considered a standard global option at this point, and not dependent on FILAMENT_SENSOR.

@AnHardt
Copy link
Contributor

AnHardt commented Feb 23, 2016

@thinkyhead
That's a good plan.

@thinkyhead thinkyhead self-assigned this Feb 28, 2016
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

8 participants