Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize Hangprinter Anchors #606

Merged
merged 15 commits into from Jun 7, 2023

Conversation

tobbelobb
Copy link
Contributor

This one builds on top of #603, #601, #598, two own commits, #597, in that order. So it includes everything me and @jtimon have been working on, but also:

  • Line Flex Compensation for Hangprinters with 5 anchors in a 4 low, 1 high configuration. 🎉

The algorithm has been developed in this repo: https://gitlab.com/tobben/hangprinter-flex-compensation, and copy-pasted into RRF and back again, so both are identical, and one of them has been plotted and visually inspected.

This PR will need some testing on hw before an eventual merge.

Me and @jtimon might work in different directions soon, so this is a good place for jtimon to find my most recent commits related to anchor generalization, as well as my testing status on hw.

jtimon and others added 14 commits April 29, 2023 08:47
Otherwise it gets too deep.
I think there's an option in eclipse to forbid this by project in
format, one can config depness iirc.
 - jtimon's comments fixes
 - little compiler warning and error fixes
This is a clean generalization from 4 to N.
Pseudo-pyramid because the vertices in the base of the pseudo-pyramid
don't need to be on the same plane. There's no base of the pyramid as such.

Better documented and cleaner thanks to @tobbelobb on github.
…etups

- Change from bool to class and introduce None mode for
custom (experimental) setups (all allowed)

- refactor out IsInsidePyramidSides

- refactor out IsInsidePrismSides

- introduce HangprinterAnchorMode::LastOnTop for prism-like setups
  with all anchors on top

- introduce a T parameter in M666 to configure the anchor mode
This allows to print square pyramids instead of tetrahedrons, at the
cost of an extra motor.

WIP: not everything is adapted after recent changes. See the newest TODOs
... for quadrilateral pyramid flex compensation
Fixes file not found "MessageFormats.h" error
@tobbelobb tobbelobb force-pushed the 3.5-dev-generalize-hangprinter-anchors branch from 112391e to 330c814 Compare April 29, 2023 06:55
@tobbelobb
Copy link
Contributor Author

Rebased and added forward transform

@dc42 dc42 merged commit 3e16bb7 into Duet3D:3.5-dev Jun 7, 2023
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.

None yet

3 participants