Skip to content

Comments

Update homeall.g - Home Z first, then XY#50

Open
quarky42 wants to merge 1 commit intoPrintM3D:develfrom
quarky42:patch-14
Open

Update homeall.g - Home Z first, then XY#50
quarky42 wants to merge 1 commit intoPrintM3D:develfrom
quarky42:patch-14

Conversation

@quarky42
Copy link
Contributor

When running the setup macro #2 A SECOND time, the bed was touching the nozzle. The macro calls HOMEALL. The fist thing it did was move the XY. It should have homed Z first to make sure there was clearance for the nozzle.

I looked at homeall.g and found that it was homing xy first. This is dangerous if the nozzle is touching the bed. It is best to home Z first which automatically creates clearance and THEN home XY.

When running the setup macro PrintM3D#2 A SECOND time, the bed was touching the nozzle.   The macro calls HOMEALL.  The fist thing it did was move the XY.  It should have homed Z first to make sure there was clearance for the nozzle.

I looked at homeall.g and found that it was homing xy first.   This is dangerous if the nozzle is touching the bed.  It is best to home Z first which automatically creates clearance and THEN home XY.
@PeterTremonti
Copy link

I've updated my homeall.g with Chat GPT. It drops the bed unless it's sitting on the lower switch. Then homes y, x, and then uses the IR sensor for homing z.

; homeall.g - Home Y, then X, then Z using IR probe

G91 ; Enable relative positioning

if !sensors.endstops[2].triggered
G1 H2 Z+5 F600 ; Lower bed slightly only if Z stop is not triggered

G90 ; Return to absolute positioning

M98 P"homey.g"
M98 P"homex.g"
M98 P"homez.g"

; homex.g - Home X axis (X max), home Y only if not already homed

if sensors.endstops[1].triggered != true
{
M98 P"homey.g"
}

G91
G1 H1 X400 F7500
G1 X-5 F1000
G1 H1 X10 F1200
G90

; homey.g - Home Y (Y max)

G91
G1 H1 Y400 F7500
G1 Y-5 F1000
G1 H1 Y10 F1200
G90

; homez.g - Home Z using IR probe (Z = 0 at bed top)
if !move.axes[0].homed
M98 P"homex.g"

if !move.axes[1].homed
M98 P"homey.g"

G1 X190 Y190 F7500
G30

@ftcros
Copy link

ftcros commented Oct 31, 2025 via email

@PeterTremonti
Copy link

I've made a few prints, but nothing useful yet. I was playing around with Cura since Orcaslicer doesn't support color mixing nozzles as far as I can tell. I had to reprint the extruder plug holder plate thing since it was melting and the tubes kept pulling through and jamming themselves into the extruder pathways and causing under extrusion. I tried making a better cooling fan setup, but my modelling isn't the best. https://www.facebook.com/share/p/1MbBS21eQc/ There's a picture of the benchies I've printed with Cura doing the color mixing. You can see where the PTFE tubes pulled into the extruder hole and pinched the filament so it had issues.

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

Successfully merging this pull request may close these issues.

3 participants