Skip to content

kinematics: Add hybrid-corexy and hybrid-corexz#4229

Merged
KevinOConnor merged 3 commits into
Klipper3d:masterfrom
Tircown:work-hybrid-corexyz-merge
May 3, 2021
Merged

kinematics: Add hybrid-corexy and hybrid-corexz#4229
KevinOConnor merged 3 commits into
Klipper3d:masterfrom
Tircown:work-hybrid-corexyz-merge

Conversation

@Tircown

@Tircown Tircown commented Apr 28, 2021

Copy link
Copy Markdown
Contributor

Add hybrid-corexy kinematics.
Add hybrid-corexz kinematics.
Both are simple carriage version of the kinematics also known as Markforged kinematics.

This follows the issue #3391 and is a revamp of pull request #3609

Signed-off-by: Fabrice GALLET tircown@gmail.com

Add hybrid-corexy kinematics
Add hybrid-corexz kinematics
@Tircown Tircown changed the title kinematics Add hybrid-corexy and hybrid-corexz kinematics: Add hybrid-corexy and hybrid-corexz Apr 28, 2021

@KevinOConnor KevinOConnor left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks. In general it looks good to me. I have a few comments below.

-Kevin

Comment thread docs/Config_Reference.md Outdated
# the z axis. The default is to use max_accel for max_z_accel.

# The stepper_x section is used to describe the X axis as well as the
# stepper controlling the X+Z movement.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this a typo? The code seems to use X-Y for this axis.

Comment thread docs/Config_Reference.md Outdated
[stepper_y]

# The stepper_z section is used to describe the Z axis as well as the
# stepper controlling the X-Z movement.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

X-Z is a typo.

Comment thread docs/Config_Reference.md
Comment on lines +403 to +406
## Hybrid-CoreXZ Kinematics

See [example-hybrid-corexz.cfg](../config/example-hybrid-corexz.cfg)
for an example hybrid corexz kinematics config file.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do you have a hybrid-corexz printer that you've tested this on? If not, I think it would be preferable to add support when we have users of it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you for yours comments.
I have a physical mockup which allows me to test all situations for the gantry.
Ankurv is running the (full) hybrid-corexz branch on his IDEX Switchwire and print with it.
As requested on my previous PR, I split the code into more manageable sections. This PR is the for a simple carriage printer but the complement will follow soon. Thanks to Ankurv to test all of these features for real.

Comment thread klippy/kinematics/hybrid_corexy.py Outdated
Comment on lines +1 to +2
# Code for handling the kinematics of hybrid-corexy robots
# The hybrid-corexy kinematic is also known as Markforged kinematics

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please use a single line for the file description. It's preferable for all the code to have the same format file header: 1 line comment, 1 blank line, 1 line copyright, 1 blank line, 1 line license. You can, of course, add any amount of comment lines after the initial header block.

@@ -0,0 +1,79 @@
# This file is an example config file for hybrid corexy style printers also

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

When adding an "example-" config file, it's a good idea to also add it to test/klippy/printers.test regression test tool. See https://www.klipper3d.org/Example_Configs.html

Tircown added 2 commits May 3, 2021 19:41
Fix typo in Config_Reference.md
Fix header in hybrid_corexy.py and hybrid_corexz.py
Add example configs to printers.test
@KevinOConnor KevinOConnor merged commit f2c74ec into Klipper3d:master May 3, 2021
@KevinOConnor

Copy link
Copy Markdown
Collaborator

Thanks.

-Kevin

@github-actions github-actions Bot locked and limited conversation to collaborators Oct 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants