V# V-Core IDEX for RatOS 2.X This is a unofficial and temporary RatOS V2.X IDEX Implementation. Consider it as beta or alpha. Macros are based on Mikkel Schmidt`s work and have been modified and extended by Helge Keck.
- merged with latest mainsail version
- works only with the new RatOS Development Branch for the upcoming RatOS 2.1 version
- you need to use the new post processor module which is available in the devlopment branch
- RatOS macro compatibility
- V-Core IDEX Mainsail
- octopus v1.1 idex board configuration
- dual EBB42 toolboards with autoflashing
- native IDEX copy and mirror mode
- improved hybrid corexy kinematics with AWD and single toolhead support
- adaptive bed meshing for both toolheads
- z-probing with both toolheads
- idex copy and mirror mode input shaping
- ultra fast toolchanges, up to 0.3 seconds
- visual assisted toolhead offset calibration
- built in z-offset probe support
- Left toolhead MUST be the
X
toolhead - Right toolhead MUST be the
Dual Carriage
toolhead - Name your extruders
extruder
left andextruder1
right - Name your toolboards
toolboard
left andtoolboardb
right - Name your toolboard adxl
adxl345 toolboard
left andadxl345 toolboardb
right - Name your part cooling fans
fan_generic fan_extruder
left andfan_generic fan_extruder1
right - make sure the nozzle from the z-probe toolhead is NOT higher then the other nozzle, ideally they have the same z-offset
- place the
X
andDUAL_CARRIAGE
endstop stoppers as much outside as possible, to their max positions where they still work - tune the
X
andDUAL_CARRIAGE
endstop_position
values to its correct positions - your toolhead offsets should be less than 1mm
- if T1 is primary, make sure T0 has a positive x offset, and reverse
- install RatOS for V-Core 3
- update klipper
- clone the idex repo
cd ~/
git clone https://github.com/HelgeKeck/vcore-idex.git
bash ~/vcore-idex/install.sh
- add the update manager entry to the moonraker.conf file in your config folder
[update_manager IDEX]
type: git_repo
primary_branch: main
path: ~/vcore-idex
origin: https://github.com/HelgeKeck/vcore-idex.git
managed_services:
klipper
- reboot, not your laptop
add this to your printer.cfg
[hybrid_corexy]
inverted: true
- by default the printer will be in single toolhead mode.
- to enable the Copy or Mirror mode for the next print, home your printer and then execute the
IDEX_COPY
orIDEX_MIRROR
GCODE macro. - execute
IDEX_SINGLE
to switch back to normal mode.
G-Code Macros:
ZHOP
Z-Hop before and after the toolchange, in addition to the slicer z-hopCOMBINED_ZHOP
0=OFF 1=ON. Combines z-hop/z-drop with retraction/deretraction movesM400
0=OFF 1=ON. Turn M400, for the z-hops and z-drops, on or offRETRACT
Retraction before the toolchangeEXTRUDE
Extrusion after the toolchangeFEEDRATE
Feedrate for retract/extrudeSPEED
XY Travel SpeedACCEL
XY Travel AccelSYNC_FANS
0=OFF 1=ON. Forces fan synchronisation in single mode. Helpful because the new ultra fast toolchanges can be MUCH faster than your part cooling fan spin up time. TIP! The Sanyo Denki 9GAX0412P3S001 4028 is almost as fast as the toolchanges
G-Code Macro:
- for the X and Y calibration use the
calibrate_separation
macro to print the calibration lines, you are responsible for heating up your bed and extruders, dont forget to z-tilt and the bed mesh - use the
SET_SEPARATION
macro to enter your toolhead offsets from the left toolhead
X=1
to set the x-offset to 1X_ADJUST=1
to add 1 to the current x-offsetX_ADJUST=-1
to subtract 1 from the current x-offset
G-Code Macros:
-
This fork contains some changes for IDEX printers.
-
Visual assisted toolhead offset calibration read more
- Idex mode controls
- Idex extruder controls
- Start G-Code
START_PRINT EXTRUDER_TEMP={first_layer_temperature[0]} EXTRUDER_TEMP_1={first_layer_temperature[1]} EXTRUDER_OTHER_LAYER_TEMP={temperature[0]} EXTRUDER_OTHER_LAYER_TEMP_1={temperature[1]} BED_TEMP=[first_layer_bed_temperature] X0={first_layer_print_min[0]} Y0={first_layer_print_min[1]} X1={first_layer_print_max[0]} Y1={first_layer_print_max[1]} INITIAL_TOOL={initial_tool} COLOR={extruder_colour[0]} COLOR_1={extruder_colour[1]}
- End G-Code
END_PRINT
- Before layer change G-Code
_LAYER_CHANGE
- Tool change G-Code. Both lines are important
;tool change post processor tag
T[next_extruder] P1
- Filament G-code, setting pressure advance for IDEX printer
; Filament gcode
SET_PRESSURE_ADVANCE EXTRUDER={if current_extruder==0}extruder{else}extruder1{endif} ADVANCE=0.1 SMOOTH_TIME=0.04
- G-code substitutions
- Post processing script. Optional but recommended, tells klipper if all toolheads are in use.
ENTER_YOUR_PATH_TO_PYTHON\python3.exe "ENTER_YOUR_PATH_TO_THE_FILE\postprocessor.py"
- Super fast tool changes post processing script. EXPERIMENTAL, ultra fast and seamless IDEX toolchanges.
ENTER_YOUR_PATH_TO_PYTHON\python3.exe "ENTER_YOUR_PATH_TO_THE_FILE\ftc.py"
START_PRINT EXTRUDER_TEMP={first_layer_temperature[0]} EXTRUDER_TEMP_1={first_layer_temperature[1]} EXTRUDER_OTHER_LAYER_TEMP={nozzle_temperature_initial_layer[0]} EXTRUDER_OTHER_LAYER_TEMP_1={nozzle_temperature_initial_layer[1]} BED_TEMP=[first_layer_bed_temperature] X0={first_layer_print_min[0]} Y0={first_layer_print_min[1]} X1={first_layer_print_max[0]} Y1={first_layer_print_max[1]} INITIAL_TOOL={initial_tool} COLOR={extruder_colour[0]} COLOR_1={extruder_colour[1]}
- End G-Code
END_PRINT
- Before layer change G-Code
_LAYER_CHANGE
- Post processing script. Needed to convert single extruder multimaterial gcode into IDEX macro compatible gcode
ENTER_YOUR_PATH_TO_PYTHON\python3.exe "ENTER_YOUR_PATH_TO_THE_FILE\orca-postprocessor.py"