{"id":17775521,"url":"https://github.com/mjonuschat/acceleration-control","last_synced_at":"2025-04-01T16:26:10.324Z","repository":{"id":185934219,"uuid":"669371022","full_name":"mjonuschat/acceleration-control","owner":"mjonuschat","description":"Klipper GCode Preprocessor for per feature acceleration control","archived":false,"fork":false,"pushed_at":"2024-09-07T16:34:31.000Z","size":189,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-02-07T10:36:52.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"G-code","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mjonuschat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-22T04:25:17.000Z","updated_at":"2024-09-27T13:37:16.000Z","dependencies_parsed_at":"2024-01-12T02:13:52.438Z","dependency_job_id":"d4445776-5383-426c-a8ce-79934c57a1c0","html_url":"https://github.com/mjonuschat/acceleration-control","commit_stats":null,"previous_names":["mjonuschat/acceleration-control"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Facceleration-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Facceleration-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Facceleration-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Facceleration-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjonuschat","download_url":"https://codeload.github.com/mjonuschat/acceleration-control/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246669497,"owners_count":20814827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-26T21:57:45.656Z","updated_at":"2025-04-01T16:26:10.307Z","avatar_url":"https://github.com/mjonuschat.png","language":"G-code","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Klipper GCode Preprocessor for per-feature acceleration control\n\nThis is a Rust port of the `acceleration.py` script by VintageGriffin that adds\nsupport for a few more Slicers in the process. This post-processor allows\nsetting separate acceleration, accel-to-decel and square corner velocity values\nfor print moves per feature type as well as for travel moves.\n\nThe following slicers are currently supported:\n\n* SuperSlicer\n* PrusaSlicer\n* Orcaslicer\n\n## Installation and usage\n\nTo configure a supported Slicer to automatically run this script against all\nGCode files that it generates the following steps need to be performed:\n\n1. Grab the latest released binary for your operating system from the\n   [releases](https://github.com/mjonuschat/acceleration-control/releases) page.\n2. Copy the binary to a permanent home, for example, `/Users/myuser/Documents/3D-Printing/Tools` on a Mac.\n   * On macOS, you need to remove the \"Quarantine Flag\" from the binary as it has not been signed by Apple.  \n     To do that run `sudo xattr -r -d com.apple.quarantine /path/to/acceleration-control`.\n3. Add `/Users/myuser/Documents/3D-Printing/Tools/acceleration-control;` to the\n   Slicer post-processing options:\n    * In SuperSlicer: Print Settings \u003e Output Options \u003e Post Processing Scripts\n    * In PrusaSlicer: Print Settings \u003e Output Options \u003e Post Processing Scripts\n    * In OrcaSlicer: Process \u003e Other \u003e Post Processing Scripts\n4. If you have previously done acceleration control via the custom code in the\n   \"between extrusion role change\" G-Code section (in the SuperSlicer under\n   Printer Settings \u003e Custom GCode), remove it from there. This post-processing\n   script will inject all the necessary acceleration control statements.\n5. (Optionally) Disable advanced acceleration control (set all values to 0) in\n   the Print Settings \u003e Speed section if your Slicer supports it. This script\n   will automatically remove any Marlin M204 and Klipper SET_VELOCITY_LIMIT\n   commands that might be emitted by your slicer.\n6. Configure the per-feature acceleration control values by adding the following\n   block to your Start G-Code, before your `PRINT_START` macro. Alternatively you \n   can also use a [config file](./config/example.conf) by adding ` -c /path/to/config/file` \n   to the call in the post-processing options.  \n   ```text\n   ; ACCEL: 10000/10000/20  for TYPE:Travel\n   ; ACCEL: 2000/1000/5     for TYPE:First Layer\n   ; ACCEL: 2000/1000/5     for TYPE:Custom\n   ; ACCEL: 2000/1000/5     for TYPE:External perimeter\n   ; ACCEL: 2000/1000/5     for TYPE:Overhang perimeter\n   ; ACCEL: 4000/2000/10    for TYPE:Internal perimeter\n   ; ACCEL: 2000/1000/5     for TYPE:Top solid infill\n   ; ACCEL: 10000/5000/10   for TYPE:Solid infill\n   ; ACCEL: 10000/5000/20   for TYPE:Internal infill\n   ; ACCEL: 5000/2500/5     for TYPE:Bridge infill\n   ; ACCEL: 5000/2500/5     for TYPE:Internal bridge infill\n   ; ACCEL: 2000/1000/5     for TYPE:Thin wall\n   ; ACCEL: 2000/1000/5     for TYPE:Gap fill\n   ; ACCEL: 5000/2500/5     for TYPE:Skirt\n   ; ACCEL: 10000/5000/20   for TYPE:Support material\n   ; ACCEL: 5000/2500/5     for TYPE:Support material interface\n   ```\n\n   Accelerations are specified in the ACCEL / ACCEL_TO_DECEL / SQUARE_CORNER_VELOCITY format.\n\n## How does it work\n\nSlic3r-based Slicers prefix blocks of print moves with `;TYPE:External\nperimeter` style comments. These comments are used by this post-processor to\npick the right values from the configuration block in the start G-Code. All\nacceleration values are used until a different type of comment is detected.\nTravel moves are automatically detected and use the `TYPE:Travel` setting. After\ntravel is done this post-processor goes back to using the current per-feature\naccelerations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjonuschat%2Facceleration-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjonuschat%2Facceleration-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjonuschat%2Facceleration-control/lists"}