Skip to content

Conversation

@BelligerentBash
Copy link
Contributor

@BelligerentBash BelligerentBash commented May 24, 2025

Description

Fixes #9620 for FlashForge profiles for ADM 5M / Pro 0.25 and 0.8 nozzles profiles where the initial purge lines retract instead of extruding resulting in failed beginning prints.

The problem is that the GCode does not explicitly set the extruder mode (absolute or relative). If the firmware is in absolute mode (G90 for axes, M82 for extruder), then the extruder moves (E values) behave as absolute, causing retractions when positive values are expected.

The fix (also confirmed by OP) is to set the printer to absolute positioning for axes (G90) and relative positioning for the extruder (M83) before the purge moves.

By adding G90 and M83 before the purge, the extruder will correctly extrude during the purge lines.

I wonder if it is necessary to even have an explicit machine_start_code for the 0.25 and 0.8 nozzle profiles or if it can inherit the one defined on resources/profiles/FlashForge/machine/fdm_adventurer5m_common.json ?

Screenshots/Recordings/Graphs

N/A

Tests

Tested directly with 0.25 and 0.8 nozzles on FF Adventurer 5M Pro.

Copy link
Collaborator

@Noisyfox Noisyfox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@Noisyfox Noisyfox merged commit c0da25f into OrcaSlicer:main Jun 1, 2025
1 check passed
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.

Start gcode issue with Flashforge AD5M / AD5M Pro 0.8 Nozzle

2 participants