{"id":20318761,"url":"https://github.com/markwal/redeem","last_synced_at":"2025-10-17T06:49:10.442Z","repository":{"id":86189764,"uuid":"81141377","full_name":"markwal/redeem","owner":"markwal","description":"Clone of the redeem repository from http://bitbucket.org/intelligentagent/redeem as of 92724957 (Oct 12 2016)","archived":false,"fork":false,"pushed_at":"2017-08-08T21:18:47.000Z","size":83623,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"markwal","last_synced_at":"2025-01-14T13:24:08.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/markwal.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":"2017-02-06T22:44:11.000Z","updated_at":"2017-02-07T09:22:25.000Z","dependencies_parsed_at":"2023-03-13T08:54:32.630Z","dependency_job_id":null,"html_url":"https://github.com/markwal/redeem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwal%2Fredeem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwal%2Fredeem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwal%2Fredeem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwal%2Fredeem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markwal","download_url":"https://codeload.github.com/markwal/redeem/tar.gz/refs/heads/markwal","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241819656,"owners_count":20025376,"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-11-14T18:41:03.563Z","updated_at":"2025-10-17T06:49:10.375Z","avatar_url":"https://github.com/markwal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\n     _/_/_/                    _/                                     \n    _/    _/    _/_/      _/_/_/    _/_/      _/_/    _/_/_/  _/_/    \n   _/_/_/    _/_/_/_/  _/    _/  _/_/_/_/  _/_/_/_/  _/    _/    _/   \n  _/    _/  _/        _/    _/  _/        _/        _/    _/    _/    \n _/    _/    _/_/_/    _/_/_/    _/_/_/    _/_/_/  _/    _/    _/     \n```\n\nRedeem is the Replicape Daemon that accepts G-codes and turns them into coordinates on \nyour 3D-printer. It's similar to Marlin and Teacup, only it's taylor made for Replicape and it's written in Python. \n\nSoftware features:  \n- Accelleration with corner speed prediction.  \n- Printer settings loaded from file  \n- Controllable via OctoPrint, ethernet, USB, Manga Screen (Toggle on 4.3\" LCD).   \n\n[Redeem documentation on the wiki](http://wiki.thing-printer.com/index.php?title=Redeem)\n\n# Installation:\n## Complete Debian based eMMC flasher image  \nMost users should probably use the [Kamikaze CNC image](http://wiki.thing-printer.com/index.php?title=Kamikaze), it is a complete BeagleBone eMMC flasher image that comes with Redeem. \n\n## Debain package\nIf you have a different Debian distro, you can use the .deb packages form the thing-printer feed:  \n```\nwget -O - http://kamikaze.thing-printer.com/apt/public.gpg | apt-key add -\necho \"deb [arch=armhf] http://kamikaze.thing-printer.com/apt ./\" \u003e\u003e /etc/apt/sources.list\napt-get update\napt-get install redeem\n```\n\n## Installation from source\n\n### Requirements\nThese instructions assumes you have a kernel with a cape manager, meaning kernel \u003e 4.\n\n### Installation\nYou can clone this repository directly on your BBB:  \n```\nssh root@192.168.7.2\ncd /usr/src  \ngit clone https://intelligentagent@bitbucket.org/intelligentagent/redeem.git  \n```\n\nFor Debian, install swig, python-smbus:  \n`apt-get install swig python-smbus`\n\nCompile the native path planner module:  \n```\ncd /usr/src/redeem/\npython setup.py install  \nmkdir /etc/redeem\ncp configs/* /etc/redeem\ncp data/* /etc/redeem\n```\n\n\n\n### Device tree overlay\nGet and compile the device tree overlay.  \nFor Kernel 4.1, see the instructions for the new [cape overlay repository](https://github.com/beagleboard/bb.org-overlays)  \n \nDisable HDMI with sound (will load HDMI without sound):  \n\nFor post uboot v2014.07/v2014.10/v2015.01 images\n`nano /boot/uEnv.txt`  \n\nChange this line:  \n`#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI`\nto\n`cape_disable=capemgr.disable_partno=BB-BONELT-HDMI`\n\nReboot\n\nAfter a reboot, you should see a the cape firmware load:  \n`dmesg | grep -i replic`  \n\nEnable the redeem service:  \n\n\n### Change startup script location\n\nIf you have the Debian package based version installed along side, \nyou have to change the startup script from /usr/bin to /usr/local/bin:\n```\nnano /lib/systemd/system/redeem.service\nsystemctl daemon-reload\nsystemctl restart redeem\n```\n\nIf you do not have the file \"/lib/systemd/system/redeem.service\" instlled: \nFirst modify the redeem.service file to update redeem 'binary' location.\nSince the software was sintalled form source, it is added to /usr/local\n`nano /usr/src/redeem/systemd/redeem.service`\n\nEdit line\n`ExecStart=/usr/bin/redeem`\nto\n`ExecStart=/usr/local/bin/redeem`\n\nCopy redeem systemd startup script into place, enable it for startup on boot and start it now.\n\n```\ncp /usr/src/redeem/systemd/redeem.service /lib/systemd/system/redeem.service  \nsystemctl enable redeem.service  \nsystemctl start redeem.service  \n```\n\n\n# Development:  \n  Try to be PEP8 compliant: http://legacy.python.org/dev/peps/pep-0008/\n\n## Locating files \nDo an \"updatedb\" and then \"locate Redeem.py\". It should give you the location. Please note that\nif you install from source, the files will have a different location than if you install from a deb package.\n/usr/lib vs. /usr/local/lib/.\n\n## Making firmware changes\nAs for the firmware files (the code that runs on PRUSS), they are moved to /tmp during compilation, but should reside in a sub directory from Redeem.py before compilation.\nA recompile of the firmware can be triggered by touching /et/redeem/local.cfg\n\n# Contributors\nElias Bakken\nMathieu Monney\nDaryl Bond\n\n\n\n\n\n\n\n# Install Redeem on Debian 8.3 (WIP)\n - Disable universal cape manager\n    nano /boot/uEnv.txt\n    delete cape_universal=enable\n - Download and install Replicape firmware\n    git clone https://github.com/eliasbakken/bb.org-overlays\n    cd bb.org-overlays/\n    ./dtc-overlay.sh\n    ./install.sh\n - Manual installation of redeem from feed\n - Disable logging to file\n    nano /etc/redeem/local.cfg\n - Disable loading overlays\n   nano /opt/source/adafruit-beaglebone-io-python/source/spimodule.c\n - Install socat\n - Install octoprint\n - Install python-octoprint-redeem\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkwal%2Fredeem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkwal%2Fredeem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkwal%2Fredeem/lists"}