Compare commits
264 Commits
v0.1.1-sv0
...
any-printe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2892220d5b | ||
|
|
95794b5ba8 | ||
|
|
89904dc356 | ||
|
|
9b025cde73 | ||
|
|
a414f1a1c3 | ||
|
|
cf931af5cb | ||
|
|
bb4dd6a403 | ||
|
|
f29a29fc84 | ||
|
|
8c3d4a7dd8 | ||
|
|
e8436ad0c1 | ||
|
|
7dba6deed6 | ||
|
|
f174110561 | ||
|
|
6b156cb9ae | ||
|
|
7a50d722d6 | ||
|
|
116f6c9aa4 | ||
|
|
efdfd86954 | ||
|
|
34a57ff393 | ||
|
|
acb6549a08 | ||
|
|
387c8b080a | ||
|
|
4e3fc98cc7 | ||
|
|
c602f18e98 | ||
|
|
f27b569d0c | ||
|
|
d5e46edc5e | ||
|
|
2788b2f03a | ||
|
|
46b946983b | ||
|
|
b48ad8a807 | ||
|
|
21994e3829 | ||
|
|
a24dc4e302 | ||
|
|
5a8908a36c | ||
|
|
971ae19cfa | ||
|
|
49b3af6491 | ||
|
|
dd7600fd63 | ||
|
|
e416117048 | ||
|
|
bd91fdef80 | ||
|
|
1386f83240 | ||
|
|
7903f7c253 | ||
|
|
c4e8765a82 | ||
|
|
d4dc915c70 | ||
|
|
2d8e27d119 | ||
|
|
767059c8f4 | ||
|
|
c82fbedcd7 | ||
|
|
916b739c33 | ||
|
|
5aafe60b55 | ||
|
|
000b2ec51f | ||
|
|
6e37894134 | ||
|
|
b81b62c8ad | ||
|
|
10099795a5 | ||
|
|
ff99422aa2 | ||
|
|
5772c633e7 | ||
|
|
fe88e3cf6f | ||
|
|
04d920c7ee | ||
|
|
3723591ecb | ||
|
|
360d861498 | ||
|
|
b2d13a4438 | ||
|
|
2bafa87c92 | ||
|
|
53a45ea14c | ||
|
|
4600107faf | ||
|
|
18552711c5 | ||
|
|
e4a2ce3480 | ||
|
|
501b195290 | ||
|
|
6b69ba9479 | ||
|
|
8347290f9f | ||
|
|
189a612e33 | ||
|
|
cd53eb2cd5 | ||
|
|
cf544f43cd | ||
|
|
681db463ba | ||
|
|
89183cad94 | ||
|
|
4b42fcccd6 | ||
|
|
62e2e96e0c | ||
|
|
b99c3b347c | ||
|
|
ed1a658419 | ||
|
|
82bead8996 | ||
|
|
8d091e8384 | ||
|
|
051fa0eb39 | ||
|
|
0812dab250 | ||
|
|
df7e3d8212 | ||
|
|
5bc56228d9 | ||
|
|
c51947fe04 | ||
|
|
f22aacbb0e | ||
|
|
f032246743 | ||
|
|
8a62ed2701 | ||
|
|
dca53a3c52 | ||
|
|
a9c2e25ff4 | ||
|
|
122c5a1d3a | ||
|
|
fddbbc2acc | ||
|
|
42bab87f6b | ||
|
|
3131370ebf | ||
|
|
29df5b6cdd | ||
|
|
bfacd4448f | ||
|
|
076c9ac41d | ||
|
|
82bdf0892f | ||
|
|
4150f5512d | ||
|
|
5979673f54 | ||
|
|
913f689768 | ||
|
|
90dd8a1314 | ||
|
|
fdabf7f09f | ||
|
|
465c0dffea | ||
|
|
c0ed25bb3a | ||
|
|
5b5c58fa05 | ||
|
|
cea8b064ea | ||
|
|
e5b1d69eb1 | ||
|
|
d22f68c6a1 | ||
|
|
9d905e0831 | ||
|
|
46cfda3024 | ||
|
|
446f3ca5b9 | ||
|
|
e38a647ade | ||
|
|
3b8a598332 | ||
|
|
c18b5ea995 | ||
|
|
cf0923a0cf | ||
|
|
49a4c8f53a | ||
|
|
9159b84c80 | ||
|
|
ad0a3bc8de | ||
|
|
4f78ca6a60 | ||
|
|
865818d1d9 | ||
|
|
b36422ee5a | ||
|
|
2030db6b98 | ||
|
|
cbeb15a272 | ||
|
|
a363457080 | ||
|
|
b0964fc272 | ||
|
|
fea7a35c3a | ||
|
|
8c86edfc34 | ||
|
|
6a15cd1c55 | ||
|
|
c9a469d677 | ||
|
|
47cf625a01 | ||
|
|
076ad42b5c | ||
|
|
90bd8fe6bb | ||
|
|
49ed59dc14 | ||
|
|
6595987d11 | ||
|
|
67307f5679 | ||
|
|
7acdbb2794 | ||
|
|
2da06be82e | ||
|
|
8a8229f6e8 | ||
|
|
3a6dab44e0 | ||
|
|
bb90be25cc | ||
|
|
5f59d5bacb | ||
|
|
d6f03f7a2c | ||
|
|
82c02bbdbf | ||
|
|
d405db4922 | ||
|
|
511fcbed57 | ||
|
|
12ed1d3a9f | ||
|
|
cd16791901 | ||
|
|
759c81be69 | ||
|
|
4cfbe14e59 | ||
|
|
c0340aaaaf | ||
|
|
2f79fc59e3 | ||
|
|
3c8a5d6a42 | ||
|
|
52c721226f | ||
|
|
089ad6a4bd | ||
|
|
9ee603e74d | ||
|
|
28ac5d5260 | ||
|
|
9b123175ec | ||
|
|
b22c8a0b02 | ||
|
|
7aecb64bca | ||
|
|
763304e128 | ||
|
|
527a241f69 | ||
|
|
9c79ca81bb | ||
|
|
40321ba806 | ||
|
|
5c8b1f0de9 | ||
|
|
ccdde22c57 | ||
|
|
66c19cd7d8 | ||
|
|
61eaab3221 | ||
|
|
a904b504c5 | ||
|
|
89df02ee7a | ||
|
|
cd59efe4c1 | ||
|
|
c327345a08 | ||
|
|
baf505113d | ||
|
|
514531b3dc | ||
|
|
82be01a0e0 | ||
|
|
f921823acf | ||
|
|
f385fe920e | ||
|
|
817a6771f6 | ||
|
|
fb7e7bcc6e | ||
|
|
a6afa97f88 | ||
|
|
a5f72beea4 | ||
|
|
6399c70309 | ||
|
|
9c9eb1b088 | ||
|
|
40d88fe907 | ||
|
|
5ada85f964 | ||
|
|
89d6c0d09f | ||
|
|
fa43f570d7 | ||
|
|
ac5426e331 | ||
|
|
24a4262af2 | ||
|
|
be1711cb68 | ||
|
|
d5de6866da | ||
|
|
82a5603d1e | ||
|
|
ad4c893fbc | ||
|
|
a5a75f3c1e | ||
|
|
d0c43f3777 | ||
|
|
53f6f75c85 | ||
|
|
d062ee5bcc | ||
|
|
b83a7c96b7 | ||
|
|
2cadcf65aa | ||
|
|
aa8d3de2c7 | ||
|
|
b0d122a1c1 | ||
|
|
6ede727449 | ||
|
|
f4f0fd50bb | ||
|
|
6eedc4bd60 | ||
|
|
3a85c0e532 | ||
|
|
940ea48541 | ||
|
|
9f69a7d355 | ||
|
|
57e6755ced | ||
|
|
835e990d88 | ||
|
|
45434cde14 | ||
|
|
51fd3f0b19 | ||
|
|
4df5ef2db3 | ||
|
|
23d24aab17 | ||
|
|
43d067acab | ||
|
|
4a38d34a0e | ||
|
|
323e8df221 | ||
|
|
1ca3355dd7 | ||
|
|
40534f3788 | ||
|
|
5e342261c8 | ||
|
|
1823d0ca37 | ||
|
|
b8156cf081 | ||
|
|
572e768111 | ||
|
|
581ff9da48 | ||
|
|
4ecb37cf9f | ||
|
|
8bfed9c573 | ||
|
|
b051707f52 | ||
|
|
807c91507a | ||
|
|
a30d367d1d | ||
|
|
5abaf73b9c | ||
|
|
a71ba1569a | ||
|
|
238091d860 | ||
|
|
6dc119cf99 | ||
|
|
9e68610908 | ||
|
|
b3040f4244 | ||
|
|
8c6ebbca2c | ||
|
|
1f3707123a | ||
|
|
4c3ae83f19 | ||
|
|
953daefa32 | ||
|
|
5ecbfe0cc0 | ||
|
|
688193903b | ||
|
|
7da9a83924 | ||
|
|
d0b426d5b0 | ||
|
|
3c98d99665 | ||
|
|
4b90c7abc5 | ||
|
|
0358cb6304 | ||
|
|
2c49bf8396 | ||
|
|
dc85ec05c6 | ||
|
|
cc57e07c62 | ||
|
|
e501bdac3f | ||
|
|
f810abf9f7 | ||
|
|
69071df396 | ||
|
|
daa07e37c0 | ||
|
|
758a3f8b77 | ||
|
|
c1427d9418 | ||
|
|
371e0d604a | ||
|
|
761650bf80 | ||
|
|
c89d69e678 | ||
|
|
5afbf002c2 | ||
|
|
4c72bfe43e | ||
|
|
117766d1ad | ||
|
|
81558afd79 | ||
|
|
060a9334ee | ||
|
|
c215540a0c | ||
|
|
88d8bb2ad9 | ||
|
|
0b2ad3d45c | ||
|
|
bdf28eb016 | ||
|
|
c7bcbe863e | ||
|
|
eb029fe891 | ||
|
|
a671161b99 | ||
|
|
cf3597f158 | ||
|
|
5930d03add |
1
.github/FUNDING.yml
vendored
@@ -1 +0,0 @@
|
|||||||
ko_fi: bassamanator
|
|
||||||
62
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve
|
||||||
|
title: "[BUG]"
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Describe the bug**
|
||||||
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
|
**To Reproduce**
|
||||||
|
Steps to reproduce the behavior:
|
||||||
|
|
||||||
|
1. Go to '...'
|
||||||
|
2. Click on '....'
|
||||||
|
3. Scroll down to '....'
|
||||||
|
4. See error
|
||||||
|
|
||||||
|
**Expected behavior**
|
||||||
|
A clear and concise description of what you expected to happen.
|
||||||
|
|
||||||
|
**Screenshots**
|
||||||
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
|
**What printer are you using?**
|
||||||
|
|
||||||
|
- SV06, SV06 Plus, etc.
|
||||||
|
|
||||||
|
**What kind of device are you using to host Klipper?**
|
||||||
|
|
||||||
|
- OS: [e.g. old laptop, PC, Raspberry Pi]
|
||||||
|
- Version: []
|
||||||
|
|
||||||
|
**How did you install Klipper?**
|
||||||
|
|
||||||
|
- Manual install, KIAUH, MainsailOS, FluiddPi, etc.
|
||||||
|
|
||||||
|
**Is your local copy of this configuration up to date?**
|
||||||
|
|
||||||
|
- This configuration changes all the time, when did you install it? Are you sure you're running the latest version?
|
||||||
|
|
||||||
|
**What slicer are you using?**
|
||||||
|
|
||||||
|
- [ ] PrusaSlicer
|
||||||
|
- [ ] SuperSlicer
|
||||||
|
- [ ] Cura
|
||||||
|
- [ ] OrcaSlicer
|
||||||
|
|
||||||
|
**Are you using the config bundles from this repo?**
|
||||||
|
|
||||||
|
- [ ] Yes
|
||||||
|
- [ ] No
|
||||||
|
|
||||||
|
**Did you [Adjust your slicer](https://github.com/bassamanator/Sovol-SV06-firmware#adjust-your-slicer)**?
|
||||||
|
|
||||||
|
- [ ] Yes
|
||||||
|
- [ ] No
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context about the problem here.
|
||||||
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Suggest an idea for this project
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Is your feature request related to a problem? Please describe.**
|
||||||
|
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||||
|
|
||||||
|
**Describe the solution you'd like**
|
||||||
|
A clear and concise description of what you want to happen.
|
||||||
|
|
||||||
|
**Describe alternatives you've considered**
|
||||||
|
A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context or screenshots about the feature request here.
|
||||||
3
.gitignore
vendored
@@ -1,3 +1,6 @@
|
|||||||
printer-*_*.cfg
|
printer-*_*.cfg
|
||||||
.moonraker.conf.bkp
|
.moonraker.conf.bkp
|
||||||
.directory
|
.directory
|
||||||
|
.venv
|
||||||
|
__pycache__
|
||||||
|
crowsnest.conf.*
|
||||||
|
|||||||
64
.vscode/settings.json
vendored
@@ -3,6 +3,66 @@
|
|||||||
"editor.insertSpaces": true,
|
"editor.insertSpaces": true,
|
||||||
"editor.detectIndentation": false,
|
"editor.detectIndentation": false,
|
||||||
"git.mergeEditor": false,
|
"git.mergeEditor": false,
|
||||||
"spellright.language": ["en-GB-10-1."],
|
"cSpell.words": [
|
||||||
"spellright.documentTypes": ["markdown", "plaintext"]
|
"ADXL",
|
||||||
|
"blanchas",
|
||||||
|
"Buildplate",
|
||||||
|
"cfgs",
|
||||||
|
"Fluidd",
|
||||||
|
"Fluiddpi",
|
||||||
|
"gcode",
|
||||||
|
"githubstar",
|
||||||
|
"hotend",
|
||||||
|
"KAMP",
|
||||||
|
"KIAUH",
|
||||||
|
"Klipper",
|
||||||
|
"Klipperized",
|
||||||
|
"lrwxrwxrwx",
|
||||||
|
"microsteps",
|
||||||
|
"moonraker",
|
||||||
|
"normalsize",
|
||||||
|
"octahedroflake",
|
||||||
|
"osskc",
|
||||||
|
"Painis",
|
||||||
|
"PARKBED",
|
||||||
|
"PARKCENTER",
|
||||||
|
"PARKFRONT",
|
||||||
|
"PARKFRONTLOW",
|
||||||
|
"PARKREAR",
|
||||||
|
"pico",
|
||||||
|
"Printables",
|
||||||
|
"Prusa",
|
||||||
|
"runout",
|
||||||
|
"scriptsize",
|
||||||
|
"Sovol",
|
||||||
|
"textcolor",
|
||||||
|
"textit",
|
||||||
|
"texttt"
|
||||||
|
],
|
||||||
|
"[markdown]": {
|
||||||
|
"editor.formatOnSave": false
|
||||||
|
},
|
||||||
|
"[jsonc]": {
|
||||||
|
"editor.insertSpaces": false
|
||||||
|
},
|
||||||
|
"workbench.colorCustomizations": {
|
||||||
|
"activityBar.activeBackground": "#7e4810",
|
||||||
|
"activityBar.background": "#7e4810",
|
||||||
|
"activityBar.foreground": "#e7e7e7",
|
||||||
|
"activityBar.inactiveForeground": "#e7e7e799",
|
||||||
|
"activityBarBadge.background": "#041c10",
|
||||||
|
"activityBarBadge.foreground": "#e7e7e7",
|
||||||
|
"commandCenter.border": "#e7e7e799",
|
||||||
|
"sash.hoverBorder": "#7e4810",
|
||||||
|
"statusBar.background": "#512e0a",
|
||||||
|
"statusBar.foreground": "#e7e7e7",
|
||||||
|
"statusBarItem.hoverBackground": "#7e4810",
|
||||||
|
"statusBarItem.remoteBackground": "#512e0a",
|
||||||
|
"statusBarItem.remoteForeground": "#e7e7e7",
|
||||||
|
"titleBar.activeBackground": "#512e0a",
|
||||||
|
"titleBar.activeForeground": "#e7e7e7",
|
||||||
|
"titleBar.inactiveBackground": "#512e0a99",
|
||||||
|
"titleBar.inactiveForeground": "#e7e7e799"
|
||||||
|
},
|
||||||
|
"peacock.color": "#512e0a"
|
||||||
}
|
}
|
||||||
|
|||||||
128
CODE_OF_CONDUCT.md
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
# Contributor Covenant Code of Conduct
|
||||||
|
|
||||||
|
## Our Pledge
|
||||||
|
|
||||||
|
We as members, contributors, and leaders pledge to make participation in our
|
||||||
|
community a harassment-free experience for everyone, regardless of age, body
|
||||||
|
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||||
|
identity and expression, level of experience, education, socio-economic status,
|
||||||
|
nationality, personal appearance, race, religion, or sexual identity
|
||||||
|
and orientation.
|
||||||
|
|
||||||
|
We pledge to act and interact in ways that contribute to an open, welcoming,
|
||||||
|
diverse, inclusive, and healthy community.
|
||||||
|
|
||||||
|
## Our Standards
|
||||||
|
|
||||||
|
Examples of behavior that contributes to a positive environment for our
|
||||||
|
community include:
|
||||||
|
|
||||||
|
* Demonstrating empathy and kindness toward other people
|
||||||
|
* Being respectful of differing opinions, viewpoints, and experiences
|
||||||
|
* Giving and gracefully accepting constructive feedback
|
||||||
|
* Accepting responsibility and apologizing to those affected by our mistakes,
|
||||||
|
and learning from the experience
|
||||||
|
* Focusing on what is best not just for us as individuals, but for the
|
||||||
|
overall community
|
||||||
|
|
||||||
|
Examples of unacceptable behavior include:
|
||||||
|
|
||||||
|
* The use of sexualized language or imagery, and sexual attention or
|
||||||
|
advances of any kind
|
||||||
|
* Trolling, insulting or derogatory comments, and personal or political attacks
|
||||||
|
* Public or private harassment
|
||||||
|
* Publishing others' private information, such as a physical or email
|
||||||
|
address, without their explicit permission
|
||||||
|
* Other conduct which could reasonably be considered inappropriate in a
|
||||||
|
professional setting
|
||||||
|
|
||||||
|
## Enforcement Responsibilities
|
||||||
|
|
||||||
|
Community leaders are responsible for clarifying and enforcing our standards of
|
||||||
|
acceptable behavior and will take appropriate and fair corrective action in
|
||||||
|
response to any behavior that they deem inappropriate, threatening, offensive,
|
||||||
|
or harmful.
|
||||||
|
|
||||||
|
Community leaders have the right and responsibility to remove, edit, or reject
|
||||||
|
comments, commits, code, wiki edits, issues, and other contributions that are
|
||||||
|
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
||||||
|
decisions when appropriate.
|
||||||
|
|
||||||
|
## Scope
|
||||||
|
|
||||||
|
This Code of Conduct applies within all community spaces, and also applies when
|
||||||
|
an individual is officially representing the community in public spaces.
|
||||||
|
Examples of representing our community include using an official e-mail address,
|
||||||
|
posting via an official social media account, or acting as an appointed
|
||||||
|
representative at an online or offline event.
|
||||||
|
|
||||||
|
## Enforcement
|
||||||
|
|
||||||
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||||
|
reported to the community leaders responsible for enforcement at
|
||||||
|
bassamanator.2cj4t@simplelogin.com.
|
||||||
|
All complaints will be reviewed and investigated promptly and fairly.
|
||||||
|
|
||||||
|
All community leaders are obligated to respect the privacy and security of the
|
||||||
|
reporter of any incident.
|
||||||
|
|
||||||
|
## Enforcement Guidelines
|
||||||
|
|
||||||
|
Community leaders will follow these Community Impact Guidelines in determining
|
||||||
|
the consequences for any action they deem in violation of this Code of Conduct:
|
||||||
|
|
||||||
|
### 1. Correction
|
||||||
|
|
||||||
|
**Community Impact**: Use of inappropriate language or other behavior deemed
|
||||||
|
unprofessional or unwelcome in the community.
|
||||||
|
|
||||||
|
**Consequence**: A private, written warning from community leaders, providing
|
||||||
|
clarity around the nature of the violation and an explanation of why the
|
||||||
|
behavior was inappropriate. A public apology may be requested.
|
||||||
|
|
||||||
|
### 2. Warning
|
||||||
|
|
||||||
|
**Community Impact**: A violation through a single incident or series
|
||||||
|
of actions.
|
||||||
|
|
||||||
|
**Consequence**: A warning with consequences for continued behavior. No
|
||||||
|
interaction with the people involved, including unsolicited interaction with
|
||||||
|
those enforcing the Code of Conduct, for a specified period of time. This
|
||||||
|
includes avoiding interactions in community spaces as well as external channels
|
||||||
|
like social media. Violating these terms may lead to a temporary or
|
||||||
|
permanent ban.
|
||||||
|
|
||||||
|
### 3. Temporary Ban
|
||||||
|
|
||||||
|
**Community Impact**: A serious violation of community standards, including
|
||||||
|
sustained inappropriate behavior.
|
||||||
|
|
||||||
|
**Consequence**: A temporary ban from any sort of interaction or public
|
||||||
|
communication with the community for a specified period of time. No public or
|
||||||
|
private interaction with the people involved, including unsolicited interaction
|
||||||
|
with those enforcing the Code of Conduct, is allowed during this period.
|
||||||
|
Violating these terms may lead to a permanent ban.
|
||||||
|
|
||||||
|
### 4. Permanent Ban
|
||||||
|
|
||||||
|
**Community Impact**: Demonstrating a pattern of violation of community
|
||||||
|
standards, including sustained inappropriate behavior, harassment of an
|
||||||
|
individual, or aggression toward or disparagement of classes of individuals.
|
||||||
|
|
||||||
|
**Consequence**: A permanent ban from any sort of public interaction within
|
||||||
|
the community.
|
||||||
|
|
||||||
|
## Attribution
|
||||||
|
|
||||||
|
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
||||||
|
version 2.0, available at
|
||||||
|
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
||||||
|
|
||||||
|
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
||||||
|
enforcement ladder](https://github.com/mozilla/diversity).
|
||||||
|
|
||||||
|
[homepage]: https://www.contributor-covenant.org
|
||||||
|
|
||||||
|
For answers to common questions about this code of conduct, see the FAQ at
|
||||||
|
https://www.contributor-covenant.org/faq. Translations are available at
|
||||||
|
https://www.contributor-covenant.org/translations.
|
||||||
14
CONTRIBUTING.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Contribution Guidelines
|
||||||
|
|
||||||
|
When contributing, please:
|
||||||
|
- provide a clear and concise explanation of your pull request.
|
||||||
|
- try to make small changes, ie, make many small pull requests as opposed to a single large pull request.
|
||||||
|
- try to follow the patterns I've already established.
|
||||||
|
|
||||||
|
Contributions to `README.md` should do some or all of the following:
|
||||||
|
- add clarity
|
||||||
|
- reduce complexity for the user
|
||||||
|
- reduce verbosity
|
||||||
|
- fix errors
|
||||||
|
|
||||||
|
Thank you.
|
||||||
661
LICENSE
Normal file
@@ -0,0 +1,661 @@
|
|||||||
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 19 November 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU Affero General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works, specifically designed to ensure
|
||||||
|
cooperation with the community in the case of network server software.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
our General Public Licenses are intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
Developers that use our General Public Licenses protect your rights
|
||||||
|
with two steps: (1) assert copyright on the software, and (2) offer
|
||||||
|
you this License which gives you legal permission to copy, distribute
|
||||||
|
and/or modify the software.
|
||||||
|
|
||||||
|
A secondary benefit of defending all users' freedom is that
|
||||||
|
improvements made in alternate versions of the program, if they
|
||||||
|
receive widespread use, become available for other developers to
|
||||||
|
incorporate. Many developers of free software are heartened and
|
||||||
|
encouraged by the resulting cooperation. However, in the case of
|
||||||
|
software used on network servers, this result may fail to come about.
|
||||||
|
The GNU General Public License permits making a modified version and
|
||||||
|
letting the public access it on a server without ever releasing its
|
||||||
|
source code to the public.
|
||||||
|
|
||||||
|
The GNU Affero General Public License is designed specifically to
|
||||||
|
ensure that, in such cases, the modified source code becomes available
|
||||||
|
to the community. It requires the operator of a network server to
|
||||||
|
provide the source code of the modified version running there to the
|
||||||
|
users of that server. Therefore, public use of a modified version, on
|
||||||
|
a publicly accessible server, gives the public access to the source
|
||||||
|
code of the modified version.
|
||||||
|
|
||||||
|
An older license, called the Affero General Public License and
|
||||||
|
published by Affero, was designed to accomplish similar goals. This is
|
||||||
|
a different license, not a version of the Affero GPL, but Affero has
|
||||||
|
released a new version of the Affero GPL which permits relicensing under
|
||||||
|
this license.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU Affero General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Remote Network Interaction; Use with the GNU General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, if you modify the
|
||||||
|
Program, your modified version must prominently offer all users
|
||||||
|
interacting with it remotely through a computer network (if your version
|
||||||
|
supports such interaction) an opportunity to receive the Corresponding
|
||||||
|
Source of your version by providing access to the Corresponding Source
|
||||||
|
from a network server at no charge, through some standard or customary
|
||||||
|
means of facilitating copying of software. This Corresponding Source
|
||||||
|
shall include the Corresponding Source for any work covered by version 3
|
||||||
|
of the GNU General Public License that is incorporated pursuant to the
|
||||||
|
following paragraph.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the work with which it is combined will remain governed by version
|
||||||
|
3 of the GNU General Public License.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU Affero General Public License from time to time. Such new versions
|
||||||
|
will be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU Affero General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU Affero General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU Affero General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Affero General Public License as published
|
||||||
|
by the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If your software can interact with users remotely through a computer
|
||||||
|
network, you should also make sure that it provides a way for users to
|
||||||
|
get its source. For example, if your program is a web application, its
|
||||||
|
interface could display a "Source" link that leads users to an archive
|
||||||
|
of the code. There are many ways you could offer source, and different
|
||||||
|
solutions will be better for different programs; see section 13 for the
|
||||||
|
specific requirements.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU AGPL, see
|
||||||
|
<https://www.gnu.org/licenses/>.
|
||||||
437
README.md
@@ -1,246 +1,359 @@
|
|||||||
# 🚨 *One-Stop-Shop* Sovol SV06 Klipper Configuration
|
<p align="center">
|
||||||
|
Please consider
|
||||||
|
<a href="https://ko-fi.com/bassamanator" target="_blank">donating</a> to
|
||||||
|
support my open source work ❤️
|
||||||
|
</p>
|
||||||
|
|
||||||
This repository contains the Klipper configuration and firmware for the **Sovol SV06** 3D printer with completely *stock hardware*.
|
# One-Stop-Shop Klipper Configuration
|
||||||
|
|
||||||
If you wanted to use the One-Stop-Shop Klipper Configuration for a *different printer*, please switch to the [any-printer](https://github.com/bassamanator/Sovol-SV06-firmware/tree/any-printer) branch.
|
| Printer | Branch |
|
||||||
|
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
||||||
|
| ${\normalsize{\textcolor{darkturquoise}{\text{Sovol SV06}}}}$ | [master](https://github.com/bassamanator/Sovol-SV06-firmware/tree/master) |
|
||||||
|
| Sovol SV06 SKR-Mini-E3-V3.0 | [skr-mini-e3-v3](https://github.com/bassamanator/Sovol-SV06-firmware/tree/skr-mini-e3-v3) |
|
||||||
|
| Sovol SV06 Fly-E3-Pro-V3 | [fly-e3-pro-v3](https://github.com/ElPainis/Fly-E3-Pro-v3) \*\* |
|
||||||
|
| Sovol SV06 Plus | [sv06-plus](https://github.com/bassamanator/Sovol-SV06-firmware/tree/sv06-plus) |
|
||||||
|
| All other printers | ⚡ ${\scriptsize{\textcolor{darkturquoise}{\text{YOU ARE HERE}}}}$ ⚡ |
|
||||||
|
|
||||||
I am creating these files for my personal use and cannot be held responsible for what it might do to your printer. Use at your own risk.
|
${\small{\textit{** Maintained by ElPainis}}}$
|
||||||
|
|
||||||
# Highlights
|
> [!WARNING]
|
||||||
|
> I am creating these files for my personal use and cannot be held responsible for what it might do to your printer. Use at your own risk.
|
||||||
|
|
||||||
- 💥 This Klipper configuration is an *endpoint*, meaning that it contains **everything** that you could possibly need in order to have an excellent Klipper experience! 💥
|
## Outline
|
||||||
- `NEW` <img src="./images/party_blob.gif" width="20" alt=''/> Filament runout sensor usage implemented. <img src="./images/party_blob.gif" width="20" alt=''/>
|
|
||||||
- Minimum configuration settings for Mainsail/Fluiddpi to work.
|
- [Features](#features)
|
||||||
- SuperSlicer config bundle that contains the printer configuration, as well as what are considered by many to be the best print settings available for any FDM printer ([Ellis' SuperSlicer Profiles](https://github.com/AndrewEllis93/Ellis-SuperSlicer-Profiles)). Find the differences between the different print setting profiles [here](https://github.com/AndrewEllis93/Ellis-SuperSlicer-Profiles/tree/master/SuperSlicer). But basically, the 45 degree profile places the seam at the back.
|
- [Stay Up-to-Date](#stay-up-to-date)
|
||||||
- Bed model and texture to use in SuperSlicer/PrusaSlicer.
|
- [Preface](#preface)
|
||||||
|
- [Before You Begin](#before-you-begin)
|
||||||
|
- [Klipper Installation](#klipper-installation)
|
||||||
|
- [Flash Firmware](#flash-firmware)
|
||||||
|
- [Download OSS Klipper Configuration](#download-oss-klipper-configuration)
|
||||||
|
- [Setup Instructions](#setup-instructions)
|
||||||
|
- [Adjust Your Slicer](#adjust-your-slicer)
|
||||||
|
- [Support Me](#support-me)
|
||||||
|
- [Directory Structure](#directory-structure)
|
||||||
|
- [Special Considerations](#special-considerations)
|
||||||
|
- [FAQ](#faq)
|
||||||
|
- [Useful Resources](#useful-resources)
|
||||||
|
- [Sovol Official Links](#sovol-official-links)
|
||||||
|
- [Sources](#sources)
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- 💥 This Klipper configuration is an _endpoint_, meaning that it contains **everything** that you could possibly need in order to have an excellent Klipper experience! 💥 CoreXY users can rightly disagree and say that it lacks the quad gantry levelling macros. Please create a pull request if you can help in this regard!
|
||||||
|
- Filament runout sensor usage implemented.
|
||||||
|
- Minimum configuration settings for `Mainsail` and `Fluidd`.
|
||||||
|
- Pre-configured configuration bundles based on the [Ellis SuperSlicer Print Profiles](https://github.com/AndrewEllis93/Ellis-SuperSlicer-Profiles):
|
||||||
|
- SuperSlicer
|
||||||
|
- PrusaSlicer
|
||||||
- Macros
|
- Macros
|
||||||
- **Improved** mechanical gantry calibration/`G34` macro that provides the user audio feedback, and time to check the calibration.
|
- **Improved** mechanical gantry calibration/`G34` macro that provides the user audio feedback, and time to check the calibration.
|
||||||
- Misc macros: `PRINT_START`, `CANCEL_PRINT`, `PRINT_END`, `PAUSE`, `RESUME`.
|
- Misc macros: `PRINT_START`, `CANCEL_PRINT`, `PRINT_END`, `PAUSE`, `RESUME`.
|
||||||
- Parking macros (parks the printhead at various locations): `PARKFRONT`, `PARKFRONTLOW`, `PARKREAR`, `PARKCENTER`, `PARKBED`.
|
- Parking macros (parks the printhead at various locations): `PARKFRONT`, `PARKFRONTLOW`, `PARKREAR`, `PARKCENTER`, `PARKBED`.
|
||||||
- Load/unload filament macros.
|
- Load/unload filament macros.
|
||||||
- Purge line macro.
|
- `PURGE_LINE` macro.
|
||||||
|
- `TEST_SPEED` macro. Find instructions [here](#how-do-i-use-the-test_speed-macro).
|
||||||
|
- Klipper Adaptive Meshing & Purging (KAMP) integrated. Read about it [here](#what-do-i-need-to-know-about-kamp).
|
||||||
|
|
||||||
## To do:
|
[🔼 Back to top](#outline)
|
||||||
|
|
||||||
- [x] Replace M109/M190 with `TEMPERATURE_WAIT`.
|
|
||||||
- [ ] ~~Get the Ellis `TEST_SPEED` macro working.~~ Does not seem safely doable on this printer.
|
|
||||||
- [x] Add information about directory structure.
|
|
||||||
- [x] Create FAQ section.
|
|
||||||
- [x] Get filament sensor working with hotend PCB.
|
|
||||||
- [x] Finalize filament sensor config and merge into `master`.
|
|
||||||
- [ ] Create topic in Discussion section detailing how users should keep this repository in sync with their own Klipper config using `git`.
|
|
||||||
- [ ] Explain `PAUSE`/`RESUME` extruder behaviour.
|
|
||||||
- [ ] Integrate KAMP (Klipper Adaptive Meshing and Purging).
|
|
||||||
- [x] Add `BEEP` when filament needs changing/`M600`.
|
|
||||||
|
|
||||||
## Stay Up-to-Date
|
## Stay Up-to-Date
|
||||||
|
|
||||||
I work on this repository all the time and a lot of new features are coming. Watch releases of this repository to be notified for future updates:
|
${\normalsize{\textcolor{goldenrod}{\texttt{Star ⭐ this project.}}}}$
|
||||||
|
|
||||||
<img src="./images/githubstar.gif" width="500" alt='Raspberry Pi'/>
|
Watch for [updates](https://github.com/bassamanator/Sovol-SV06-firmware/discussions/37).
|
||||||
|
|
||||||
# Installation Steps
|
<img src="./misc/images/githubstar.gif" width="500" alt='github star'/>
|
||||||
|
|
||||||
|
[🔼 Back to top](#outline)
|
||||||
|
|
||||||
|
## Preface
|
||||||
|
|
||||||
|
Although I've made switching over to Klipper as easy as is possible, it can still be a challenge for some, especially considering that most of you have likely never used GNU+Linux. Save yourself the frustration, and fully read this documentation. Also note that Klipper is not a _must_, and is not for everyone. You can stick with Marlin, and have a fine 3D printing experience.
|
||||||
|
|
||||||
|
In many ways, this entire repository can be considered _my opinion_ on the `3D printing experience` and this has been _my attempt_ to share that experience. Some factors, such as _accuracy_ and _testing_, have been at the forefront of my thoughts during this process. I hope you find this repository suitable. Cheers.
|
||||||
|
|
||||||
|
[🔼 Back to top](#outline)
|
||||||
|
|
||||||
## Before You Begin
|
## Before You Begin
|
||||||
|
|
||||||
- Know what you're getting into by reading this documentation *fully!*
|
- This entire page is a **12 minute read**. Save yourself _hours of troubleshooting_ and read this documentation fully.
|
||||||
- It is assumed that you are connected to your host Raspberry Pi (or other host device) via SSH, and that your printer motherboard is connected to the host via USB.
|
- It is assumed that you already have a working `printer.cfg` and you already have your printer up and running Klipper.
|
||||||
|
- The [master](https://github.com/bassamanator/Sovol-SV06-firmware/tree/master) branch of this repo contains baby step by step instructions on how to get Klipper going for a particular bed printer (Sovol SV06). If you are a beginner, you might find those instructions useful.
|
||||||
|
- Make sure your printer is in good physical condition, because print and travel speeds will be _a lot faster_ than they were before. Beginner's would be wise to go through the steps mentioned [here](https://github.com/bassamanator/everything-sovol-sv06/blob/main/initialsteps.md). Consider yourself warned.
|
||||||
|
- Follow the steps in order.
|
||||||
|
- If an error was reported at a step, do no proceed to the next step.
|
||||||
|
- It is assumed that you are connected to your host Raspberry Pi (or other host device) via SSH, and that your printer motherboard is connected to the host via a data USB cable. 💡 Most of the micro USB cables that you find at home are _unlikely_ to be data cables, and it's not possible to tell just by looking.
|
||||||
|
- [Disable](https://github.com/bassamanator/everything-sovol-sv06/blob/main/howto.md#disable-usb-cable-5v-pin) the USB cable's 5V pin.
|
||||||
- It is also assumed that the username on the host device is `pi`. If that is not the case, you will have to manually edit `moonraker.conf` and `cfgs/misc-macros.cfg` and change any mentions of `/home/pi` to `/home/yourUserName`.
|
- It is also assumed that the username on the host device is `pi`. If that is not the case, you will have to manually edit `moonraker.conf` and `cfgs/misc-macros.cfg` and change any mentions of `/home/pi` to `/home/yourUserName`.
|
||||||
- Klipper *must* be installed on the host Raspberry Pi for everything to work. Easiest is to use a [FluiddPi](https://docs.fluidd.xyz/installation/fluiddpi#download) or [MainsailOS](https://github.com/mainsail-crew/mainsail/releases/latest) image.
|
- Klipper _must_ be installed on the host Raspberry Pi for everything to work. Easiest is to use a [MainsailOS](https://github.com/mainsail-crew/mainsail/releases/latest) image. Alternatively, you can install `Fluidd` or `Mainsail` via [KIAUH](https://github.com/th33xitus/kiauh).
|
||||||
- It is assumed that there is one instance of Klipper installed. If you have multiple instances of Klipper installed, via `KIAUH` for example, then this guide is not for you. You can still use all the configs of course, but the steps in this guide will not work for you.
|
- Klipper _must_ be up to date.
|
||||||
|
- In `Fluidd`, you can do this from `Settings` > `Software Updates`.
|
||||||
|
- In `Mainsail`, you can do this from `Machine` > `Update Manager`.
|
||||||
|
- Robert Redford's performance in _Spy Game (2001)_ was superb!
|
||||||
|
- ~~It is assumed that there is one instance of Klipper installed. If you have multiple instances of Klipper installed, via `KIAUH` for example, then this guide is not for you. You can still use all the configs of course, but the steps in this guide will likely not work for you.~~
|
||||||
- Your question has probably been answered already, but if it hasn't, please post in the [Discussion](https://github.com/bassamanator/Sovol-SV06-firmware/discussions) section.
|
- Your question has probably been answered already, but if it hasn't, please post in the [Discussion](https://github.com/bassamanator/Sovol-SV06-firmware/discussions) section.
|
||||||
- If you see any errors, or encounter any issues, please create an [Issue](https://github.com/bassamanator/Sovol-SV06-firmware/issues/new), or a [Pull request](https://github.com/bassamanator/Sovol-SV06-firmware/pulls).
|
- I would recommend searching for the word `NOTE` in this configuration. There are roughly half a dozen short points amongst the various files that you should be aware of.
|
||||||
- I would recommend searching for the word `NOTE` in this repository. There are roughly half a dozen short points amongst the various files that you should be aware of if you're using this configuration.
|
- You must have a `bed_mesh` for `PRINT_START` to work correctly. If you do not have a probe to create a `bed_mesh`, simply comment out the line `BED_MESH_PROFILE LOAD=default` in the `PRINT_START` macro.
|
||||||
|
|
||||||
## Flash Firmware
|
[🔼 Back to top](#outline)
|
||||||
|
|
||||||
💡 *If you have already flashed klipper onto your motherboard in the past, you can skip this step.*
|
## Klipper Installation
|
||||||
|
|
||||||
💡 For the sake of simplicity, I will refer to the klipper firmware file as `klipper.bin` even though the actual filename is something along the lines of `klipper-v0.11.0-148-g52f4e20c.bin`.
|
### Flash Firmware
|
||||||
|
|
||||||
💡 The firmware file is located in the `misc` folder.
|
You must flash your motherboard according to the manufacturer's instructions.
|
||||||
|
|
||||||
### Prepare the microSD Card for Flashing
|
### Download OSS Klipper Configuration
|
||||||
|
|
||||||
- Size: `8GB`. According to Sovol, the largest size that you can use is `16GB`.
|
1. [Download](https://github.com/bassamanator/Sovol-SV06-firmware/archive/refs/heads/any-printer.zip) the `ZIP` file containing the Klipper configuration.
|
||||||
- File system: `FAT32`.
|
2. The parent folder in the `ZIP` is `Sovol-SV06-firmware-any-printer`. This is relevant in the next step.
|
||||||
- Must not contain any files *except* the firmware file.
|
3. Extract **only** the _contents_ of the parent folder into `~/printer_data/config`.
|
||||||
|
|
||||||
### Flashing Procedure
|
See what files are necessary and which ones can be skipped [here](#directory-structure).
|
||||||
|
|
||||||
1. Disconnect any USB cables that might be connected to the motherboard.
|
💡 **If** you get a warning that you already have a `moonraker.conf` **and if** you're _not_ using a low powered device such as a Raspberry Pi Zero, do not overwrite the _existing_ `moonraker.conf` and simply paste the following into it:
|
||||||
2. Copy `klipper.bin` to the microSD card.
|
|
||||||
3. Make sure the printer is off.
|
|
||||||
4. Insert the microSD card into printer.
|
|
||||||
4. Turn on the printer and wait a minute (usually takes 10 seconds).
|
|
||||||
5. Turn off the printer and remove the microSD.
|
|
||||||
|
|
||||||
You may find this [video](https://youtu.be/p6l253OJa34) useful.
|
```yaml
|
||||||
|
[file_manager]
|
||||||
|
enable_object_processing: True
|
||||||
|
```
|
||||||
|
|
||||||
⚠️ **Caveat**: Flashing will only work if current firmware filename is *different from previous flashing procedure*. The `.bin` is also important.
|
### Setup Instructions
|
||||||
|
|
||||||
## Download Klipper Configuration
|
Simply add `[include ./osskc.cfg]` somewhere at the top of your `printer.cfg`.
|
||||||
|
|
||||||
You can choose *either* of the 2 following methods.
|
And remember to _adjust your slicer_.
|
||||||
|
|
||||||
### Clone the Repository
|
[🔼 Back to top](#outline)
|
||||||
|
|
||||||
1. `cd ~/printer_data/config`
|
## Adjust Your Slicer
|
||||||
2. Empty entire `~/printer_data/config` folder. Unfortunately, for safety reasons I will not post this command here. However, in linux, you can delete files via `rm filename`.
|
|
||||||
3. `git clone -b master --single-branch https://github.com/bassamanator/Sovol-SV06-firmware.git .`
|
|
||||||
|
|
||||||
### Download the ZIP
|
> [!NOTE]
|
||||||
|
> If you are using the slicer bundles found on this repo, you can skip this section.
|
||||||
|
|
||||||
1. [Download](https://github.com/bassamanator/Sovol-SV06-firmware/archive/refs/heads/master.zip) the `ZIP` file containing the Klipper configuration.
|
### Start G-Code
|
||||||
2. The parent folder in the `ZIP` is `Sovol-SV06-firmware-master`. This is relevant in the next step.
|
|
||||||
3. Extract **only** the *contents* of the parent folder into `~/printer_data/config`.
|
|
||||||
|
|
||||||
## Initial Steps
|
It varies depending on your slicer. Find instructions [here](https://ellis3dp.com/Print-Tuning-Guide/articles/passing_slicer_variables.html#slicer-start-g-code).
|
||||||
|
|
||||||
### Step 1
|
### End G-Code
|
||||||
|
|
||||||
1. Find what port the `mcu` (SV06 motherboard) is connected to via `ls -l /dev/serial/by-id/`.
|
```
|
||||||
2. Adjust the `[mcu]` section in `printer.cfg` accordingly.
|
PRINT_END
|
||||||
|
```
|
||||||
|
|
||||||
### Step 2
|
### Line Purge
|
||||||
|
|
||||||
❗☠️ **Your finger should be on the power switch for most of these steps** ☠️❗
|
If you would like to print a purge line before your print starts, at the end of your start gcode, on a new line, add one of the following:
|
||||||
|
|
||||||
❗☠️ **Power off if there is a collision/problem** ☠️❗
|
- `PURGE_LINE`; prints a standard purge line.
|
||||||
|
- `LINE_PURGE`; prints KAMP's purge line.
|
||||||
|
|
||||||
💡 I recommend no filament be loaded for any of these steps.
|
> [!WARNING]
|
||||||
|
> Do not attempt to use `LINE_PURGE` without reading [this section](#what-do-i-need-to-know-about-kamp).
|
||||||
|
|
||||||
1. Do a `G28`; home all.
|
```yaml
|
||||||
1. Check to see if `X` and `Y` max positions (`G1 X223 F3000`, `G1 Y223 F3000`) can be reached, and adjust `position_max`, if necessary. You can probably go all the way up to `225` for `X` and `Y` both, however, I would not recommend it.
|
# 📝 This is just an example Start G-Code
|
||||||
2. Do a `G34`; mechanical gantry calibration. After the controlled collision against the beam at the top, there will be a 10 second pause for you to verify that both sides of the gantry are pressed up agaisnt the `stoppers` at the top. You will hear a succession of beeps.
|
PRINT_START ...
|
||||||
1. Figure out your `Z` `position_max` by baby stepping your way up to the beam. The range is 250 to 261 from what I've seen, could be even higher for you. Adjust `position_max`, if necessary. I can go all the way to 258 over and over again, however, I would not print anything higher than 255 probably.
|
PURGE_LINE
|
||||||
3. Pid tune the bed, but first move the printhead to the center. Ideally, all Pid tuning should occur at the temperatures that you print most at.
|
```
|
||||||
1. `G28`
|
|
||||||
2. `G1 X111 Y111 Z40 F6000`
|
[🔼 Back to top](#outline)
|
||||||
3. `PID_CALIBRATE HEATER=heater_bed TARGET=70`
|
|
||||||
4. `SAVE_CONFIG` (once completed)
|
## Support Me
|
||||||
4. Pid tune the extruder while part cooling fan runs at 25%.
|
|
||||||
1. `G28`
|
Please ⭐ star this repository!
|
||||||
2. `G1 X111 Y111 Z10 F6000`
|
|
||||||
3. `M106 S64`
|
Support [open source](https://en.wikipedia.org/wiki/Open_source), and buy me a [<img src="./misc/images/logo_white_stroke.png" height="20" alt='Ko-fi'/>](https://ko-fi.com/bassamanator).
|
||||||
4. `PID_CALIBRATE HEATER=extruder TARGET=245`
|
|
||||||
5. `SAVE_CONFIG` (once completed)
|
[🔼 Back to top](#outline)
|
||||||
5. Adjust `z_offset`. Make sure your nozzle if very clean. Paper test [reference](https://www.klipper3d.org/Bed_Level.html?h=probe_calibrate#the-paper-test).
|
|
||||||
1. `SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=60`
|
|
||||||
2. `SET_HEATER_TEMPERATURE HEATER=extruder TARGET=180`
|
|
||||||
3. Proceed to next steps after both temperatures have been reached.
|
|
||||||
4. `G28`
|
|
||||||
5. `PROBE_CALIBRATE`
|
|
||||||
6. `SAVE_CONFIG` (once completed)
|
|
||||||
6. Create a bed mesh.
|
|
||||||
1. `SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=60`
|
|
||||||
2. `SET_HEATER_TEMPERATURE HEATER=extruder TARGET=180`
|
|
||||||
3. Proceed to next steps after both temperatures have been reached.
|
|
||||||
4. `G28`
|
|
||||||
5. `BED_MESH_CALIBRATE`
|
|
||||||
6. `SAVE_CONFIG` (once completed)
|
|
||||||
|
|
||||||
## Directory Structure
|
## Directory Structure
|
||||||
|
|
||||||
This repository contains many files and folders. Some are *necessary* for this Klipper configuration to work, others are not.
|
This repository contains many files and folders. Some are _necessary_ for this Klipper configuration to work, others are not.
|
||||||
|
|
||||||
- **Necessary** items are marked with a ✅.
|
- **Necessary** items are marked with a ✅.
|
||||||
- Items that can *optionally* be deleted are marked with a ❌.
|
- Items that can _optionally_ be deleted are marked with a 💠.
|
||||||
|
<!-- tree -a -C -I '.directory' -L 1 -F -->
|
||||||
|
|
||||||
```
|
```sh
|
||||||
├── cfgs ✅
|
/home/pi/printer_data/config
|
||||||
│ ├── adxl-direct.cfg
|
├── cfgs/ ✅
|
||||||
│ ├── adxl-rp2040.cfg
|
├── CODE_OF_CONDUCT.md 💠
|
||||||
│ ├── beeper.cfg
|
├── CONTRIBUTING.md 💠
|
||||||
│ ├── misc-macros.cfg
|
├── .github/ 💠
|
||||||
│ ├── MECHANICAL_GANTRY_CALIBRATION.cfg
|
├── .gitignore 💠
|
||||||
│ ├── PARKING.cfg
|
├── images/ 💠
|
||||||
│ └── TEST_SPEED.cfg [☠️Not ready for use☠️]
|
├── LICENSE 💠
|
||||||
├── images ❌
|
├── misc/ 💠
|
||||||
│ └── githubstar.gif
|
├── moonraker.conf ✅ ❔
|
||||||
├── misc ❌
|
├── osskc.cfg ✅
|
||||||
│ ├── cup-border.png
|
├── README.md 💠
|
||||||
│ ├── klipper.bin
|
├── SECURITY.md 💠
|
||||||
│ ├── logo_white_stroke.png
|
└── .vscode/ 💠
|
||||||
│ ├── M503-output.yml
|
|
||||||
│ ├── SuperSlicer_config_bundle.ini
|
|
||||||
│ ├── sv06-buildPlate.png
|
|
||||||
│ ├── SV06-buildPlate.stl
|
|
||||||
│ └── SV06-texture.svg
|
|
||||||
├── moonraker.conf ✅
|
|
||||||
├── printer.cfg ✅
|
|
||||||
└── README.md ❌
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## <img src="./misc/cup-border.png" width="30" alt='Ko-fi'/> Support Me <img src="./misc/cup-border.png" width="30" alt='Ko-fi'/>
|
[🔼 Back to top](#outline)
|
||||||
|
|
||||||
<img src="./images/heart.gif" width="17" alt=''/> If you found my work useful, please consider buying me a [<img src="./misc/logo_white_stroke.png" height="20" alt='Ko-fi'/>](https://ko-fi.com/bassamanator).
|
## Special Considerations
|
||||||
|
|
||||||
|
### Sequential printing
|
||||||
|
|
||||||
|
If enabled, cancelling, or resuming a print from pause, could lead to collisions with previously printed objects. In order to prevent collisions, in your slicer, ensure that objects are printed from the back of the build plate to the front.
|
||||||
|
|
||||||
|
In PrusaSlicer, please see Printer Settings > Notes, for extruder clearances.
|
||||||
|
|
||||||
|
### Renamed GCODE Commands
|
||||||
|
|
||||||
|
#### BED_MESH_CALIBRATE
|
||||||
|
|
||||||
|
Renamed to `_BED_MESH_CALIBRATE`.
|
||||||
|
|
||||||
|
### Errors
|
||||||
|
|
||||||
|
#### MCU 'mcu' shutdown: Timer too close
|
||||||
|
|
||||||
|
This error often occurs when the `mcu` is unable to generate the required `microsteps`. Lower power Klipper hosts might be especially susceptible. Reducing `microsteps` to `64`, or even `32` can resolve the issue.
|
||||||
|
|
||||||
|
[🔼 Back to top](#outline)
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
##### How do I import a SuperSlicer configuration bundle (`SuperSlicer_config_bundle.ini`) into SuperSlicer?
|
### What are some settings that I can change?
|
||||||
|
|
||||||
Please see [this discussion](https://github.com/bassamanator/Sovol-SV06-firmware/discussions/13).
|
Edit the relevant file according to your needs.
|
||||||
|
|
||||||
##### How do I print using SuperSlicer?
|
| File | Section |
|
||||||
|
| ---------------------- | ------------------------ |
|
||||||
|
| `cfgs/misc-macros.cfg` | `[gcode_macro _globals]` |
|
||||||
|
|
||||||
Please see [this discussion](https://github.com/bassamanator/Sovol-SV06-firmware/discussions/14).
|
| Variable | Disable | Enable | Notes |
|
||||||
|
| ---------------------------------- | ------------- | ------------- | ---------------------------------------------- |
|
||||||
|
| `variable_beeping_enabled` | `0` (default) | `1` |
|
||||||
|
| `variable_filament_sensor_enabled` | `0` (default) | `1` |
|
||||||
|
| `variable_kamp_enable` | `0` (default) | `1` | See [here](#what-do-i-need-to-know-about-kamp) |
|
||||||
|
|
||||||
##### When does beeping occur?
|
### How do I import a configuration bundle into SuperSlicer/PrusaSlicer?
|
||||||
|
|
||||||
|
Please see this [discussion](https://github.com/bassamanator/Sovol-SV06-firmware/discussions/13).
|
||||||
|
|
||||||
|
### How do I print using SuperSlicer/PrusaSlicer?
|
||||||
|
|
||||||
|
Please see this [discussion](https://github.com/bassamanator/Sovol-SV06-firmware/discussions/14).
|
||||||
|
|
||||||
|
### When does beeping occur?
|
||||||
|
|
||||||
The printer will beep upon:
|
The printer will beep upon:
|
||||||
|
|
||||||
- Filament runout.
|
- Filament runout.
|
||||||
- Filament change/`M600`.
|
- Filament change/`M600`.
|
||||||
- Upon `PRINT_END`.
|
- Upon `PRINT_END`.
|
||||||
- `MECHANICAL_GANTRY_CALIBRATION`/`G34`.
|
- `MECHANICAL_GANTRY_CALIBRATION`/`G34`.
|
||||||
|
|
||||||
##### How do I disable beeping?
|
### I want to use a filament sensor. How do I set it up?
|
||||||
|
|
||||||
Make the following changes according to your needs. All beeping will be disabled *except* during gantry calibration.
|
You can find information about the physical setup [here](https://github.com/bassamanator/everything-sovol-sv06#filament-sensor).
|
||||||
|
|
||||||
| File | `cfgs/misc-macros.cfg` |
|
You can test the sensor via `QUERY_FILAMENT_SENSOR SENSOR=filament_sensor`.
|
||||||
| - | - |
|
|
||||||
| Section | `[gcode_macro _globals]` |
|
|
||||||
| Variable | `variable_beeping_enabled` |
|
|
||||||
| Disable beeping | `0` |
|
|
||||||
| Enable beeping | `1` |
|
|
||||||
|
|
||||||
##### I want to use a filament sensor. How do I set it up?
|
### My filament runout sensor works, but I just started a print without any filament loaded. What gives?
|
||||||
|
|
||||||
You can find information about the physical setup [here](https://github.com/bassamanator/everything-sovol-sv06#filament-sensor).
|
|
||||||
##### I have a simple filament sensor connected. How do I enable/disable it?
|
|
||||||
|
|
||||||
Make the following changes according to your needs.
|
|
||||||
|
|
||||||
| File | `cfgs/misc-macros.cfg` |
|
|
||||||
| - | - |
|
|
||||||
| Section | `[gcode_macro _globals]` |
|
|
||||||
| Variable | `variable_filament_sensor_enabled` |
|
|
||||||
| Disable sensor | `0` |
|
|
||||||
| Enable sensor | `1` |
|
|
||||||
|
|
||||||
##### My filament runout sensor works, but I just started a print without any filament loaded. What gives?
|
|
||||||
|
|
||||||
A simple runout sensor can only detect a change in state. So, if you start a print without filament loaded, the printer will not know that there is no filament loaded. You should test your sensor by having filament loaded, starting a print, then cutting the filament. The expected behaviour is that the print will pause, and as long as you have beeping enabled, you will hear 3 annoying beeps.
|
A simple runout sensor can only detect a change in state. So, if you start a print without filament loaded, the printer will not know that there is no filament loaded. You should test your sensor by having filament loaded, starting a print, then cutting the filament. The expected behaviour is that the print will pause, and as long as you have beeping enabled, you will hear 3 annoying beeps.
|
||||||
|
|
||||||
|
### What happens when I put in `M600`/colour change at a certain layer?
|
||||||
|
|
||||||
|
1. The printer will beep 3 times (not annoyingly).
|
||||||
|
2. Printing will stop.
|
||||||
|
3. The printhead will park itself front center.
|
||||||
|
4. The hotend will turn off, but the bed will remain hot.
|
||||||
|
|
||||||
|
### What happens when I pause a print?
|
||||||
|
|
||||||
|
Same behaviour as `M600`/colour change _except_ there won't be any beeping.
|
||||||
|
|
||||||
|
### What happens when filament runs out?
|
||||||
|
|
||||||
|
_If_ you have a working filament sensor, the same behaviour as `M600`/colour change will occur _except_ the beeps will be fairly annoying.
|
||||||
|
|
||||||
|
### How do I resume a print after a colour change or filament runout?
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> Do not disable the stepper motors during this process!
|
||||||
|
|
||||||
|
The printhead is now parked front center waiting for you to insert filament. You will:
|
||||||
|
|
||||||
|
1. Heat up the hotend to the desired temperature.
|
||||||
|
- Use your Klipper dashboard.
|
||||||
|
2. Purge (push) some filament through the nozzle.
|
||||||
|
- Use your Klipper dashboard, and extrude maybe 50mm (for a colour change you probably want to extrude more).
|
||||||
|
- OR, you can push some filament by hand _making sure to first disengage the extruder's spring loaded arm_.
|
||||||
|
3. Hit resume in your Klipper dashboard.
|
||||||
|
|
||||||
|
### What do I need to know about KAMP?
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> No KAMP functionality can be used on low-powered devices such as the Raspberry Pi Zero.
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> If KAMP is disabled, and there is no `default` mesh, `PRINT_START` will crash.
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> The [Label objects setting](https://docs.mainsail.xyz/overview/features/exclude-objects#enable-the-label-objects-setting-in-your-slicer) in your slicer must be enabled for KAMP to work.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> `LINE_PURGE` is useable _on appropriate devices_ even if KAMP is disabled.
|
||||||
|
|
||||||
|
This repo contains all the code from the KAMP repository, however, only the `adaptive meshing` and `LINE_PURGE` functionality of KAMP has been configured and tested for use. To enable other functionality, adjust `/cfgs/kamp/KAMP_Settings.cfg`.
|
||||||
|
|
||||||
|
Read [KAMP official docs](https://github.com/kyleisah/Klipper-Adaptive-Meshing-Purging) to learn more.
|
||||||
|
|
||||||
|
### How do I use the `TEST_SPEED` macro?
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> This is for advanced users only, with well oiled machines. You can cause serious damage to your printer if you're not careful.
|
||||||
|
|
||||||
|
Find full instructions [here](https://ellis3dp.com/Print-Tuning-Guide/articles/determining_max_speeds_accels.html).
|
||||||
|
|
||||||
|
Some tips:
|
||||||
|
|
||||||
|
- Before running with `ITERATIONS=40` with an untested speed/accel value, run with `ITERATIONS=1`.
|
||||||
|
- Pay close attention throughout the run, so that you can click ${\small{\textcolor{red}{\texttt{EMERGENCY STOP}}}}$ at a moment's notice.
|
||||||
|
- This macro will simply help you determine the maximum speed your printhead and bed can reliably move at, not necessarily print at. The bottleneck for my SV06, for example, is the 15mm/s^2 that the hotend maxes out at (well under 200mm/s actual print speed).
|
||||||
|
|
||||||
|
### How do I compile my own firmware?
|
||||||
|
|
||||||
|
Please see this [discussion](https://github.com/bassamanator/Sovol-SV06-firmware/discussions/111).
|
||||||
|
|
||||||
|
[🔼 Back to top](#outline)
|
||||||
|
|
||||||
## Useful Resources
|
## Useful Resources
|
||||||
|
|
||||||
- [Everything Sovol SV06](https://github.com/bassamanator/everything-sovol-sv06)
|
- [Everything Sovol SV06](https://github.com/bassamanator/everything-sovol-sv06)
|
||||||
- [RP2040-Zero ADXL345 Connection Klipper](https://github.com/bassamanator/rp2040-zero-adxl345-klipper)
|
- [RP2040-Zero ADXL345 Connection Klipper](https://github.com/bassamanator/rp2040-zero-adxl345-klipper)
|
||||||
- ⭐⭐⭐ [Ellis' Print Tuning Guide](https://ellis3dp.com/Print-Tuning-Guide)
|
- ⭐⭐⭐⭐⭐ [Ellis' Print Tuning Guide](https://ellis3dp.com/Print-Tuning-Guide)
|
||||||
|
- [Simplify3D Print Quality Troubleshooting Guide](https://www.simplify3d.com/resources/print-quality-troubleshooting/)
|
||||||
|
|
||||||
## Links
|
[🔼 Back to top](#outline)
|
||||||
|
|
||||||
- [SV06 Official Marlin Source Code](https://github.com/Sovol3d/Sv06-Source-Code)
|
## Sovol Official Links
|
||||||
- [SV06 Official Models](https://github.com/Sovol3d/SV06-Fully-Open-Source)
|
|
||||||
|
- [SV06 Marlin Source Code](https://github.com/Sovol3d/Sv06-Source-Code)
|
||||||
|
- [SV06 Models](https://github.com/Sovol3d/SV06-Fully-Open-Source)
|
||||||
|
- [SV06 Plus Marlin Source Code and Models](https://github.com/Sovol3d/SV06-PLUS)
|
||||||
|
|
||||||
|
[🔼 Back to top](#outline)
|
||||||
|
|
||||||
## Sources
|
## Sources
|
||||||
|
|
||||||
- https://www.klipper3d.org
|
- [https://www.klipper3d.org](https://www.klipper3d.org)
|
||||||
- https://ellis3dp.com/Print-Tuning-Guide
|
- [Ellis' Print Tuning Guide](https://ellis3dp.com/Print-Tuning-Guide)
|
||||||
- https://github.com/strayr/strayr-k-macros
|
- [Mechanical Gantry Calibration Macro](https://github.com/strayr/strayr-k-macros)
|
||||||
- https://docs.vorondesign.com/build/software/miniE3_v20_klipper.html
|
- [SV06 printer.cfg](https://github.com/spinixguy/Sovol-SV06-firmware)
|
||||||
- ⭐ https://github.com/spinixguy/Sovol-SV06-firmware
|
- [SV06 Buildplate and Texture](https://www.printables.com/model/378915-sovol-sv06-buildplate-texture-and-model-for-prusas)
|
||||||
- https://www.printables.com/model/378915-sovol-sv06-buildplate-texture-and-model-for-prusas
|
- [Ellis' SuperSlicer Profiles](https://github.com/AndrewEllis93/Ellis-SuperSlicer-Profiles)
|
||||||
- https://github.com/AndrewEllis93/Ellis-SuperSlicer-Profiles
|
- [Klipper Adaptive Meshing & Purging](https://github.com/kyleisah/Klipper-Adaptive-Meshing-Purging)
|
||||||
|
- [PrusaSlicer Print Settings](https://github.com/mjonuschat/PrusaSlicer-Profiles)
|
||||||
|
|
||||||
[](https://ko-fi.com/H2H0HIHTH)
|
[](https://ko-fi.com/H2H0HIHTH)
|
||||||
|
|
||||||
|
[🔼 Back to top](#outline)
|
||||||
|
|||||||
9
SECURITY.md
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Security Policy
|
||||||
|
|
||||||
|
## Reporting a Vulnerability
|
||||||
|
|
||||||
|
If you see any piece of code on this repository that could be a security issue, please create an [Issue](https://github.com/bassamanator/Sovol-SV06-firmware/issues/new/choose) at your earliest continence. I keep a close eye on this repository, so you should get an update from me fairly quickly.
|
||||||
|
|
||||||
|
You can also message me on [Reddit](https://www.reddit.com/user/bassamanator/) privately.
|
||||||
|
|
||||||
|
If your reported vulnerability is confirmed, you can rest assured that dealing with it will be a top priority.
|
||||||
50
cfgs/CALIBRATION.cfg
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
[gcode_macro PID_TEST_BED]
|
||||||
|
gcode:
|
||||||
|
# Parameters
|
||||||
|
{% set TARGETTEMP = params.TEMP|default(70)|int %}
|
||||||
|
|
||||||
|
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
|
||||||
|
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}
|
||||||
|
G28
|
||||||
|
G90
|
||||||
|
G1 X{max_x/2} Y{max_y/2} Z40 F6000
|
||||||
|
PID_CALIBRATE HEATER=heater_bed TARGET={TARGETTEMP}
|
||||||
|
|
||||||
|
[gcode_macro PID_TEST_HOTEND]
|
||||||
|
gcode:
|
||||||
|
# Parameters
|
||||||
|
{% set TARGETTEMP = params.TEMP|default(245)|int %}
|
||||||
|
|
||||||
|
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
|
||||||
|
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}
|
||||||
|
G28
|
||||||
|
G90
|
||||||
|
G1 X{max_x/2} Y{max_y/2} Z10 F6000
|
||||||
|
M106 S64
|
||||||
|
PID_CALIBRATE HEATER=extruder TARGET={TARGETTEMP}
|
||||||
|
M107 ; Turn off print cooling fan
|
||||||
|
|
||||||
|
# TODO test this
|
||||||
|
[gcode_macro PID_TEST_ALL]
|
||||||
|
gcode:
|
||||||
|
PID_TEST_BED
|
||||||
|
PID_TEST_HOTEND
|
||||||
|
SAVE_CONFIG
|
||||||
|
|
||||||
|
[gcode_macro DO_PROBE_CALIBRATE]
|
||||||
|
gcode:
|
||||||
|
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=60
|
||||||
|
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=180
|
||||||
|
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM=60
|
||||||
|
TEMPERATURE_WAIT SENSOR=extruder MINIMUM=180
|
||||||
|
G28
|
||||||
|
PROBE_CALIBRATE
|
||||||
|
|
||||||
|
[gcode_macro DO_CREATE_MESH]
|
||||||
|
gcode:
|
||||||
|
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=60
|
||||||
|
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=180
|
||||||
|
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM=60
|
||||||
|
TEMPERATURE_WAIT SENSOR=extruder MINIMUM=180
|
||||||
|
G28
|
||||||
|
_BED_MESH_CALIBRATE
|
||||||
@@ -72,16 +72,16 @@ gcode:
|
|||||||
SET_TMC_CURRENT STEPPER=stepper_z1 CURRENT={my_current} ; drop current
|
SET_TMC_CURRENT STEPPER=stepper_z1 CURRENT={my_current} ; drop current
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
BEEP I=1
|
CONDITIONAL_BEEP I=1
|
||||||
G4 P200 ; Probably not necessary, it is here just for sure
|
G4 P200 ; Probably not necessary, it is here just for sure
|
||||||
|
|
||||||
SET_KINEMATIC_POSITION Z={z_max - 25} ; Trick printer into beleiving the gantry is 25mm lower than it is ; CHANGED
|
SET_KINEMATIC_POSITION Z={z_max - 25} ; Trick printer into beleiving the gantry is 25mm lower than it is ; CHANGED
|
||||||
|
|
||||||
G1 Z{z_max} F{6 * 60} ; based on above figures, there will be 20mm worth of grinding ; CHANGED
|
G1 Z{z_max} F{6 * 60} ; based on above figures, there will be 20mm worth of grinding ; CHANGED
|
||||||
BEEP I=2
|
CONDITIONAL_BEEP I=2
|
||||||
G4 P10000 ; wait 10 seconds
|
G4 P10000 ; wait 10 seconds
|
||||||
G1 Z{z_max -6} F{6 * 60} ; move 4mm down
|
G1 Z{z_max -6} F{6 * 60} ; move 4mm down
|
||||||
BEEP I=3
|
CONDITIONAL_BEEP I=3
|
||||||
G4 P200 ; same as the first one
|
G4 P200 ; same as the first one
|
||||||
|
|
||||||
SET_TMC_CURRENT STEPPER=stepper_z CURRENT={oldcurrent} HOLDCURRENT={oldhold}
|
SET_TMC_CURRENT STEPPER=stepper_z CURRENT={oldcurrent} HOLDCURRENT={oldhold}
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
# NOTE This macro is not ready for use. ☠️☠️☠️
|
# NOTE Find how to use instructions here: https://ellis3dp.com/Print-Tuning-Guide/articles/determining_max_speeds_accels.html
|
||||||
|
[gcode_macro TEST_SPEED]
|
||||||
# Home, get position, throw around toolhead, home again.
|
# Home, get position, throw around toolhead, home again.
|
||||||
# If MCU stepper positions (first line in GET_POSITION) are greater than a full step different (your number of microsteps), then skipping occured.
|
# If MCU stepper positions (first line in GET_POSITION) are greater than a full step different (your number of microsteps), then skipping occured.
|
||||||
# We only measure to a full step to accomodate for endstop variance.
|
# We only measure to a full step to accomodate for endstop variance.
|
||||||
# Example: TEST_SPEED SPEED=300 ACCEL=5000 ITERATIONS=10
|
# Example: TEST_SPEED SPEED=300 ACCEL=5000 ITERATIONS=10
|
||||||
|
|
||||||
[gcode_macro TEST_SPEED]
|
description: Test for max speed and acceleration parameters for the printer. Procedure: Home -> ReadPositionFromMCU -> MovesToolhead@Vel&Accel -> Home -> ReadPositionfromMCU
|
||||||
|
|
||||||
gcode:
|
gcode:
|
||||||
# Speed
|
# Speed
|
||||||
{% set speed = params.SPEED|default(printer.configfile.settings.printer.max_velocity)|int %}
|
{% set speed = params.SPEED|default(printer.configfile.settings.printer.max_velocity)|int %}
|
||||||
@@ -12,6 +14,8 @@ gcode:
|
|||||||
{% set iterations = params.ITERATIONS|default(5)|int %}
|
{% set iterations = params.ITERATIONS|default(5)|int %}
|
||||||
# Acceleration
|
# Acceleration
|
||||||
{% set accel = params.ACCEL|default(printer.configfile.settings.printer.max_accel)|int %}
|
{% set accel = params.ACCEL|default(printer.configfile.settings.printer.max_accel)|int %}
|
||||||
|
# Minimum Cruise Ratio
|
||||||
|
{% set min_cruise_ratio = params.MIN_CRUISE_RATIO|default(0.5)|float %}
|
||||||
# Bounding inset for large pattern (helps prevent slamming the toolhead into the sides after small skips, and helps to account for machines with imperfectly set dimensions)
|
# Bounding inset for large pattern (helps prevent slamming the toolhead into the sides after small skips, and helps to account for machines with imperfectly set dimensions)
|
||||||
{% set bound = params.BOUND|default(20)|int %}
|
{% set bound = params.BOUND|default(20)|int %}
|
||||||
# Size for small pattern box
|
# Size for small pattern box
|
||||||
@@ -42,6 +46,7 @@ gcode:
|
|||||||
{ action_respond_info("TEST_SPEED: starting %d iterations at speed %d, accel %d" % (iterations, speed, accel)) }
|
{ action_respond_info("TEST_SPEED: starting %d iterations at speed %d, accel %d" % (iterations, speed, accel)) }
|
||||||
|
|
||||||
# Home and get position for comparison later:
|
# Home and get position for comparison later:
|
||||||
|
M400 # Finish moves - https://github.com/AndrewEllis93/Print-Tuning-Guide/issues/66
|
||||||
G28
|
G28
|
||||||
# QGL if not already QGLd (only if QGL section exists in config)
|
# QGL if not already QGLd (only if QGL section exists in config)
|
||||||
{% if printer.configfile.settings.quad_gantry_level %}
|
{% if printer.configfile.settings.quad_gantry_level %}
|
||||||
@@ -53,6 +58,7 @@ gcode:
|
|||||||
# Move 50mm away from max position and home again (to help with hall effect endstop accuracy - https://github.com/AndrewEllis93/Print-Tuning-Guide/issues/24)
|
# Move 50mm away from max position and home again (to help with hall effect endstop accuracy - https://github.com/AndrewEllis93/Print-Tuning-Guide/issues/24)
|
||||||
G90
|
G90
|
||||||
G1 X{printer.toolhead.axis_maximum.x-50} Y{printer.toolhead.axis_maximum.y-50} F{30*60}
|
G1 X{printer.toolhead.axis_maximum.x-50} Y{printer.toolhead.axis_maximum.y-50} F{30*60}
|
||||||
|
M400 # Finish moves - https://github.com/AndrewEllis93/Print-Tuning-Guide/issues/66
|
||||||
G28 X Y
|
G28 X Y
|
||||||
G0 X{printer.toolhead.axis_maximum.x-1} Y{printer.toolhead.axis_maximum.y-1} F{30*60}
|
G0 X{printer.toolhead.axis_maximum.x-1} Y{printer.toolhead.axis_maximum.y-1} F{30*60}
|
||||||
G4 P1000
|
G4 P1000
|
||||||
@@ -62,11 +68,14 @@ gcode:
|
|||||||
G0 X{x_min} Y{y_min} Z{bound + 10} F{speed*60}
|
G0 X{x_min} Y{y_min} Z{bound + 10} F{speed*60}
|
||||||
|
|
||||||
# Set new limits
|
# Set new limits
|
||||||
|
{% if printer.configfile.settings.printer.minimum_cruise_ratio is defined %}
|
||||||
|
SET_VELOCITY_LIMIT VELOCITY={speed} ACCEL={accel} MINIMUM_CRUISE_RATIO={min_cruise_ratio}
|
||||||
|
{% else %}
|
||||||
SET_VELOCITY_LIMIT VELOCITY={speed} ACCEL={accel} ACCEL_TO_DECEL={accel / 2}
|
SET_VELOCITY_LIMIT VELOCITY={speed} ACCEL={accel} ACCEL_TO_DECEL={accel / 2}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% for i in range(iterations) %}
|
{% for i in range(iterations) %}
|
||||||
# Large pattern
|
# Large pattern diagonals
|
||||||
# Diagonals
|
|
||||||
G0 X{x_min} Y{y_min} F{speed*60}
|
G0 X{x_min} Y{y_min} F{speed*60}
|
||||||
G0 X{x_max} Y{y_max} F{speed*60}
|
G0 X{x_max} Y{y_max} F{speed*60}
|
||||||
G0 X{x_min} Y{y_min} F{speed*60}
|
G0 X{x_min} Y{y_min} F{speed*60}
|
||||||
@@ -74,14 +83,13 @@ gcode:
|
|||||||
G0 X{x_min} Y{y_max} F{speed*60}
|
G0 X{x_min} Y{y_max} F{speed*60}
|
||||||
G0 X{x_max} Y{y_min} F{speed*60}
|
G0 X{x_max} Y{y_min} F{speed*60}
|
||||||
|
|
||||||
# Box
|
# Large pattern box
|
||||||
G0 X{x_min} Y{y_min} F{speed*60}
|
G0 X{x_min} Y{y_min} F{speed*60}
|
||||||
G0 X{x_min} Y{y_max} F{speed*60}
|
G0 X{x_min} Y{y_max} F{speed*60}
|
||||||
G0 X{x_max} Y{y_max} F{speed*60}
|
G0 X{x_max} Y{y_max} F{speed*60}
|
||||||
G0 X{x_max} Y{y_min} F{speed*60}
|
G0 X{x_max} Y{y_min} F{speed*60}
|
||||||
|
|
||||||
# Small pattern
|
# Small pattern diagonals
|
||||||
# Small diagonals
|
|
||||||
G0 X{x_center_min} Y{y_center_min} F{speed*60}
|
G0 X{x_center_min} Y{y_center_min} F{speed*60}
|
||||||
G0 X{x_center_max} Y{y_center_max} F{speed*60}
|
G0 X{x_center_max} Y{y_center_max} F{speed*60}
|
||||||
G0 X{x_center_min} Y{y_center_min} F{speed*60}
|
G0 X{x_center_min} Y{y_center_min} F{speed*60}
|
||||||
@@ -89,7 +97,7 @@ gcode:
|
|||||||
G0 X{x_center_min} Y{y_center_max} F{speed*60}
|
G0 X{x_center_min} Y{y_center_max} F{speed*60}
|
||||||
G0 X{x_center_max} Y{y_center_min} F{speed*60}
|
G0 X{x_center_max} Y{y_center_min} F{speed*60}
|
||||||
|
|
||||||
# Small box
|
# Small pattern box
|
||||||
G0 X{x_center_min} Y{y_center_min} F{speed*60}
|
G0 X{x_center_min} Y{y_center_min} F{speed*60}
|
||||||
G0 X{x_center_min} Y{y_center_max} F{speed*60}
|
G0 X{x_center_min} Y{y_center_max} F{speed*60}
|
||||||
G0 X{x_center_max} Y{y_center_max} F{speed*60}
|
G0 X{x_center_max} Y{y_center_max} F{speed*60}
|
||||||
@@ -97,10 +105,15 @@ gcode:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
# Restore max speed/accel/accel_to_decel to their configured values
|
# Restore max speed/accel/accel_to_decel to their configured values
|
||||||
|
{% if printer.configfile.settings.printer.minimum_cruise_ratio is defined %}
|
||||||
|
SET_VELOCITY_LIMIT VELOCITY={printer.configfile.settings.printer.max_velocity} ACCEL={printer.configfile.settings.printer.max_accel} MINIMUM_CRUISE_RATIO={printer.configfile.settings.printer.minimum_cruise_ratio}
|
||||||
|
{% else %}
|
||||||
SET_VELOCITY_LIMIT VELOCITY={printer.configfile.settings.printer.max_velocity} ACCEL={printer.configfile.settings.printer.max_accel} ACCEL_TO_DECEL={printer.configfile.settings.printer.max_accel_to_decel}
|
SET_VELOCITY_LIMIT VELOCITY={printer.configfile.settings.printer.max_velocity} ACCEL={printer.configfile.settings.printer.max_accel} ACCEL_TO_DECEL={printer.configfile.settings.printer.max_accel_to_decel}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Re-home and get position again for comparison:
|
# Re-home and get position again for comparison:
|
||||||
G28
|
M400 # Finish moves - https://github.com/AndrewEllis93/Print-Tuning-Guide/issues/66
|
||||||
|
G28 # This is a full G28 to fix an issue with CoreXZ - https://github.com/AndrewEllis93/Print-Tuning-Guide/issues/12
|
||||||
# Go to XY home positions (in case your homing override leaves it elsewhere)
|
# Go to XY home positions (in case your homing override leaves it elsewhere)
|
||||||
G90
|
G90
|
||||||
G0 X{printer.toolhead.axis_maximum.x-1} Y{printer.toolhead.axis_maximum.y-1} F{30*60}
|
G0 X{printer.toolhead.axis_maximum.x-1} Y{printer.toolhead.axis_maximum.y-1} F{30*60}
|
||||||
@@ -109,3 +122,4 @@ gcode:
|
|||||||
|
|
||||||
# Restore previous gcode state (absolute/relative, etc)
|
# Restore previous gcode state (absolute/relative, etc)
|
||||||
RESTORE_GCODE_STATE NAME=TEST_SPEED
|
RESTORE_GCODE_STATE NAME=TEST_SPEED
|
||||||
|
|
||||||
43
cfgs/adxl-rpi-pico-2x.cfg
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
#####################################################################
|
||||||
|
# Config that supports a print head and a bed sensor at the same time
|
||||||
|
# This requires a Raspberry Pi Pico.
|
||||||
|
# Instructions: https://klipper.discourse.group/t/raspberry-pi-pico-adxl345-portable-resonance-measurement/1757/9
|
||||||
|
# TLDR Instructions: The two sensors should use the spi0a (GPIO 0-3) and spi1a (GPIO 9-12) buses, respectively.
|
||||||
|
#
|
||||||
|
# Recommended mounts:
|
||||||
|
# https://www.printables.com/model/385334-sovol-sv06-adxl345-mount-printhead-and-bed
|
||||||
|
#
|
||||||
|
# ADXL345 related Settings
|
||||||
|
# https://www.klipper3d.org/Measuring_Resonances.html#adxl345
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
[mcu RP2040]
|
||||||
|
baud: 115200
|
||||||
|
restart_method: command
|
||||||
|
# Obtain definition by "ls -l /dev/serial/by-id/"
|
||||||
|
serial: /dev/serial/by-id/usb-Klipper_rp2040_E66138935F154C28-if00
|
||||||
|
|
||||||
|
[adxl345 head]
|
||||||
|
cs_pin: RP2040:gpio1
|
||||||
|
spi_bus: spi0a
|
||||||
|
# update axes_map if your sensor is oriented differently. Note the print on your sensor.
|
||||||
|
# -y, -z, x means that
|
||||||
|
# - the x axis of your printer corresponds to the sensor's negative y axis
|
||||||
|
# - the y axis of your printer corresponds to the sensor's negative z axis
|
||||||
|
# - the z axis of your printer corresponds to the sensor's x axis
|
||||||
|
axes_map: -y, -z, x
|
||||||
|
|
||||||
|
[adxl345 bed]
|
||||||
|
cs_pin: RP2040:gpio9
|
||||||
|
spi_bus: spi1a
|
||||||
|
|
||||||
|
[resonance_tester]
|
||||||
|
accel_chip_x: adxl345 head
|
||||||
|
accel_chip_y: adxl345 bed
|
||||||
|
probe_points: 111.5, 111.5, 20
|
||||||
|
|
||||||
|
[gcode_macro ADX]
|
||||||
|
description: Shortcut to ACCELEROMETER_QUERY for both sensors
|
||||||
|
gcode:
|
||||||
|
ACCELEROMETER_QUERY CHIP=head
|
||||||
|
ACCELEROMETER_QUERY CHIP=bed
|
||||||
120
cfgs/kamp/Adaptive_Meshing.cfg
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
# # # Klipper Adaptive Meshing # # #
|
||||||
|
|
||||||
|
# Heads up! If you have any other BED_MESH_CALIBRATE macros defined elsewhere in your config, you will need to comment out / remove them for this to work. (Klicky/Euclid Probe)
|
||||||
|
# You will also need to be sure that [exclude_object] is defined in printer.cfg, and your slicer is labeling objects.
|
||||||
|
# This macro will parse information from objects in your gcode to define a min and max mesh area to probe, creating an adaptive mesh!
|
||||||
|
# This macro will not increase probe_count values in your [bed_mesh] config. If you want richer meshes, be sure to increase probe_count. We recommend at least 5,5.
|
||||||
|
|
||||||
|
[gcode_macro BED_MESH_CALIBRATE]
|
||||||
|
rename_existing: _BED_MESH_CALIBRATE
|
||||||
|
gcode:
|
||||||
|
|
||||||
|
{% set all_points = printer.exclude_object.objects | map(attribute='polygon') | sum(start=[]) %} # Gather all object points
|
||||||
|
{% set bed_mesh_min = printer.configfile.settings.bed_mesh.mesh_min %} # Get bed mesh min from printer.cfg
|
||||||
|
{% set bed_mesh_max = printer.configfile.settings.bed_mesh.mesh_max %} # Get bed mesh max from printer.cfg
|
||||||
|
{% set probe_count = printer.configfile.settings.bed_mesh.probe_count %} # Get probe count from printer.cfg
|
||||||
|
{% set kamp_settings = printer["gcode_macro _KAMP_Settings"] %} # Pull variables from _KAMP_Settings
|
||||||
|
{% set verbose_enable = kamp_settings.verbose_enable | abs %} # Pull verbose setting from _KAMP_Settings
|
||||||
|
{% set probe_dock_enable = kamp_settings.probe_dock_enable | abs %} # Pull probe dockable probe settings from _KAMP_Settings
|
||||||
|
{% set attach_macro = kamp_settings.attach_macro | string %} # Pull attach probe command from _KAMP_Settings
|
||||||
|
{% set detach_macro = kamp_settings.detach_macro | string %} # Pull detach probe command from _KAMP_Settings
|
||||||
|
{% set mesh_margin = kamp_settings.mesh_margin | float %} # Pull mesh margin setting from _KAMP_Settings
|
||||||
|
{% set fuzz_amount = kamp_settings.fuzz_amount | float %} # Pull fuzz amount setting from _KAMP_Settings
|
||||||
|
{% set probe_count = probe_count if probe_count|length > 1 else probe_count * 2 %} # If probe count is only a single number, convert it to 2. E.g. probe_count:7 = 7,7
|
||||||
|
{% set max_probe_point_distance_x = ( bed_mesh_max[0] - bed_mesh_min[0] ) / (probe_count[0] - 1) %} # Determine max probe point distance
|
||||||
|
{% set max_probe_point_distance_y = ( bed_mesh_max[1] - bed_mesh_min[1] ) / (probe_count[1] - 1) %} # Determine max probe point distance
|
||||||
|
{% set x_min = all_points | map(attribute=0) | min | default(bed_mesh_min[0]) %} # Set x_min from smallest object x point
|
||||||
|
{% set y_min = all_points | map(attribute=1) | min | default(bed_mesh_min[1]) %} # Set y_min from smallest object y point
|
||||||
|
{% set x_max = all_points | map(attribute=0) | max | default(bed_mesh_max[0]) %} # Set x_max from largest object x point
|
||||||
|
{% set y_max = all_points | map(attribute=1) | max | default(bed_mesh_max[1]) %} # Set y_max from largest object y point
|
||||||
|
|
||||||
|
{% set fuzz_range = range((0) | int, (fuzz_amount * 100) | int + 1) %} # Set fuzz_range between 0 and fuzz_amount
|
||||||
|
{% set adapted_x_min = x_min - mesh_margin - (fuzz_range | random / 100.0) %} # Adapt x_min to margin and fuzz constraints
|
||||||
|
{% set adapted_y_min = y_min - mesh_margin - (fuzz_range | random / 100.0) %} # Adapt y_min to margin and fuzz constraints
|
||||||
|
{% set adapted_x_max = x_max + mesh_margin + (fuzz_range | random / 100.0) %} # Adapt x_max to margin and fuzz constraints
|
||||||
|
{% set adapted_y_max = y_max + mesh_margin + (fuzz_range | random / 100.0) %} # Adapt y_max to margin and fuzz constraints
|
||||||
|
|
||||||
|
{% set adapted_x_min = [adapted_x_min , bed_mesh_min[0]] | max %} # Compare adjustments to defaults and choose max
|
||||||
|
{% set adapted_y_min = [adapted_y_min , bed_mesh_min[1]] | max %} # Compare adjustments to defaults and choose max
|
||||||
|
{% set adapted_x_max = [adapted_x_max , bed_mesh_max[0]] | min %} # Compare adjustments to defaults and choose min
|
||||||
|
{% set adapted_y_max = [adapted_y_max , bed_mesh_max[1]] | min %} # Compare adjustments to defaults and choose min
|
||||||
|
|
||||||
|
{% set points_x = (((adapted_x_max - adapted_x_min) / max_probe_point_distance_x) | round(method='ceil') | int) + 1 %} # Define probe_count's x point count and round up
|
||||||
|
{% set points_y = (((adapted_y_max - adapted_y_min) / max_probe_point_distance_y) | round(method='ceil') | int) + 1 %} # Define probe_count's y point count and round up
|
||||||
|
|
||||||
|
{% if (([points_x, points_y]|max) > 6) %} #
|
||||||
|
{% set algorithm = "bicubic" %} #
|
||||||
|
{% set min_points = 4 %} #
|
||||||
|
{% else %} # Calculate if algorithm should be bicubic or lagrange
|
||||||
|
{% set algorithm = "lagrange" %} #
|
||||||
|
{% set min_points = 3 %} #
|
||||||
|
{% endif %} #
|
||||||
|
|
||||||
|
{% set points_x = [points_x , min_points]|max %} # Set probe_count's x points to fit the calculated algorithm
|
||||||
|
{% set points_y = [points_y , min_points]|max %} # Set probe_count's y points to fit the calculated algorithm
|
||||||
|
{% set points_x = [points_x , probe_count[0]]|min %}
|
||||||
|
{% set points_y = [points_y , probe_count[1]]|min %}
|
||||||
|
|
||||||
|
{% if verbose_enable == True %} # If verbose is enabled, print information about KAMP's calculations
|
||||||
|
{% if printer.exclude_object.objects != [] %}
|
||||||
|
|
||||||
|
{ action_respond_info( "Algorithm: {}.".format(
|
||||||
|
(algorithm),
|
||||||
|
)) }
|
||||||
|
|
||||||
|
{ action_respond_info("Default probe count: {},{}.".format(
|
||||||
|
(probe_count[0]),
|
||||||
|
(probe_count[1]),
|
||||||
|
)) }
|
||||||
|
|
||||||
|
{ action_respond_info("Adapted probe count: {},{}.".format(
|
||||||
|
(points_x),
|
||||||
|
(points_y),
|
||||||
|
)) }
|
||||||
|
|
||||||
|
{action_respond_info("Default mesh bounds: {}, {}.".format(
|
||||||
|
(bed_mesh_min[0],bed_mesh_min[1]),
|
||||||
|
(bed_mesh_max[0],bed_mesh_max[1]),
|
||||||
|
)) }
|
||||||
|
|
||||||
|
{% if mesh_margin > 0 %}
|
||||||
|
{action_respond_info("Mesh margin is {}, mesh bounds extended by {}mm.".format(
|
||||||
|
(mesh_margin),
|
||||||
|
(mesh_margin),
|
||||||
|
)) }
|
||||||
|
{% else %}
|
||||||
|
{action_respond_info("Mesh margin is 0, margin not increased.")}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if fuzz_amount > 0 %}
|
||||||
|
{action_respond_info("Mesh point fuzzing enabled, points fuzzed up to {}mm.".format(
|
||||||
|
(fuzz_amount),
|
||||||
|
)) }
|
||||||
|
{% else %}
|
||||||
|
{action_respond_info("Fuzz amount is 0, mesh points not fuzzed.")}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{ action_respond_info("Adapted mesh bounds: {}, {}.".format(
|
||||||
|
(adapted_x_min, adapted_y_min),
|
||||||
|
(adapted_x_max, adapted_y_max),
|
||||||
|
)) }
|
||||||
|
|
||||||
|
{action_respond_info("KAMP adjustments successful. Happy KAMPing!")}
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
|
{action_respond_info("No objects detected! Check your gcode and make sure that EXCLUDE_OBJECT_DEFINE is happening before BED_MESH_CALIBRATE is called. Defaulting to regular meshing.")}
|
||||||
|
G4 P5000 # Wait 5 seconds to make error more visible
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if probe_dock_enable == True %}
|
||||||
|
{attach_macro} # Attach/deploy a probe if the probe is stored somewhere outside of the print area
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
_BED_MESH_CALIBRATE mesh_min={adapted_x_min},{adapted_y_min} mesh_max={adapted_x_max},{adapted_y_max} ALGORITHM={algorithm} PROBE_COUNT={points_x},{points_y}
|
||||||
|
|
||||||
|
{% if probe_dock_enable == True %}
|
||||||
|
{detach_macro} # Detach/stow a probe if the probe is stored somewhere outside of the print area
|
||||||
|
{% endif %} # End of verbose
|
||||||
37
cfgs/kamp/KAMP_Settings.cfg
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# Below you can include specific configuration files depending on what you want KAMP to do:
|
||||||
|
|
||||||
|
# NOTE bassamanator: uncomment the functionality that you want to use from KAMP
|
||||||
|
[include ./Adaptive_Meshing.cfg] # Include to enable adaptive meshing configuration.
|
||||||
|
[include ./Line_Purge.cfg] # Include to enable adaptive line purging configuration.
|
||||||
|
# [include ./Voron_Purge.cfg] # Include to enable adaptive Voron logo purging configuration.
|
||||||
|
# [include ./Smart_Park.cfg] # Include to enable the Smart Park function, which parks the printhead near the print area for final heating.
|
||||||
|
|
||||||
|
[gcode_macro _KAMP_Settings]
|
||||||
|
description: This macro contains all adjustable settings for KAMP
|
||||||
|
|
||||||
|
# The following variables are settings for KAMP as a whole.
|
||||||
|
variable_verbose_enable: True # Set to True to enable KAMP information output when running. This is useful for debugging.
|
||||||
|
|
||||||
|
# The following variables are for adjusting adaptive mesh settings for KAMP.
|
||||||
|
variable_mesh_margin: 0 # Expands the mesh size in millimeters if desired. Leave at 0 to disable.
|
||||||
|
variable_fuzz_amount: 0 # Slightly randomizes mesh points to spread out wear from nozzle-based probes. Leave at 0 to disable.
|
||||||
|
|
||||||
|
# The following variables are for those with a dockable probe like Klicky, Euclid, etc. # ---------------- Attach Macro | Detach Macro
|
||||||
|
variable_probe_dock_enable: False # Set to True to enable the usage of a dockable probe. # ---------------------------------------------
|
||||||
|
variable_attach_macro: 'Attach_Probe' # The macro that is used to attach the probe. # Klicky Probe: 'Attach_Probe' | 'Dock_Probe'
|
||||||
|
variable_detach_macro: 'Dock_Probe' # The macro that is used to store the probe. # Euclid Probe: 'Deploy_Probe' | 'Stow_Probe'
|
||||||
|
# Legacy Gcode: 'M401' | 'M402'
|
||||||
|
|
||||||
|
# The following variables are for adjusting adaptive purge settings for KAMP.
|
||||||
|
variable_purge_height: 0.8 # Z position of nozzle during purge, default is 0.8.
|
||||||
|
variable_tip_distance: 0 # Distance between tip of filament and nozzle before purge. Should be similar to PRINT_END final retract amount.
|
||||||
|
variable_purge_margin: 10 # Distance the purge will be in front of the print area, default is 10.
|
||||||
|
variable_purge_amount: 30 # Amount of filament to be purged prior to printing.
|
||||||
|
variable_flow_rate: 12 # Flow rate of purge in mm3/s. Default is 12.
|
||||||
|
|
||||||
|
# The following variables are for adjusting the Smart Park feature for KAMP, which will park the printhead near the print area at a specified height.
|
||||||
|
variable_smart_park_height: 10 # Z position for Smart Park, default is 10.
|
||||||
|
|
||||||
|
gcode: # Gcode section left intentionally blank. Do not disturb.
|
||||||
|
|
||||||
|
{action_respond_info(" Running the KAMP_Settings macro does nothing, it is only used for storing KAMP settings. ")}
|
||||||
119
cfgs/kamp/Line_Purge.cfg
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
[gcode_macro LINE_PURGE]
|
||||||
|
description: A purge macro that adapts to be near your actual printed objects
|
||||||
|
gcode:
|
||||||
|
# Get relevant printer params
|
||||||
|
{% set travel_speed = (printer.toolhead.max_velocity) * 60 | float %}
|
||||||
|
{% set cross_section = printer.configfile.settings.extruder.max_extrude_cross_section | float %}
|
||||||
|
|
||||||
|
# Use firmware retraction if it is defined
|
||||||
|
{% if printer.firmware_retraction is defined %}
|
||||||
|
{% set RETRACT = G10 | string %}
|
||||||
|
{% set UNRETRACT = G11 | string %}
|
||||||
|
{% else %}
|
||||||
|
{% set RETRACT = 'G1 E-.5 F2100' | string %}
|
||||||
|
{% set UNRETRACT = 'G1 E.5 F2100' | string %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
# Get purge settings from _Kamp_Settings
|
||||||
|
{% set verbose_enable = printer["gcode_macro _KAMP_Settings"].verbose_enable | abs %}
|
||||||
|
{% set purge_height = printer["gcode_macro _KAMP_Settings"].purge_height | float %}
|
||||||
|
{% set tip_distance = printer["gcode_macro _KAMP_Settings"].tip_distance | float %}
|
||||||
|
{% set purge_margin = printer["gcode_macro _KAMP_Settings"].purge_margin | float %}
|
||||||
|
{% set purge_amount = printer["gcode_macro _KAMP_Settings"].purge_amount | float %}
|
||||||
|
{% set flow_rate = printer["gcode_macro _KAMP_Settings"].flow_rate | float %}
|
||||||
|
|
||||||
|
|
||||||
|
# Calculate purge origins and centers from objects
|
||||||
|
{% set all_points = printer.exclude_object.objects | map(attribute='polygon') | sum(start=[]) %} # Get all object points
|
||||||
|
{% set purge_x_min = (all_points | map(attribute=0) | min | default(0)) %} # Object x min
|
||||||
|
{% set purge_x_max = (all_points | map(attribute=0) | max | default(0)) %} # Object x max
|
||||||
|
{% set purge_y_min = (all_points | map(attribute=1) | min | default(0)) %} # Object y min
|
||||||
|
{% set purge_y_max = (all_points | map(attribute=1) | max | default(0)) %} # Object y max
|
||||||
|
|
||||||
|
{% set purge_x_center = ([((purge_x_max + purge_x_min) / 2) - (purge_amount / 2), 0] | max) %} # Create center point of purge line relative to print on X axis
|
||||||
|
{% set purge_y_center = ([((purge_y_max + purge_y_min) / 2) - (purge_amount / 2), 0] | max) %} # Create center point of purge line relative to print on Y axis
|
||||||
|
|
||||||
|
{% set purge_x_origin = ([purge_x_min - purge_margin, 0] | max) %} # Add margin to x min, compare to 0, and choose the larger
|
||||||
|
{% set purge_y_origin = ([purge_y_min - purge_margin, 0] | max) %} # Add margin to y min, compare to 0, and choose the larger
|
||||||
|
|
||||||
|
# Calculate purge speed
|
||||||
|
{% set purge_move_speed = (flow_rate / 5.0) * 60 | float %}
|
||||||
|
|
||||||
|
{% if cross_section < 5 %}
|
||||||
|
|
||||||
|
{action_respond_info("[Extruder] max_extrude_cross_section is insufficient for purge, please set it to 5 or greater. Purge skipped.")}
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
|
{% if verbose_enable == True %}
|
||||||
|
|
||||||
|
{action_respond_info("Moving filament tip {}mms".format(
|
||||||
|
(tip_distance),
|
||||||
|
)) }
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if printer.firmware_retraction is defined %}
|
||||||
|
{action_respond_info("KAMP purge is using firmware retraction.")}
|
||||||
|
{% else %}
|
||||||
|
{action_respond_info("KAMP purge is not using firmware retraction, it is recommended to configure it.")}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if purge_y_origin > 0 %}
|
||||||
|
|
||||||
|
{action_respond_info("KAMP purge starting at {}, {} and purging {}mm of filament, requested flow rate is {}mm3/s.".format(
|
||||||
|
(purge_x_center),
|
||||||
|
(purge_y_origin),
|
||||||
|
(purge_amount),
|
||||||
|
(flow_rate),
|
||||||
|
)) }
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
|
{action_respond_info("KAMP purge starting at {}, {} and purging {}mm of filament, requested flow rate is {}mm3/s.".format(
|
||||||
|
(purge_x_origin),
|
||||||
|
(purge_y_center),
|
||||||
|
(purge_amount),
|
||||||
|
(flow_rate),
|
||||||
|
)) }
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
SAVE_GCODE_STATE NAME=Prepurge_State # Create gcode state
|
||||||
|
|
||||||
|
{% if purge_y_origin > 0 %} # If there's room on Y, purge along X axis in front of print area
|
||||||
|
|
||||||
|
G92 E0 # Reset extruder
|
||||||
|
G0 F{travel_speed} # Set travel speed
|
||||||
|
G90 # Absolute positioning
|
||||||
|
G0 X{purge_x_center} Y{purge_y_origin} # Move to purge position
|
||||||
|
G0 Z{purge_height} # Move to purge Z height
|
||||||
|
M83 # Relative extrusion mode
|
||||||
|
G1 E{tip_distance} F{purge_move_speed} # Move filament tip
|
||||||
|
G1 X{purge_x_center + purge_amount} E{purge_amount} F{purge_move_speed} # Purge line
|
||||||
|
{RETRACT} # Retract
|
||||||
|
G0 X{purge_x_center + purge_amount + 10} F{travel_speed} # Rapid move to break string
|
||||||
|
G92 E0 # Reset extruder distance
|
||||||
|
M82 # Absolute extrusion mode
|
||||||
|
G0 Z{purge_height * 2} F{travel_speed} # Z hop
|
||||||
|
|
||||||
|
{% else %} # If there's room on X, purge along Y axis to the left of print area
|
||||||
|
|
||||||
|
G92 E0 # Reset extruder
|
||||||
|
G0 F{travel_speed} # Set travel speed
|
||||||
|
G90 # Absolute positioning
|
||||||
|
G0 X{purge_x_origin} Y{purge_y_center} # Move to purge position
|
||||||
|
G0 Z{purge_height} # Move to purge Z height
|
||||||
|
M83 # Relative extrusion mode
|
||||||
|
G1 E{tip_distance} F{purge_move_speed} # Move filament tip
|
||||||
|
G1 Y{purge_y_center + purge_amount} E{purge_amount} F{purge_move_speed} # Purge line
|
||||||
|
{RETRACT} # Retract
|
||||||
|
G0 Y{purge_y_center + purge_amount + 10} F{travel_speed} # Rapid move to break string
|
||||||
|
G92 E0 # Reset extruder distance
|
||||||
|
M82 # Absolute extrusion mode
|
||||||
|
G0 Z{purge_height * 2} F{travel_speed} # Z hop
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
RESTORE_GCODE_STATE NAME=Prepurge_State # Restore gcode state
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
38
cfgs/kamp/Smart_Park.cfg
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
[gcode_macro SMART_PARK]
|
||||||
|
description: Parks your printhead near the print area for pre-print hotend heating.
|
||||||
|
gcode:
|
||||||
|
|
||||||
|
{% set kamp_settings = printer["gcode_macro _KAMP_Settings"] %} # Pull all variables from _KAMP_Settings
|
||||||
|
{% set z_height = kamp_settings.smart_park_height | float %} # Set Z height variable
|
||||||
|
{% set purge_margin = kamp_settings.purge_margin | float %} # Set purge margin variable
|
||||||
|
{% set verbose_enable = kamp_settings.verbose_enable | abs %} # Set verbosity
|
||||||
|
{% set center_x = printer.toolhead.axis_maximum.x / 2 | float %} # Create center point of x for fallback
|
||||||
|
{% set center_y = printer.toolhead.axis_maximum.y / 2 | float %} # Create center point of y for fallback
|
||||||
|
{% set axis_minimum_x = printer.toolhead.axis_minimum.x | float %}
|
||||||
|
{% set axis_minimum_y = printer.toolhead.axis_minimum.y | float %}
|
||||||
|
{% set all_points = printer.exclude_object.objects | map(attribute='polygon') | sum(start=[]) %} # Gather all object points
|
||||||
|
{% set x_min = all_points | map(attribute=0) | min | default(center_x) %} # Set x_min from smallest object x point
|
||||||
|
{% set y_min = all_points | map(attribute=1) | min | default(center_y) %} # Set y_min from smallest object y point
|
||||||
|
{% set travel_speed = (printer.toolhead.max_velocity) * 60 | float %} # Set travel speed from config
|
||||||
|
|
||||||
|
{% if purge_margin > 0 and x_min != center_x and y_min != center_y %} # If objects are detected and purge margin
|
||||||
|
{% set x_min = [ x_min - purge_margin , x_min ] | min %} # value is greater than 0, move
|
||||||
|
{% set y_min = [ y_min - purge_margin , y_min ] | min %} # to purge location + margin
|
||||||
|
{% set x_min = [ x_min , axis_minimum_x ] | max %}
|
||||||
|
{% set y_min = [ y_min , axis_minimum_y ] | max %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if verbose_enable == True %} # Verbose park location
|
||||||
|
|
||||||
|
{ action_respond_info("Smart Park location: {},{}.".format(
|
||||||
|
(x_min),
|
||||||
|
(y_min),
|
||||||
|
)) }
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if printer.toolhead.position.z < z_height %}
|
||||||
|
G0 Z{z_height} # Move Z to park height if current Z position is lower than z_height
|
||||||
|
{% endif %}
|
||||||
|
G0 X{x_min} Y{y_min} F{travel_speed} # Move near object area
|
||||||
|
G0 Z{z_height} # Move Z to park height
|
||||||
91
cfgs/kamp/Voron_Purge.cfg
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
[gcode_macro VORON_PURGE]
|
||||||
|
description: A purge macro that adapts to be near your actual printed objects
|
||||||
|
gcode:
|
||||||
|
# Get relevant printer params
|
||||||
|
{% set travel_speed = (printer.toolhead.max_velocity) * 60 | float %}
|
||||||
|
{% set cross_section = printer.configfile.settings.extruder.max_extrude_cross_section | float %}
|
||||||
|
|
||||||
|
# Use firmware retraction if it is defined
|
||||||
|
{% if printer.firmware_retraction is defined %}
|
||||||
|
{% set RETRACT = G10 | string %}
|
||||||
|
{% set UNRETRACT = G11 | string %}
|
||||||
|
{% else %}
|
||||||
|
{% set RETRACT = 'G1 E-.5 F2100' | string %}
|
||||||
|
{% set UNRETRACT = 'G1 E.5 F2100' | string %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
# Get purge settings from _Kamp_Settings
|
||||||
|
{% set kamp_settings = printer["gcode_macro _KAMP_Settings"] %}
|
||||||
|
{% set verbose_enable = kamp_settings.verbose_enable | abs %}
|
||||||
|
{% set purge_height = kamp_settings.purge_height | float %}
|
||||||
|
{% set tip_distance = kamp_settings.tip_distance | float %}
|
||||||
|
{% set purge_margin = kamp_settings.purge_margin | float %}
|
||||||
|
{% set purge_amount = kamp_settings.purge_amount | float %}
|
||||||
|
{% set flow_rate = kamp_settings.flow_rate | float %}
|
||||||
|
{% set size = 10 | float %}
|
||||||
|
|
||||||
|
# Calculate purge origins and centers from objects
|
||||||
|
{% set all_points = printer.exclude_object.objects | map(attribute='polygon') | sum(start=[]) %} # Get all object points
|
||||||
|
{% set purge_x_min = (all_points | map(attribute=0) | min | default(0)) %} # Object x min
|
||||||
|
{% set purge_x_max = (all_points | map(attribute=0) | max | default(0)) %} # Object x max
|
||||||
|
{% set purge_y_min = (all_points | map(attribute=1) | min | default(0)) %} # Object y min
|
||||||
|
{% set purge_y_max = (all_points | map(attribute=1) | max | default(0)) %} # Object y max
|
||||||
|
|
||||||
|
{% set purge_x_center = ([((purge_x_max + purge_x_min) / 2) - (purge_amount / 2), 0] | max) %} # Create center point of purge line relative to print on X axis
|
||||||
|
{% set purge_y_center = ([((purge_y_max + purge_y_min) / 2) - (purge_amount / 2), 0] | max) %} # Create center point of purge line relative to print on Y axis
|
||||||
|
|
||||||
|
{% set purge_x_origin = ([purge_x_min - purge_margin, 0] | max) %} # Add margin to x min, compare to 0, and choose the larger
|
||||||
|
{% set purge_y_origin = ([purge_y_min - purge_margin, 0] | max) %} # Add margin to y min, compare to 0, and choose the larger
|
||||||
|
|
||||||
|
# Calculate purge speed
|
||||||
|
{% set purge_move_speed = (flow_rate / 5.0) * 60 | float %}
|
||||||
|
|
||||||
|
{% if cross_section < 5 %}
|
||||||
|
|
||||||
|
{action_respond_info("[Extruder] max_extrude_cross_section is insufficient for purge, please set it to 5 or greater. Purge skipped.")}
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
|
{% if verbose_enable == True %}
|
||||||
|
|
||||||
|
{action_respond_info("Moving filament tip {}mms".format(
|
||||||
|
(tip_distance),
|
||||||
|
)) }
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if printer.firmware_retraction is defined %}
|
||||||
|
{action_respond_info("KAMP purge is using firmware retraction.")}
|
||||||
|
{% else %}
|
||||||
|
{action_respond_info("KAMP purge is not using firmware retraction, it is recommended to configure it.")}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
SAVE_GCODE_STATE NAME=Prepurge_State # Create gcode state
|
||||||
|
|
||||||
|
G92 E0 # Reset extruder
|
||||||
|
G0 F{travel_speed} # Set travel speed
|
||||||
|
G90 # Absolute positioning
|
||||||
|
G0 X{purge_x_origin} Y{purge_y_origin+size/2} # Move to purge position
|
||||||
|
G0 Z{purge_height} # Move to purge Z height
|
||||||
|
M83 # Relative extrusion mode
|
||||||
|
G1 E{tip_distance} F{purge_move_speed} # Move tip of filament to nozzle
|
||||||
|
G1 X{purge_x_origin+size*0.289} Y{purge_y_origin+size} E{purge_amount/4} F{purge_move_speed} # Purge first line of logo
|
||||||
|
{RETRACT} # Retract
|
||||||
|
G0 Z{purge_height*2} # Z hop
|
||||||
|
G0 X{purge_x_origin+size*0.789} Y{purge_y_origin+size} # Move to second purge line origin
|
||||||
|
G0 Z{purge_height} # Move to purge Z height
|
||||||
|
{UNRETRACT} # Recover
|
||||||
|
G1 X{purge_x_origin+size*0.211} Y{purge_y_origin} E{purge_amount/2} F{purge_move_speed} # Purge second line of logo
|
||||||
|
{RETRACT} # Retract
|
||||||
|
G0 Z{purge_height*2} # Z hop
|
||||||
|
G0 X{purge_x_origin+size*0.711} Y{purge_y_origin} # Move to third purge line origin
|
||||||
|
G0 Z{purge_height} # Move to purge Z height
|
||||||
|
{UNRETRACT} # Recover
|
||||||
|
G1 X{purge_x_origin+size} Y{purge_y_origin+size/2} E{purge_amount/4} F{purge_move_speed} # Purge third line of logo
|
||||||
|
{RETRACT} # Retract
|
||||||
|
G92 E0 # Reset extruder distance
|
||||||
|
M82 # Absolute extrusion mode
|
||||||
|
G0 Z{purge_height*2} F{travel_speed} # Z hop
|
||||||
|
|
||||||
|
RESTORE_GCODE_STATE NAME=Prepurge_State # Restore gcode state
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
@@ -1,8 +1,17 @@
|
|||||||
|
[idle_timeout]
|
||||||
|
timeout: 600
|
||||||
|
|
||||||
[force_move]
|
[force_move]
|
||||||
enable_force_move: True
|
enable_force_move: True
|
||||||
|
|
||||||
[temperature_sensor raspberry_pi]
|
# NOTE If you're using a Raspberry Pi, you can uncomment the next 2 lines, optionally.
|
||||||
sensor_type: temperature_host
|
# [temperature_sensor raspberry_pi]
|
||||||
|
# sensor_type: temperature_host
|
||||||
|
|
||||||
|
# NOTE If you're using a an Orange Pi, you can uncomment the next 3 lines, optionally.
|
||||||
|
# [temperature_sensor Orange_Pi]
|
||||||
|
# sensor_type: temperature_host
|
||||||
|
# sensor_path: /sys/class/thermal/thermal_zone0/temp
|
||||||
|
|
||||||
[virtual_sdcard]
|
[virtual_sdcard]
|
||||||
path: /home/pi/printer_data/gcodes
|
path: /home/pi/printer_data/gcodes
|
||||||
@@ -14,19 +23,20 @@ path: /home/pi/printer_data/gcodes
|
|||||||
[pause_resume]
|
[pause_resume]
|
||||||
[display_status]
|
[display_status]
|
||||||
|
|
||||||
[delayed_gcode DISABLEFILAMENTSENSOR]
|
# NOTE If you have a filament sensor, uncomment the following 4 lines
|
||||||
initial_duration: 1
|
# [delayed_gcode DISABLEFILAMENTSENSOR]
|
||||||
gcode:
|
# initial_duration: 1
|
||||||
SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0
|
# gcode:
|
||||||
|
# SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0
|
||||||
|
|
||||||
[gcode_macro _globals]
|
[gcode_macro _globals]
|
||||||
variable_filament_sensor_enabled: 0 # NOTE Enable(1) or disable(0) the filament sensor, if one is connected
|
variable_filament_sensor_enabled: 0 # NOTE Enable(1) or disable(0) the filament sensor, if one is connected
|
||||||
variable_beeping_enabled: 1 # NOTE Enable(1) or disable(0) beeping everywhere except during gantry calibration
|
variable_beeping_enabled: 0 # NOTE Enable(1) or disable(0) beeping everywhere except during gantry calibration
|
||||||
variable_pre_purge_prime_length: 1.4
|
variable_bed_temp_over: 10 # NOTE Start print if bed temperature is over by this amount, otherwise wait for temperature drop
|
||||||
|
variable_kamp_enable: 0 # NOTE Enable(1) or disable(0) KAMP (adaptive mesh)
|
||||||
|
variable_pre_purge_prime_length: 1.40
|
||||||
gcode:
|
gcode:
|
||||||
SET_GCODE_VARIABLE MACRO=_globals VARIABLE=pre_purge_prime_length VALUE={ variable_pre_purge_prime_length }
|
# Don't delete this section
|
||||||
SET_GCODE_VARIABLE MACRO=_globals VARIABLE=filament_sensor_enabled VALUE={ variable_filament_sensor_enabled }
|
|
||||||
SET_GCODE_VARIABLE MACRO=_globals VARIABLE=beeping_enabled VALUE={ variable_beeping_enabled }
|
|
||||||
|
|
||||||
[gcode_macro CONDITIONAL_BEEP]
|
[gcode_macro CONDITIONAL_BEEP]
|
||||||
gcode:
|
gcode:
|
||||||
@@ -79,10 +89,7 @@ gcode:
|
|||||||
{% set PRE_PURGE_PRIME_LENGTH=printer["gcode_macro _globals"].pre_purge_prime_length|default(1.40)|float %}
|
{% set PRE_PURGE_PRIME_LENGTH=printer["gcode_macro _globals"].pre_purge_prime_length|default(1.40)|float %}
|
||||||
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
|
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
|
||||||
|
|
||||||
# Get Boundaries
|
# Misc variables
|
||||||
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
|
|
||||||
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}
|
|
||||||
{% set max_z = printer.configfile.config["stepper_z"]["position_max"]|float %}
|
|
||||||
{% set extrudeAmount = 26.6 %}
|
{% set extrudeAmount = 26.6 %}
|
||||||
{% set movementLength = 100.0 %}
|
{% set movementLength = 100.0 %}
|
||||||
{% set movementSpeed = 15 * 60 %}
|
{% set movementSpeed = 15 * 60 %}
|
||||||
@@ -100,7 +107,7 @@ gcode:
|
|||||||
M83 ; Relative extrusion mode
|
M83 ; Relative extrusion mode
|
||||||
G1 E{PRE_PURGE_PRIME_LENGTH} F500 ; pre-purge prime LENGTH SHOULD MATCH YOUR PRINT_END RETRACT
|
G1 E{PRE_PURGE_PRIME_LENGTH} F500 ; pre-purge prime LENGTH SHOULD MATCH YOUR PRINT_END RETRACT
|
||||||
G1 X{xStart + movementLength} E{extrudeAmount} F{movementSpeed} ; intro line 1
|
G1 X{xStart + movementLength} E{extrudeAmount} F{movementSpeed} ; intro line 1
|
||||||
#G1 E-.5 F2100 # Retract
|
|
||||||
G92 E0.0 ; reset extruder
|
G92 E0.0 ; reset extruder
|
||||||
M82 ; Absolute extrusion mode
|
M82 ; Absolute extrusion mode
|
||||||
G1 Z5.0 ; move nozzle to prevent scratch
|
G1 Z5.0 ; move nozzle to prevent scratch
|
||||||
@@ -116,31 +123,69 @@ gcode:
|
|||||||
|
|
||||||
[gcode_macro PRINT_START]
|
[gcode_macro PRINT_START]
|
||||||
gcode:
|
gcode:
|
||||||
|
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
|
||||||
# Parameters
|
# Parameters
|
||||||
{% set bedtemp = params.BED|int %}
|
{% set bedtemp = params.BED|int %}
|
||||||
{% set hotendtemp = params.HOTEND|int %}
|
{% set hotendtemp = params.HOTEND|int %}
|
||||||
{% set chambertemp = params.CHAMBER|default(0)|int %}
|
{% set chambertemp = params.CHAMBER|default(0)|int %}
|
||||||
|
|
||||||
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
|
# Other variables
|
||||||
|
{% set bedtempSlicer = bedtemp %}
|
||||||
|
{% set bedtempOver = printer["gcode_macro _globals"].bed_temp_over|default(0)|int %}
|
||||||
|
{% set maxVelocity = printer.configfile.settings.printer.max_velocity|default(200)|int %}
|
||||||
|
{% set maxVelocityAdjusted = (0.90 * maxVelocity * 60)|int %}
|
||||||
|
{% set kampEnabled=printer["gcode_macro _globals"].kamp_enable|default(0)|int %}
|
||||||
|
|
||||||
|
{% if printer.configfile.settings.safe_z_home %}
|
||||||
|
{% set startX = printer.configfile.settings.safe_z_home.home_xy_position[0]|float %}
|
||||||
|
{% set startY = printer.configfile.settings.safe_z_home.home_xy_position[1]|float %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% set bedtempAlmost = ((bedtemp - 2, 0, printer.heater_bed.temperature|int)|max, bedtemp)|max %}
|
||||||
|
{% set hotendtempStepOne = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 150)|max %}
|
||||||
|
{% set hotendtempStepTwo = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 170)|max %}
|
||||||
|
|
||||||
|
# If bed-temp-almost is higher than bed-temp by a maximum of bed-temp-over
|
||||||
|
{% if bedtempAlmost > bedtemp %}
|
||||||
|
{% if (bedtempAlmost - bedtempOver) <= bedtemp %}
|
||||||
|
{% set bedtemp = bedtempAlmost %}
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
G90 ; absolute positioning
|
||||||
|
M140 S{bedtempAlmost} ; set & don't wait for bed temp
|
||||||
|
M104 S{hotendtempStepOne} ; set & don't wait for hotend temp
|
||||||
G28 X Y
|
G28 X Y
|
||||||
# <insert your routines here>
|
{% if printer.configfile.settings.safe_z_home %}
|
||||||
M140 S{bedtemp} ; set & don't wait for bed temp
|
G1 X{startX} Y{startY} F{maxVelocityAdjusted}
|
||||||
M104 S{hotendtemp} ; set & don't wait for hotend temp
|
{% endif %}
|
||||||
|
|
||||||
|
M190 S{bedtempAlmost} ; set & wait for bed temp
|
||||||
|
{% if kampEnabled == 0 %}
|
||||||
|
M104 S{hotendtempStepTwo} ; set & don't wait for hotend temp
|
||||||
|
{% endif %}
|
||||||
M190 S{bedtemp} ; set & wait for bed temp
|
M190 S{bedtemp} ; set & wait for bed temp
|
||||||
# TEMPERATURE_WAIT SENSOR="temperature_sensor chamber" MINIMUM={chambertemp} ; wait for chamber temp
|
M140 S{bedtempSlicer} ; set & don't wait for bed temp ; set temp to sliced setting regardless
|
||||||
# <insert your routines here>
|
|
||||||
M109 S{hotendtemp} ; set & wait for hotend temp
|
{% if kampEnabled == 0 %}
|
||||||
# <insert your routines here>
|
BED_MESH_PROFILE LOAD=default ; NOTE if not using a mesh, comment out this line
|
||||||
|
M104 S{hotendtemp} ; set & don't wait for hotend temp
|
||||||
G28 Z ; final z homing
|
G28 Z ; final z homing
|
||||||
BED_MESH_PROFILE LOAD=default
|
{% else %}
|
||||||
|
G28 Z ; final z homing
|
||||||
|
BED_MESH_CALIBRATE ; KAMP mesh
|
||||||
|
M104 S{hotendtemp} ; set & don't wait for hotend temp
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
G1 X0 Y0 F{maxVelocityAdjusted}
|
||||||
|
M109 S{hotendtemp} ; set & wait for hotend temp
|
||||||
|
|
||||||
G1 Z20 F3000 ; move nozzle away from bed
|
G1 Z20 F3000 ; move nozzle away from bed
|
||||||
|
|
||||||
[gcode_macro PRINT_END]
|
[gcode_macro PRINT_END]
|
||||||
gcode:
|
gcode:
|
||||||
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=0
|
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=0
|
||||||
CONDITIONAL_BEEP I=2 DUR=30 FREQ=8500 ; NOTE Comment out this line to stop the beeps at the end of a print
|
CONDITIONAL_BEEP I=2 DUR=30 FREQ=8500
|
||||||
{% set PRE_PURGE_PRIME_LENGTH=printer["gcode_macro _globals"].pre_purge_prime_length|default(1.40)|float %}
|
{% set PRE_PURGE_PRIME_LENGTH=printer["gcode_macro _globals"].pre_purge_prime_length|default(1.40)|float %}
|
||||||
|
|
||||||
M400 ; wait for buffer to clear
|
M400 ; wait for buffer to clear
|
||||||
|
|||||||
@@ -1,48 +0,0 @@
|
|||||||
echo:; Linear Units:
|
|
||||||
echo: G21 ; (mm)
|
|
||||||
echo:; Temperature Units:
|
|
||||||
echo: M149 C ; Units in Celsius
|
|
||||||
echo:; Filament settings (Disabled):
|
|
||||||
echo: M200 S0 D1.75
|
|
||||||
echo:; Steps per unit:
|
|
||||||
echo: M92 X80.00 Y80.00 Z800.00 E691.50
|
|
||||||
echo:; Max feedrates (units/s):
|
|
||||||
echo: M203 X500.00 Y500.00 Z10.00 E30.00
|
|
||||||
echo:; Max Acceleration (units/s2):
|
|
||||||
echo: M201 X500.00 Y500.00 Z100.00 E5000.00
|
|
||||||
echo:; Acceleration (units/s2) (P<print-accel> R<retract-accel> T<travel-accel>):
|
|
||||||
echo: M204 P500.00 R500.00 T1000.00
|
|
||||||
echo:; Advanced (B<min_segment_time_us> S<min_feedrate> T<min_travel_feedrate> X<max_x_jerk> Y<max_y_jerk> Z<max_z_jerk> E<max_e_jerk>):
|
|
||||||
echo: M205 B20000.00 S0.00 T0.00 X8.00 Y8.00 Z0.40 E5.00
|
|
||||||
echo:; Home offset:
|
|
||||||
echo: M206 X0.00 Y0.00 Z0.00
|
|
||||||
echo:; Auto Bed Leveling:
|
|
||||||
echo: M420 S0 Z10.00 ; Leveling OFF
|
|
||||||
echo:; Material heatup parameters:
|
|
||||||
echo: M145 S0 H185.00 B60.00 F255
|
|
||||||
echo: M145 S1 H240.00 B80.00 F255
|
|
||||||
echo:; Hotend PID:
|
|
||||||
echo: M301 P15.95 I1.30 D48.96
|
|
||||||
echo:; Bed PID:
|
|
||||||
echo:echo: M304 P110.38 I6.12 D497.30
|
|
||||||
echo:; User thermistors:
|
|
||||||
echo: M305 P0 R4700.0 T94162.0 B4160.0 C0.000000000 ; HOTEND 0
|
|
||||||
echo:; Power-loss recovery:
|
|
||||||
echo: M413 S1 ; ON
|
|
||||||
echo:; Z-Probe Offset:
|
|
||||||
echo: M851 X25.00 Y-25.00 Z0.00 ; (mm)
|
|
||||||
echo:; Stepper driver current:
|
|
||||||
echo: M906 X860 Y900 Z800
|
|
||||||
echo: M906 T0 E550
|
|
||||||
echo:; Hybrid Threshold:
|
|
||||||
echo: M913 X183 Y183 Z41
|
|
||||||
echo: M913 T0 E60
|
|
||||||
echo:; StallGuard threshold:
|
|
||||||
echo: M914 X68 Y70
|
|
||||||
echo:; Driver stepping mode:
|
|
||||||
echo: M569 S1 X Y Z
|
|
||||||
echo: M569 S1 T0 E
|
|
||||||
echo:; Linear Advance:
|
|
||||||
echo: M900 K0.04
|
|
||||||
echo:; Filament load/unload:
|
|
||||||
echo: M603 L0.00 U50.00 ; (mm)
|
|
||||||
3431
misc/PrusaSlicer_config_bundle-SV06-SV07-All.ini
Normal file
|
Before Width: | Height: | Size: 13 KiB |
45
misc/compile-how-to.md
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
${\small{\textcolor{green}{\texttt{2 minute read}}}}$
|
||||||
|
|
||||||
|
#### Do I need to re-flash the motherboard?
|
||||||
|
|
||||||
|
You will _almost never_ need to re-flash `klipper.bin`. When this is needed, your dashboard will explicitly tell you that you need to re-flash.
|
||||||
|
|
||||||
|
#### Where does Klipper live?
|
||||||
|
|
||||||
|
1. On the motherboard.
|
||||||
|
2. On the host device (Raspberry Pi, etc.).
|
||||||
|
|
||||||
|
🗒️ These 2 versions of klipper can rightly differ.
|
||||||
|
|
||||||
|
#### Should I update Klipper, moonraker, etc.?
|
||||||
|
|
||||||
|
I always update everything on the host device via the dashboard. I don't want to miss out on improvements, especially those that improve safety. What this means is that on some occasions, there will be breaking changes: you will need to change a few things in your config **before you can print**. I would suggest that if you absolutely have to get something printed immediately and there's an update, perhaps wait till after the print completes to do the update.
|
||||||
|
|
||||||
|
Others will argue that 'if it ain't broke, don't fix it'.
|
||||||
|
|
||||||
|
You have to decide what camp you want to be apart off.
|
||||||
|
|
||||||
|
#### How-To
|
||||||
|
|
||||||
|
##### Update Klipper repo first
|
||||||
|
|
||||||
|
\*\* _For those coming from the_ ${\small{\textcolor{WildStrawberry}{\texttt{Before You B.egin}}}}$ _section (installing Klipper for the first time), complete_ **only** _this section_. No need to compile the firmware, etc.
|
||||||
|
|
||||||
|
It's always best to update the Klipper repository that lives on the host before compiling. This ensures that your `klipper.bin` will be as 'fresh' as possible.
|
||||||
|
|
||||||
|
- In `Fluidd`, you can do this from `Settings` > `Software Updates`.
|
||||||
|
- In `Mainsail`, you can do this from `Machine` > `Update Manager`.
|
||||||
|
|
||||||
|
##### Compile `klipper.bin`
|
||||||
|
|
||||||
|
🗒️ The `compilation settings` you see in the image below apply only the the `SV06/Plus` boards, but the steps for compilation apply to any board.
|
||||||
|
|
||||||
|
1. `ssh` into the Klipper host (i.e., RPi, OrangePi, etc.).
|
||||||
|
2. `cd ~/klipper`
|
||||||
|
3. `make menuconfig`
|
||||||
|
4. Set things up to look as follows:
|
||||||
|

|
||||||
|
5. `make clean`
|
||||||
|
- Clears `~/klipper/out/`
|
||||||
|
6. `make`
|
||||||
|
- Compiles `klipper.bin` and puts it in `~/klipper/out/`
|
||||||
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
BIN
misc/images/make-menuconfig.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 160 KiB |
73
misc/update-hot-to.md
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
\*\* _Flashing the firmware is not required for any method_
|
||||||
|
|
||||||
|
## Should You Update?
|
||||||
|
|
||||||
|
I treat this config like software, and like any piece of modern software, it will require periodic updates to fix issues, add features, improve functionality, etc. So, if you want to have the latest and greatest, I recommend you periodically pull the changes from this repo.
|
||||||
|
|
||||||
|
### What Changes Should You Be Concerned With
|
||||||
|
|
||||||
|
The only changes you need to be concerned with relate to the `.cfg` and `.conf` files; all changes to `.md` files (these are markdown files, the text that you see when you visit this repo) can be ignored.
|
||||||
|
|
||||||
|
### Git Users
|
||||||
|
|
||||||
|
If you do a `git diff origin/master --name-only` and it shows you that a `.cfg` file has changed, you might want to pull in those changes (but you don't have to).
|
||||||
|
|
||||||
|
### Non-Git Users
|
||||||
|
|
||||||
|
Unfortunately, there's no simple way for you to ascertain whether there have been changes. I simply recommend that you update your config via the instructions below from time to time.
|
||||||
|
|
||||||
|
## Hot to Update
|
||||||
|
|
||||||
|
There are three methods to accomplish this:
|
||||||
|
|
||||||
|
1. The correct method, using `git`.
|
||||||
|
2. The mostly acceptable method, without using `git`.
|
||||||
|
3. The start-from-scratch method. _Recommended for non-git users and those who haven't made many changes to their configuration._
|
||||||
|
|
||||||
|
### The `git` method.
|
||||||
|
|
||||||
|
⚠️ This method is only intended for those who already know how to use `git`.
|
||||||
|
|
||||||
|
🗒️ In this example, I'm using the `master` branch which applies to SV06 users only. Be sure to use the appropriate branch for your printer.
|
||||||
|
|
||||||
|
🗒️ The assumption is that you didn't change branches after the initial setup, so you are in `master`, and there are many untracked changes.
|
||||||
|
|
||||||
|
1. `ssh` into your Klipper host.
|
||||||
|
2. `cd ~/printer_data/config`
|
||||||
|
3. `git checkout -b my-settings`
|
||||||
|
4. `git add .`
|
||||||
|
5. `git commit -m "Saving my settings."`
|
||||||
|
6. `git checkout master`
|
||||||
|
7. `git pull`
|
||||||
|
8. `git checkout my-settings`
|
||||||
|
9. `git merge master --no-ff --no-commit`
|
||||||
|
10. Deal with comparing and pulling in incoming changes from `master` using your favourite code editor. You can also do this from the command line via `git commit --interactive`, however, only advanced `git` users should attempt this, though it is easy enough.
|
||||||
|
11. Add all welcomed changes to the staging area, and discard all other changes.
|
||||||
|
12. `git commit -m "Update with upstream."`
|
||||||
|
|
||||||
|
You should push your branch to your own fork of this repo.
|
||||||
|
|
||||||
|
For any future updates, you can run through the same process again, however, you cannot re-create the `my-settings` branch as you did in `step 3`, because it already exists. Simply omit the `-b` flag in `step 3` next time you update.
|
||||||
|
|
||||||
|
### The mostly acceptable method.
|
||||||
|
|
||||||
|
This method has shortcomings, because it relies on the user's memory, and requires more manual edits. Perfectly functional method, however.
|
||||||
|
|
||||||
|
1. Read all the documentation.
|
||||||
|
2. Backup your current configuration, essentially everything inside `~/printer_data/config`.
|
||||||
|
3. Repeat steps in [Download OSS Klipper Configuration](https://github.com/bassamanator/Sovol-SV06-firmware#download-oss-klipper-configuration), and [Adjust Configuration with MCU Path](https://github.com/bassamanator/Sovol-SV06-firmware#adjust-configuration-with-mcu-path).
|
||||||
|
4. Copy everything from `#*# <---------------------- SAVE_CONFIG ---------------------->` onward and paste into new `printer.cfg`, inclusive.
|
||||||
|
5. Copy any other changes you might have made into the new configuration. Maybe you had adjusted the size of your printer (`position_max`), or other such changes.
|
||||||
|
|
||||||
|
### The start-from-scratch method.
|
||||||
|
|
||||||
|
1. Delete the folder `~/printer_data/config`.
|
||||||
|
2. Recreate the folder `~/printer_data/config` via `mkdir ~/printer_data/config`.
|
||||||
|
3. Start the Klipper installation process starting from `Download OSS Klipper Configuration` in the appropriate branch.
|
||||||
|
|
||||||
|
## Linux Tips
|
||||||
|
|
||||||
|
- In linux, you can delete files via `rm fileName` and directories via `rmdir directoryName`.
|
||||||
|
- In linux, you can list files and folders via `ls -lah`.
|
||||||
|
|
||||||
|
You are now up-to-date with this repo, and have added your personal settings on top.
|
||||||
11
osskc.cfg
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[include ./cfgs/misc-macros.cfg]
|
||||||
|
[include ./cfgs/PARKING.cfg]
|
||||||
|
[include ./cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg]
|
||||||
|
[include ./cfgs/CALIBRATION.cfg]
|
||||||
|
[include ./cfgs/kamp/KAMP_Settings.cfg]
|
||||||
|
[include ./cfgs/TEST_SPEED.cfg]
|
||||||
|
|
||||||
|
# NOTE Uncomment the ONE of the following lines if you're using an adxl345
|
||||||
|
# [include ./cfgs/adxl-rp2040.cfg]
|
||||||
|
# [include ./cfgs/adxl-rpi-pico-2x.cfg]
|
||||||
|
# [include ./cfgs/adxl-direct.cfg]
|
||||||
231
printer.cfg
@@ -1,231 +0,0 @@
|
|||||||
# This file contains pin mappings for the stock Sovol SV06.
|
|
||||||
#
|
|
||||||
# Find installation instructions at https://github.com/bassamanator/Sovol-SV06-firmware
|
|
||||||
#
|
|
||||||
# See https://www.klipper3d.org/Config_Reference.html for configuration reference.
|
|
||||||
|
|
||||||
[include ./cfgs/misc-macros.cfg]
|
|
||||||
[include ./cfgs/PARKING.cfg]
|
|
||||||
[include ./cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg]
|
|
||||||
|
|
||||||
# NOTE Uncomment the ONE of the following lines if you're using an adxl345
|
|
||||||
# [include ./cfgs/adxl-rp2040.cfg]
|
|
||||||
# [include ./cfgs/adxl-direct.cfg]
|
|
||||||
|
|
||||||
[mcu]
|
|
||||||
# NOTE Obtain definition by "ls -l /dev/serial/by-id/"
|
|
||||||
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
|
|
||||||
restart_method: command
|
|
||||||
|
|
||||||
[printer]
|
|
||||||
kinematics: cartesian
|
|
||||||
max_velocity: 200
|
|
||||||
max_accel: 3000
|
|
||||||
max_z_velocity: 15
|
|
||||||
max_z_accel: 45
|
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
# X/Y/Z Stepper Settings
|
|
||||||
#####################################################################
|
|
||||||
|
|
||||||
[stepper_x]
|
|
||||||
step_pin: PC2
|
|
||||||
dir_pin: !PB9
|
|
||||||
enable_pin: !PC3
|
|
||||||
microsteps: 64
|
|
||||||
rotation_distance: 40
|
|
||||||
endstop_pin: tmc2209_stepper_x:virtual_endstop
|
|
||||||
position_endstop: 0
|
|
||||||
position_max: 223 # NOTE You can adjust this if you have more room
|
|
||||||
homing_speed: 40
|
|
||||||
homing_retract_dist: 0
|
|
||||||
|
|
||||||
[tmc2209 stepper_x]
|
|
||||||
uart_pin: PC1
|
|
||||||
run_current: 0.860
|
|
||||||
stealthchop_threshold: 0
|
|
||||||
interpolate: False
|
|
||||||
sense_resistor: 0.150
|
|
||||||
uart_address: 3
|
|
||||||
driver_SGTHRS: 81
|
|
||||||
diag_pin: PA5
|
|
||||||
|
|
||||||
[stepper_y]
|
|
||||||
step_pin: PB8
|
|
||||||
dir_pin: PB7
|
|
||||||
enable_pin: !PC3
|
|
||||||
microsteps: 64
|
|
||||||
rotation_distance: 40
|
|
||||||
endstop_pin: tmc2209_stepper_y:virtual_endstop
|
|
||||||
position_endstop: 0
|
|
||||||
position_max: 223 # NOTE You can adjust this if you have more room
|
|
||||||
homing_speed: 40
|
|
||||||
homing_retract_dist: 0
|
|
||||||
|
|
||||||
[tmc2209 stepper_y]
|
|
||||||
uart_pin: PC0
|
|
||||||
run_current: 0.900
|
|
||||||
stealthchop_threshold: 0
|
|
||||||
interpolate: False
|
|
||||||
sense_resistor: 0.150
|
|
||||||
uart_address: 3
|
|
||||||
driver_SGTHRS: 81
|
|
||||||
diag_pin: PA6
|
|
||||||
|
|
||||||
[stepper_z]
|
|
||||||
step_pin: PB6
|
|
||||||
dir_pin: !PB5
|
|
||||||
enable_pin: !PC3
|
|
||||||
microsteps: 64
|
|
||||||
rotation_distance: 4
|
|
||||||
endstop_pin: probe:z_virtual_endstop
|
|
||||||
position_min: -4
|
|
||||||
position_max: 258 # NOTE You can adjust this if you have more room
|
|
||||||
homing_speed: 5
|
|
||||||
|
|
||||||
[tmc2209 stepper_z]
|
|
||||||
uart_pin: PA15
|
|
||||||
run_current: 1.000
|
|
||||||
stealthchop_threshold: 0
|
|
||||||
interpolate: False
|
|
||||||
sense_resistor: 0.150
|
|
||||||
uart_address: 3
|
|
||||||
diag_pin: PA7
|
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
# Extruder
|
|
||||||
#####################################################################
|
|
||||||
|
|
||||||
[extruder]
|
|
||||||
step_pin: PB4
|
|
||||||
dir_pin: !PB3
|
|
||||||
enable_pin: !PC3
|
|
||||||
microsteps: 64
|
|
||||||
rotation_distance: 4.65 # NOTE Calibrate e-steps and adjust https://www.klipper3d.org/Rotation_Distance.html
|
|
||||||
nozzle_diameter: 0.400
|
|
||||||
filament_diameter: 1.750
|
|
||||||
heater_pin: PA1
|
|
||||||
sensor_type: EPCOS 100K B57560G104F
|
|
||||||
sensor_pin: PC5
|
|
||||||
control: pid
|
|
||||||
pid_kd: 86.991
|
|
||||||
pid_kp: 21.479
|
|
||||||
pid_ki: 1.326
|
|
||||||
min_temp: 0
|
|
||||||
max_temp: 300
|
|
||||||
max_extrude_only_distance: 150.0
|
|
||||||
|
|
||||||
[tmc2209 extruder]
|
|
||||||
uart_pin: PC14
|
|
||||||
run_current: 0.550
|
|
||||||
stealthchop_threshold: 0
|
|
||||||
interpolate: False
|
|
||||||
sense_resistor: 0.150
|
|
||||||
uart_address: 3
|
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
# Bed Heater
|
|
||||||
#####################################################################
|
|
||||||
|
|
||||||
[heater_bed]
|
|
||||||
heater_pin: PA2
|
|
||||||
sensor_type: EPCOS 100K B57560G104F
|
|
||||||
sensor_pin: PC4
|
|
||||||
control: pid
|
|
||||||
pid_kp: 64.440
|
|
||||||
pid_ki: 0.773
|
|
||||||
pid_kd: 1343.571
|
|
||||||
min_temp: 0
|
|
||||||
max_temp: 110
|
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
# Probe Related
|
|
||||||
#####################################################################
|
|
||||||
|
|
||||||
[probe]
|
|
||||||
pin: PB1
|
|
||||||
x_offset: 27
|
|
||||||
y_offset: -20
|
|
||||||
z_offset: 0
|
|
||||||
samples: 3
|
|
||||||
samples_result: median
|
|
||||||
samples_tolerance: 0.01
|
|
||||||
samples_tolerance_retries: 5
|
|
||||||
|
|
||||||
[safe_z_home]
|
|
||||||
home_xy_position: 84.50, 135 # NOTE The probe is at the center of the bed.
|
|
||||||
speed: 100.0
|
|
||||||
z_hop: 10
|
|
||||||
z_hop_speed: 15
|
|
||||||
|
|
||||||
[bed_mesh]
|
|
||||||
speed: 175
|
|
||||||
mesh_min: 27, 5
|
|
||||||
mesh_max: 222, 203
|
|
||||||
probe_count: 5,5
|
|
||||||
algorithm: bicubic
|
|
||||||
fade_start: 1
|
|
||||||
fade_end: 10
|
|
||||||
fade_target: 0
|
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
# Fans
|
|
||||||
#####################################################################
|
|
||||||
|
|
||||||
[fan]
|
|
||||||
pin: PA0
|
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
# Misc
|
|
||||||
#####################################################################
|
|
||||||
|
|
||||||
[display]
|
|
||||||
lcd_type: st7920
|
|
||||||
cs_pin: PB12
|
|
||||||
sclk_pin: PB13
|
|
||||||
sid_pin: PB15
|
|
||||||
encoder_pins: ^PB14, ^PB10
|
|
||||||
click_pin: ^!PB2
|
|
||||||
|
|
||||||
[bed_screws]
|
|
||||||
screw1: 26.5, 31
|
|
||||||
screw1_name: front left
|
|
||||||
screw2: 196.75, 31
|
|
||||||
screw2_name: front right
|
|
||||||
screw3: 196.75, 201
|
|
||||||
screw3_name: back right
|
|
||||||
screw4: 26.5, 201
|
|
||||||
screw4_name: back left
|
|
||||||
|
|
||||||
[screws_tilt_adjust]
|
|
||||||
screw1: 111.5, 116.5
|
|
||||||
screw1_name: center
|
|
||||||
screw2: 26.5, 31
|
|
||||||
screw2_name: front left
|
|
||||||
screw3: 196.75, 31
|
|
||||||
screw3_name: front right
|
|
||||||
screw4: 196.75, 201
|
|
||||||
screw4_name: back right
|
|
||||||
screw5: 26.5, 201
|
|
||||||
screw5_name: back left
|
|
||||||
speed: 50
|
|
||||||
horizontal_move_z: 10
|
|
||||||
screw_thread: CCW-M4
|
|
||||||
|
|
||||||
[output_pin beeper]
|
|
||||||
pin: PC6
|
|
||||||
value: 0
|
|
||||||
shutdown_value: 0
|
|
||||||
pwm: True
|
|
||||||
cycle_time: 0.0005 ; Default beeper tone in kHz. 1 / 0.0005 = 2000Hz (2kHz)
|
|
||||||
|
|
||||||
[filament_switch_sensor filament_sensor]
|
|
||||||
switch_pin: !PA4 # "Pulled-high"
|
|
||||||
pause_on_runout: True
|
|
||||||
insert_gcode:
|
|
||||||
M117 Insert Detected
|
|
||||||
{ action_respond_info("Insert Detected") }
|
|
||||||
runout_gcode:
|
|
||||||
M117 Runout Detected
|
|
||||||
{ action_respond_info("Runout Detected") }
|
|
||||||
CONDITIONAL_BEEP i=3 dur=300 freq=400
|
|
||||||