Commit Graph

198 Commits

Author SHA1 Message Date
Frank Tackitt 89c59b035e exclude_objects: initial implementation
Adding Klipper functionality to support cancelling objects while
printing.

This module keeps track of motion in and out of objects and adjusts
movements as needed.  It also tracks object status and provides that to
clients.

The Klipper module is relatively simple, and only provides one piece of
the workflow. Moonraker already supports processing uploaded files to
insert the required gcode markers for cancelling objects, using
https://github.com/kageurufu/cancelobject-preprocessor. This library is
also available as an executable for use in slicers, and pip
installations also include the script as a callable.

Mainsail has integrated support, and code changes for Fluidd are
available. Support in other interfaces is planned, and we've spoken to
several other developers about integrating frontend support in their
projects.

Signed-off-by: Troy Jacobson <troy.d.jacobson@gmail.com>
Co-authored-by: Franklyn Tackitt <git@frank.af>
Co-authored-by: Eric Callahan <arksine.code@gmail.com>
2022-06-03 14:12:04 -04:00
Fisheiyy 00934e1378
config: Ender 3 S1/S1 Pro Default Configurations (#5332)
Signed-off-by: Rob Casper <myallneedsemail@gmail.com>
2022-05-23 15:23:22 -04:00
kluoyun 4490a58411
config: Create configuration file for Fly-Gemini-v2 and Fly-CDY-V3 motherboard (#5508)
Signed-off-by: Xiaokui Zhao <xiaok@zxkxz.cn>
2022-05-18 12:28:23 -04:00
kluoyun defce11235
config:Create configuration file for Fly-Gemini-v1 motherboard (#5474)
Create configuration file for Fly-Gemini-v1 motherboard

Add stm32f405 and generic-mellow-fly-gemini-v1.cfg to test cases

Signed-off-by: Xiaokui Zhao <xiaok@zxkxz.cn>
2022-05-14 10:36:10 -04:00
laurienzu 4c8d1b813c
config: Updated and created new TwoTrees configs to avoid confusion (#5365)
* Update and rename printer-twotrees-sapphire-pro-2020.cfg to printer-twotrees-sapphire-pro-sp-3.cfg

I renamed the file since the printer name now changed and is sold with this name, there is only one version so year can be removed.

-Added detailed instructions for flashing in the header.
-Corrected rotation distances for axes, it was wrong.
-Added gear ratio for extruder that is useful for future changes.
-Added heater fan to HE1 pins for automatic shutdown with temp.
-Reduced speed and accel for Z since a 2mm screw is used.

* Create printer-twotrees-sapphire-plus-sp-5-v1.1.cfg

I created the file since the printer name now changed and is sold with this name, there are 2 main versions (V1 and V1.1) so I will make 2 different configs for them since there are some hardware change and people are confused in what to change.

The difference with V1 is that all 2225 drivers are now used, since microsteps tables change for these drivers and by factory all jumpers are in the microstep setting is 32, people don't know this and will have half movement with the v1 config, there is a lot of confusion in communities so I think adding another file is the best option.

Signed-off-by:  Lorenzo Cascone <laurienzudesign@gmail.com>
2022-04-13 11:07:13 -04:00
iblue 40c2d11ef8
config: Add config for CR-10 Smart Pro, including installation instructions (#5396)
The pinout was found by windowpainting, initial config by Subwooferbone, tweaked by iblue.

Signed-off-by: Markus Fenske <iblue@gmx.net>
2022-04-07 11:59:04 -04:00
Kevin O'Connor b1ae50cfc7 test: Add an led test for led, neopixel, dotstar, pca9533, pca9632 configs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
SyrasX 3e0c0e9ccf
config: Added Config for Creality Ender 5 Pro 2020 (#4836)
Signed-off-by:  Maxim Schessler <maxim.schessler@gmail.com>
2022-03-18 20:42:15 -04:00
Spencer Owen 743c766f47
config: Adds Ender 2 Pro config (#5359)
Adds a default config for Ender 2 Pro. Printer uses creality 4.2.3 board

Signed-off-by: Spencer Owen <owenspencer@gmail.com>
2022-03-17 20:43:55 -04:00
Kevin O'Connor 81283423f4 test: Minor file ordering change to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-14 14:50:20 -04:00
Apulo 1ccebfce1b
config: generic-th3d-ezboard-lite-v2.0.cfg (#5247)
This file includes the build instructions and generic configuration for the TH3D EZBoard Lite v2.0 3d printer control board.

Signed-off-by: Anthony Dellett <anthony.dellett@gmail.com>
2022-03-14 14:48:22 -04:00
Kevin O'Connor 082d773e2e test: Add printer-monoprice-select-mini-v1-2016.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-14 14:20:24 -04:00
just-trey 352f735297
config: Elegoo Neptune 2 config update (#5213)
Signed-off-by: Trey Wentz <trey.wentz@gmail.com>
2022-03-14 12:50:38 -04:00
Kevin O'Connor 4815a946c2 extruder_stepper: Do not default to synching with "extruder" at startup
With recent changes, the extruder_stepper may be used for new
purposes, and synchronizing to the "extruder" motion queue at startup
may become a confusing default.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-04 13:38:59 -05:00
Lorenzo 7c964e5fdf
dac084S085: SPI DAC DAC084S085 implementation (#5134)
Alligator Board Rev2 tested config sample.
Add example configuration file for Alligator board rev.3.

Signed-off-by: Lorenzo Franco <lorenzo.franco@lorenzing.com>
2022-02-22 10:28:28 -05:00
Kevin O'Connor 2af8c5aa86 extruder: Add new SYNC_EXTRUDER_MOTION command
This command is a rename of SYNC_STEPPER_TO_EXTRUDER.  This change is
in preparation for the removal of SYNC_STEPPER_TO_EXTRUDER.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-10 13:24:21 -05:00
Kevin O'Connor 9ec9742484 extruder: Add support for reversing the direction of extruder stepper movement
Extend SET_EXTRUDER_ROTATION_DISTANCE to support reversing the
direction of extruder movement.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-10 13:24:21 -05:00
adelyser c15d38b973
config: Add BIQU BX printer config (#4950)
Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
2022-01-29 13:31:41 -05:00
Kevin O'Connor 02d5f9754f extruder: Support disassociating a stepper from all extruders
Support SYNC_STEPPER_TO_EXTRUDER commands with an EXTRUDER parameter
set to an empty string.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-01-16 19:01:15 -05:00
Kevin O'Connor 634ae08df6 config: Minor updates to generic-bigtreetech-skr-pico-v1.0.cfg
Small wording change and add to printer test cases.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-12-27 12:32:12 -05:00
Kevin O'Connor 9f31a35e75 test: Add stm32g0 and generic-bigtreetech-skr-mini-e3-v3.0.cfg to test cases
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-12-24 11:43:08 -05:00
gjsmo e7ba140337
config: Add configuration for Modix Big60 printer (#4986)
Signed-off-by: Gabriel Smolnycki <gabjsmo0@gmail.com>
2021-12-15 14:06:29 -05:00
Kevin O'Connor aa481fd9c3 test: Add an input_shaper module test case
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-26 20:01:33 -04:00
Kevin O'Connor 6c395fd016 config: Minor updates to printer-tronxy-xy-2-Pro-2020.cfg
Change extruder microsteps to 32.  Add to printers.test regression
test case.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-26 16:11:13 -04:00
Kevin O'Connor cc9541092a test: Update test case to not use pin_map
Remove all users of the pin_map setting.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-24 21:11:53 -04:00
Kevin O'Connor f013b7bae6 test: Update test cases to use rotation_distance
Remove all users of step_distance from test configs.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-24 20:53:36 -04:00
Manuel Fichtner 5d52a3b19f
config: Anycubic Vyper (#4740)
This commit contains a configuration for the Anycubic Vyper printer from 2021.
It uses a clone of the STM32F103 chip named GD32F103.
There are 2 Mainboard versions out there v0.0.5 and v0.0.6, this config has
been tested with the v0.0.6 only. It should probably work for v0.0.5 as well
since there are no different changes in the Anycubic Marlin firmware.
The LCD is not supported yet (might work, but didn't try yet).

Signed-off-by: Marc Neuhaus <marc@neuhaus.nrw>
Signed-off-by: Manuel Fichtner <manuel.fichtner@me.com>
2021-10-11 16:26:14 -04:00
Kevin O'Connor 5f184e3f98 test: Add a configfile test with unicode characters
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-09 19:57:55 -04:00
Peter Pan's Techland f3d7084bfa
config: add support for creality sermoon D1 printer (#4621)
Signed-off-by: Shi Pan <twinkle-pirate@hotmail.com>
2021-09-25 12:17:02 -04:00
Kevin O'Connor f2766dbed3 test: Add generic-mellow-super-infinty-hv.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-09-21 14:10:13 -04:00
int_0x03 7a02cde4b7
config: Config for Anycubic 4MaxPro_2.0-2021 (#4557)
This config I created and fully tested on my own printer Anycubic 4Max Pro 2.0. This works fine! Please note that this printer is different from the Anycubic 4MAX.

Signed-off-by: Alexander Usachev <int_0x21@protonmail.com>
2021-09-21 12:56:30 -04:00
Kevin O'Connor 9014677cbd test: Add printer-elegoo-neptune2-v1.2-2021.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-08-31 13:12:15 -04:00
Pedro Lamas 8ad5cbfff5 config: Adds generic config for BigTreeTech SKR E3 RRF 1.1
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2021-08-17 14:48:34 -04:00
Demetrius Apostolopoulos dafb74e3ab
config: New printer profile for Eryone ER20 and minor update for Eryone Thinker Series (#4491)
This config was a community effort and was author and tested by sihawken, 3D.Subzwari & dapostol73.

Signed-off-by: Demetrius Apostolopoulos <dapostol73@hotmail.com>
2021-07-15 14:11:55 -04:00
charlespick 342d0fca78
config: Create config for BigTreeTech Octopus (#4441)
Information and some lines verbatim were sourced from the official BigTreeTech Octopus
GitHub repository to make this configuration as well as existing configurations in the same
folder as this one

Signed-off-by: Charles Pickering <charles.pickering@live.com>
2021-07-09 11:13:26 -04:00
charlespick ab8c571070
test: Fix typos related to STM32F446 (#4444)
Signed-off-by: Charles Pickering <charles.pickering@live.com>
2021-06-30 20:09:36 -04:00
Joseph Orduna 274d52729a
config: added a configuration file for FLSUN QQ-S Pro delta printer (#4237)
Signed-off-by: Joseph Orduna <joey.orduna@gmail.com>
2021-06-27 18:27:39 -04:00
Kevin O'Connor e520fb7878 config: Add generic-bigtreetech-skr-cr6-v1.0.cfg and fixes
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-14 20:48:55 -04:00
Kevin O'Connor 6dcb902d89 config: Rename generic-buddy.cfg to generic-prusa-buddy.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-14 12:40:36 -04:00
github@matthewlloyd.net 23f466bfce config: Add configs for Prusa Buddy and Mini+
Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
2021-06-14 12:37:34 -04:00
Kevin O'Connor f00281d1e6 config: Fixes for generic-th3d-ezboard-lite-v1.2.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-08 21:29:52 -04:00
Luke's Lab 080b7f68ca config: Add generic-duet3-mini.cfg
Adds Duet3 Mini Config with support for expansion header

Signed-off-by: Luke Ashley <Luke@Lukeslab.online>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-04 17:48:21 -04:00
Jason S. McMullan 913649de2e loop_sdcard: Add loopable SD card file sections
To support continuous belt printing, add nestable repeat
loop support via an `[sdcard_loop]` module.

Supported G-Code:
  - SDCARD_LOOP_BEGIN COUNT=n  ; Loop for N times, or infinitely if N is 0
  - SDCARD_LOOP_END            ; End of loop
  - SDCARD_LOOP_DESIST         ; Complete all loops without iterating

Marlin M808 compatibility example in `config/sample-macros.cfg`:
  - M808 Ln        ; Loop for N times, or infinitely if N is 0
  - M808           ; End of loop
  - M808 K         ; Complete all loops without iterating

Added unit tests in test/klippy/sdcard_loop.test

See https://reprap.org/wiki/G-code#M808:_Set_or_Goto_Repeat_Marker

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
2021-05-26 11:57:57 -04:00
Matthew Lloyd 93add3a095
config: Add printer-fokoos-odin5-f3.cfg (#4286)
Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
2021-05-12 15:00:06 -04:00
Kevin O'Connor 4799d05d42 config: Add generic-ruramps-v1.3.cfg to test cases and minor updates
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-12 10:25:41 -04:00
Kevin O'Connor c9e8298c36 config: Minor updates to printer-velleman-k8800-2017.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-06 11:38:31 -04:00
Jason S. McMullan 44387568f3 config: Add Creality CR-30 PrintMill support
Add support for the Creality CR-30 'PrintMill', and its base board,
the Creality v4.2.10.

Add them to the `test/klippy/printers.test` test suite

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
2021-05-06 11:07:18 -04:00
Tircown f2c74ec023
kinematics: Add hybrid-corexy and hybrid-corexz (#4229)
Signed-off-by: Fabrice GALLET <tircown@gmail.com>
2021-05-03 14:31:23 -04:00
George Fu fee386b8e2 config: add example configs for fysetc spider board
Signed-off-by: George Fu <nailao_5918@163.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-03 12:01:00 -04:00
Johannes Stuettgen ed6ab6b9cc screws_tilt_adjust: Add MAX_DEVIATION parameter for bed level invariant.
This is useful when a saved bed mesh is used to ensure that the bed level
has not drifted too far from where it was when the mesh was created.

Signed-off-by: Johannes Stuettgen <johannes.stuettgen@gmail.com>
2021-04-28 11:53:18 -04:00