AndrewEllis93 / Pressure_Linear_Advance_Tool

Pressure Advance / Linear Advance Calibration Tool
https://ellis3dp.com/Print-Tuning-Guide/articles/pressure_linear_advance/introduction.html
GNU General Public License v3.0
40 stars 21 forks source link

Minor adjustments for Deltas. #4

Closed Foxies-CSTL closed 1 year ago

Foxies-CSTL commented 1 year ago

Is your feature request related to a problem? Please describe. As I had a Delta, some parts of the start and end GCode need to be slightly modified to avoid copying/pasting its start/end GCode.

Describe the solution you'd like I changed the first hold position to 150mm above the bed with a little more approach speed. This allows the nozzle to be cleaned during heating. I commented out the M112 line that produces an EMERGENCY in Marlin 2.1.x. For the end, I added after the line "G0 Z5; Move up 5mm" a "G28; Home" otherwise the whole effector falls on the print after the M84 🙂.

Additional context I attach the generated and modified file which is functional for a LA test with Marlin on a Delta SuperRacer modified to DirectDrive system.

See you later. SR-DD_0.0-0.08_H220-B60.txt

AndrewEllis93 commented 1 year ago

Hey there. I just re-worked the end g-code, now it will always automatically do the following:

G0 Z<current z+5> ; Z raise
M104 S0 ; Turn off hotend
M140 S0 ; Turn off bed
M107    ; Turn off fan
<your end g-code>

I removed the M84 entirely. I also removed the M112s, the warnings are probably enough. I didn't add a G28, as some printers home in the middle of the build plate or in other weird ways, could potentially cause issues for some setups

Does that solve the issue?

Foxies-CSTL commented 1 year ago

Ok, so to create, in a next evolution of your tool, a button for the Deltas that replaces "G1 Z5 F100; Z raise" by a "G1 Z150 F1500; Z wait" and inserts a "G28 ; raise for Delta" at the end to clear the access to the print before the commands stops of the heating ;-)

AndrewEllis93 commented 1 year ago

The current version shouldn't cause any crashes, though, right? It just stops 5mm above the print and leaves motors on This sounds like something that should be added to the end g-code box - if I had check boxes for all these different setups, it would get very confusing

This is pretty much how slicers do it, too, they require you to put in what end g-code you want