aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/kinematics/hybrid_corexz.py
Commit message (Collapse)AuthorAgeFilesLines
* configfile: Allow getchoice() to take a listKevin O'Connor2024-06-171-1/+1
| | | | | | If a list is passed to getchoice(), seamlessly convert it to a dict. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* idex_modes: Bugfix for kinematic position calculation.Frans-willem Hardijzer2024-05-161-5/+7
| | | | | | | | | | | | | | | idex_mode would swap the X and dual-carriage rail in some cases (homing), but not in others. As such, the position calculation was correct while homing, but incorrect for the second carriage during normal moves. This commit fixes homing to work without swapped rails, removes the swapping of rails while homing, and removes the ability to swap rails (as it is now no longer used). Fix has been tested in a Hybrid_CoreXY IDEX printer (Voron Double Dragon). Hybrid_CoreXZ has identical changes and is similar enough that I am confident it will work as intended. Changes to cartesion seem simple enough, but would benefit from someone running a couple of tests. Signed-off-by: Frans-Willem Hardijzer <fw@hardijzer.nl>
* klippy: remove a few unused variable assignments (#6504)Kamil Domański2024-04-051-1/+0
| | | Signed-off-by: Kamil Domański <kamil@domanski.co>
* idex_modes: COPY and MIRROR mode implementation (#6297)Dmitry Butyugin2023-08-011-19/+11
| | | | | | | | | | | COPY and MIRROR mode implementation Correctly apply input shaper params to new dual_carriage Added SAVE_/RESTORE_IDEX_STATE commands Documentation updates for the new IDEX modes Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* hybrid_corexy: Fix changing dual-carriage carriage will inadvertently set ↵Frans-Willem Hardijzer2023-05-251-1/+5
| | | | | | | | | axis to homed, even if it wasn't. (#6183) In hybrid_corexy and hybrid_corexz, the update_limits function is (only) called by the DualCarriage implementation, whenever the carriage changes. Unfortunately, these limits also keep track of homing status, when they're unhomed they are set to 1 to -1 (invalid range). As a fix, if the limit was set to "unhomed", we keep it that way, and only update it with the new rail limits if it was already properly homed before. Signed-off-by: Frans-willem Hardijzer <fw@hardijzer.nl>
* kinematics: Convert to Python3 string encodingKevin O'Connor2021-10-011-8/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hybrid_corexy: Improve Python3 compatibilityKevin O'Connor2021-09-301-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kinematics: Add dual_carriage to hybrid-corexyz (#4296)Tircown2021-06-271-4/+39
| | | | | | | - Add dual_carriage abilities for hybrid-corexy and hybrid-corexz - Introduce the module idex_mode - Fix add_stepper to the correct rail in hybrid-corexy Signed-off-by: Fabrice GALLET <tircown@gmail.com>
* stepper: Remove set_tag_position() codeKevin O'Connor2021-05-291-2/+2
| | | | | | Have callers store the stepper positions in a dict. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kinematics: Add hybrid-corexy and hybrid-corexz (#4229)Tircown2021-05-031-0/+100
Signed-off-by: Fabrice GALLET <tircown@gmail.com>