backport: add IQEX multicolor copy/mirror modes (pmode 5/6) and resonance calibration#10
Open
cgarwood82 wants to merge 1 commit into
Open
backport: add IQEX multicolor copy/mirror modes (pmode 5/6) and resonance calibration#10cgarwood82 wants to merge 1 commit into
cgarwood82 wants to merge 1 commit into
Conversation
…ance calibration - Add multicolor print modes: MULTICOLOR_COPY01 (pmode=5) and MULTICOLOR_MIRROR01 (pmode=6) to SET_PRINT_MODE and START_PRINTING_MODE - Add ACTIVATE_MULTICOLOR_COPY_MODE01 and ACTIVATE_MULTICOLOR_MIRROR_MODE01 activation macros with G28 Y and multicolor shaper application - Add _MC_TOOL0 and _MC_TOOL1 for multicolor toolchange with _RETRACT_IF_PRINTING and _MC_CALIBRATE_PARK_INACTIVES - Add PAUSE/RESUME dual_carriage state save/restore to preserve carriage positions across G28 Y - Update ACTIVATE_COPY_MODE01 and ACTIVATE_MIRROR_MODE01 with G28 Y and multicolor shaper variable support - Add 8 resonance calibration macros and shell commands for X/Y multicolor copy/mirror phase0/phase1 - Add 8 resonance shell scripts (mccpt0/1, mcmrt0/1) - Add 8 shaper calibration variables to Xplorer_Vars - Add _RETRACT_IF_PRINTING to Xp_Macros_Base
e6844f8 to
cf8d0e7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Backports multicolor print mode support from the custom formbotXplorer firmware to the stock UpdateManager config, adding pmode 5 (MULTICOLOR_COPY01) and pmode 6 (MULTICOLOR_MIRROR01) for IQEX dual-extruder multicolor printing.
Changes
New print modes (pmode 5/6)
ACTIVATE_MULTICOLOR_COPY_MODE01— copies T0 onto T1 with multicolor resonance shapers appliedACTIVATE_MULTICOLOR_MIRROR_MODE01— mirrors T0 onto T1 with multicolor resonance shapers appliedG28 Yto reset dual carriage Y after homing, matching formbotXplorer behaviorToolchange helpers
_MC_TOOL0/_MC_TOOL1— multicolor-aware tool activation that parks inactive extruders and applies the correct per-tool shapers_MC_CALIBRATE_PARK_INACTIVES— parks inactive tools while keeping the active one for retraction_RETRACT_IF_PRINTING— shared base macro that conditionally retracts while printing/pausedPAUSE / RESUME dual carriage state
SAVE_DUAL_CARRIAGE_STATE NAME=PAUSE_DC) beforeBASE_PAUSERESTORE_DUAL_CARRIAGE_STATE NAME=PAUSE_DC MOVE=0) before the final state restore, preventing XY double-move afterG28 Yin the pause park sequenceResonance calibration
gcode_shell_commandentries referencing the shell scripts.8_Scripts/that parse calibration output and writeshaper_type_xmccpt0,shaper_freq_xmccpt0, etc. intovariables.cfgRESONANCE_CALIBRATION_IQEXnow chains all 8 multicolor resonance macros, soPrinter_Calibrateruns a complete suite covering stock single-tool, IDEX, IQEX copy/mirror, and multicolor copy/mirror phasesVariables
Xp_Xplorer_Vars.cfgfor multicolor copy/mirror X/Y shaper positionsFiles modified
01_Default_CFG/Xp_Xplorer_Vars.cfg— 8 new shaper variable definitions01_Default_CFG/Xp_Macros_Base.cfg—_RETRACT_IF_PRINTINGhelper01_Default_CFG/Xp_V1.1_Macros_IQEX.cfg— activation macros, toolchange helpers, resonance calib, PAUSE/RESUME fix, SET_PRINT_MODE/START_PRINTING_MODE extensions01_Default_CFG/Xp_V1.1_Shell_Commands_IQEX.cfg— 8 new shell command entries.8_Scripts/— 8 new resonance shell scriptsStock compatibility
Existing single-tool, IDEX COPY01/MIRROR01, and 4-tool COPY0123/MIRROR0123 modes are unchanged. All multicolor logic is additive and gated behind the new pmode values.