Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f4f28af1c | ||
|
|
8b93ba07d9 | ||
|
|
51682be329 | ||
|
|
353bdc730f | ||
|
|
c3ef1dd789 | ||
|
|
2b7ad19d7f | ||
|
|
367d1244e8 | ||
|
|
95d3d46b8c | ||
|
|
af1de12f28 | ||
|
|
65c4b172e8 | ||
|
|
dcad47bb51 | ||
|
|
925f30f44a | ||
|
|
3780aa0c8d | ||
|
|
da3d17adbf | ||
|
|
93bb6aeb65 | ||
|
|
adb150a2c7 | ||
|
|
d9a6d0caa6 | ||
|
|
e3cbc1ea8c | ||
|
|
1c06e55442 | ||
|
|
35007af482 | ||
|
|
4800b56492 | ||
|
|
bd98e758ec | ||
|
|
aa25a96f2b | ||
|
|
90fc3288d7 | ||
|
|
e7b58edfbf | ||
|
|
9ba8d04861 | ||
|
|
dd497d592d | ||
|
|
2e5da0125f | ||
|
|
5fa1e44f16 | ||
|
|
189df7921f | ||
|
|
37e71e17f9 | ||
|
|
7dbe11e0b5 | ||
|
|
168e75059a | ||
|
|
8053e97d10 | ||
|
|
77a24ec809 | ||
|
|
fb0d0bb909 | ||
|
|
06b2246db1 | ||
|
|
0a3dfbeb10 | ||
|
|
462b3eff96 | ||
|
|
4cbd48bc97 | ||
|
|
a18df245e3 | ||
|
|
7a64682d6e | ||
|
|
bd87737467 | ||
|
|
365b9bde4f | ||
|
|
5b5b1f0485 | ||
|
|
520ba44c96 | ||
|
|
b7d1086c15 | ||
|
|
1fc23d30cb | ||
|
|
5a5fe7a609 | ||
|
|
32d853472e | ||
|
|
fe81370825 | ||
|
|
c27b3fefc4 | ||
|
|
6d5eb09010 | ||
|
|
5713a348de | ||
|
|
de422f23ad | ||
|
|
3a7818bd35 | ||
|
|
34f9b958a7 | ||
|
|
3f11897491 | ||
|
|
8d9236a2df | ||
|
|
cb5b77303f | ||
|
|
71dcb1f91d | ||
|
|
403a3024ce | ||
|
|
87ad2a70ba | ||
|
|
7ba9e49374 | ||
|
|
ae03e7d55d | ||
|
|
72c6bdfe33 | ||
|
|
3c69bcb4c4 | ||
|
|
a149796b19 | ||
|
|
1d2a89b4e7 | ||
|
|
2a9044e4f4 | ||
|
|
870256df09 | ||
|
|
d0ab325744 | ||
|
|
432305bec9 | ||
|
|
46311e58f1 | ||
|
|
0d05ef3b59 | ||
|
|
f19d39fce1 | ||
|
|
ff292f77c9 | ||
|
|
b249c79180 | ||
|
|
e8a2d3443e | ||
|
|
fab620dce7 | ||
|
|
06240ee872 | ||
|
|
12a79ed2c7 | ||
|
|
ca71953cfa | ||
|
|
304e285b7f | ||
|
|
c02d001e9d | ||
|
|
d589a1e31c | ||
|
|
797ea99f33 | ||
|
|
0cc58c0f08 | ||
|
|
ffc5ff3c06 | ||
|
|
d6b700381b | ||
|
|
f9af11d635 | ||
|
|
3ba6bd657f | ||
|
|
fff7f66780 | ||
|
|
6190581101 | ||
|
|
0f47d45294 | ||
|
|
f94c7d38eb | ||
|
|
cb1793836c | ||
|
|
9da9f4d11e | ||
|
|
062e51f9be | ||
|
|
294623c13f | ||
|
|
828b5b6a4b | ||
|
|
d3480cf571 | ||
|
|
b5abd3d7b9 | ||
|
|
4f86de8c80 | ||
|
|
5fb0acc3ac | ||
|
|
5a0df3a628 | ||
|
|
baae949beb | ||
|
|
eb0e6ad803 | ||
|
|
a973300d2f | ||
|
|
391254057a | ||
|
|
efc8c3f437 | ||
|
|
2c582acc7b | ||
|
|
7cf89aa014 | ||
|
|
540528630b | ||
|
|
92ed72e48b | ||
|
|
4920720c99 | ||
|
|
2241b54153 | ||
|
|
dbe3f03019 | ||
|
|
7a7d275c31 | ||
|
|
3b8b8e9c9b | ||
|
|
35498d39c7 | ||
|
|
8a29b6e125 | ||
|
|
c5522b29da | ||
|
|
c1d8a4f033 | ||
|
|
f7c12867d5 | ||
|
|
f0a33bd360 | ||
|
|
72c1b1d5f2 | ||
|
|
ff94b45c45 | ||
|
|
1813533bec | ||
|
|
fa73daaf71 | ||
|
|
b74b1b600f | ||
|
|
88afa50ea3 | ||
|
|
65588424bf | ||
|
|
7a0848fa9f | ||
|
|
791938d733 | ||
|
|
2d61eba66b | ||
|
|
1e4885d291 | ||
|
|
1462c8d08c | ||
|
|
c38a3273f3 | ||
|
|
2a0ea6e248 | ||
|
|
eb24987b27 | ||
|
|
85ba01f2d8 | ||
|
|
5d4459ff0b | ||
|
|
0798ce0737 | ||
|
|
6781043942 | ||
|
|
be13c1086e | ||
|
|
4db7fd288c | ||
|
|
3dc535f8fb | ||
|
|
6b62adbfef | ||
|
|
0e877ac5d6 | ||
|
|
1ab9b96db7 | ||
|
|
8e77d24505 | ||
|
|
a77148b603 | ||
|
|
46dd978dcc | ||
|
|
17dd3bb83a | ||
|
|
7905e4d7fa | ||
|
|
b337d27dd4 | ||
|
|
1e741ee439 | ||
|
|
49d910af2b | ||
|
|
ebaedeaf6c | ||
|
|
0b973ad4c5 | ||
|
|
13a358acd8 | ||
|
|
54e7a8b6a2 | ||
|
|
abacff9bd5 | ||
|
|
d21a9616e7 | ||
|
|
282799c8cb | ||
|
|
d775e15fa0 | ||
|
|
a1c602b46d | ||
|
|
0f97f6e32c | ||
|
|
da9f970231 | ||
|
|
3417765223 | ||
|
|
b963c55140 | ||
|
|
2d8419ca13 | ||
|
|
5f3827a2cb | ||
|
|
d6f7bdcfe6 | ||
|
|
87c3f03719 | ||
|
|
094b90cf86 | ||
|
|
3220f084ec | ||
|
|
dfe1ac8d2c | ||
|
|
be473bf626 | ||
|
|
b353f8526e | ||
|
|
122752b000 | ||
|
|
0f0c6f9b6e | ||
|
|
18af1d1410 | ||
|
|
926d78de01 | ||
|
|
a5b639fba2 | ||
|
|
55af0d753c | ||
|
|
d6693fbecc | ||
|
|
e426b06b8b | ||
|
|
c722674918 | ||
|
|
3d7e92f507 | ||
|
|
fc7b8c5304 | ||
|
|
a6bb0fd02e | ||
|
|
dcb6d18709 | ||
|
|
69571c88b8 | ||
|
|
c33b5d6311 | ||
|
|
49add980b3 | ||
|
|
8d8d3bf9af | ||
|
|
059f1a8026 | ||
|
|
eeffdd26dd | ||
|
|
5de5e1e3eb | ||
|
|
485c82c53f | ||
|
|
4e60f65404 | ||
|
|
85cec193f9 | ||
|
|
34055277e0 | ||
|
|
9b4c58369e | ||
|
|
b96adf55ed | ||
|
|
f6afb4d4ab | ||
|
|
3c5449f0db | ||
|
|
c828d8349c | ||
|
|
9fa047eb8b | ||
|
|
82b8cbcca5 | ||
|
|
1f5a090bfd | ||
|
|
e4d5cd65ce | ||
|
|
502d9699bd | ||
|
|
d2d2c82041 | ||
|
|
1375c823c9 | ||
|
|
74338a7f3e | ||
|
|
778cd84ba8 | ||
|
|
a83f499c0c | ||
|
|
70d7564a78 | ||
|
|
f31ae7a829 | ||
|
|
701ff35652 | ||
|
|
7120c424d4 | ||
|
|
413e822fa5 | ||
|
|
75c716f9a1 | ||
|
|
41a8ebf084 | ||
|
|
57ce346d69 | ||
|
|
753be13a0c | ||
|
|
06bf269862 | ||
|
|
45e1f652db | ||
|
|
6a95e46a18 | ||
|
|
250574bc41 | ||
|
|
f49e1ef6c4 | ||
|
|
904dd24c10 | ||
|
|
f52b52f76a | ||
|
|
dc5741d605 | ||
|
|
02b69d0d39 | ||
|
|
de252643c1 | ||
|
|
548fc4de69 | ||
|
|
72599b5ba7 | ||
|
|
c714553da1 | ||
|
|
36faaa153a | ||
|
|
629451051d | ||
|
|
fcb6861119 | ||
|
|
34a9151910 | ||
|
|
683b72ab20 | ||
|
|
e658f562be | ||
|
|
ab4d4af7f8 | ||
|
|
4804f5a5e0 | ||
|
|
7651b892b8 | ||
|
|
91b505bfef | ||
|
|
415535eeb8 | ||
|
|
8ebc855ddd | ||
|
|
efebea2c36 | ||
|
|
75c8681781 | ||
|
|
ea4efa1f61 | ||
|
|
9de058b0d7 | ||
|
|
3a764be93f | ||
|
|
4dceeb77b6 | ||
|
|
2bacac7efb | ||
|
|
79afa3620a | ||
|
|
d161c3f1e4 | ||
|
|
ec86403056 | ||
|
|
b1a6d5c182 | ||
|
|
61cf5828e2 | ||
|
|
69a7d3defb | ||
|
|
3047fde812 | ||
|
|
49c2e4f1d7 | ||
|
|
68ccf5e803 | ||
|
|
62ef4f1844 | ||
|
|
3c8886ab36 | ||
|
|
d6161539a6 | ||
|
|
25797b5ed3 | ||
|
|
56149e4148 | ||
|
|
d0fc1e197d | ||
|
|
1df2d0e8f0 | ||
|
|
217b185730 | ||
|
|
db4e5d4e08 | ||
|
|
7a8fe9f6ac | ||
|
|
741d9b654d | ||
|
|
fe06b38128 | ||
|
|
da164b495e | ||
|
|
26030526a9 | ||
|
|
17cae91708 | ||
|
|
a61a74d7bf | ||
|
|
e9df355b3b | ||
|
|
6ae6937c49 | ||
|
|
4f5e025de1 | ||
|
|
20346a90dc | ||
|
|
abb1f0d2d2 | ||
|
|
959f7e3401 | ||
|
|
2e39de56bd | ||
|
|
d8b4d2d293 | ||
|
|
cdb40e8ce1 | ||
|
|
f8cde7bfe1 | ||
|
|
9604c159b5 | ||
|
|
8297f72ff4 | ||
|
|
b5cf73054a | ||
|
|
c630178f0c | ||
|
|
db48bb8a1f | ||
|
|
e1f02fd870 | ||
|
|
43a2f88ad1 | ||
|
|
e98114eaff | ||
|
|
8834ceb3e8 | ||
|
|
1806973ba1 | ||
|
|
0d87592093 | ||
|
|
c0ffa41010 | ||
|
|
9ec4ed204e | ||
|
|
9211583a15 | ||
|
|
12b9ee5344 | ||
|
|
97106bc2e0 | ||
|
|
00bd6ac4db | ||
|
|
33fd5f9576 | ||
|
|
c09e552e3a | ||
|
|
5c7dfaf703 | ||
|
|
593d8c678b | ||
|
|
34fde780fc | ||
|
|
ea33d9de0f | ||
|
|
0b1b2f0e19 | ||
|
|
8d2f90f800 | ||
|
|
ef5f86a67d | ||
|
|
b415eca1c8 | ||
|
|
880f7628e4 | ||
|
|
03ab14fa64 | ||
|
|
717575256c | ||
|
|
0233327554 | ||
|
|
484dbd1609 | ||
|
|
383086e303 | ||
|
|
e90dac950c | ||
|
|
d0d79a64df | ||
|
|
7b7c3838fc | ||
|
|
818f1ab465 | ||
|
|
bdd3e0ba1b | ||
|
|
f1754f1014 | ||
|
|
054523d937 | ||
|
|
fa10b00db7 | ||
|
|
e785022e64 | ||
|
|
dbd1474d63 | ||
|
|
1ca950c1fc | ||
|
|
c4c7e50314 | ||
|
|
e29b41e5c3 | ||
|
|
fc0f153023 | ||
|
|
cebd371734 | ||
|
|
86ee1eb19f | ||
|
|
c3c28175ca | ||
|
|
5d12addbba | ||
|
|
92e899cf56 | ||
|
|
6cb18816e2 | ||
|
|
6ca35ffab0 | ||
|
|
7ca37c56b6 | ||
|
|
675f28b318 | ||
|
|
cfa35ba8e4 | ||
|
|
380df961e5 | ||
|
|
8dc12bea2c | ||
|
|
5215c8f985 | ||
|
|
45b172f85c | ||
|
|
2c30bdeddf | ||
|
|
09f992d3b5 | ||
|
|
128fee5e96 | ||
|
|
529b111fce | ||
|
|
d55bc160ac | ||
|
|
7a71fa75f7 | ||
|
|
1db6388798 | ||
|
|
bdafb31522 | ||
|
|
bd82d211f5 | ||
|
|
45ab86204b | ||
|
|
972a09df41 | ||
|
|
9b1b9593e8 | ||
|
|
dd33ee04bb | ||
|
|
04f3c5b7a5 | ||
|
|
18d8f835a9 | ||
|
|
b68cfa40fd | ||
|
|
86c52dece8 | ||
|
|
4272109a27 | ||
|
|
c5fe8b02a4 | ||
|
|
fdf13102fe | ||
|
|
e1ea41f147 | ||
|
|
6b1fd23e35 | ||
|
|
9020d0b0ea | ||
|
|
022954918c | ||
|
|
e4ff009ef6 | ||
|
|
f7cbff3ed8 | ||
|
|
f80c2687c5 | ||
|
|
0bfbe90dcd | ||
|
|
04e060c43c | ||
|
|
6083248dfa | ||
|
|
df401d4924 | ||
|
|
731a78b2f2 | ||
|
|
1e6a9ec8ae | ||
|
|
300eed4d29 | ||
|
|
7bef1d45c8 | ||
|
|
2aec78ff4c | ||
|
|
4d0edf3c0b | ||
|
|
a695c68a25 | ||
|
|
6ca80baea8 | ||
|
|
260d4b16e5 | ||
|
|
67dc2c9fdf | ||
|
|
8b55d2f2b1 | ||
|
|
f05cbe9f0b | ||
|
|
3bbefd8bd5 | ||
|
|
b8e819629a | ||
|
|
f5b8ae1002 | ||
|
|
78f76d659c | ||
|
|
ce6158ad91 | ||
|
|
0ca410acba | ||
|
|
02c043eece | ||
|
|
88461910c9 | ||
|
|
19506292b5 | ||
|
|
1dc3433e02 | ||
|
|
ca7143f776 | ||
|
|
26d10a949b | ||
|
|
8855d9b98f | ||
|
|
df195a0135 | ||
|
|
23b64b1625 | ||
|
|
44623b44d1 | ||
|
|
6e4d0ff962 | ||
|
|
2fef5660cb | ||
|
|
3be65a686a | ||
|
|
9c4f4c5fe7 | ||
|
|
ba392d75b9 | ||
|
|
39b786c198 | ||
|
|
e36cf78e40 | ||
|
|
11dd95b939 | ||
|
|
e0950247d2 | ||
|
|
8d1ca4eba1 | ||
|
|
6c66ccada7 | ||
|
|
01fde5a1e9 | ||
|
|
64745c8578 | ||
|
|
b77321ce28 | ||
|
|
f4a0b0f8b1 | ||
|
|
7ee162092c | ||
|
|
2fc01c07b6 | ||
|
|
73e4645df0 | ||
|
|
5e4760771d | ||
|
|
38d006c8a7 | ||
|
|
79c858ded6 | ||
|
|
03e4681aa6 | ||
|
|
5154e41fed | ||
|
|
371968b458 | ||
|
|
c3128ef508 | ||
|
|
09ccd46528 | ||
|
|
874212e166 | ||
|
|
f749969c07 | ||
|
|
f6e4e231b1 | ||
|
|
d536b054b8 | ||
|
|
5d539d0059 | ||
|
|
8a82590829 | ||
|
|
f588571bdd | ||
|
|
d27227aede | ||
|
|
7666a91872 | ||
|
|
51ddee28c3 | ||
|
|
0620d660f5 | ||
|
|
b988c3c8c9 | ||
|
|
d3d7104ec4 | ||
|
|
93457b2961 | ||
|
|
b36e75ec1a | ||
|
|
d6e4ad0a35 | ||
|
|
0de49ee0cd | ||
|
|
8cc86dfd7c | ||
|
|
da9051a9b2 | ||
|
|
32fab0482f | ||
|
|
792e1bf8bf | ||
|
|
b346d765a2 | ||
|
|
c5413e51c9 | ||
|
|
2121d4a6aa | ||
|
|
17e4bb704e | ||
|
|
d3281379ee | ||
|
|
62fd6b96f8 | ||
|
|
b9effb5447 | ||
|
|
70b5532695 | ||
|
|
1332045128 | ||
|
|
1305b40c41 | ||
|
|
e208873e46 | ||
|
|
723662074e | ||
|
|
4b7fda9ba0 | ||
|
|
2e026aef56 | ||
|
|
28fe1bf6d8 | ||
|
|
4076e6349a | ||
|
|
d0d171e676 | ||
|
|
978bb72e20 | ||
|
|
74dee10d39 | ||
|
|
a83bbed85a | ||
|
|
c2991364ba | ||
|
|
2224478ea0 | ||
|
|
089076c72c | ||
|
|
72413544c8 | ||
|
|
032638e027 | ||
|
|
79b3429837 | ||
|
|
35571fce8a | ||
|
|
1b758b85c6 | ||
|
|
2f427f7b82 | ||
|
|
c061378e62 | ||
|
|
1f3fe23716 | ||
|
|
b2d7dda30f | ||
|
|
5f9bd9648a | ||
|
|
0e353d333c | ||
|
|
ebaecedf0d | ||
|
|
4656be8c16 | ||
|
|
2cce477e5b | ||
|
|
069097d2e0 | ||
|
|
de540402ec | ||
|
|
1d40b9cf7f | ||
|
|
81573fbd39 | ||
|
|
5d428e4999 | ||
|
|
abe12cca30 | ||
|
|
43c3a4b20d | ||
|
|
856e204750 | ||
|
|
2d7486974c | ||
|
|
fd7ff6b0cd | ||
|
|
2939bbe543 | ||
|
|
07b134f1a0 | ||
|
|
5392b9337d | ||
|
|
d2fccca2fc | ||
|
|
89e89ae1b2 | ||
|
|
a599d667e9 | ||
|
|
09375c138c | ||
|
|
28303573f9 | ||
|
|
54764be269 | ||
|
|
657f1b133f | ||
|
|
1704276c2d | ||
|
|
97f170ba59 | ||
|
|
553423e3d8 | ||
|
|
de7b57f6b7 | ||
|
|
2d8b5c1974 | ||
|
|
be2d5b040c | ||
|
|
d1604c68d6 | ||
|
|
2902e95068 | ||
|
|
4cb17c18a9 | ||
|
|
e140120b44 | ||
|
|
0d2c1b013b | ||
|
|
70e3091127 | ||
|
|
c57915ef19 | ||
|
|
c604c25d71 | ||
|
|
e986e3cd8e | ||
|
|
ce8762da19 | ||
|
|
4f959696bd | ||
|
|
64335b3fef | ||
|
|
22081148fe | ||
|
|
b1237ea75e | ||
|
|
c1f17b154c | ||
|
|
ea5c5afa5e | ||
|
|
f60a878e7b | ||
|
|
38ceea5204 | ||
|
|
836e4a3aea | ||
|
|
4124a67450 | ||
|
|
6db43af8cb | ||
|
|
3e5855d207 | ||
|
|
2c8436500c | ||
|
|
5366df6e2c | ||
|
|
036ba207ee | ||
|
|
6cebf6ad0d | ||
|
|
3847fea315 | ||
|
|
200dca9dd3 | ||
|
|
6863d1c32e | ||
|
|
737447939f | ||
|
|
393586b191 | ||
|
|
5a39e24230 | ||
|
|
054fc80006 | ||
|
|
2d2605b526 | ||
|
|
58bddd58a8 | ||
|
|
79cef455af | ||
|
|
6094d4b6c0 | ||
|
|
be1b5228c1 | ||
|
|
36225ed59f | ||
|
|
835803d329 | ||
|
|
0ec2baf302 | ||
|
|
c1b34839bc | ||
|
|
83c6f87281 | ||
|
|
455cb9da99 | ||
|
|
f37a6b579f | ||
|
|
e332ccc22a | ||
|
|
207914a5b5 | ||
|
|
c06ca56ea0 | ||
|
|
b1f149495d | ||
|
|
16871f967e | ||
|
|
7ba83227bd | ||
|
|
6fee87fb18 | ||
|
|
4e701c88ad | ||
|
|
a68a3df2e6 | ||
|
|
af1ae9a0ec | ||
|
|
de84bd6597 | ||
|
|
d5bc271788 | ||
|
|
e8e4555d46 | ||
|
|
af158a4279 | ||
|
|
ad614e6734 | ||
|
|
eb17bb58ad | ||
|
|
9c2b52009a | ||
|
|
0d8746d3e3 | ||
|
|
a0cff7ec56 | ||
|
|
317f9df4b5 | ||
|
|
422f5619be | ||
|
|
88ca902a4b | ||
|
|
c047bed518 | ||
|
|
aa2bfcbaee | ||
|
|
752e53ff56 | ||
|
|
5234a5dc15 | ||
|
|
3bae1a4da8 | ||
|
|
fda5589531 | ||
|
|
f9e6ac62b7 | ||
|
|
fcbe264d1a | ||
|
|
25e6110dab | ||
|
|
aa5f91a548 | ||
|
|
6510b2ec6b | ||
|
|
68d4f9c534 | ||
|
|
a44f8f7b13 | ||
|
|
e1961db6e9 | ||
|
|
41f0a4c4ce | ||
|
|
fedb0a3387 | ||
|
|
d69b0ac66a | ||
|
|
020e20db44 | ||
|
|
050cc13e57 | ||
|
|
37c10fc8b3 | ||
|
|
e70c9d37e9 | ||
|
|
fd221bde86 | ||
|
|
e616c842ed | ||
|
|
f97bed826b | ||
|
|
9833b887ad | ||
|
|
92335b78a0 | ||
|
|
6b88ac0558 | ||
|
|
3babd0e02c | ||
|
|
d295129fa0 | ||
|
|
a00d5a074c | ||
|
|
314379e2af | ||
|
|
3b73acec37 | ||
|
|
d3cd4008a8 | ||
|
|
784253ca77 | ||
|
|
0feffff2ac | ||
|
|
bde7e8a886 | ||
|
|
71360b44ee | ||
|
|
c20149ac25 | ||
|
|
92254942ef | ||
|
|
3ed8142ab9 | ||
|
|
2fd5e6e89f | ||
|
|
5e73fb03b5 | ||
|
|
5ad82a64d4 | ||
|
|
3bb470ded4 | ||
|
|
831db2403d | ||
|
|
b611491997 | ||
|
|
5c17656567 | ||
|
|
06fceec84a | ||
|
|
12d90bcffa | ||
|
|
a445b89f13 | ||
|
|
88ea416110 | ||
|
|
5f1d239211 | ||
|
|
312d131db5 | ||
|
|
5a02ac75ae | ||
|
|
c6df1b667c | ||
|
|
c18e2d148e | ||
|
|
b76953ebfe | ||
|
|
c4780fa56e | ||
|
|
faf997c7ae | ||
|
|
bd03a66dde | ||
|
|
431eb0058c | ||
|
|
6051e51f0e | ||
|
|
d3ce521bb0 | ||
|
|
da26bf3143 | ||
|
|
05b25cda15 | ||
|
|
eedf5448a0 | ||
|
|
8d83801b0e | ||
|
|
61c5bea9a0 | ||
|
|
3775dbd44e | ||
|
|
880d4740e6 | ||
|
|
511f715f7e | ||
|
|
9e800dd008 | ||
|
|
6869514004 | ||
|
|
c6243e37fb | ||
|
|
73dbae7871 | ||
|
|
2568a9262f | ||
|
|
6bb712f970 | ||
|
|
b8cf60bd2c | ||
|
|
5437eaead0 | ||
|
|
6b432c167f | ||
|
|
9d25836df4 | ||
|
|
54fc0458e0 | ||
|
|
3361c243b7 | ||
|
|
2da5a4df32 | ||
|
|
0f4f56bb9f | ||
|
|
33195f203f | ||
|
|
3889fdbe4c | ||
|
|
7b4a24d079 | ||
|
|
c91deda220 | ||
|
|
cc755edeb2 | ||
|
|
5a36729b76 | ||
|
|
fd2a717ece | ||
|
|
48860159e9 | ||
|
|
4ff63798c8 | ||
|
|
ea3e7ad3d1 | ||
|
|
562e49b8d2 | ||
|
|
7c8d4ea4d7 | ||
|
|
b77b7c0976 | ||
|
|
8550cbcab6 | ||
|
|
ade8911ba6 | ||
|
|
b9036901e7 | ||
|
|
f88a5c8440 | ||
|
|
53bc6f25ff | ||
|
|
21633b9302 | ||
|
|
a0a222c386 | ||
|
|
fa0d696120 | ||
|
|
7e988b3f35 | ||
|
|
f98ac0bfe4 | ||
|
|
a29da7e76c | ||
|
|
794dbea14e | ||
|
|
432b12d67e | ||
|
|
8accce00a9 | ||
|
|
35381beeb6 | ||
|
|
1eaa82ba2d | ||
|
|
35c4136bd5 | ||
|
|
31546f0020 | ||
|
|
aac58bd885 | ||
|
|
7ca118de86 | ||
|
|
7420f38b15 | ||
|
|
6aa7f56231 | ||
|
|
504d395661 | ||
|
|
a77134d63b | ||
|
|
c763bd5a5b | ||
|
|
228994b2f2 | ||
|
|
3a5427c7f0 | ||
|
|
b42043bc79 | ||
|
|
b3268223bb | ||
|
|
430284b7a1 | ||
|
|
8ad21ab7cb | ||
|
|
8ba28fde1c | ||
|
|
7078e52a4f | ||
|
|
b555768980 | ||
|
|
2c6a853a80 | ||
|
|
3ea0b09863 | ||
|
|
618c9ac0e8 | ||
|
|
a84cb63f8b | ||
|
|
0a8e757054 | ||
|
|
0fb2046615 | ||
|
|
583397ebeb | ||
|
|
4bace34847 | ||
|
|
dd72e7d46a | ||
|
|
013b50985f | ||
|
|
dc9cf760db | ||
|
|
979217502d | ||
|
|
1ff0616457 | ||
|
|
e09d72f12d | ||
|
|
ab38dab291 | ||
|
|
c33659c6f7 | ||
|
|
c81836542a | ||
|
|
cdb57f73bb | ||
|
|
2a8a2ec2e7 | ||
|
|
9f9e2ed6ad | ||
|
|
f707ba8cf3 | ||
|
|
76b7ad54eb | ||
|
|
51b4d1e1e6 | ||
|
|
5eac3bef6b | ||
|
|
53c7afd7a5 | ||
|
|
b70524cd28 | ||
|
|
1e7c065ce4 | ||
|
|
6f86448405 | ||
|
|
2a7acea86c | ||
|
|
e186fa6a3d | ||
|
|
b7d58a7ffb | ||
|
|
6a4eb7ac22 | ||
|
|
4c8bb4ff6f | ||
|
|
9dc8335a07 | ||
|
|
a90ab54e1d | ||
|
|
2e16193292 | ||
|
|
d945ef8b0a | ||
|
|
b73292c8f9 | ||
|
|
bc366b708d | ||
|
|
07bbbe9d51 | ||
|
|
3a91ba4604 | ||
|
|
2dc7a716ee | ||
|
|
ff087e7a6f | ||
|
|
b83f12265d | ||
|
|
ffaad4daf7 | ||
|
|
d1e54bab64 | ||
|
|
abb02d3965 | ||
|
|
62c91bc69b | ||
|
|
0fd4c30ee8 | ||
|
|
e59d43645a | ||
|
|
d158090bea | ||
|
|
bc34b3c8d6 | ||
|
|
64ebf861fb | ||
|
|
50d3671d0f | ||
|
|
5286e433fe | ||
|
|
50e72b0308 | ||
|
|
1dee914564 | ||
|
|
8108500dc2 | ||
|
|
987cf89351 | ||
|
|
48b2ef513f | ||
|
|
4899701ae3 | ||
|
|
330a456ed3 | ||
|
|
2ffb88e958 | ||
|
|
82c8d62876 | ||
|
|
0d259d6d04 | ||
|
|
046e03b883 | ||
|
|
7dc74f74f4 | ||
|
|
22f3a2a37a | ||
|
|
b2eb7a1764 | ||
|
|
1af42e6f0f | ||
|
|
aa6ae014d8 | ||
|
|
a893f47604 | ||
|
|
2e1fa110de | ||
|
|
7ab64c5a85 | ||
|
|
ee0cc9ca10 | ||
|
|
5899c8feab | ||
|
|
d6672ee41f | ||
|
|
6ce0ea7253 | ||
|
|
b1dd83d955 | ||
|
|
7a4613bfe4 | ||
|
|
490dc929bd | ||
|
|
65248bfef7 | ||
|
|
cee3243729 | ||
|
|
b379363cf2 | ||
|
|
708fec4c45 | ||
|
|
f9f313f076 | ||
|
|
0458a19b63 | ||
|
|
3d009ad72b | ||
|
|
3c3db7fa21 | ||
|
|
088a6deabd | ||
|
|
882a088174 | ||
|
|
7f03061ce6 | ||
|
|
27d00c049b | ||
|
|
5c42c53ee8 | ||
|
|
9b819f6a45 | ||
|
|
49ab84e8d5 | ||
|
|
1b7f908d6b | ||
|
|
a1173d7113 | ||
|
|
244f964126 | ||
|
|
7e9fc97b4b | ||
|
|
5a4addf3ed | ||
|
|
77aef7cf67 | ||
|
|
ebfe0debb8 | ||
|
|
320b7a8836 | ||
|
|
c77bdfe617 | ||
|
|
dd027c0583 | ||
|
|
3c1110d730 | ||
|
|
df0f8961e5 | ||
|
|
be3c24198d | ||
|
|
21be9df72e | ||
|
|
c4ac1cb52e | ||
|
|
c3b7498eb5 | ||
|
|
84fc6e5757 | ||
|
|
a01762b279 | ||
|
|
4674737d0c | ||
|
|
ea4b98f3d6 | ||
|
|
0625935062 | ||
|
|
1753105265 | ||
|
|
926773f4f3 | ||
|
|
bf67129528 | ||
|
|
ef5873d095 | ||
|
|
45d195bcd2 | ||
|
|
de35769600 | ||
|
|
cfe1bb8504 | ||
|
|
41b3309ff9 | ||
|
|
fce90ebf9d | ||
|
|
d05ac06ad3 | ||
|
|
1964f13e26 | ||
|
|
8375606771 | ||
|
|
d0b651c9dd | ||
|
|
20aa25256f | ||
|
|
c1b9123e9e | ||
|
|
5c23946283 | ||
|
|
ffb62f149c | ||
|
|
e1877f2c2e | ||
|
|
d5ab606509 | ||
|
|
da7667e64e | ||
|
|
5384c59689 | ||
|
|
e478c3e8d9 | ||
|
|
7db75ec30f | ||
|
|
57377a7e8b | ||
|
|
aad665e3ca | ||
|
|
f2d642b94d | ||
|
|
588869aa57 | ||
|
|
0f5752e3f1 | ||
|
|
b9b404a356 | ||
|
|
c1372c1839 | ||
|
|
dad267d278 | ||
|
|
4c89eaf3e2 | ||
|
|
c8a8f020af | ||
|
|
21b0466f95 | ||
|
|
86cdcfafe4 | ||
|
|
7bb99ecc7d | ||
|
|
d0ccdc0f7c | ||
|
|
f9f640ca52 | ||
|
|
4e594c258f | ||
|
|
17b21bd41d | ||
|
|
213f1c92d6 | ||
|
|
02c008de84 | ||
|
|
d8bc4747e8 | ||
|
|
0592840ded | ||
|
|
4b0b937c41 | ||
|
|
1b38dbb36a | ||
|
|
5d19652b5b | ||
|
|
07aa6bb7f7 | ||
|
|
8e8e23de0f | ||
|
|
de0b6ea435 | ||
|
|
1065676018 | ||
|
|
efa6344964 | ||
|
|
a754cdc239 | ||
|
|
0e3027638f | ||
|
|
ec4213b971 | ||
|
|
d2419335b4 | ||
|
|
f156bd8529 | ||
|
|
5d3bae8ff9 | ||
|
|
8dd5c64006 | ||
|
|
86fc0f9988 | ||
|
|
8775221b5f | ||
|
|
f796a72057 | ||
|
|
8c489bc465 | ||
|
|
6b043d63bc | ||
|
|
e1e3437d62 | ||
|
|
41aa953cfd | ||
|
|
d24f3d6f5c | ||
|
|
2982eb9645 | ||
|
|
0aab9ff4c4 | ||
|
|
eb80be47db | ||
|
|
8a8c6c064c | ||
|
|
58e0aa74d0 | ||
|
|
9449f24b5f | ||
|
|
9d3a6c7538 | ||
|
|
ce872a54b1 | ||
|
|
4bfd0d13fb | ||
|
|
d19e303f0d | ||
|
|
22221c61ac | ||
|
|
e7bf13b6df | ||
|
|
7ac4d3b290 | ||
|
|
6c3c579e6e | ||
|
|
0b9d545c6f | ||
|
|
d9171e0d15 | ||
|
|
964ae7986f | ||
|
|
ae47cac064 | ||
|
|
bfe6321c2f | ||
|
|
70767c2bb6 | ||
|
|
70caf24c35 | ||
|
|
bca1ac6ba6 | ||
|
|
9660172e0b | ||
|
|
698b86ac1c | ||
|
|
2a9e653505 | ||
|
|
d21e9cbfaa | ||
|
|
c3103d3b11 | ||
|
|
dd56d192cc | ||
|
|
e26e4006d6 | ||
|
|
fdf81ecf06 | ||
|
|
ac3bde654a | ||
|
|
139115a0e9 | ||
|
|
5bfcd0108a | ||
|
|
141bc38876 | ||
|
|
5ff249cb20 | ||
|
|
eca3385ffe | ||
|
|
873f61d74b | ||
|
|
2c050a649c | ||
|
|
9f2711b506 | ||
|
|
2c6d3d1866 | ||
|
|
41d41dc2eb | ||
|
|
dd0fd18b25 | ||
|
|
1e5d701631 | ||
|
|
4569192ffa | ||
|
|
13473c2cfd | ||
|
|
c8420c260b | ||
|
|
0a6ac42069 | ||
|
|
4f61cedd6c | ||
|
|
39804814f5 | ||
|
|
2b2e096955 | ||
|
|
b959cf5b4f | ||
|
|
b52085746f | ||
|
|
51d26a3a29 | ||
|
|
29e9bad1aa | ||
|
|
2f6149c5b7 | ||
|
|
f6fcb322f5 | ||
|
|
4780592778 | ||
|
|
96a91f3e41 | ||
|
|
47b7f0920e | ||
|
|
d36364a807 | ||
|
|
c7901243cf | ||
|
|
e7e91aee27 | ||
|
|
5a93e0009c | ||
|
|
e54c7dcbb3 | ||
|
|
5f5e6336c0 | ||
|
|
c618044898 | ||
|
|
423d344197 | ||
|
|
969b47f425 | ||
|
|
3053502a32 | ||
|
|
5e3e8be005 | ||
|
|
7b904fec79 | ||
|
|
bfed3339d8 | ||
|
|
155ac2ab6f | ||
|
|
cdf4d60b21 | ||
|
|
b0b56a026c | ||
|
|
0c35e58308 | ||
|
|
36aaece846 | ||
|
|
857b4a9bab | ||
|
|
e1c478be83 | ||
|
|
414ac3f211 | ||
|
|
e9432ae308 | ||
|
|
5d6f80a170 | ||
|
|
d7b8f4f1ed | ||
|
|
996777a6dd | ||
|
|
54c47554d2 | ||
|
|
62b65ba4d2 | ||
|
|
67cc396ad9 | ||
|
|
e9599a14c5 | ||
|
|
c5f84998e4 | ||
|
|
1726126807 | ||
|
|
31606ddc38 | ||
|
|
e639a27de1 | ||
|
|
ed48cb75ad | ||
|
|
c80a983fe3 | ||
|
|
d0951c6d18 | ||
|
|
70d8315539 | ||
|
|
98cb3ef743 | ||
|
|
da8ba4db93 | ||
|
|
f943dee498 | ||
|
|
963214c549 | ||
|
|
d540c038a4 | ||
|
|
407d8ad000 | ||
|
|
517a6afab8 | ||
|
|
bf0f2d4342 | ||
|
|
3c4dfc4766 | ||
|
|
246c9829db | ||
|
|
d41370cdf1 | ||
|
|
c54282962d | ||
|
|
11445db55a | ||
|
|
7bf7a54540 | ||
|
|
452a56ffcb | ||
|
|
13e163faf0 | ||
|
|
46245bb275 | ||
|
|
41e917bc41 | ||
|
|
8bfaf69109 | ||
|
|
642385eead | ||
|
|
e6a1cc483b | ||
|
|
50b309a213 | ||
|
|
17da2b3d4e | ||
|
|
93c7010dc0 | ||
|
|
211d0c5d9b | ||
|
|
d6799a1b04 | ||
|
|
cc75deb02f | ||
|
|
3996f9f1c6 | ||
|
|
afbf96e30e | ||
|
|
53889bba56 | ||
|
|
649ef38385 | ||
|
|
4b1aa52e89 | ||
|
|
10e1fa867b | ||
|
|
be5ad88029 | ||
|
|
2018b8b852 | ||
|
|
b2ce22caa9 | ||
|
|
98a8d68c67 | ||
|
|
f68f9c642b | ||
|
|
912ecea3e3 | ||
|
|
f681676e8d | ||
|
|
145d9c1d84 | ||
|
|
4d3918a68a | ||
|
|
30cbaa7e23 | ||
|
|
57a952c4e0 | ||
|
|
85816932d3 | ||
|
|
a8038c39c0 | ||
|
|
207c026cb5 | ||
|
|
8d2b6230ad | ||
|
|
bf277dd3d2 | ||
|
|
bcad2a9a78 | ||
|
|
b4064c6b9e | ||
|
|
1c45b87f09 | ||
|
|
ede73619ea | ||
|
|
ca2855b80b | ||
|
|
469376cf34 | ||
|
|
000f30327b | ||
|
|
d3ae02e8d8 | ||
|
|
dfe9883923 | ||
|
|
867ded34d9 | ||
|
|
23832e8ad6 | ||
|
|
6bb81f1790 | ||
|
|
dab8206ada | ||
|
|
e86dd8b935 | ||
|
|
816d254582 | ||
|
|
58e3e17310 | ||
|
|
e49c19e2d9 | ||
|
|
bdbdd221ee | ||
|
|
81f6bbe42d | ||
|
|
a537ad788a | ||
|
|
6eedbdca88 | ||
|
|
84f725697c | ||
|
|
eb80148692 | ||
|
|
360e8b4055 | ||
|
|
dcac0012c9 | ||
|
|
a06ae084db | ||
|
|
db166f97e4 | ||
|
|
00ec1a668e | ||
|
|
81ee57da1f | ||
|
|
6e1f653762 | ||
|
|
85ee8c4112 | ||
|
|
a0de521631 | ||
|
|
73b54f7aba | ||
|
|
a0d3bd6a0c | ||
|
|
bb62064616 | ||
|
|
32785c901f | ||
|
|
be706fd16f | ||
|
|
13617da10b | ||
|
|
a1bd702a92 | ||
|
|
7e3b919c62 | ||
|
|
e75a10a888 | ||
|
|
9951323e91 | ||
|
|
5333218ec5 | ||
|
|
178abc2c9a | ||
|
|
22528885ff | ||
|
|
449f3274c6 | ||
|
|
bd1650fd18 | ||
|
|
f8ca339de5 | ||
|
|
ce8c8e44fc | ||
|
|
b27814845b | ||
|
|
96d252ba3c | ||
|
|
236fb0c4ff | ||
|
|
d2fea57c39 | ||
|
|
7b9c98a0a8 | ||
|
|
c2c4e9c42e | ||
|
|
7b6efa0521 | ||
|
|
b39d433c46 | ||
|
|
9dce74fac1 | ||
|
|
a8fc7b6337 | ||
|
|
0ae0593907 | ||
|
|
bb8689175e | ||
|
|
e7b3b963c3 | ||
|
|
0e1c30879b | ||
|
|
3494f8a7d4 | ||
|
|
02ea32506b | ||
|
|
bac2d9f23e | ||
|
|
75cd4749d6 | ||
|
|
c0cbe25531 | ||
|
|
791b1c37d4 | ||
|
|
40b9f4e56b | ||
|
|
86e2174152 | ||
|
|
f3e7941acf | ||
|
|
d61e5983da | ||
|
|
6fd25994d4 | ||
|
|
fe1721debd | ||
|
|
543654b499 | ||
|
|
496850faec | ||
|
|
7743f2aa63 | ||
|
|
47e233928e | ||
|
|
344df0a869 | ||
|
|
84ca1ded7c | ||
|
|
396467d50f | ||
|
|
6f8ee80574 | ||
|
|
029c59436c | ||
|
|
55193e227f | ||
|
|
66570f4ac6 | ||
|
|
b7ad50deff | ||
|
|
3e505d7a71 | ||
|
|
5e31e3cfa6 | ||
|
|
dd08d3d9c8 | ||
|
|
5c1a23914a | ||
|
|
8c7d9726d7 | ||
|
|
78fd11c4f1 | ||
|
|
5f931fa09d | ||
|
|
b264719cd9 | ||
|
|
f3001f3c76 | ||
|
|
988608f9d3 | ||
|
|
f14f494fee | ||
|
|
f04b14c813 | ||
|
|
e1f45b3c1a | ||
|
|
81477f4b0a | ||
|
|
90d115d1f4 | ||
|
|
fadf4488be | ||
|
|
774f273858 | ||
|
|
cdfd25357f | ||
|
|
f6f2f3f143 | ||
|
|
b78ebea687 | ||
|
|
3f2ed97385 | ||
|
|
a57ab7f9d5 | ||
|
|
a19661ca90 | ||
|
|
cd8929bcb0 | ||
|
|
aed61f4aba | ||
|
|
c0b4b464bd | ||
|
|
c8fe6de747 | ||
|
|
316ff627ac | ||
|
|
0c73b3831b | ||
|
|
56731e77f6 | ||
|
|
da1bdcfb6c | ||
|
|
106a72b8f5 | ||
|
|
3326551d5e | ||
|
|
41e2008249 | ||
|
|
b303c61c1b | ||
|
|
a02913d631 | ||
|
|
3d234af67c | ||
|
|
41e5963ad7 | ||
|
|
cea0df8658 | ||
|
|
cfb24dd885 | ||
|
|
e41c330cf1 | ||
|
|
0bfe649882 | ||
|
|
0efdd2ca06 | ||
|
|
e111053a67 | ||
|
|
08b1e0d17a | ||
|
|
52e3f53333 | ||
|
|
693c45e2d7 | ||
|
|
0a25b4e502 | ||
|
|
8a9072c5d0 | ||
|
|
0a5e931d17 | ||
|
|
f047830852 | ||
|
|
2c87e096f4 | ||
|
|
acbfd6e5c5 | ||
|
|
79eefbd170 | ||
|
|
a332556a51 | ||
|
|
874b74d59a | ||
|
|
49f7cf0e46 | ||
|
|
57aa7e6e85 | ||
|
|
054f7c72db | ||
|
|
1d746c074c | ||
|
|
9f2a328b62 | ||
|
|
e1d01c81a2 | ||
|
|
b251a2ebbb | ||
|
|
c3f0abd671 | ||
|
|
b6fb4c1da2 | ||
|
|
6228465fdd | ||
|
|
05623b7a26 | ||
|
|
b258d64fb4 | ||
|
|
7d1ec41f4b | ||
|
|
1e9aabec7d | ||
|
|
7609cedda4 | ||
|
|
f5a2d97842 | ||
|
|
c2dc0fdb46 | ||
|
|
faabceeafd | ||
|
|
4b4faaab88 | ||
|
|
3e4ae3bdee | ||
|
|
ad17131393 | ||
|
|
d25f642716 | ||
|
|
f1ced2ac46 | ||
|
|
1137ddb265 | ||
|
|
3f2fc93be4 | ||
|
|
d6bf77870b | ||
|
|
874dd509bf | ||
|
|
3ea8402303 | ||
|
|
f297699396 | ||
|
|
52cadb7744 | ||
|
|
90c84d5f17 | ||
|
|
a51360f372 | ||
|
|
fc074c350f | ||
|
|
c926184918 | ||
|
|
a17c8665ac | ||
|
|
6c252b0862 | ||
|
|
30ed648934 | ||
|
|
da9570a925 | ||
|
|
37f8a5d632 | ||
|
|
0453627d40 | ||
|
|
4f929ba342 | ||
|
|
8920516053 | ||
|
|
a087ecfa30 | ||
|
|
ab7cffe4d6 | ||
|
|
32ccfc125d | ||
|
|
ffb24a2ffd | ||
|
|
6e3965bf6c | ||
|
|
b1f110c13a | ||
|
|
6f15bb1d91 | ||
|
|
ca8abecb55 | ||
|
|
934acd0ad0 | ||
|
|
71abc27ad8 | ||
|
|
642fe8a52e | ||
|
|
b2b3127183 | ||
|
|
d11e9ec3a6 | ||
|
|
3fee1ff947 | ||
|
|
0bdb5ac457 | ||
|
|
3a60277392 | ||
|
|
0b8751836c | ||
|
|
e227f22aba | ||
|
|
b57cbc8352 | ||
|
|
7b593b704c | ||
|
|
3c2bdee22a | ||
|
|
c08a293f83 | ||
|
|
9d89311bcc | ||
|
|
63764ee32e | ||
|
|
c58b040be2 | ||
|
|
389eceaf06 | ||
|
|
9aa4389eaf | ||
|
|
931d15b6cc | ||
|
|
3abbe921b2 | ||
|
|
e2a0f86f45 | ||
|
|
263b07ae94 | ||
|
|
f223332cd8 | ||
|
|
1c2519be41 | ||
|
|
9016b67c6f | ||
|
|
37c043b3f9 | ||
|
|
717e4ee902 | ||
|
|
cb90a0bd70 | ||
|
|
6a6161dfef | ||
|
|
1973002b3d | ||
|
|
51714180ac | ||
|
|
246c15494c | ||
|
|
5c1d5a1825 | ||
|
|
136ecf79fb | ||
|
|
3fe1665e0b | ||
|
|
c3f96418ea | ||
|
|
bcbbc03151 | ||
|
|
51da7cecc8 | ||
|
|
07554250ad | ||
|
|
9f4204b898 | ||
|
|
5682eb5616 | ||
|
|
47d08f5385 | ||
|
|
ecc4c5ac4c | ||
|
|
f343f03b96 | ||
|
|
36c9b42970 | ||
|
|
5408aec036 | ||
|
|
7471cd39b9 | ||
|
|
238badb110 | ||
|
|
ea465b0f4d | ||
|
|
fb0a0557c5 | ||
|
|
e6b71d5478 | ||
|
|
a18eb42399 | ||
|
|
9047f58c60 | ||
|
|
1c384144c4 | ||
|
|
348a9e3e42 | ||
|
|
4736ed4d84 | ||
|
|
0907c6a06a | ||
|
|
cf3a924bb2 | ||
|
|
d61db5fb17 | ||
|
|
3ad44d9ecf | ||
|
|
cb39b469b0 | ||
|
|
5ad29f0183 | ||
|
|
a2f178c7e0 | ||
|
|
7efb0fddf0 | ||
|
|
46410f797a | ||
|
|
c7496973ee | ||
|
|
2d29eef255 | ||
|
|
3e11fad1fd | ||
|
|
a724836378 | ||
|
|
25b89cb7e9 | ||
|
|
b37ba531f7 | ||
|
|
58b6325776 | ||
|
|
5cfed7f477 | ||
|
|
369fc24e16 | ||
|
|
a099151693 | ||
|
|
c182cc21f2 | ||
|
|
16f7d4543a | ||
|
|
3a4c556f25 | ||
|
|
67e04248c3 | ||
|
|
08a7057668 | ||
|
|
6d71022dbf | ||
|
|
972c869e62 | ||
|
|
c36aa4b430 | ||
|
|
90950101d8 | ||
|
|
67d61d164c |
No files matched your search
@@ -0,0 +1,54 @@
|
||||
name: Bug report
|
||||
description: Create a report to help us improve
|
||||
title: "[BUG] <title>"
|
||||
labels: 'bug'
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: >-
|
||||
## Thank you for choosing KlipperScreen
|
||||
|
||||
This is a bug report, If you need general support, please visit us on [Discord](https://discord.gg/klipper)
|
||||
|
||||
#### The LOG file is REQUIRED
|
||||
|
||||
if you need help to find the log file:
|
||||
Read the [Documentation](https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/)
|
||||
|
||||
#### This is an Open Source project developed voluntarily, there are no Warranties, or ETA.
|
||||
[License](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE)
|
||||
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: 'What happened?'
|
||||
description: A clear and concise description of what the bug is.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: 'What did you expect to happen instead?'
|
||||
description: A clear and concise description of what you expected to happen instead.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: repro-steps
|
||||
attributes:
|
||||
label: 'How to reproduce this bug?'
|
||||
description: A clear and concise description with precise steps to reproduce this bug.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional-info
|
||||
attributes:
|
||||
label: 'Additional information:'
|
||||
description: Any additional info, screenshots or recordings which help to describe the issue.
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Log output
|
||||
description: Please copy and paste or attach the klipperscreen.log or xorg.log or the tail of journalctl.
|
||||
render: shell
|
||||
validations:
|
||||
required: true
|
||||
@@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Klipper Discord Server
|
||||
url: https://discord.gg/klipper
|
||||
about: If you have questions or need general support.
|
||||
@@ -0,0 +1,42 @@
|
||||
name: Feature request
|
||||
description: Suggest an idea for this project
|
||||
title: "[FR] <title>"
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: >-
|
||||
## Thank you for choosing KlipperScreen
|
||||
|
||||
This form is for feature requests of KlipperScreen
|
||||
|
||||
#### This is an Open Source project developed voluntarily, there are no Warranties, or ETA.
|
||||
[License](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE)
|
||||
|
||||
- type: textarea
|
||||
id: solution
|
||||
attributes:
|
||||
label: 'Requested feature'
|
||||
description: A clear and concise description of what you want.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: 'Is your feature request related to a problem?'
|
||||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: alternative
|
||||
attributes:
|
||||
label: 'Describe alternatives you have considered'
|
||||
description: A clear and concise description of any alternative solutions or features you've considered.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: info
|
||||
attributes:
|
||||
label: 'Additional information'
|
||||
description: Add any other context drawings or screenshots about the feature.
|
||||
validations:
|
||||
required: false
|
||||
@@ -0,0 +1,17 @@
|
||||
name: test-code
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
lint-python-code:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: ricardochaves/python-lint@v1.4.0
|
||||
with:
|
||||
python-root-list: "screen.py ks_includes panels"
|
||||
use-pylint: false
|
||||
use-pycodestyle: true
|
||||
use-flake8: false
|
||||
use-black: false
|
||||
use-mypy: false
|
||||
use-isort: false
|
||||
extra-pycodestyle-options: "--ignore=E402,W503,W504 --max-line-length=120 --max-doc-length=120"
|
||||
@@ -0,0 +1,8 @@
|
||||
.idea/
|
||||
KlipperScreen.conf
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
dist/
|
||||
build/
|
||||
venv/
|
||||
@@ -0,0 +1,15 @@
|
||||
# Read the Docs configuration file for MkDocs projects
|
||||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||
# Required
|
||||
version: 2
|
||||
# Set the version of Python and other tools you might need
|
||||
build:
|
||||
os: ubuntu-22.04
|
||||
tools:
|
||||
python: "3.11"
|
||||
mkdocs:
|
||||
configuration: mkdocs.yml
|
||||
# Optionally declare the Python requirements required to build your docs
|
||||
python:
|
||||
install:
|
||||
- requirements: docs/requirements.txt
|
||||
@@ -1,32 +1,34 @@
|
||||
# KlipperScreen
|
||||
KlipperScreen is an idea based from [OctoScreen](https://github.com/Z-Bolt/OctoScreen/), but instead of needing OctoPrint or to compile go, KlipperScreen is python based and interacts directly with Moonraker, Klipper's API service, so that it can be run with no dependencies besides Klipper.
|
||||
|
||||
Current feature list:
|
||||
- [x] Homing
|
||||
- [x] Preheating
|
||||
- [x] Job Status and control
|
||||
- [x] Temperature control
|
||||
- [x] Extrude control
|
||||
- [x] Fan control
|
||||
- [x] Disable steppers
|
||||
- [x] Configure Z Offset using PROBE_CALIBRATE
|
||||
- [x] Print tuning (Z Babystepping, Speed Control, Flow Control)
|
||||
- [x] Manual bed leveling assist
|
||||
- [x] Using thumbnails from prusa on job status page
|
||||
- [ ] Better system panel
|
||||
- [ ] Wifi selection
|
||||
- [ ] Scale UI based off of resolution
|
||||
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
|
||||
|
||||
### Documentation [](https://klipperscreen.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
More details to come...
|
||||
[Click here to access the documentation.](https://klipperscreen.readthedocs.io/en/latest/)
|
||||
|
||||
### Required Hardware
|
||||
KlipperScreen should run on any HDMI touchscreen that you can connect to a computer. The required video driver may
|
||||
be slightly different depending on what model you get. I am developing on a 1024x600 resolution screen. Due to this,
|
||||
other resolutions may not be scaled properly at this moment. UI scaling is a future development item.
|
||||
### Inspiration
|
||||
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
|
||||
will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [Moonraker](https://github.com/arksine/moonraker).
|
||||
|
||||
### Links
|
||||
[](https://klipperscreen.readthedocs.io/en/latest/Panels/)
|
||||
|
||||
[Installation](docs/Installation.md)
|
||||
[More Screenshots](https://klipperscreen.readthedocs.io/en/latest/Panels/)
|
||||
|
||||
[Configuration](docs/Configuration.md)
|
||||
### About the project
|
||||
|
||||
KlipperScreen has been created and maintained by Jordan Ruthe from 2020 to 2021
|
||||
|
||||
|Donate to Jordan|
|
||||
|-|
|
||||
|[Patreon](https://www.patreon.com/klipperscreen)|
|
||||
|[Ko-fi](https://ko-fi.com/klipperscreen)|
|
||||
|
||||
The current maintainer is Alfredo Monclus (alfrix) from 2021 onwards
|
||||
|
||||
|Dontate to Alfrix|
|
||||
|-|
|
||||
|[Ko-fi](https://ko-fi.com/alfrix)|
|
||||
|
||||
thanks to all the people who helped along the way.
|
||||
|
||||
[Contributors](https://github.com/KlipperScreen/KlipperScreen/graphs/contributors)
|
||||
@@ -0,0 +1,103 @@
|
||||
# Android
|
||||
|
||||
This article describes how to use KlipperScreen from an android device
|
||||
|
||||
!!! important
|
||||
The experience may not be equal to run KlipperScreen natively,
|
||||
depending on the device there maybe performance degradation or other issues
|
||||
|
||||
1. [First installl KlipperScreen on the Pi](Installation.md)
|
||||
2. Install [XServer-XSDL](https://play.google.com/store/apps/details?id=x.org.server) on the android device
|
||||
3. Choose [USB(ADB)](#adb) or [WIFI](#wifi)
|
||||
|
||||
### ADB
|
||||
|
||||
!!! warning
|
||||
Leaving the phone always connected it's not recommended, remove the battery to avoid issues.
|
||||
|
||||
* Install ADB on the Pi
|
||||
```bash
|
||||
sudo apt-get install android-tools-adb
|
||||
```
|
||||
* Put your Android phone/tablet in Debug mode.
|
||||
|
||||
Usually it involves enabling developer mode and "USB debugging" but this varies on different vendors and versions of the device
|
||||
search "how to enable android debugging on device-model-and-brand"
|
||||
|
||||
* Copy the launcher script
|
||||
|
||||
```bash
|
||||
cd ~/KlipperScreen/scripts
|
||||
cp sample-android-adb.sh launch_KlipperScreen.sh
|
||||
chmod +x launch_KlipperScreen.sh
|
||||
```
|
||||
|
||||
* Go to [Startup](#startup)
|
||||
|
||||
### WIFI
|
||||
|
||||
* Create a launcher script
|
||||
|
||||
```bash
|
||||
cd ~/KlipperScreen/scripts
|
||||
touch launch_KlipperScreen.sh
|
||||
chmod +x launch_KlipperScreen.sh
|
||||
nano launch_KlipperScreen.sh
|
||||
```
|
||||
|
||||
* Paste this into the script (replace the example IP)
|
||||
```bash
|
||||
DISPLAY=192.168.150.122:0 $KS_XCLIENT
|
||||
```
|
||||
|
||||
!!! important
|
||||
It's recommended to use a static address, because if the address changes your connection will stop working.
|
||||
|
||||
* Go to [Startup](#startup)
|
||||
|
||||
## Startup
|
||||
|
||||
Start Xserver-XSDL On the android device
|
||||
|
||||
On the splash-screen of the app go to:
|
||||
```
|
||||
“CHANGE DEVICE CONFIGURATION”
|
||||
└──Mouse Emulation Modde
|
||||
└──Desktop, No Emulation
|
||||
```
|
||||
if you missed it, restart the app.
|
||||
|
||||
on the Pi
|
||||
```bash
|
||||
sudo service KlipperScreen stop
|
||||
sudo service KlipperScreen start
|
||||
```
|
||||
|
||||
## Stop Screen Blanking in Xserver-XSDL
|
||||
|
||||
Even after enabling the "Stay Awake" option in the Developer/USB Debugging options of your Android device, the Xserver-XSDL may still go to a black screen but keep the backlight of your device on. To keep the screen always active, upon start up of Xserver-XSDL app, select the `Change Device Configuration` at the top of the splash screen and then select the `Command line parameters, one argument per line` option. Append the following argument (must be on seperate lines):
|
||||
```
|
||||
-s
|
||||
0
|
||||
```
|
||||
This will disable the screen-saver in Xserver and keep KlipperScreen always active.
|
||||
|
||||
## Migration from other tutorials
|
||||
|
||||
KlipperScreen says error option "service" is not supported anymore.
|
||||
|
||||
Stop the other service and Remove it, for example if the service is `KlippyScreenAndroid`:
|
||||
|
||||
```bash
|
||||
sudo service KlippyScreenAndroid stop
|
||||
sudo rm /etc/systemd/system/KlippyScreenAndroid.service
|
||||
```
|
||||
|
||||
Follow this guide on how to setup the new launcher script with [USB(ADB)](#adb) or [WIFI](#wifi) and restart KS.
|
||||
|
||||
## Help
|
||||
|
||||
[The Discourse thread has old instructions but you may get some help if needed](https://klipper.discourse.group/t/how-to-klipperscreen-on-android-smart-phones/1196)
|
||||
|
||||
[#klipper-screen channel on Discord](https://discord.klipper3d.org/)
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# Changelog
|
||||
|
||||
Breaking changes will be listed here.
|
||||
|
||||
#### [2022 03 21](https://github.com/jordanruthe/KlipperScreen/commit/bc34b3c8d6761c27a0b0c62fc4dfa11442b417f6)
|
||||
* Default configuration is now merged again.
|
||||
Fixing [2021 05 20](https://github.com/jordanruthe/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
|
||||
|
||||
#### [2022 03 10](https://github.com/jordanruthe/KlipperScreen/commit/490dc929bd11e3c4200b999ce7204d84fa0bc184)
|
||||
* The "Power On Printer" button now requires power_devices under the printer section in KlipperScreen.conf
|
||||
the power_devices allowed are those defined in the config of moonraker of the printer
|
||||
The "Power" panel will be in the Menu if there are power devices found
|
||||
|
||||
#### [2022 03 01](https://github.com/jordanruthe/KlipperScreen/commit/49ab84e8d51535d3469d97fdee53099cca6abc39)
|
||||
* The "Power On Printer" button now requires that the printer name in KlipperScreen.conf
|
||||
and the power device in moonraker.conf to have the same name.
|
||||
The "Power" panel will be in the Menu if there are power devices found
|
||||
|
||||
#### [2022 01 11](https://github.com/jordanruthe/KlipperScreen/commit/8a8c6c064cc6d097b1b34a5c42b4001367e545a6)
|
||||
* The Preheat panel has been deprecated in favor of an all in one Temperature panel
|
||||
|
||||
Remove preheat panel from your Klipperscreen.conf or replace the occurrences of preheat with temperature
|
||||
|
||||
#### [2021 05 20](https://github.com/jordanruthe/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
|
||||
* Default configuration is not merged if a user configuration is set for a specific option
|
||||
|
||||
For instance, if `menu __main` is user defined, the main menu will not have any defaults.
|
||||
@@ -1,16 +1,135 @@
|
||||
# Configuration
|
||||
|
||||
In the KlipperScreen folder, a file _KlipperScreen.conf_ allows for configuration of the screen. This document will
|
||||
detail how to configure KlipperScreen. A default config is included here: [ks_includes/KlipperScreen.conf](../ks_includes/KlipperScreen.conf)
|
||||
Usually you don't need to create a configuration file, but if you need to change something that is not changeable in the UI
|
||||
create a blank file in `~/printer_data/config/KlipperScreen.conf`, if the file already exist then just edit it.
|
||||
|
||||
Write in the file only the options that need to be changed, and restart KlipperScreen.
|
||||
|
||||
|
||||
!!! failure "Critical"
|
||||
Each configuration option should be on a newline, as they are presented here.
|
||||
|
||||
The line endings should be of UNIX style (LF).
|
||||
|
||||
|
||||
## Include files
|
||||
```py
|
||||
[include conf.d/*.conf]
|
||||
# Include another configuration file. Wildcards (*) will expand to match anything.
|
||||
```
|
||||
|
||||
|
||||
## Main Options
|
||||
The options listed here are not changeable from within the ui.
|
||||
```py
|
||||
[main]
|
||||
# Time in seconds before the Job Status page closes itself after a successful job/print
|
||||
# 0 means disabled
|
||||
job_complete_timeout: 0
|
||||
|
||||
# Time in seconds before the Job Status closes itself if an error is encountered
|
||||
job_error_timeout: 0
|
||||
|
||||
# Allows the cursor to be displayed on the screen
|
||||
show_cursor: False
|
||||
|
||||
# If multiple printers are defined, this can be set the name of the one to show at startup.
|
||||
default_printer: Ender 3 Pro
|
||||
|
||||
# To define a full set of custom menues (instead of merging user entries with default entries)
|
||||
# set this to False. See Menu section below.
|
||||
use_default_menu: True
|
||||
|
||||
# Define one or more moonraker power devices that turn on/off with the screensaver (CSV list)
|
||||
screen_on_devices: example1, example2
|
||||
screen_off_devices: example1, example2
|
||||
```
|
||||
|
||||
## Printer Options
|
||||
Multiple printers can be defined
|
||||
```py
|
||||
# Define printer and name. Name is anything after the first printer word
|
||||
[printer Ender 3 Pro]
|
||||
# Define the moonraker host/port if different from 127.0.0.1 and 7125
|
||||
moonraker_host: 127.0.0.1
|
||||
# ports 443 and 7130 will use https/wss
|
||||
moonraker_port: 7125
|
||||
# Moonraker API key if this is not connecting from a trusted client IP
|
||||
moonraker_api_key: False
|
||||
|
||||
# Define the z_babystep intervals in a CSV list. Currently only 2 are supported
|
||||
z_babystep_values: 0.01, 0.05
|
||||
|
||||
# Override the movement speed and set a specific for this printer.
|
||||
# These setting overrides the settings configured in the UI. If specified,
|
||||
# the values configured in the UI will not be used.
|
||||
move_speed_xy: 500
|
||||
move_speed_z: 300
|
||||
|
||||
# Define one or more moonraker power devices that turn on this printer (CSV list)
|
||||
# Default is the printer name
|
||||
power_devices: example1, example2
|
||||
|
||||
# Define what items should be shown in titlebar besides the extruder and bed
|
||||
# the name must be the same as defined in the klipper config
|
||||
# valid options are temperature_sensors or temperature_fans, or heater_generic
|
||||
titlebar_items: chamber, MCU, Pi
|
||||
|
||||
# The style of the user defined items in the titlebar
|
||||
# Can be 'full' indicating that the full name is shown, 'short' for the first letter, or None (default) for no name
|
||||
titlebar_name_type: None
|
||||
|
||||
# Z probe calibrate position
|
||||
# By default is the middle of the bed
|
||||
calibrate_x_position: 100
|
||||
calibrate_y_position: 100
|
||||
|
||||
# Bed Screws
|
||||
# define the screw positons required for odd number of screws in a comma separated list
|
||||
# possible values are: bl, br, bm, fl, fr, fm, lm, rm, center
|
||||
# they correspond to back-left, back-right, back-middle, front-left, front-right, front-middle, left-middle, right-middle
|
||||
screw_positions: ""
|
||||
|
||||
# Rotation is useful if the screen is not directly in front of the machine.
|
||||
# Valid values are 0 90 180 270
|
||||
screw_rotation: 0
|
||||
|
||||
# Define distances and speeds for the extrude panel. CSV list 2 to 4 integers
|
||||
extrude_distances: 5, 10, 15, 25
|
||||
extrude_speeds: 1, 2, 5, 25
|
||||
|
||||
# Camera needs to be configured in moonraker:
|
||||
# https://moonraker.readthedocs.io/en/latest/configuration/#webcam
|
||||
```
|
||||
|
||||
## Preheat Options
|
||||
```
|
||||
|
||||
!!! question
|
||||
Adding a custom preheat section will cause the defaults to not load, this is
|
||||
the intended behaviour.
|
||||
|
||||
```py
|
||||
[preheat my_temp_setting]
|
||||
# Temperature for the heated bed
|
||||
bed: 40
|
||||
# Temperature for the tools
|
||||
extruder: 195
|
||||
extruder1: 60
|
||||
heater_bed: 40
|
||||
# Use the name
|
||||
chamber: 60
|
||||
# or the full name
|
||||
heater_generic chamber: 60
|
||||
# or for example apply the same temp to devices of the same type
|
||||
temperature_fan: 40
|
||||
heater_generic: 60
|
||||
# optional GCode to run when the option is selected
|
||||
gcode: MY_HEATSOAK_MACRO
|
||||
```
|
||||
|
||||
There is a special preheat setting named cooldown to do additional things when the _cooldown_ button is pressed
|
||||
for example:
|
||||
|
||||
```py
|
||||
[preheat cooldown]
|
||||
gcode: M107
|
||||
```
|
||||
|
||||
## Menu
|
||||
@@ -19,13 +138,22 @@ different items and there are several panel options available. It is possible to
|
||||
button press. There are two menus available in KlipperScreen, __main and __print. The __main menu is displayed while the
|
||||
printer is idle. The __print menu is accessible from the printing status page.
|
||||
|
||||
!!! info
|
||||
A predefined set of menus is already provided and it's recommended to be used
|
||||
|
||||
A menu item is configured as follows:
|
||||
```
|
||||
```py
|
||||
[menu __main my_menu_item]
|
||||
# To build a sub-menu of this menu item, you would next use [menu __main my_menu_item sub_menu_item]
|
||||
name: Item Name
|
||||
icon: home
|
||||
# Optional Parameters
|
||||
#
|
||||
# Icon name to be used, it can be any image in the directory:
|
||||
# KlipperScreen/styles/{theme}/images/ where {theme} is your current theme
|
||||
# Supported formats svg or png
|
||||
icon: home
|
||||
# Icon style, defined as "button.mycolor4" (for example) in the theme css
|
||||
style: mycolor4
|
||||
# Panel from the panels listed below
|
||||
panel: preheat
|
||||
# Moonraker method to call when the item is selected
|
||||
@@ -36,16 +164,36 @@ params: {"script":"G28 X"}
|
||||
# Available variables are listed below.
|
||||
enable: {{ printer.power_devices.count > 0 }}
|
||||
```
|
||||
Available panels are listed here: [docs/panels.md](panels.md)
|
||||
Available panels are listed here: [docs/panels.md](Panels.md)
|
||||
|
||||
Certain variables are available for conditional testing of the enable statement:
|
||||
```
|
||||
```py
|
||||
printer.extruders.count # Number of extruders
|
||||
printer.temperature_devices.count # Number of temperature related devices that are not extruders
|
||||
printer.fans.count # Number of fans
|
||||
printer.power_devices.count # Number of power devices configured in Moonraker
|
||||
printer.gcode_macros.count # Number of gcode macros
|
||||
printer.output_pins.count # Number of fans
|
||||
|
||||
printer.bltouch # Available if bltouch section defined in config
|
||||
printer.probe # Available if probe section defined in config
|
||||
printer.bed_mesh # Available if bed_mesh section defined in config
|
||||
printer.quad_gantry_level # Available if quad_gantry_level section defined in config
|
||||
printer.z_tilt # Available if z_tilt section defined in config
|
||||
|
||||
printer.firmware_retraction # True if defined in config
|
||||
printer.input_shaper # True if defined in config
|
||||
printer.bed_screws # True if defined in config
|
||||
printer.screws_tilt_adjust # True if defined in config
|
||||
|
||||
printer.idle_timeout # Idle timeout section
|
||||
printer.pause_resume # Pause resume section of Klipper
|
||||
|
||||
```
|
||||
|
||||
|
||||
A sample configuration of a main menu would be as follows:
|
||||
```
|
||||
```py
|
||||
[menu __main homing]
|
||||
name: Homing
|
||||
icon: home
|
||||
@@ -66,3 +214,26 @@ icon: home
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28"}
|
||||
```
|
||||
|
||||
## KlipperScreen behaviour towards configuration
|
||||
|
||||
KlipperScreen will search for a configuration file in the following order:
|
||||
|
||||
1. _~/KlipperScreen.conf_
|
||||
2. _${KlipperScreen_Directory}/KlipperScreen.conf_
|
||||
3. _~/printer_data/config/KlipperScreen.conf_
|
||||
4. _~/klipper_config/KlipperScreen.conf_
|
||||
|
||||
If you need a custom location for the configuration file, you can add -c or --configfile to the systemd file and specify
|
||||
the location of your configuration file.
|
||||
|
||||
If one of those files are found, it will be merged with the default configuration.
|
||||
Default Preheat options will be discarded if a custom preheat is found.
|
||||
If include files are defined then, they will be merged first.
|
||||
|
||||
The default config is included here: (do not edit use as reference)
|
||||
_${KlipperScreen_Directory}/ks_includes/default.conf_
|
||||
|
||||
Preferably *do not* copy the entire default.conf file, just configure the settings needed.
|
||||
|
||||
If no config file is found, then when a setting is changed in the settings panel, a new configuration file will be created automatically.
|
||||
@@ -0,0 +1,11 @@
|
||||
# Contact
|
||||
|
||||
There are several ways to contact people who can assist with issues. Discord is going to be the quickest response as
|
||||
there will be more people in the chat who can help.
|
||||
|
||||
## GitHub Issues
|
||||
You may submit a GitHub issue request for any problems you are having.
|
||||
|
||||
## Klipper Community Discord
|
||||
|
||||
[Look for the channel `#klipper-screen`](https://discord.klipper3d.org/)
|
||||
@@ -0,0 +1,59 @@
|
||||
# Developer Guide
|
||||
|
||||
Basic setup for an enviroment to do development of KlipperScreen.
|
||||
|
||||
!!! note "Alfrix Note:"
|
||||
I use a standard Linux distro with a desktop enviroment.
|
||||
|
||||
## Clone the repo
|
||||
Clone your fork, for example:
|
||||
```
|
||||
cd ~
|
||||
git clone https://github.com/klipperscreen/klipperscreen.git
|
||||
```
|
||||
|
||||
## Install the dependencies on the host
|
||||
The X11 or Wayland dependencies should not be needed if you are running a desktop GNU/Linux distro.
|
||||
See [scripts/system-dependencies.json](https://github.com/KlipperScreen/KlipperScreen/blob/master/scripts/system-dependencies.json)
|
||||
|
||||
## Create a virtual environment
|
||||
For example:
|
||||
```bash
|
||||
virtualenv -p /usr/bin/python3 ~/.KlipperScreen-env
|
||||
source ~/.KlipperScreen-env/bin/activate
|
||||
cd ~/KlipperScreen
|
||||
pip install -r scripts/klipperscreen-requirements.txt
|
||||
```
|
||||
# Set configurations
|
||||
Create klipperscreen.conf and place it on the repo folder
|
||||
```
|
||||
[main]
|
||||
show_cursor=True
|
||||
# disable screen timeouts
|
||||
use_dpms=False
|
||||
screen_blanking=off
|
||||
# disable Fullscreen and start in a specified size
|
||||
# 480 x 320 is the minimum size to target
|
||||
width=480
|
||||
height=320
|
||||
# setting width or height will disable fullscreen and it's the intended behavior
|
||||
```
|
||||
|
||||
At this point you can add your actual printer section with the IP (and port of needed) to the config or/and add a virtual printer
|
||||
|
||||
# Optional: Virtual printer
|
||||
|
||||
You may use a virtual printer like it's described in the [klipper docs](https://www.klipper3d.org/Debugging.html#testing-with-simulavr),
|
||||
or it's [alternative that uses docker](https://github.com/mainsail-crew/virtual-klipper-printer)
|
||||
|
||||
Using a Virtual printer will need klipper and moonraker need to be installed in the machine too.
|
||||
|
||||
!!! note
|
||||
The virtual printer has various limitations,
|
||||
like constant temperature and limited availability of pins,
|
||||
it's not a limitation of klipperscreen
|
||||
|
||||
## Optional: Configure the IDE
|
||||
|
||||
* Set interpreter to the virtual environment created
|
||||
* Set the run configuration to `KlipperScreen/screen.py`
|
||||
@@ -0,0 +1,190 @@
|
||||
# Hardware
|
||||
|
||||
There are no recommended screens, but the minimum supported resolution is 480x320.
|
||||
|
||||
In general, if the device can show a GNU/Linux desktop, then KlipperScreen should work too.
|
||||
|
||||
#### Hardware known to work
|
||||
|
||||
* [BTT PI TFT50](https://www.biqu.equipment/collections/lcd/products/bigtreetech-pi-tft50-v1-0-tft-display-for-raspberry-pi-3d-printer-part)
|
||||
* [BTT HDMI5/7](https://biqu.equipment/products/bigtreetech-hdmi5-v1-0-hdmi7-v1-0)
|
||||
* [Raspberry PI 7" Touchscreen](https://www.raspberrypi.org/products/raspberry-pi-touch-display/)
|
||||
* [Hyperpixel 4](https://shop.pimoroni.com/products/hyperpixel-4)
|
||||
* [3.5" Elegoo](https://www.elegoo.com/de/products/elegoo-3-5-inch-tft-lcd-screen)
|
||||
* [3.5" RPi Display](http://www.lcdwiki.com/3.5inch_RPi_Display)
|
||||
* [5" HDMI Display-B](http://lcdwiki.com/5inch_HDMI_Display-B)
|
||||
* [VoCore](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35/7)
|
||||
* [WAVESHARE 4.3 inch DSI LCD](https://www.waveshare.com/4.3inch-dsi-lcd.htm)
|
||||
* [DFrobot DFR0550](https://wiki.dfrobot.com/5%27%27TFT-Display_with_Touchscreen_V1.0_SKU_DFR0550)
|
||||
* [Android phone](Android.md)
|
||||
|
||||
|
||||
* [More known hardware in the klipper discourse](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35)
|
||||
|
||||
### Configuration
|
||||
|
||||
Follow the manufacturer instructions on how to install your screen. In general if you see a white screen, then it's not properly installed, ensure that you at least see a console, Then [install](Installation.md) KlipperScreen, if you are having troubles refer to the [troubleshooting page](Troubleshooting.md) for further information.
|
||||
|
||||
## Screen rotation
|
||||
Configure the server to start in the desired orientation, there are many ways to achieve this,
|
||||
here are some examples:
|
||||
|
||||
!!! warning
|
||||
Rotation is handled by the OS and not by KlipperScreen,
|
||||
if you can't rotate your screen it's usually an issue with the OS configuration
|
||||
|
||||
|
||||
???+ example
|
||||
|
||||
Create /usr/share/X11/xorg.conf.d/90-monitor.conf
|
||||
```bash
|
||||
sudo nano /usr/share/X11/xorg.conf.d/90-monitor.conf
|
||||
```
|
||||
|
||||
Paste this section modifying the options to suit your needs:
|
||||
```
|
||||
Section "Monitor"
|
||||
Identifier "DPI-1"
|
||||
# This identifier would be the same as the name of the connector printed by xrandr.
|
||||
# it can be "HDMI-0" "DisplayPort-0", "DSI-0", "DVI-0", "DPI-0" etc
|
||||
|
||||
Option "Rotate" "left"
|
||||
# Valid rotation options are normal,inverted,left,right
|
||||
|
||||
|
||||
Option "PreferredMode" "1920x1080"
|
||||
# May be necesary if you are not getting your prefered resolution.
|
||||
EndSection
|
||||
```
|
||||
Save the file and restart KlipperScreen.
|
||||
|
||||
```bash
|
||||
sudo service KlipperScreen restart
|
||||
```
|
||||
|
||||
??? example "Using Waveshare screen that is installed with LCD-show"
|
||||
|
||||
```bash
|
||||
cd LCD-show/
|
||||
sudo ./LCD43-show 270 lite
|
||||
```
|
||||
|
||||
??? example "Using a screen installed with goodtft-LCD-show"
|
||||
|
||||
```bash
|
||||
cd LCD-show/
|
||||
sudo ./rotate.sh 90
|
||||
```
|
||||
|
||||
??? example "Raspberry Pi"
|
||||
|
||||
|
||||
|
||||
To set screen orientation when in console mode, you will need to edit the kernel command line to pass the required orientation to the system.
|
||||
|
||||
```bash
|
||||
sudo nano /boot/cmdline.txt
|
||||
```
|
||||
|
||||
To rotate by 90 degrees clockwise, add the following to the cmdline, making sure everything is on the same line, do not add any carriage returns. Possible rotation values are 0, 90, 180 and 270.
|
||||
|
||||
```bash
|
||||
video=DSI-1:800x480@60,rotate=90
|
||||
```
|
||||
Other values can be "HDMI-0" "HDMI-1, "DPI-0" etc
|
||||
|
||||
[Read the official docs for more info](https://www.raspberrypi.com/documentation/computers/config_txt.html)
|
||||
|
||||
[Raspberry Display docs](https://www.raspberrypi.com/documentation/accessories/display.html)
|
||||
|
||||
??? example "Raspberry Pi legacy mode (works with vc4-fkms-v3d)"
|
||||
|
||||
add to config.txt
|
||||
```bash
|
||||
display_lcd_rotate=2
|
||||
```
|
||||
Reboot
|
||||
|
||||
!!! warning
|
||||
Pi4 doesn't support 90 and 270 degrees with this method, [see the official docs](https://www.raspberrypi.com/documentation/computers/config_txt.html#display_hdmi_rotate)
|
||||
|
||||
|
||||
|
||||
| Value | result |
|
||||
| ---------- | ---------- |
|
||||
| 0 | no rotation |
|
||||
| 1 | rotate 90 degrees clockwise |
|
||||
| 2 | rotate 180 degrees clockwise |
|
||||
| 3 | rotate 270 degrees clockwise |
|
||||
| 0x10000h | horizontal flip |
|
||||
| 0x20000 | vertical flip |
|
||||
|
||||
[Read the official docs for more info](https://www.raspberrypi.com/documentation/computers/config_txt.html)
|
||||
|
||||
|
||||
## Touchscreen touch rotation
|
||||
If your touchscreen isn't registering touches properly after the screen has been rotated, you will need to apply a
|
||||
transformation matrix.
|
||||
|
||||
First you will need your device name, on a terminal run:
|
||||
|
||||
```sh
|
||||
DISPLAY=:0 xinput
|
||||
```
|
||||
|
||||
Output:
|
||||
```sh
|
||||
⎡ Virtual core pointer id=2 [master pointer (3)]
|
||||
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
|
||||
⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)]
|
||||
⎣ Virtual core keyboard id=3 [master keyboard (2)]
|
||||
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
|
||||
```
|
||||
In this case the device is the ADS7846 Touchscreen, yours may be different
|
||||
|
||||
You can test a change by running:
|
||||
|
||||
```sh
|
||||
DISPLAY=:0 xinput set-prop "<device name>" 'Coordinate Transformation Matrix' <matrix>
|
||||
```
|
||||
|
||||
Where the matrix can be one of the following options:
|
||||
|
||||
* 0°: `1 0 0 0 1 0 0 0 1`
|
||||
* 90° Clockwise: `0 -1 1 1 0 0 0 0 1`
|
||||
* 90° Counter-Clockwise: `0 1 0 -1 0 1 0 0 1`
|
||||
* 180° (Inverts X and Y): `-1 0 1 0 -1 1 0 0 1`
|
||||
* invert Y: `-1 0 1 1 1 0 0 0 1`
|
||||
* invert X: `-1 0 1 0 1 0 0 0 1`
|
||||
|
||||
For example:
|
||||
|
||||
```sh
|
||||
DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1
|
||||
```
|
||||
|
||||
To make this permanent, modify the file `/etc/udev/rules.d/51-touchscreen.rules` and add following line:
|
||||
|
||||
```sh
|
||||
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
|
||||
```
|
||||
|
||||
As an alternative if the above doesn't work:
|
||||
|
||||
edit /usr/share/X11/xorg.conf.d/40-libinput.conf
|
||||
|
||||
for example:
|
||||
```sh
|
||||
Section "InputClass"
|
||||
Identifier "libinput touchscreen catchall"
|
||||
MatchIsTouchscreen "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "libinput"
|
||||
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
|
||||
EndSection
|
||||
```
|
||||
|
||||
More info about input transformation can be found in:
|
||||
|
||||
* [Ubuntu wiki InputCoordinateTransformation](https://wiki.ubuntu.com/X/InputCoordinateTransformation)
|
||||
* [Libinput docs](https://wayland.freedesktop.org/libinput/doc/1.9.0/absolute_axes.html)
|
||||
@@ -1,40 +1,77 @@
|
||||
### Required Hardware
|
||||
KlipperScreen should run on any HDMI touchscreen that you can connect to a computer. The required video driver may
|
||||
be slightly different depending on what model you get. I am developing on a 1024x600 resolution screen. Due to this,
|
||||
other resolutions may not be scaled properly at this moment. UI scaling is a future development item.
|
||||
# Installation
|
||||
|
||||
#### Configure Hardware
|
||||
## First steps
|
||||
|
||||
Add the following to _/boot/config.txt_. You can alter the hdmi_cvt to your screen specifications. This example is setup
|
||||
for a resolution of 1024x600 and a refresh rate of 60hz.
|
||||
Install the screen, following the instructions provided by the manufacturer, Some screens don't neeed extra software but some need to be installed with a script.
|
||||
It's strongly recommended to test it and ensure your hardware is working with Raspbian, Ubuntu or any distro you like.
|
||||
Once you have established that the screen is working, then proceed installing KlipperScreen.
|
||||
|
||||
## Setup
|
||||
This install process is meant for a non-desktop version of the OS for example Raspbian Lite, but it should work on other versions.
|
||||
|
||||
If you want to use it on a desktop (GUI version), then do `sudo systemctl set-default multi-user.target`
|
||||
if it's a Raspberry Pi, you can use `sudo raspi-config` to set boot to console by choosing the following options in order:
|
||||
|
||||
```sh
|
||||
1System Options
|
||||
└──S5 Boot / Auto Login
|
||||
└──B1 Console
|
||||
```
|
||||
hdmi_cvt=1024 600 60 6 0 0 0
|
||||
hdmi_group=2
|
||||
hdmi_mode=87
|
||||
hdmi_drive=2
|
||||
|
||||
## Auto install
|
||||
|
||||
[KIAUH](https://github.com/th33xitus/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions.
|
||||
|
||||

|
||||
|
||||
You can visit [KIAUH on GitHub](https://github.com/th33xitus/kiauh) to learn more and view its documentation.
|
||||
|
||||
|
||||
## Manual Install
|
||||
|
||||
First install [Klipper](https://www.klipper3d.org/Installation.html) and [Moonraker](https://moonraker.readthedocs.io/en/latest/installation/).
|
||||
|
||||
### KlipperScreen Installation
|
||||
Execute the following commands:
|
||||
|
||||
```sh
|
||||
cd ~/
|
||||
git clone https://github.com/jordanruthe/KlipperScreen.git
|
||||
cd ~/KlipperScreen
|
||||
./scripts/KlipperScreen-install.sh
|
||||
```
|
||||
* Development has been using 1024x600 for a screen resolution. Other resolutions may have issues currently
|
||||
|
||||
After changing _/boot/config.txt_ you must reboot your raspberry pi. Please also ensure you followed setting up your screen via the screen instructions. This will likely have a xorg.conf.d file for input from the touchscreen that you need to create.
|
||||
This script will install packages that are listed under manual install, create a python virtual environment at
|
||||
`~/.KlipperScreen-env` and install a systemd service file.
|
||||
|
||||
### Installation
|
||||
If you need a custom location for the configuration file, you can add -c or --configfile to the systemd file and specify
|
||||
the location of your configuration file.
|
||||
|
||||
Follow the instructions to install klipper and moonraker.
|
||||
klipper: https://github.com/KevinOConnor/klipper/
|
||||
moonraker: https://github.com/Arksine/moonraker
|
||||
At this point KlipperScreen should be working, if it doesn't start then go to the [troubleshooting page](Troubleshooting.md)
|
||||
|
||||
Ensure that 127.0.0.1 is a trusted client for moonraker, such as in this example:
|
||||
```
|
||||
## Moonraker configuration
|
||||
|
||||
In moonraker.conf ensure that 127.0.0.1 is a trusted client:
|
||||
|
||||
```py
|
||||
[authorization]
|
||||
trusted_clients:
|
||||
127.0.0.1
|
||||
```
|
||||
!!! warning
|
||||
`force_logins: true` requires the moonraker api key in [KlipperScreen.conf](Configuration.md)
|
||||
|
||||
For moonraker, ensure that 127.0.0.1 is a trusted client:
|
||||
If you wish to use the update manager feature of moonraker for KlipperScreen, add the following block to the moonraker.conf:
|
||||
|
||||
Run _scripts/KlipperScreen-install.sh_
|
||||
This script will install packages that are listed under manual install, create a
|
||||
python virtual environment at ${HOME}/.KlipperScreen-env and install a systemd
|
||||
service file.
|
||||
|
||||
As an option to do development or interact with KlipperScreen from your computer, you may install tigervnc-scraping-server and VNC to your pi instance. Follow tigervnc server setup procedures for details on how to do that.
|
||||
```py
|
||||
[update_manager KlipperScreen]
|
||||
type: git_repo
|
||||
path: ~/KlipperScreen
|
||||
origin: https://github.com/KlipperScreen/KlipperScreen.git
|
||||
virtualenv: ~/.KlipperScreen-env/bin/python
|
||||
requirements: scripts/KlipperScreen-requirements.txt
|
||||
system_dependencies: scripts/system-dependencies.json
|
||||
managed_services: KlipperScreen
|
||||
```
|
||||
!!! note
|
||||
If you see warnings in other UIs ignore them until KlipperScreen finishes installing.
|
||||
@@ -0,0 +1,127 @@
|
||||
# Panels
|
||||
|
||||
### Main Menu
|
||||

|
||||
|
||||
### [Job Status](Panels/Job_status.md)
|
||||
```py
|
||||
panel: job_status
|
||||
```
|
||||
[](Panels/Job_status.md)
|
||||
|
||||
### [Bed Level](Panels/Screws.md)
|
||||
```py
|
||||
panel: bed_level
|
||||
```
|
||||
[](Panels/Screws.md)
|
||||
|
||||
### Bed Mesh
|
||||
```py
|
||||
panel: bed_mesh
|
||||
```
|
||||

|
||||
|
||||
### Console
|
||||
```py
|
||||
panel: console
|
||||
```
|
||||

|
||||
|
||||
### Extrude
|
||||
```py
|
||||
panel: extrude theme:material-dark
|
||||
```
|
||||

|
||||
|
||||
### Fan
|
||||
```py
|
||||
panel: fan
|
||||
```
|
||||

|
||||
|
||||
### Fine Tune
|
||||
```py
|
||||
panel: fine_tune
|
||||
```
|
||||

|
||||
|
||||
### Gcode Macros
|
||||
```py
|
||||
panel: gcode_macros
|
||||
```
|
||||

|
||||
|
||||
### Input Shapers
|
||||
```py
|
||||
panel: input_shaper
|
||||
```
|
||||

|
||||
|
||||
### Limits
|
||||
```py
|
||||
panel: limits
|
||||
```
|
||||

|
||||
|
||||
### Menu
|
||||

|
||||
|
||||
### Move
|
||||
```py
|
||||
panel: move
|
||||
```
|
||||

|
||||
|
||||
### Network
|
||||
```py
|
||||
panel: network
|
||||
```
|
||||

|
||||
|
||||
### Power
|
||||
```py
|
||||
panel: power
|
||||
```
|
||||

|
||||
|
||||
### Print
|
||||
```py
|
||||
panel: print
|
||||
```
|
||||

|
||||
|
||||
### Retraction
|
||||
```py
|
||||
panel: retraction
|
||||
```
|
||||

|
||||
|
||||
### Settings
|
||||
```py
|
||||
panel: settings
|
||||
```
|
||||

|
||||
|
||||
### System
|
||||
```py
|
||||
panel: system
|
||||
```
|
||||

|
||||
|
||||
### Spoolman
|
||||
```py
|
||||
panel: spoolman
|
||||
```
|
||||

|
||||
|
||||
### [Temperature](Panels/Temperature.md)
|
||||
```py
|
||||
panel: temperature
|
||||
```
|
||||
[](Panels/Temperature.md)
|
||||
|
||||
### [Z Calibrate](Panels/Zcalibrate.md)
|
||||
```py
|
||||
panel: zcalibrate
|
||||
```
|
||||
[](Panels/Zcalibrate.md)
|
||||
@@ -0,0 +1,28 @@
|
||||
# Job Status
|
||||
|
||||
Also known as "Print Status" or the "printing panel" shows the relevant information of the current print.
|
||||
|
||||

|
||||
|
||||
!!! tip
|
||||
the third row shows the LCD message (`M117`)
|
||||
|
||||
This panel has more information than it shows by default, just click/tap the corresponding the status buttons to access the extra information
|
||||
|
||||
## Position info
|
||||

|
||||
!!! note
|
||||
Layer is calculated from object height, it may not be accurate if variable layer is used
|
||||
|
||||
If that is the case use the Layer Progress method described in the [Quicktips](../Quicktips.md#layer-progress)
|
||||
|
||||
## Extrusion info
|
||||

|
||||
|
||||
## Time info
|
||||

|
||||
|
||||
## Extra temperature items
|
||||
|
||||
By default only extruder and bed temperatures will be available but additional items can be defined
|
||||
using ["titlebar_items" in the config](../Configuration.md#printer-options)
|
||||
@@ -0,0 +1,45 @@
|
||||
# Bed level
|
||||
|
||||

|
||||
|
||||
For this panel to appear in the menu `[bed_screws]` or `[screws_tilt_adjust]` need to be defined in Klipper config (printer.cfg)
|
||||
|
||||
!!! Important
|
||||
* `[bed_screws]` uses nozzle positions (nozzle above the screw) [Read Klipper doc entry](https://www.klipper3d.org/Config_Reference.html#bed_screws)
|
||||
* `[screws_tilt_adjust]` uses probe positions (probe above the screw) [Read Klipper doc entry](https://www.klipper3d.org/Config_Reference.html#screws_tilt_adjust)
|
||||
|
||||
|
||||
The corner buttons in KlipperScreen place the nozzle above the screw to do the ["paper test"](https://www.klipper3d.org/Bed_Level.html?h=paper#the-paper-test).
|
||||
|
||||
When `[screws_tilt_adjust]` is defined a couple of things happen:
|
||||
|
||||
* A button named "Screws adjust" appears, it runs `SCREWS_TILT_CALCULATE` when is pressed,
|
||||
and reports the amount to be adjusted into the labels of the corner buttons.
|
||||
* `[bed_screws]` is now ignored by KlipperScreen. (explained below)
|
||||
* The corner buttons are now `[screws_tilt_adjust]` coordinates with the probe offset applied. (explained below)
|
||||
|
||||
### Why `[bed_screws]` are ignored/not used?
|
||||
|
||||
Because if the probe offset is changed or the difference between `[bed_screws]` and `[screws_tilt_adjust]` wasn't calculated correctly,
|
||||
the "Screws adjust" button stops working.
|
||||
|
||||
|
||||
### Why the probe offset is applied to `[screws_tilt_adjust]`?
|
||||
|
||||
Because the corner buttons in KlipperScreen should place the nozzle above the screw to do the ["paper test"](https://www.klipper3d.org/Bed_Level.html?h=paper#the-paper-test). It doesn't affect the function of `SCREWS_TILT_CALCULATE`, which will go to the defined positions.
|
||||
|
||||
## Not supported for auto-detection
|
||||
|
||||
This message will appear if you are using 3 or 5 screws and didn't define them in KlipperScreen.conf.
|
||||
See "screw_positions" in the [printer options](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
|
||||
|
||||
## Limitations
|
||||
|
||||
The panel doesn't support more than 9 screws. if there is a center screw define the positions to avoid issues.
|
||||
See "screw_positions" in the [printer options](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
|
||||
|
||||
|
||||
## Is there an alternative?
|
||||
|
||||
If you have a reliable probe, define `[bed_mesh]` in Klipper config, remove the springs
|
||||
and use some thread-locker or locking nuts to fix the bed to the gantry, let the probe do a mesh save it and forget about this.
|
||||
@@ -0,0 +1,23 @@
|
||||
# Temperature
|
||||
|
||||
This panel is available when there is at least one device with a temperature sensor asociated,
|
||||
this includes extruders, heaters, sensors and temperature_fans.
|
||||
|
||||
There are 3 main modes of operation:
|
||||
|
||||
## Preheat
|
||||
[Define profiles](../Configuration.md#preheat-options) to quickly change the target temperature of multiple selected devices.
|
||||
This is the default mode when not printing.
|
||||
|
||||

|
||||
|
||||
## Delta adjust
|
||||
Change the target of the selected devices, the amount is selectable.
|
||||
This is the default mode while printing
|
||||
|
||||

|
||||
|
||||
## Direct input with keypad
|
||||
Allows to set the exact temperature using the keypad.
|
||||
|
||||

|
||||
@@ -0,0 +1,44 @@
|
||||
# Zcalibrate
|
||||
This panel supports various modes of operation to assist in the calibration of the Z axis of the machine.
|
||||
It's strongly suggested to read Klipper documentation about [Bed level](https://www.klipper3d.org/Bed_Level.html)
|
||||
|
||||

|
||||
|
||||
|
||||
## Buttons
|
||||
* "Start" will initiate the only method available, or ask the user if multiple methods are available.
|
||||
!!! note
|
||||
KlipperScreen will home if needed and move to the middle of the bed,
|
||||
but the location can be configured in [KlipperScreen.conf](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
|
||||
* The raise(+) and lower(-) buttons send `TESTZ Z=distance` where distance is selected in the bottom row.
|
||||
* Accept will send `ACCEPT`
|
||||
* Abort will send `ABORT`
|
||||
|
||||
## Calibration methods
|
||||
### Endstop (`Z_ENDSTOP_CALIBRATE`)
|
||||
Available when an physical endstop is defined for `[stepper_z]`
|
||||
|
||||
See Klipper documentation: [Calibrating a Z endstop](https://www.klipper3d.org/Manual_Level.html#calibrating-a-z-endstop)
|
||||
|
||||
### Probe (`PROBE_CALIBRATE`)
|
||||
Available when a probe is defined. (BL-Touch is a probe)
|
||||
|
||||
See Klipper documentation: [Calibrating probe Z offset](https://www.klipper3d.org/Probe_Calibrate.html#calibrating-probe-z-offset)
|
||||
|
||||
### Bed mesh (`BED_MESH_CALIBRATE`)
|
||||
Available when a probe is not defined and `[bed_mesh]` is defined
|
||||
|
||||
this mode lets you create a mesh leveling bed using the paper test in various points.
|
||||
|
||||
!!! warning
|
||||
DO NOT adjust the bed screws while using this mode.
|
||||
|
||||
Adjust the screws using the [bed screws](Screws.md) panel before running this tool.
|
||||
|
||||
### Delta Automatic/Manual (`DELTA_CALIBRATE`)
|
||||
Available when the kinematics are defined as delta.
|
||||
|
||||
See Klipper documentation: [Delta calibration](https://www.klipper3d.org/Delta_Calibrate.html)
|
||||
|
||||
!!! note
|
||||
KlipperScreen will automatically Home(`G28`) if needed
|
||||
@@ -0,0 +1,65 @@
|
||||
# Quicktips
|
||||
quick tips, without much explanation
|
||||
|
||||
|
||||
## Hide macros, outputs or fans
|
||||
As you probably already noticed, you can show and hide the gcode macros in the interface settings,
|
||||
but you can also hide gcode macros by prefixing the name with an underscore.
|
||||
|
||||
```py
|
||||
[gcode_macro MY_AWESOME_GCODE]
|
||||
gcode:
|
||||
_MY_HELPER_CODE
|
||||
[gcode_macro _MY_HELPER_CODE]
|
||||
gcode:
|
||||
M300
|
||||
```
|
||||
|
||||
MY_AWESOME_GCODE appears in your interface settings, _MY_HELPER_CODE not.
|
||||
|
||||
Another example:
|
||||
|
||||
Lets hide a temperature_fan:
|
||||
|
||||
```py
|
||||
[temperature_fan fan1]
|
||||
[temperature_fan _fan2]
|
||||
```
|
||||
|
||||
fan1 will show in the interface, but _fan2 will be hidden.
|
||||
|
||||
|
||||
## Thumbnails
|
||||
|
||||
Moved to [Thumbnails](Thumbnails.md)
|
||||
|
||||
|
||||
## Layer Progress
|
||||
|
||||
Accurate layer progress as a message below the status:
|
||||
|
||||
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode
|
||||
|
||||
`M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}`
|
||||
|
||||

|
||||
|
||||
Accurate layer progress in the secondary screen of the printing panel:
|
||||
|
||||
The layer number in the secondary screen of the printing panelis calculated according to object height and provided layer height.
|
||||
It will be innacurate when using variable layer height, but can be fixed by providing klipper with the correct data.
|
||||
|
||||

|
||||
|
||||
PrusaSlicer/SuperSlicer:
|
||||
|
||||
Printer Settings > Custom Gcode > Start Gcode
|
||||
|
||||
`SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]`
|
||||
|
||||
Printer Settings > Custom Gcode > After layer change Gcode
|
||||
|
||||
`SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}`
|
||||
|
||||
## Supported Macros
|
||||
[Macros](macros.md)
|
||||
@@ -0,0 +1,33 @@
|
||||
# Theming
|
||||
|
||||
To create a custom theme, create a folder in: _${KlipperScreen_Directory}/styles/_
|
||||
|
||||
The folder name will be the theme name, in that folder create another folder named `images` this is where the icons should be placed. The icons must be SVG files and they need to have specific names that are defined in the code, use the default theme as a reference for the names or check the code.
|
||||
|
||||
To edit colors and styles, create a css file named `style.css` you can use the contents of another theme as a reference.
|
||||
|
||||
### Example 1
|
||||
|
||||
```sh
|
||||
cd ~/KlipperScreen/styles
|
||||
mkdir -p mytheme/images
|
||||
cd mytheme
|
||||
cp ../z-bolt/images/* images/
|
||||
echo "window { background-color: red;}" > style.css
|
||||
sudo service KlipperScreen restart
|
||||
```
|
||||
|
||||
At this point `mytheme` should be on the list of themes, and when you select it the background should be red.
|
||||
|
||||
|
||||
### Example 2
|
||||
|
||||
Creating a custom background from Mainsail sidebar and this css using Z-bolt icons
|
||||
|
||||
```css
|
||||
window { background-image: url("/home/pi/mainsail/img/background.svg");}
|
||||
button {background-color: rgba(0,0,0,0); border-radius:2em;}
|
||||
```
|
||||
|
||||

|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
# Thumbnails
|
||||
KlipperScreen can display thumbnails in the file browser and as previews in the print status.
|
||||
|
||||

|
||||
|
||||
Recommended sizes for thumbnails:
|
||||
|
||||
* 300 x 300 - For the larger previews.
|
||||
* 32 x 32 - For the smaller thumbnails used in lists.
|
||||
|
||||
!!! note
|
||||
Other sizes should work, but keep in mind bigger thumbnails are slower to load and can produce bigger gcode files.
|
||||
|
||||
## Select your slicer:
|
||||
* [PrusaSlicer](#prusaslicer)
|
||||
* [SuperSlicer](#superslicer)
|
||||
* [Cura](#cura)
|
||||
* [ideaMaker](#ideamaker)
|
||||
|
||||
### PrusaSlicer
|
||||
In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews.
|
||||
Under General / Firmware.
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
### SuperSlicer
|
||||
In “Expert” mode SuperSlicer has some very convenient options in the “Printer Settings” tab to activate and customize the previews.
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
### Cura
|
||||
|
||||
#### Option #1 A post processing script (Cura 4.9+)
|
||||
|
||||
1. With Cura open, navigate to Extensions, Post Processing, Modify G-Code
|
||||
2. Click Add a script, and select Create Thumbnail
|
||||
3. Set both Width and Height to 300
|
||||
4. Click Add a script, and select Create Thumbnail
|
||||
5. Set both Width and Height to 32
|
||||
6. Click Close
|
||||
|
||||
#### Option #2 A plugin (Cura 4.7+)
|
||||
|
||||
[Cura2Moonraker](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin)
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
### ideaMaker
|
||||
1. Open the Advanced tab in the printer settings
|
||||
2. Enable "GCode Thumbnails for Octoprint and Mainsail"
|
||||
3. Set both Width and Height to 300
|
||||
|
||||

|
||||
@@ -0,0 +1,32 @@
|
||||
# Translations
|
||||
|
||||
## Updating an existing translation:
|
||||
|
||||
You can use an editor such as [poedit](https://poedit.net/) to assist in translations.
|
||||
|
||||
* Edit `ks_includes/locals/{ISO 639 lang code}/LC_MESSAGES/KlipperScreen.po`
|
||||
|
||||
To test your translation:
|
||||
|
||||
In poedit go to `File -> Compile to MO`. Save it on the same folder, and restart KlipperScreen
|
||||
|
||||
|
||||
## Adding a new Language:
|
||||
|
||||
Example using poedit
|
||||
|
||||
* Select `Create a new translation` or `File -> New from POT/PO` and select `ks_includes/locals/KlipperScreen.pot`.
|
||||
!!! important
|
||||
Do not edit the POT file as is automatically generated and your changes will be lost.
|
||||
* Save the file as `ks_includes/locales/{ISO 639 lang code}/LC_MESSAGES/KlipperScreen.po`
|
||||
* Select `File -> Compile to MO`. Save it on the same folder, and restart KlipperScreen
|
||||
|
||||
!!! note
|
||||
[Wikipedia ISO 639 Language Codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
|
||||
|
||||
Once you have restarted KlipperScreen, select it from the list in the settings.
|
||||
If you edited and recompiled, you need to restart KlipperScreen to reload the translation.
|
||||
|
||||
|
||||
## Contributing:
|
||||
[Attach your translation on a GitHub issue or create a PR](Contact.md)
|
||||
@@ -0,0 +1,77 @@
|
||||
|
||||
# First Steps
|
||||
|
||||
The first step to troubleshooting any problem is getting the cause of the error.
|
||||
|
||||
* Find KlipperScreen.log:
|
||||
|
||||
!!! important
|
||||
This log file should be provided if you ask for support.
|
||||
|
||||
Depending on your setup the file could be accessible from the web interface alongside other logs
|
||||
|
||||
Mainsail | Fluidd
|
||||
:-:|:-:
|
||||
 | 
|
||||
|
||||
if you can't find it in the web interface, use sftp to grab the log (for example Filezilla, WinSCP)
|
||||
Located at `~/printer_data/logs`or in `/tmp/` if the former doesn't exist.
|
||||
|
||||
If KlipperScreen.log doesn't exist, run `systemctl status KlipperScreen`<br>
|
||||
(or `journalctl -xe -u KlipperScreen`)
|
||||
|
||||
Check the file `/var/log/Xorg.0.log` where you can find issues with the X server.
|
||||
|
||||
## Screen shows console instead of KlipperScreen
|
||||
|
||||
If you see this line in the logs (`systemctl status KlipperScreen`):
|
||||
```sh
|
||||
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
|
||||
```
|
||||
[Follow this steps](Troubleshooting/VC_ERROR.md)
|
||||
|
||||
If you see this line in the logs (`systemctl status KlipperScreen`):
|
||||
|
||||
```sh
|
||||
KlipperScreen-start.sh: (EE) no screens found(EE)
|
||||
```
|
||||
|
||||
[First check the screen](Troubleshooting/Physical_Install.md)
|
||||
|
||||
[If it's not any of the above follow this steps](Troubleshooting/Showing_console.md)
|
||||
|
||||
## Screen is all white or blank or no signal
|
||||
|
||||
If the screen never shows the console even during startup, Then it's typically an improperly installed screen,
|
||||
|
||||
You may see this line in the logs (`systemctl status KlipperScreen`):
|
||||
|
||||
```sh
|
||||
KlipperScreen-start.sh: (EE) no screens found(EE)
|
||||
```
|
||||
|
||||
[Follow this steps](Troubleshooting/Physical_Install.md)
|
||||
|
||||
|
||||
## The screen shows colors or 'No signal' when idle
|
||||
|
||||
In KliperScreen settings find 'Screen DPMS' and turn it off.
|
||||
Your screen doesn't seem to support turning off via software, the best you can do is to turn it all black.
|
||||
|
||||
## Touch issues
|
||||
|
||||
|
||||
[Follow this steps](Troubleshooting/Touch_issues.md)
|
||||
|
||||
## Network panel doesn't list WI-FI networks
|
||||
|
||||
[Follow this steps](Troubleshooting/Network.md)
|
||||
|
||||
## OctoPrint
|
||||
|
||||
KlipperScreen was never intended to be used with OctoPrint, and there is no support for it.
|
||||
|
||||
## Other issues
|
||||
|
||||
If you found an issue not listed here, or can't make it work, please provide all the log files
|
||||
a description of your hw, and a description of the issue when asking for support.
|
||||
@@ -0,0 +1,50 @@
|
||||
# Wi-Fi networks not listed
|
||||
|
||||
Check if network-manager is installed:
|
||||
|
||||
```
|
||||
dpkg -s network-manager
|
||||
```
|
||||
|
||||
if the response is the following:
|
||||
|
||||
```
|
||||
dpkg-query: the package `network-manager' is not installed
|
||||
```
|
||||
|
||||
go to [wpa_supplicant](wpa_supplicant.md)
|
||||
|
||||
if the response is the following:
|
||||
|
||||
```
|
||||
Package: network-manager
|
||||
Status: install ok installed
|
||||
```
|
||||
|
||||
this line may appear in KlipperScreen.log:
|
||||
|
||||
`[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized`
|
||||
|
||||
|
||||
in order to fix this polkit needs to be configured or disabled:
|
||||
|
||||
here is how to disable polkit for network-manager:
|
||||
|
||||
```sh
|
||||
mkdir -p /etc/NetworkManager/conf.d
|
||||
sudo nano /etc/NetworkManager/conf.d/any-user.conf
|
||||
```
|
||||
|
||||
in the editor paste this:
|
||||
|
||||
```conf
|
||||
[main]
|
||||
auth-polkit=false
|
||||
```
|
||||
|
||||
Then restart the service (or reboot):
|
||||
|
||||
```sh
|
||||
systemctl restart NetworkManager.service
|
||||
systemctl restart KlipperScreen.service
|
||||
```
|
||||
@@ -0,0 +1,28 @@
|
||||
# Physical install issues
|
||||
|
||||
If the screen never shows the console even during startup, Then it's typically an improperly installed screen,
|
||||
|
||||
!!! important
|
||||
It is advised follow the manufacturer instructions on how to physically connect the screen and install the proper drivers.
|
||||
|
||||
## Cable issues
|
||||
|
||||
* Check that the cable is inserted properly:
|
||||
it shouldn't be loose, and in the case of DSI make sure the contacts face the right way
|
||||
* If the touchscreen is connected via USB, try another port if available, if you are using a HUB try connecting the touch directly without the HUB.
|
||||
* If the board has more than one HDMI try the other port
|
||||
|
||||
## Driver issues
|
||||
|
||||
Some screens need drivers installed the most common cases are:
|
||||
|
||||
### Waveshare
|
||||
* [Waveshare Wiki](https://www.waveshare.com/wiki)
|
||||
* [repo LCD-show](https://github.com/waveshare/LCD-show)
|
||||
|
||||
### Goodtft (generic/clones)
|
||||
* [Goodtft Wiki](http://www.lcdwiki.com)
|
||||
* [repo LCD-show](https://github.com/goodtft/LCD-show)
|
||||
|
||||
!!! critical
|
||||
remember to add `lite` when installing. See [LCD-SHOW](Showing_console.md#lcd-show)
|
||||
@@ -0,0 +1,62 @@
|
||||
# Screen shows console instead of KlipperScreen
|
||||
|
||||
If the screen is connected via HDMI and the board has more than one HDMI try the other port
|
||||
|
||||
## LCD-show
|
||||
|
||||
when using LCD-show repos to install screens add `lite` at the end to properly install the screen on the lite version of the os.
|
||||
|
||||
for example:
|
||||
```
|
||||
sudo ./LCD35-show lite
|
||||
```
|
||||
|
||||
## Using wrong framebuffer
|
||||
|
||||
This is usually the result of not adding `lite` at the end of the command when installing a screen that requires LCD-show.
|
||||
Follow [above](LCD-show) first if this is the case.
|
||||
|
||||
If you have multiple framebuffers, you may need to fix the X11 configuration,
|
||||
list the available framebuffers and check the current one:
|
||||
```sh
|
||||
ls /dev/fb*
|
||||
```
|
||||
|
||||
If you more than one, try changing it:
|
||||
|
||||
the file could be:
|
||||
- 99-fbturbo.conf
|
||||
- 99-fbusb.conf
|
||||
- 99-fbdev.conf
|
||||
|
||||
check if one of those or similar exist with:
|
||||
|
||||
```sh
|
||||
ls /usr/share/X11/xorg.conf.d/
|
||||
```
|
||||
|
||||
For example if 99-fbturbo.conf is there then edit it:
|
||||
|
||||
```sh
|
||||
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
```
|
||||
|
||||
for example: change `/dev/fb0` to `/dev/fb1`
|
||||
|
||||
!!! important
|
||||
do `ls /dev/fb*` as said before to check if the other fb exists do not change it blindly
|
||||
|
||||
Once you have saved that file, restart KlipperScreen.
|
||||
```sh
|
||||
sudo service KlipperScreen restart
|
||||
```
|
||||
|
||||
## FBturbo failing
|
||||
|
||||
in the system log (`sudo systemctl status KlipperScreen`) this appears:
|
||||
|
||||
`xinit[948]: /usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePackedWeak`
|
||||
|
||||
Fix it by removing fbturbo driver
|
||||
|
||||
`sudo apt purge xserver-xorg-video-fbturbo`
|
||||
@@ -0,0 +1,101 @@
|
||||
# Touchscreen issues
|
||||
|
||||
## Touch not working
|
||||
|
||||
Some DSI screens have issues where touch doesn't work with Debian Bullseye, or even in Debian Buster after an update, the current fix
|
||||
(at least until upstream is fixed) consist in changing the driver:
|
||||
|
||||
manually edit `/boot/config.txt` and change:
|
||||
|
||||
```sh
|
||||
dtoverlay=vc4-kms-v3d
|
||||
```
|
||||
|
||||
to:
|
||||
```sh
|
||||
dtoverlay=vc4-fkms-v3d
|
||||
```
|
||||
reboot to apply changes.
|
||||
|
||||
if that doesn't fix it, try removing the line or comment it out
|
||||
|
||||
```
|
||||
#dtoverlay=vc4-kms-v3d
|
||||
#max_framebuffers=2
|
||||
```
|
||||
|
||||
reboot to apply changes
|
||||
|
||||
If the screen is connected via USB It maybe a cable issue [See this section](Physical_Install.md#cable-issues)
|
||||
|
||||
|
||||
## Touch rotation and matrix
|
||||
If the touch works but it's not in the right place, it may need a transformation matrix.
|
||||
|
||||
First you will need your device name, on a terminal run:
|
||||
|
||||
```sh
|
||||
DISPLAY=:0 xinput
|
||||
```
|
||||
|
||||
Output:
|
||||
```sh
|
||||
⎡ Virtual core pointer id=2 [master pointer (3)]
|
||||
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
|
||||
⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)]
|
||||
⎣ Virtual core keyboard id=3 [master keyboard (2)]
|
||||
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
|
||||
```
|
||||
In this case the device is the ADS7846 Touchscreen, yours may be different
|
||||
|
||||
You can test a change by running:
|
||||
|
||||
```sh
|
||||
DISPLAY=:0 xinput set-prop "<device name>" 'Coordinate Transformation Matrix' <matrix>
|
||||
```
|
||||
|
||||
Where the matrix can be one of the following options:
|
||||
|
||||
* 0°: `1 0 0 0 1 0 0 0 1`
|
||||
* 90° Clockwise: `0 -1 1 1 0 0 0 0 1`
|
||||
* 90° Counter-Clockwise: `0 1 0 -1 0 1 0 0 1`
|
||||
* 180° (Inverts X and Y): `-1 0 1 0 -1 1 0 0 1`
|
||||
* invert Y: `-1 0 1 1 1 0 0 0 1`
|
||||
* invert X: `-1 0 1 0 1 0 0 0 1`
|
||||
* expand to twice the size horizontally: `0.5 0 0 0 1 0 0 0 1`
|
||||
* compress horizontally:
|
||||
it has been reported that the touch expands with non-hdmi screens because composite out is enabled when hdmi is unplugged.
|
||||
if this is the case try adding `enable_tvout=0` to `/boot/config.txt` and reboot.
|
||||
|
||||
|
||||
For example:
|
||||
|
||||
```sh
|
||||
DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1
|
||||
```
|
||||
|
||||
To make this permanent, modify the file `/etc/udev/rules.d/51-touchscreen.rules` and add following line:
|
||||
|
||||
```sh
|
||||
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
|
||||
```
|
||||
|
||||
As an alternative if the above doesn't work:
|
||||
|
||||
edit /usr/share/X11/xorg.conf.d/40-libinput.conf
|
||||
|
||||
for example:
|
||||
```sh
|
||||
Section "InputClass"
|
||||
Identifier "libinput touchscreen catchall"
|
||||
MatchIsTouchscreen "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "libinput"
|
||||
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
|
||||
EndSection
|
||||
```
|
||||
|
||||
More info about input transformation can be found in:
|
||||
|
||||
* [Ubuntu wiki InputCoordinateTransformation](https://wiki.ubuntu.com/X/InputCoordinateTransformation)
|
||||
* [Libinput docs](https://wayland.freedesktop.org/libinput/doc/1.9.0/absolute_axes.html)
|
||||
@@ -0,0 +1,31 @@
|
||||
# Cannot open virtual Console
|
||||
|
||||
If you see this line in the logs:
|
||||
```sh
|
||||
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
|
||||
```
|
||||
|
||||
* Run `cat /etc/X11/Xwrapper.config`
|
||||
|
||||
This should have the line `allowed_users=anybody` in it
|
||||
|
||||
* Run `cat /etc/group | grep tty`
|
||||
|
||||
If your username is not listed under that line, you need to add it with the following command:
|
||||
|
||||
```sh
|
||||
usermod -a -G tty pi
|
||||
```
|
||||
(if your username is not 'pi' change 'pi' to your username)
|
||||
|
||||
Restart KlipperScreen:
|
||||
```sh
|
||||
sudo service KlipperScreen restart
|
||||
```
|
||||
|
||||
If it's still failing as a last resort add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`:
|
||||
```sh
|
||||
sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"
|
||||
```
|
||||
|
||||
restart KS.
|
||||
@@ -0,0 +1,27 @@
|
||||
## wpa_supplicant
|
||||
|
||||
The user is not allowed to control the interface
|
||||
|
||||
* Edit `/etc/wpa_supplicant/wpa_supplicant.conf` and add this line if it's not there:
|
||||
|
||||
```
|
||||
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
|
||||
```
|
||||
|
||||
* Run `cat /etc/group | grep netdev`
|
||||
|
||||
If your username is not listed under that line, you need to add it with the following command:
|
||||
|
||||
```sh
|
||||
usermod -a -G netdev pi
|
||||
```
|
||||
(if your username is not 'pi' change 'pi' to your username)
|
||||
|
||||
Then reboot the machine:
|
||||
|
||||
```sh
|
||||
systemctl reboot
|
||||
```
|
||||
|
||||
!!! tip
|
||||
It's possible to just restart KlipperScreen and networking
|
||||
@@ -0,0 +1,65 @@
|
||||
# VNC
|
||||
|
||||
This article describes how to use KlipperScreen through a remote connection.
|
||||
|
||||
!!! warning
|
||||
The experience may not be equal to run KlipperScreen natively,
|
||||
depending on the device and network there maybe performance degradation or other issues
|
||||
|
||||
## On the Host device (for example a Raspberry Pi):
|
||||
|
||||
|
||||
1. [First installl KlipperScreen](Installation.md)
|
||||
2. Install a vnc server package, for example:
|
||||
```bash
|
||||
sudo apt install tigervnc-standalone-server
|
||||
```
|
||||
3. Create `launch_KlipperScreen.sh`:
|
||||
|
||||
```bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Use display 10 to avoid clashing with local X server, if anyy
|
||||
Xtigervnc -rfbport 5900 -noreset -AlwaysShared -SecurityTypes none :10&
|
||||
DISPLAY=:10 $KS_XCLIENT&
|
||||
wait
|
||||
```
|
||||
4. Restart KlipperScreen or reboot the system:
|
||||
```bash
|
||||
sudo systemctl service KlipperScreen restart
|
||||
```
|
||||
5. On KlipperScreen set the following configuration:
|
||||
|
||||
DPMS: off
|
||||
|
||||
Display timeout: off
|
||||
|
||||

|
||||
|
||||
## On the remote device:
|
||||
|
||||
1. Installa a VNC viewer and configure it to the ip of the host.
|
||||
|
||||
|
||||
???+ example "Example using an iPad"
|
||||
* Install a VNC viewer for example: `RealVNC Viewer: Remote Desktop`
|
||||
#### Prevent unwanted rotation of UI:
|
||||
* Go to `Settings` > `General` > Set `Use side switch to` to `Lock Rotation`
|
||||
#### Avoid accidentally switching between apps:
|
||||
* Go to `Restrictions` > Set passcode > Enable restrictions.
|
||||
* Open
|
||||
* Triple-click "Home" button
|
||||
* Guided access pops up
|
||||
* Press "Start"
|
||||
* Now iPad is locked to VNC viewer until "Guided access" mode is disabled by triple-clicking "Home" button and entering the restrictions password.
|
||||
#### On the VNC viewer:
|
||||
* Press "+" button at the top right
|
||||
* Enter IP address of your print host.
|
||||
* Press "Save"
|
||||
* Select "Interaction", select "Touch panel", go back
|
||||
* Press "Done"
|
||||
* Double-click on an icon with IP address you have just added.
|
||||
* VNC client will complain about unencrypted connection. Disable the warning and say "Connect"
|
||||
* Use or skip tutorial
|
||||
* Press the "Pin" icon to hide the panel.
|
||||
* Enjoy!
|
||||
@@ -1,17 +0,0 @@
|
||||
## Changelog
|
||||
|
||||
#### 2020 11 28
|
||||
* Add option for enable in menu for configuration. This can hide certain options
|
||||
* Add Power panel to control power devices via moonraker
|
||||
|
||||
#### 2020 11 18
|
||||
* Changed configuration file format.
|
||||
* Moved default configuration file to an include folder.
|
||||
* Added ability to do a confirm dialog from a menu item when running a script
|
||||
* Added "Save Config" button to default configuration's Configuration menu.
|
||||
|
||||
#### 2020 11 14
|
||||
* Update print panel to include line wrapping for longer filenames
|
||||
|
||||
#### 2020 11 13
|
||||
* Fine Tuning Panel is now fully functional: Z BabyStepping, Fan Speed, Speed Factor, and Extrusion Factor
|
||||
|
Before Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 9.1 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 267 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 86 KiB |
@@ -0,0 +1,44 @@
|
||||
# KlipperScreen
|
||||
|
||||
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/Klipper3d/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
|
||||
|
||||
### Required Hardware
|
||||
|
||||
KlipperScreen should run on any touchscreen that you can connect to a host (Raspberry, PC, Tablet), but not screens that connect directly to the printer MCU board.
|
||||
|
||||
A physical touchscreen is not strictly required, for example you may install a remote desktop server like tigervnc-scraping-server and connect from a client device, [check out the hardware page for further information.](Hardware.md)
|
||||
|
||||
### Sample Panels
|
||||
|
||||
Main Menu
|
||||
|
||||

|
||||
|
||||
Job Status
|
||||
|
||||

|
||||
|
||||
[More](Panels.md)
|
||||
|
||||
### Inspiration
|
||||
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
|
||||
will natively work with [Klipper](https://github.com/klipper3d/klipper) and [Moonraker](https://github.com/arksine/moonraker).
|
||||
|
||||
### About the project
|
||||
|
||||
KlipperScreen has been created and maintained by Jordan Ruthe from 2020 to 2021
|
||||
|
||||
|Donate to Jordan|
|
||||
|-|
|
||||
|[Patreon](https://www.patreon.com/klipperscreen)|
|
||||
|[Ko-fi](https://ko-fi.com/klipperscreen)|
|
||||
|
||||
The current maintainer is Alfredo Monclus (alfrix) from 2021 onwards
|
||||
|
||||
|Dontate to Alfrix|
|
||||
|-|
|
||||
|[Ko-fi](https://ko-fi.com/alfrix)|
|
||||
|
||||
thanks to all the people who helped along the way.
|
||||
|
||||
[Contributors](https://github.com/KlipperScreen/KlipperScreen/graphs/contributors)
|
||||
@@ -0,0 +1,40 @@
|
||||
# Supported Macros
|
||||
|
||||
## Extrude Panel
|
||||
|
||||
### LOAD_FILAMENT / UNLOAD_FILAMENT
|
||||
Load and Unload Filament macros are used in the Extrude-Panel if it is available.
|
||||
The selected speed is transferred to this macro.
|
||||
The following example macros show how this can be used in the macro.
|
||||
|
||||
```jinja
|
||||
[gcode_macro LOAD_FILAMENT]
|
||||
gcode:
|
||||
{% set speed = params.SPEED|default(300) %}
|
||||
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
|
||||
SAVE_GCODE_STATE NAME=load_state
|
||||
M300 # beep
|
||||
G91
|
||||
G92 E0
|
||||
G1 E350 F{max_velocity} # fast-load
|
||||
G1 E25 F{speed} # purge
|
||||
M300
|
||||
M300
|
||||
RESTORE_GCODE_STATE NAME=load_state
|
||||
```
|
||||
|
||||
```jinja
|
||||
[gcode_macro UNLOAD_FILAMENT]
|
||||
gcode:
|
||||
{% set speed = params.SPEED|default(300) %}
|
||||
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
|
||||
SAVE_GCODE_STATE NAME=unload_state
|
||||
G91
|
||||
M300 # beep
|
||||
G92 E0
|
||||
G1 E25 F{speed} # purge
|
||||
G1 E-420 F{max_velocity} # fast-unload
|
||||
M300
|
||||
M300
|
||||
RESTORE_GCODE_STATE NAME=unload_state
|
||||
```
|
||||
@@ -1,71 +0,0 @@
|
||||
## Panels
|
||||
|
||||
### Index
|
||||
* [Main menu](#main-menu)
|
||||
* [Job Status](#job-status)
|
||||
* [bed_level](#bed-level)
|
||||
* [extrude](#extrude)
|
||||
* [fan](#fan)
|
||||
* [fine_tune](#finetune)
|
||||
* [move](#move)
|
||||
* [network](#network)
|
||||
* [preheat](#preheat)
|
||||
* [print](#print)
|
||||
* [system](#system)
|
||||
* [temperature](#temperature)
|
||||
* [zcalibrate](#zcalibrate)
|
||||
|
||||
|
||||
### Main Menu
|
||||

|
||||
|
||||
### Job Status
|
||||

|
||||
|
||||
### Bed Level
|
||||
type: bed_level
|
||||

|
||||
|
||||
### Extrude
|
||||
type: extrude
|
||||

|
||||
|
||||
### Fan
|
||||
type: fan
|
||||

|
||||
|
||||
### Fine Tune
|
||||
type: fine_tune
|
||||

|
||||
|
||||
### Menu
|
||||
type: menu
|
||||

|
||||
|
||||
### Move
|
||||
type: move
|
||||

|
||||
|
||||
### Network
|
||||
type: network
|
||||

|
||||
|
||||
### Preheat
|
||||
type: preheat
|
||||

|
||||
|
||||
### Print
|
||||
type: print
|
||||

|
||||
|
||||
### System
|
||||
type: system
|
||||

|
||||
|
||||
### Temperature
|
||||
type: temperature
|
||||

|
||||
|
||||
### Z Calibrate
|
||||
type: zcalibrate
|
||||

|
||||
@@ -0,0 +1,2 @@
|
||||
mkdocs>=1.3.0
|
||||
mkdocs-material>=8.2.16
|
||||
@@ -1,148 +0,0 @@
|
||||
[preheat PLA]
|
||||
bed = 40
|
||||
extruder = 195
|
||||
|
||||
[preheat ABS]
|
||||
bed = 90
|
||||
extruder = 220
|
||||
|
||||
[menu __main]
|
||||
|
||||
[menu __main homing]
|
||||
name: Homing
|
||||
icon: home
|
||||
|
||||
[menu __main preheat]
|
||||
name: Preheat
|
||||
icon: heat-up
|
||||
panel: preheat
|
||||
|
||||
[menu __main actions]
|
||||
name: Actions
|
||||
icon: actions
|
||||
|
||||
[menu __main config]
|
||||
name: Configuration
|
||||
icon: control
|
||||
|
||||
[menu __main print]
|
||||
name: Print
|
||||
icon: print
|
||||
panel: print
|
||||
|
||||
[menu __main homing homeall]
|
||||
name: Home All
|
||||
icon: home
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28"}
|
||||
|
||||
[menu __main homing homex]
|
||||
name: Home X
|
||||
icon: home
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28 X"}
|
||||
|
||||
[menu __main homing homey]
|
||||
name: Home Y
|
||||
icon: home
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28 Y"}
|
||||
|
||||
[menu __main homing homez]
|
||||
name: Home Z
|
||||
icon: home
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28 Z"}
|
||||
|
||||
[menu __main homing homexy]
|
||||
name: Home XY
|
||||
icon: home
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28 X Y"}
|
||||
|
||||
[menu __main actions move]
|
||||
name: Move
|
||||
icon: heat-up
|
||||
panel: move
|
||||
|
||||
[menu __main actions extrude]
|
||||
name: Extrude
|
||||
icon: filament
|
||||
panel: extrude
|
||||
|
||||
[menu __main actions fan]
|
||||
name: Fan
|
||||
icon: fan
|
||||
panel: fan
|
||||
|
||||
[menu __main actions temperature]
|
||||
name: Temperature
|
||||
icon: heat-up
|
||||
panel: temperature
|
||||
|
||||
[menu __main actions power]
|
||||
name: Power
|
||||
icon: shutdown
|
||||
panel: power
|
||||
enable: {{ printer.power_devices.count > 0 }}
|
||||
|
||||
[menu __main actions disablemotors]
|
||||
name: Disable Motors
|
||||
icon: motor-off
|
||||
method: printer.gcode.script
|
||||
params: {"script":"M18"}
|
||||
|
||||
[menu __main config bedlevel]
|
||||
name: Bed Level
|
||||
icon: bed-level
|
||||
panel: bed_level
|
||||
|
||||
[menu __main config zoffset]
|
||||
name: Z Calibrate
|
||||
icon: z-offset-increase
|
||||
panel: zcalibrate
|
||||
|
||||
[menu __main config network]
|
||||
name: Network
|
||||
icon: network
|
||||
panel: network
|
||||
|
||||
[menu __main config system]
|
||||
name: System
|
||||
icon: info
|
||||
panel: system
|
||||
|
||||
[menu __main config save]
|
||||
name: Save Config
|
||||
icon: complete
|
||||
method: printer.gcode.script
|
||||
params: {"script":"SAVE_CONFIG"}
|
||||
confirm:
|
||||
Save configuration.
|
||||
|
||||
Klipper will reboot
|
||||
|
||||
[menu __print temperature]
|
||||
name: Temperature
|
||||
icon: heat-up
|
||||
panel: temperature
|
||||
|
||||
[menu __print tuning]
|
||||
name: Fine Tuning
|
||||
icon: fan
|
||||
panel: fine_tune
|
||||
|
||||
[menu __print network]
|
||||
name: Network
|
||||
icon: network
|
||||
panel: network
|
||||
|
||||
[menu __print system]
|
||||
name: System
|
||||
icon: info
|
||||
panel: system
|
||||
|
||||
[menu __print extrude]
|
||||
name: Extrude
|
||||
icon: filament
|
||||
panel: extrude
|
||||
@@ -1,62 +1,41 @@
|
||||
class KlippyGcodes:
|
||||
|
||||
HOME = "G28"
|
||||
HOME_X = "G28 X"
|
||||
HOME_Y = "G28 Y"
|
||||
HOME_Z = "G28 Z"
|
||||
|
||||
MOVE = "G1"
|
||||
MOVE_ABSOLUTE = "G90"
|
||||
MOVE_RELATIVE = "G91"
|
||||
|
||||
EXTRUDE_ABS = "M82"
|
||||
EXTRUDE_REL = "M83"
|
||||
|
||||
SET_EXT_TEMP = "M104"
|
||||
MAX_EXT_TEMP = 300
|
||||
|
||||
SET_BED_TEMP = "M140"
|
||||
MAX_BED_TEMP = 150
|
||||
|
||||
SET_EXT_FACTOR = "M221"
|
||||
SET_FAN_SPEED = "M106"
|
||||
SET_SPD_FACTOR = "M220"
|
||||
|
||||
PROBE_CALIBRATE = "PROBE_CALIBRATE"
|
||||
PROBE_MOVE = "TESTZ Z="
|
||||
PROBE_ABORT = "ABORT"
|
||||
PROBE_ACCEPT = "ACCEPT"
|
||||
|
||||
SAVE_CONFIG = "SAVE_CONFIG"
|
||||
RESTART = "RESTART"
|
||||
FIRMWARE_RESTART= "FIRMWARE_RESTART"
|
||||
|
||||
MOVE_ABSOLUTE = "G90"
|
||||
MOVE_RELATIVE = "G91"
|
||||
EXTRUDE_ABS = "M82"
|
||||
EXTRUDE_REL = "M83"
|
||||
|
||||
@staticmethod
|
||||
def set_bed_temp(temp):
|
||||
return KlippyGcodes.SET_BED_TEMP + " S" + str(temp)
|
||||
return f"M140 S{temp}"
|
||||
|
||||
@staticmethod
|
||||
def set_ext_temp(temp, tool=0):
|
||||
return KlippyGcodes.SET_EXT_TEMP + " T" + str(tool) + " S" + str(temp)
|
||||
return f"M104 T{tool} S{temp}"
|
||||
|
||||
@staticmethod
|
||||
def set_fan_speed(speed):
|
||||
speed = str( int(float(int(speed) % 101)/100*255) )
|
||||
return KlippyGcodes.SET_FAN_SPEED + " S"+ speed
|
||||
def set_heater_temp(heater, temp):
|
||||
return f'SET_HEATER_TEMPERATURE heater="{heater}" target={temp}'
|
||||
|
||||
@staticmethod
|
||||
def set_temp_fan_temp(temp_fan, temp):
|
||||
return f'SET_TEMPERATURE_FAN_TARGET temperature_fan="{temp_fan}" target={temp}'
|
||||
|
||||
@staticmethod
|
||||
def set_extrusion_rate(rate):
|
||||
return "%s S%s" % (KlippyGcodes.SET_EXT_FACTOR, rate)
|
||||
return f"M221 S{rate}"
|
||||
|
||||
@staticmethod
|
||||
def set_speed_rate(rate):
|
||||
return "%s S%s" % (KlippyGcodes.SET_SPD_FACTOR, rate)
|
||||
return f"M220 S{rate}"
|
||||
|
||||
@staticmethod
|
||||
def probe_move(dist):
|
||||
return KlippyGcodes.PROBE_MOVE + dist
|
||||
def bed_mesh_load(profile):
|
||||
return f"BED_MESH_PROFILE LOAD='{profile}'"
|
||||
|
||||
@staticmethod
|
||||
def extrude(dist, speed=500):
|
||||
return KlippyGcodes.MOVE + " E" + dist + " F" + speed
|
||||
def bed_mesh_remove(profile):
|
||||
return f"BED_MESH_PROFILE REMOVE='{profile}'"
|
||||
|
||||
@staticmethod
|
||||
def bed_mesh_save(profile):
|
||||
return f"BED_MESH_PROFILE SAVE='{profile}'"
|
||||
@@ -1,204 +1,275 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import logging
|
||||
import os
|
||||
import pathlib
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GdkPixbuf, GLib
|
||||
import os
|
||||
klipperscreendir = os.getcwd()
|
||||
from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango
|
||||
|
||||
|
||||
def format_label(widget, lines=2):
|
||||
if type(widget) == Gtk.Label:
|
||||
return widget
|
||||
if type(widget) in (Gtk.Container, Gtk.Bin, Gtk.Button, Gtk.Alignment, Gtk.Box):
|
||||
for _ in widget.get_children():
|
||||
lbl = format_label(_)
|
||||
if lbl is not None:
|
||||
lbl.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
lbl.set_line_wrap(True)
|
||||
lbl.set_ellipsize(True)
|
||||
lbl.set_ellipsize(Pango.EllipsizeMode.END)
|
||||
lbl.set_lines(lines)
|
||||
|
||||
|
||||
class KlippyGtk:
|
||||
labels = {}
|
||||
|
||||
@staticmethod
|
||||
def Label(label, style):
|
||||
l = Gtk.Label(label)
|
||||
if style != False:
|
||||
l.get_style_context().add_class(style)
|
||||
return l
|
||||
def __init__(self, screen):
|
||||
self.screen = screen
|
||||
self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", screen.theme, "images")
|
||||
self.cursor = screen.show_cursor
|
||||
self.font_size_type = screen._config.get_main_config().get("font_size", "medium")
|
||||
self.width = screen.width
|
||||
self.height = screen.height
|
||||
self.font_ratio = [33, 49] if self.screen.vertical_mode else [43, 29]
|
||||
self.font_size = min(self.width / self.font_ratio[0], self.height / self.font_ratio[1])
|
||||
self.img_scale = self.font_size * 2
|
||||
self.button_image_scale = 1.38
|
||||
self.bsidescale = .65 # Buttons with image at the side
|
||||
|
||||
@staticmethod
|
||||
def ImageLabel(image_name, text, size=20, style=False):
|
||||
box1 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=15)
|
||||
image = Gtk.Image()
|
||||
#TODO: update file reference
|
||||
image.set_from_file(klipperscreendir + "/styles/z-bolt/images/" + str(image_name) + ".svg")
|
||||
if self.font_size_type == "max":
|
||||
self.font_size = self.font_size * 1.2
|
||||
self.bsidescale = .7
|
||||
elif self.font_size_type == "extralarge":
|
||||
self.font_size = self.font_size * 1.14
|
||||
self.img_scale = self.img_scale * 0.7
|
||||
self.bsidescale = 1
|
||||
elif self.font_size_type == "large":
|
||||
self.font_size = self.font_size * 1.09
|
||||
self.img_scale = self.img_scale * 0.9
|
||||
self.bsidescale = .8
|
||||
elif self.font_size_type == "small":
|
||||
self.font_size = self.font_size * 0.91
|
||||
self.bsidescale = .55
|
||||
self.img_width = self.font_size * 3
|
||||
self.img_height = self.font_size * 3
|
||||
self.titlebar_height = self.font_size * 2
|
||||
logging.info(f"Font size: {self.font_size:.1f} ({self.font_size_type})")
|
||||
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(klipperscreendir + "/styles/z-bolt/images/" + str(image_name) + ".svg", 20, 20, True)
|
||||
image.set_from_pixbuf(pixbuf)
|
||||
|
||||
label = Gtk.Label()
|
||||
label.set_text(text)
|
||||
box1.add(image)
|
||||
box1.add(label)
|
||||
|
||||
if style != False:
|
||||
ctx = box1.get_style_context()
|
||||
ctx.add_class(style)
|
||||
|
||||
return {"l": label, "b": box1}
|
||||
|
||||
@staticmethod
|
||||
def Image(image_name, style=False, width=None, height=None):
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file(klipperscreendir + "/styles/z-bolt/images/" + str(image_name) + ".svg")
|
||||
|
||||
if height != None and width != None:
|
||||
pixbuf = pixbuf.scale_simple(width, height, GdkPixbuf.InterpType.BILINEAR)
|
||||
|
||||
return Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
|
||||
@staticmethod
|
||||
def ImageFromFile(filename, style=False, width=None, height=None):
|
||||
if height != -1 or width != -1:
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(filename, width, height, True)
|
||||
if self.screen.vertical_mode:
|
||||
self.action_bar_width = int(self.width)
|
||||
self.action_bar_height = int(self.height * .1)
|
||||
self.content_width = self.width
|
||||
self.content_height = self.height - self.titlebar_height - self.action_bar_height
|
||||
else:
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file(filename)
|
||||
self.action_bar_width = int(self.width * .1)
|
||||
self.action_bar_height = int(self.height)
|
||||
self.content_width = self.width - self.action_bar_width
|
||||
self.content_height = self.height - self.titlebar_height
|
||||
|
||||
return Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
self.keyboard_height = self.content_height * 0.5
|
||||
if (self.height / self.width) >= 3: # Ultra-tall
|
||||
self.keyboard_height = self.keyboard_height * 0.5
|
||||
|
||||
self.color_list = {} # This is set by screen.py init_style()
|
||||
for key in self.color_list:
|
||||
if "base" in self.color_list[key]:
|
||||
rgb = [int(self.color_list[key]['base'][i:i + 2], 16) for i in range(0, 6, 2)]
|
||||
self.color_list[key]['rgb'] = rgb
|
||||
|
||||
def get_temp_color(self, device):
|
||||
# logging.debug("Color list %s" % self.color_list)
|
||||
if device not in self.color_list:
|
||||
return False, False
|
||||
|
||||
if 'base' in self.color_list[device]:
|
||||
rgb = self.color_list[device]['rgb'].copy()
|
||||
if self.color_list[device]['state'] > 0:
|
||||
rgb[1] = rgb[1] + self.color_list[device]['hsplit'] * self.color_list[device]['state']
|
||||
self.color_list[device]['state'] += 1
|
||||
rgb = [x / 255 for x in rgb]
|
||||
# logging.debug(f"Assigning color: {device} {rgb}")
|
||||
else:
|
||||
colors = self.color_list[device]['colors']
|
||||
if self.color_list[device]['state'] >= len(colors):
|
||||
self.color_list[device]['state'] = 0
|
||||
color = colors[self.color_list[device]['state'] % len(colors)]
|
||||
rgb = [int(color[i:i + 2], 16) / 255 for i in range(0, 6, 2)]
|
||||
self.color_list[device]['state'] += 1
|
||||
# logging.debug(f"Assigning color: {device} {rgb} {color}")
|
||||
return rgb
|
||||
|
||||
def reset_temp_color(self):
|
||||
for key in self.color_list:
|
||||
self.color_list[key]['state'] = 0
|
||||
|
||||
@staticmethod
|
||||
def PixbufFromFile(filename, style=False, width=None, height=None):
|
||||
if height != -1 or width != -1:
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(filename, width, height, True)
|
||||
else:
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file(filename)
|
||||
def Label(label, style=None):
|
||||
la = Gtk.Label(label)
|
||||
if style is not None:
|
||||
la.get_style_context().add_class(style)
|
||||
return la
|
||||
|
||||
def Image(self, image_name=None, width=None, height=None):
|
||||
if image_name is None:
|
||||
return Gtk.Image()
|
||||
pixbuf = self.PixbufFromIcon(image_name, width, height)
|
||||
return Gtk.Image.new_from_pixbuf(pixbuf) if pixbuf is not None else Gtk.Image()
|
||||
|
||||
def PixbufFromIcon(self, filename, width=None, height=None):
|
||||
width = width if width is not None else self.img_width
|
||||
height = height if height is not None else self.img_height
|
||||
filename = os.path.join(self.themedir, filename)
|
||||
for ext in ["svg", "png"]:
|
||||
pixbuf = self.PixbufFromFile(f"{filename}.{ext}", int(width), int(height))
|
||||
if pixbuf is not None:
|
||||
return pixbuf
|
||||
return None
|
||||
|
||||
@staticmethod
|
||||
def PixbufFromFile(filename, width=-1, height=-1):
|
||||
try:
|
||||
return GdkPixbuf.Pixbuf.new_from_file_at_size(filename, int(width), int(height))
|
||||
except Exception as e:
|
||||
logging.exception(e)
|
||||
logging.error(f"Unable to find image {filename}")
|
||||
return None
|
||||
|
||||
def PixbufFromHttp(self, resource, width=-1, height=-1):
|
||||
response = self.screen.apiclient.get_thumbnail_stream(resource)
|
||||
if response is False:
|
||||
return None
|
||||
stream = Gio.MemoryInputStream.new_from_data(response, None)
|
||||
try:
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_stream_at_scale(stream, int(width), int(height), True)
|
||||
except Exception as e:
|
||||
logging.exception(e)
|
||||
return None
|
||||
stream.close_async(2)
|
||||
return pixbuf
|
||||
|
||||
@staticmethod
|
||||
def ProgressBar(style=False):
|
||||
bar = Gtk.ProgressBar()
|
||||
|
||||
if style != False:
|
||||
ctx = bar.get_style_context()
|
||||
ctx.add_class(style)
|
||||
|
||||
return bar
|
||||
|
||||
@staticmethod
|
||||
def Button(label=None, style=None):
|
||||
b = Gtk.Button(label=label)
|
||||
def Button(self, image_name=None, label=None, style=None, scale=None, position=Gtk.PositionType.TOP, lines=2):
|
||||
if self.font_size_type == "max" and label is not None and scale is None:
|
||||
image_name = None
|
||||
b = Gtk.Button()
|
||||
if label is not None:
|
||||
b.set_label(label.replace("\n", " "))
|
||||
b.set_hexpand(True)
|
||||
b.set_vexpand(True)
|
||||
b.set_can_focus(False)
|
||||
b.props.relief = Gtk.ReliefStyle.NONE
|
||||
|
||||
if style != None:
|
||||
b.get_style_context().add_class(style)
|
||||
|
||||
return b
|
||||
|
||||
@staticmethod
|
||||
def ButtonImage(image_name, label=None, style=None, height=None, width=None):
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file(klipperscreendir + "/styles/z-bolt/images/" + str(image_name) + ".svg")
|
||||
|
||||
if height != None and width != None:
|
||||
pixbuf = pixbuf.scale_simple(width, height, GdkPixbuf.InterpType.BILINEAR)
|
||||
|
||||
|
||||
img = Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
|
||||
b = Gtk.Button(label=label)
|
||||
b.set_image(img)
|
||||
b.set_hexpand(True)
|
||||
b.set_vexpand(True)
|
||||
b.set_can_focus(False)
|
||||
b.set_image_position(Gtk.PositionType.TOP)
|
||||
b.set_image_position(position)
|
||||
b.set_always_show_image(True)
|
||||
b.props.relief = Gtk.ReliefStyle.NONE
|
||||
if image_name is not None:
|
||||
if scale is None:
|
||||
scale = self.button_image_scale
|
||||
if label is None:
|
||||
scale = scale * 1.4
|
||||
width = height = self.img_scale * scale
|
||||
b.set_image(self.Image(image_name, width, height))
|
||||
spinner = Gtk.Spinner.new()
|
||||
spinner.set_no_show_all(True)
|
||||
spinner.set_size_request(width, height)
|
||||
spinner.hide()
|
||||
b.get_child().get_child().add(spinner)
|
||||
|
||||
if style != None:
|
||||
if label is not None:
|
||||
format_label(b, lines)
|
||||
if style is not None:
|
||||
b.get_style_context().add_class(style)
|
||||
|
||||
b.connect("clicked", self.screen.reset_screensaver_timeout)
|
||||
return b
|
||||
|
||||
@staticmethod
|
||||
def Dialog(screen, buttons, content, callback=None, *args):
|
||||
def Button_busy(widget, busy):
|
||||
box = widget.get_child().get_child()
|
||||
if busy:
|
||||
widget.set_sensitive(False)
|
||||
widget.set_always_show_image(False)
|
||||
box.get_children()[0].hide()
|
||||
if type(box.get_children()[1]) == Gtk.Spinner:
|
||||
box.get_children()[1].start()
|
||||
box.get_children()[1].show()
|
||||
else:
|
||||
box.get_children()[0].show()
|
||||
if type(box.get_children()[1]) == Gtk.Spinner:
|
||||
box.get_children()[1].stop()
|
||||
box.get_children()[1].hide()
|
||||
widget.set_always_show_image(True)
|
||||
widget.set_sensitive(True)
|
||||
|
||||
def Dialog(self, screen, buttons, content, callback=None, *args):
|
||||
dialog = Gtk.Dialog()
|
||||
dialog.set_default_size(screen.width - 15, screen.height - 15)
|
||||
dialog.set_default_size(screen.width, screen.height)
|
||||
dialog.set_resizable(False)
|
||||
dialog.set_transient_for(screen)
|
||||
dialog.set_modal(True)
|
||||
|
||||
for button in buttons:
|
||||
dialog.add_button(button_text=button['name'], response_id=button['response'])
|
||||
dialog.add_button(button['name'], button['response'])
|
||||
button = dialog.get_widget_for_response(button['response'])
|
||||
button.set_size_request((screen.width - 30) / 3, screen.height / 5)
|
||||
format_label(button, 3)
|
||||
|
||||
dialog.connect("response", self.screen.reset_screensaver_timeout)
|
||||
dialog.connect("response", callback, *args)
|
||||
dialog.get_style_context().add_class("dialog")
|
||||
|
||||
grid = Gtk.Grid()
|
||||
grid.set_size_request(screen.width - 60, -1)
|
||||
grid.set_vexpand(True)
|
||||
grid.set_halign(Gtk.Align.CENTER)
|
||||
grid.set_valign(Gtk.Align.CENTER)
|
||||
grid.add(content)
|
||||
|
||||
content_area = dialog.get_content_area()
|
||||
content_area.set_margin_start(15)
|
||||
content_area.set_margin_end(15)
|
||||
content_area.set_margin_top(15)
|
||||
content_area.set_margin_bottom(15)
|
||||
content_area.add(grid)
|
||||
content_area.add(content)
|
||||
|
||||
dialog.show_all()
|
||||
# Change cursor to blank
|
||||
if self.cursor:
|
||||
dialog.get_window().set_cursor(
|
||||
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.ARROW))
|
||||
else:
|
||||
dialog.get_window().set_cursor(
|
||||
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.BLANK_CURSOR))
|
||||
|
||||
return dialog, grid
|
||||
self.screen.dialogs.append(dialog)
|
||||
logging.info(f"Showing dialog {dialog}")
|
||||
return dialog
|
||||
|
||||
def remove_dialog(self, dialog, *args):
|
||||
if self.screen.updating:
|
||||
return
|
||||
dialog.destroy()
|
||||
if dialog in self.screen.dialogs:
|
||||
logging.info("Removing Dialog")
|
||||
self.screen.dialogs.remove(dialog)
|
||||
return
|
||||
logging.debug(f"Cannot remove dialog {dialog}")
|
||||
|
||||
@staticmethod
|
||||
def ToggleButtonImage(image_name, label, style=False):
|
||||
img = Gtk.Image.new_from_file(klipperscreendir + "/styles/z-bolt/images/" + str(image_name) + ".svg")
|
||||
|
||||
b = Gtk.ToggleButton(label=label)
|
||||
#b.props.relief = Gtk.RELIEF_NONE
|
||||
b.set_image(img)
|
||||
b.set_hexpand(True)
|
||||
b.set_vexpand(True)
|
||||
b.set_can_focus(False)
|
||||
b.set_image_position(Gtk.PositionType.TOP)
|
||||
b.set_always_show_image(True)
|
||||
b.props.relief = Gtk.ReliefStyle.NONE
|
||||
|
||||
if style != False:
|
||||
ctx = b.get_style_context()
|
||||
ctx.add_class(style)
|
||||
|
||||
return b
|
||||
|
||||
@staticmethod
|
||||
def HomogeneousGrid():
|
||||
def HomogeneousGrid(width=None, height=None):
|
||||
g = Gtk.Grid()
|
||||
g.set_row_homogeneous(True)
|
||||
g.set_column_homogeneous(True)
|
||||
if width is not None and height is not None:
|
||||
g.set_size_request(width, height)
|
||||
return g
|
||||
|
||||
@staticmethod
|
||||
def ToggleButton(text):
|
||||
def ToggleButton(self, text):
|
||||
b = Gtk.ToggleButton(text)
|
||||
b.props.relief = Gtk.ReliefStyle.NONE
|
||||
b.set_hexpand(True)
|
||||
b.set_vexpand(True)
|
||||
b.connect("clicked", self.screen.reset_screensaver_timeout)
|
||||
return b
|
||||
|
||||
@staticmethod
|
||||
def formatFileName(name):
|
||||
name = name.split('/')[-1] if "/" in name else name
|
||||
name = name.split('.gcod')[0] if ".gcode" in name else name
|
||||
if len(name) > 25:
|
||||
return name[0:25] + "\n" + name[25:50]
|
||||
return name
|
||||
|
||||
|
||||
@staticmethod
|
||||
def formatTimeString(seconds):
|
||||
time = int(seconds)
|
||||
text = ""
|
||||
if int(time/3600) !=0:
|
||||
text += str(int(time/3600))+"h "
|
||||
text += str(int(time/60)%60)+"m "+str(time%60)+"s"
|
||||
return text
|
||||
|
||||
@staticmethod
|
||||
def formatTemperatureString(temp, target):
|
||||
if (target > temp-2 and target < temp+2) or round(target,0) == 0:
|
||||
return str(round(temp,2)) + "°C" #°C →"
|
||||
return str(round(temp)) + " → " + str(round(target)) + "°C"
|
||||
def ScrolledWindow(self, steppers=True):
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
scroll.set_vexpand(True)
|
||||
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK |
|
||||
Gdk.EventMask.TOUCH_MASK |
|
||||
Gdk.EventMask.BUTTON_RELEASE_MASK)
|
||||
scroll.set_kinetic_scrolling(True)
|
||||
if self.screen._config.get_main_config().getboolean("show_scroll_steppers", fallback=False) and steppers:
|
||||
scroll.get_vscrollbar().get_style_context().add_class("with-steppers")
|
||||
return scroll
|
||||
@@ -1,32 +1,85 @@
|
||||
import json
|
||||
import requests
|
||||
import logging
|
||||
import re
|
||||
import requests
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.KlippyRest")
|
||||
|
||||
class KlippyRest:
|
||||
def __init__(self, ip, port=7125):
|
||||
def __init__(self, ip, port=7125, api_key=False):
|
||||
self.ip = ip
|
||||
self.port = port
|
||||
self.api_key = api_key
|
||||
self.status = ''
|
||||
|
||||
@property
|
||||
def endpoint(self):
|
||||
protocol = "http"
|
||||
if int(self.port) in {443, 7130}:
|
||||
protocol = "https"
|
||||
return f"{protocol}://{self.ip}:{self.port}"
|
||||
|
||||
def get_server_info(self):
|
||||
return self.send_request("server/info")
|
||||
|
||||
def get_oneshot_token(self):
|
||||
r = self.send_request("access/oneshot_token")
|
||||
if r is False or 'result' not in r:
|
||||
return False
|
||||
return r['result']
|
||||
|
||||
def get_printer_info(self):
|
||||
return self.send_request("printer/info")
|
||||
|
||||
def send_request(self, method):
|
||||
url = "http://%s:%s/%s" % (self.ip, self.port, method)
|
||||
logger.debug("Sending request to %s" % url)
|
||||
r = requests.get(url)
|
||||
if r.status_code != 200:
|
||||
return False
|
||||
def get_gcode_help(self):
|
||||
return self.send_request("printer/gcode/help")
|
||||
|
||||
#TODO: Try/except
|
||||
def get_thumbnail_stream(self, thumbnail):
|
||||
return self.send_request(f"server/files/gcodes/{thumbnail}", json=False)
|
||||
|
||||
def _do_request(self, method, request_method, data=None, json=None, json_response=True):
|
||||
url = f"{self.endpoint}/{method}"
|
||||
headers = {} if self.api_key is False else {"x-api-key": self.api_key}
|
||||
response_data = False
|
||||
try:
|
||||
data = json.loads(r.content)
|
||||
except:
|
||||
logger.exception("Unable to parse response from moonraker:\n %s" % r.content)
|
||||
return False
|
||||
callee = getattr(requests, request_method)
|
||||
response = callee(url, json=json, data=data, headers=headers, timeout=3)
|
||||
response.raise_for_status()
|
||||
if json_response:
|
||||
logging.debug(f"Sending request to {url}")
|
||||
response_data = response.json()
|
||||
else:
|
||||
response_data = response.content
|
||||
except requests.exceptions.HTTPError as h:
|
||||
self.status = self.format_status(h)
|
||||
except requests.exceptions.ConnectionError as c:
|
||||
self.status = self.format_status(c)
|
||||
except requests.exceptions.Timeout as t:
|
||||
self.status = self.format_status(t)
|
||||
except requests.exceptions.JSONDecodeError as j:
|
||||
self.status = self.format_status(j)
|
||||
except requests.exceptions.RequestException as r:
|
||||
self.status = self.format_status(r)
|
||||
except Exception as e:
|
||||
self.status = self.format_status(e)
|
||||
if response_data:
|
||||
self.status = ''
|
||||
else:
|
||||
logging.error(self.status.replace('\n', '>>'))
|
||||
return response_data
|
||||
|
||||
return data
|
||||
def post_request(self, method, data=None, json=None, json_response=True):
|
||||
return self._do_request(method, "post", data, json, json_response)
|
||||
|
||||
def send_request(self, method, json=True):
|
||||
return self._do_request(method, "get", json_response=json)
|
||||
|
||||
@staticmethod
|
||||
def format_status(status):
|
||||
try:
|
||||
rep = {"HTTPConnectionPool": "", "/server/info ": "", "Caused by ": "", "(": "", ")": "",
|
||||
": ": "\n", "'": "", "`": "", "\"": ""}
|
||||
rep = {re.escape(k): v for k, v in rep.items()}
|
||||
pattern = re.compile("|".join(rep.keys()))
|
||||
status = pattern.sub(lambda m: rep[re.escape(m.group(0))], f"{status}").split("\n")
|
||||
return "\n".join(_ for _ in status if "urllib3" not in _ and _ != "")
|
||||
except TypeError or KeyError:
|
||||
return status
|
||||
@@ -1,110 +1,133 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import gi
|
||||
import time
|
||||
import threading
|
||||
|
||||
import json
|
||||
import requests
|
||||
import websocket
|
||||
import asyncio
|
||||
import logging
|
||||
logger = logging.getLogger("KlipperScreen.KlipperWebsocket")
|
||||
|
||||
import gi
|
||||
import websocket
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib
|
||||
from gi.repository import GLib
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
|
||||
#f = open("/home/pi/.moonraker_api_key", "r")
|
||||
api_key = "" #f.readline()
|
||||
#f.close()
|
||||
|
||||
api = {
|
||||
"printer_info": {
|
||||
"url": "/printer/info",
|
||||
"method": "get_printer_info"
|
||||
},
|
||||
"apikey": {
|
||||
"url": "/access/api_key"
|
||||
},
|
||||
"oneshot_token": {
|
||||
"url": "/access/oneshot_token"
|
||||
}
|
||||
}
|
||||
|
||||
class KlippyWebsocket(threading.Thread):
|
||||
_req_id = 0
|
||||
connected = False
|
||||
connecting = True
|
||||
callback_table = {}
|
||||
timeout = None
|
||||
reconnect_count = 0
|
||||
max_retries = 4
|
||||
|
||||
def __init__(self, screen, callback):
|
||||
def __init__(self, screen, callback, host, port):
|
||||
threading.Thread.__init__(self)
|
||||
self._wst = None
|
||||
self.ws_url = None
|
||||
self._screen = screen
|
||||
self._callback = callback
|
||||
self.klippy = MoonrakerApi(self)
|
||||
self.ws = None
|
||||
self.closing = False
|
||||
self.host = host
|
||||
self.port = port
|
||||
|
||||
self._url = "127.0.0.1:7125"
|
||||
@property
|
||||
def _url(self):
|
||||
return f"{self.host}:{self.port}"
|
||||
|
||||
def connect (self):
|
||||
#r = requests.get(
|
||||
# "http://%s%s" % (self._url, api['oneshot_token']['url']),
|
||||
# headers={"x-api-key":api_key}
|
||||
#)
|
||||
#if r.status_code != 200:
|
||||
# logger.info("Failed to retrieve oneshot token")
|
||||
# return
|
||||
@property
|
||||
def ws_proto(self):
|
||||
if int(self.port) in {443, 7130}:
|
||||
return "wss"
|
||||
return "ws"
|
||||
|
||||
#token = json.loads(r.content)['result']
|
||||
#self.ws_url = "ws://%s/websocket?token=%s" % (self._url, token)
|
||||
self.ws_url = "ws://%s/websocket" % (self._url)
|
||||
self.ws = websocket.WebSocketApp(self.ws_url,
|
||||
on_message = lambda ws,msg: self.on_message(ws, msg),
|
||||
on_error = lambda ws,msg: self.on_error(ws, msg),
|
||||
on_close = lambda ws: self.on_close(ws),
|
||||
on_open = lambda ws: self.on_open(ws)
|
||||
)
|
||||
def retry(self):
|
||||
self.reconnect_count = 0
|
||||
self.connecting = True
|
||||
self.initial_connect()
|
||||
|
||||
self._wst = threading.Thread(target=self.ws.run_forever)
|
||||
self._wst.daemon = True
|
||||
def initial_connect(self):
|
||||
if self.connect() is not False:
|
||||
GLib.timeout_add_seconds(10, self.reconnect)
|
||||
|
||||
def reconnect(self):
|
||||
if self.reconnect_count > self.max_retries:
|
||||
logging.debug("Stopping reconnections")
|
||||
self.connecting = False
|
||||
self._screen.printer_initializing(
|
||||
_("Cannot connect to Moonraker")
|
||||
+ f'\n\n{self._screen.apiclient.status}')
|
||||
return False
|
||||
return self.connect()
|
||||
|
||||
def connect(self):
|
||||
if self.connected:
|
||||
logging.debug("Already connected")
|
||||
return False
|
||||
logging.debug("Attempting to connect")
|
||||
self.reconnect_count += 1
|
||||
try:
|
||||
state = self._screen.apiclient.get_server_info()
|
||||
if state is False:
|
||||
if self.reconnect_count > 2:
|
||||
self._screen.printer_initializing(
|
||||
_("Cannot connect to Moonraker") + '\n\n'
|
||||
+ _("Retrying") + f' #{self.reconnect_count}'
|
||||
)
|
||||
return True
|
||||
token = self._screen.apiclient.get_oneshot_token()
|
||||
except Exception as e:
|
||||
logging.critical(e, exc_info=True)
|
||||
logging.debug("Unable to get oneshot token")
|
||||
return True
|
||||
|
||||
self.ws_url = f"{self.ws_proto}://{self._url}/websocket?token={token}"
|
||||
self.ws = websocket.WebSocketApp(
|
||||
self.ws_url,
|
||||
on_close=self.on_close, on_error=self.on_error, on_message=self.on_message, on_open=self.on_open
|
||||
)
|
||||
self._wst = threading.Thread(target=self.ws.run_forever, daemon=True)
|
||||
try:
|
||||
logging.debug("Starting websocket thread")
|
||||
self._wst.start()
|
||||
except Exception:
|
||||
logger.debug("Error starting web socket")
|
||||
except Exception as e:
|
||||
logging.critical(e, exc_info=True)
|
||||
logging.debug("Error starting web socket")
|
||||
return True
|
||||
return False
|
||||
|
||||
def is_connected(self):
|
||||
return self.connected
|
||||
def close(self):
|
||||
self.closing = True
|
||||
self.connecting = False
|
||||
if self.ws is not None:
|
||||
self.ws.close()
|
||||
|
||||
def on_message(self, ws, message):
|
||||
def on_message(self, *args):
|
||||
message = args[1] if len(args) == 2 else args[0]
|
||||
response = json.loads(message)
|
||||
if "id" in response:
|
||||
if response['id'] in self.callback_table:
|
||||
Gdk.threads_add_idle(
|
||||
GLib.PRIORITY_HIGH_IDLE,
|
||||
self.callback_table[response['id']][0],
|
||||
response,
|
||||
if "id" in response and response['id'] in self.callback_table:
|
||||
args = (response,
|
||||
self.callback_table[response['id']][1],
|
||||
self.callback_table[response['id']][2],
|
||||
*self.callback_table[response['id']][3]
|
||||
)
|
||||
self.callback_table.pop(response['id'])
|
||||
return
|
||||
*self.callback_table[response['id']][3])
|
||||
GLib.idle_add(self.callback_table[response['id']][0], *args)
|
||||
self.callback_table.pop(response['id'])
|
||||
return
|
||||
|
||||
if "method" in response and "on_message" in self._callback:
|
||||
Gdk.threads_add_idle(
|
||||
GLib.PRIORITY_HIGH_IDLE,
|
||||
self._callback['on_message'],
|
||||
response['method'],
|
||||
response['params'][0] if "params" in response else {}
|
||||
)
|
||||
args = response['method'], response['params'][0] if "params" in response else {}
|
||||
GLib.idle_add(self._callback['on_message'], *args)
|
||||
return
|
||||
|
||||
def send_method(self, method, params={}, callback=None, *args):
|
||||
if self.is_connected() == False:
|
||||
def send_method(self, method, params=None, callback=None, *args):
|
||||
if not self.connected:
|
||||
return False
|
||||
if params is None:
|
||||
params = {}
|
||||
|
||||
self._req_id += 1
|
||||
if callback != None:
|
||||
if callback is not None:
|
||||
self.callback_table[self._req_id] = [callback, method, params, [*args]]
|
||||
|
||||
data = {
|
||||
@@ -116,59 +139,53 @@ class KlippyWebsocket(threading.Thread):
|
||||
self.ws.send(json.dumps(data))
|
||||
return True
|
||||
|
||||
def on_open(self, ws):
|
||||
logger.info("Moonraker Websocket Open")
|
||||
logger.info("Self.connected = %s" % self.is_connected())
|
||||
def on_open(self, *args):
|
||||
logging.info("Moonraker Websocket Open")
|
||||
self.connected = True
|
||||
self.timeout = None
|
||||
self.connecting = False
|
||||
self._screen.reinit_count = 0
|
||||
self.reconnect_count = 0
|
||||
if "on_connect" in self._callback:
|
||||
Gdk.threads_add_idle(
|
||||
GLib.PRIORITY_HIGH_IDLE,
|
||||
self._callback['on_connect']
|
||||
)
|
||||
GLib.idle_add(self._callback['on_connect'])
|
||||
|
||||
def on_close(self, ws):
|
||||
if self.is_connected() == False:
|
||||
logger.debug("Connection already closed")
|
||||
def on_close(self, *args):
|
||||
# args: ws, status, message
|
||||
# sometimes ws is not passed due to bugs
|
||||
message = args[2] if len(args) == 3 else args[1]
|
||||
if message is not None:
|
||||
logging.info(f"{message}")
|
||||
if not self.connected:
|
||||
logging.debug("Connection already closed")
|
||||
return
|
||||
if self.closing:
|
||||
logging.debug("Closing websocket")
|
||||
self.ws.keep_running = False
|
||||
self.close()
|
||||
self.closing = False
|
||||
return
|
||||
|
||||
logger.info("Moonraker Websocket Closed")
|
||||
self.connected = False
|
||||
if self.timeout == None:
|
||||
self.timeout = GLib.timeout_add(500, self.reconnect)
|
||||
|
||||
if "on_close" in self._callback:
|
||||
Gdk.threads_add_idle(
|
||||
GLib.PRIORITY_HIGH_IDLE,
|
||||
self._callback['on_close'],
|
||||
"Lost Connection to Moonraker"
|
||||
)
|
||||
GLib.idle_add(self._callback['on_close'], "Lost Connection to Moonraker")
|
||||
logging.info("Moonraker Websocket Closed")
|
||||
self.connected = False
|
||||
|
||||
def reconnect(self):
|
||||
logger.debug("Attempting to reconnect")
|
||||
if self.is_connected():
|
||||
logger.debug("Reconnected")
|
||||
return False
|
||||
@staticmethod
|
||||
def on_error(*args):
|
||||
error = args[1] if len(args) == 2 else args[0]
|
||||
logging.debug(f"Websocket error: {error}")
|
||||
|
||||
self.connect()
|
||||
return True
|
||||
|
||||
|
||||
def on_error(self, ws, error):
|
||||
print(error)
|
||||
|
||||
class MoonrakerApi:
|
||||
def __init__ (self, ws):
|
||||
def __init__(self, ws):
|
||||
self._ws = ws
|
||||
|
||||
def emergency_stop(self):
|
||||
logger.info("Sending printer.emergency_stop")
|
||||
logging.info("Sending printer.emergency_stop")
|
||||
return self._ws.send_method(
|
||||
"printer.emergency_stop"
|
||||
)
|
||||
|
||||
def gcode_script(self, script, callback=None, *args):
|
||||
logger.debug("Sending printer.gcode.script: %s", script)
|
||||
logging.debug(f"Sending printer.gcode.script: {script}")
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{"script": script},
|
||||
@@ -176,9 +193,17 @@ class MoonrakerApi:
|
||||
*args
|
||||
)
|
||||
|
||||
def get_file_dir(self, path='gcodes', callback=None, *args):
|
||||
logging.debug("Sending server.files.directory")
|
||||
return self._ws.send_method(
|
||||
"server.files.list",
|
||||
{"path": path},
|
||||
callback,
|
||||
*args
|
||||
)
|
||||
|
||||
def get_file_list(self, callback=None, *args):
|
||||
#Commenting this log for being too noisy
|
||||
#logger.debug("Sending server.files.list")
|
||||
logging.debug("Sending server.files.list")
|
||||
return self._ws.send_method(
|
||||
"server.files.list",
|
||||
{},
|
||||
@@ -187,7 +212,6 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def get_file_metadata(self, filename, callback=None, *args):
|
||||
logger.debug("Sending server.files.metadata: %s", filename)
|
||||
return self._ws.send_method(
|
||||
"server.files.metadata",
|
||||
{"filename": filename},
|
||||
@@ -196,14 +220,14 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def object_subscription(self, updates):
|
||||
logger.debug("Sending printer.objects.subscribe: %s", str(updates))
|
||||
logging.debug("Sending printer.objects.subscribe")
|
||||
return self._ws.send_method(
|
||||
"printer.objects.subscribe",
|
||||
updates
|
||||
)
|
||||
|
||||
def power_device_off(self, device, callback=None, *args):
|
||||
logger.debug("Sending machine.device_power.off: %s" % device)
|
||||
logging.debug(f"Sending machine.device_power.off: {device}")
|
||||
return self._ws.send_method(
|
||||
"machine.device_power.off",
|
||||
{device: False},
|
||||
@@ -212,7 +236,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def power_device_on(self, device, callback=None, *args):
|
||||
logger.debug("Sending machine.device_power.on %s" % device)
|
||||
logging.debug("Sending machine.device_power.on {device}")
|
||||
return self._ws.send_method(
|
||||
"machine.device_power.on",
|
||||
{device: False},
|
||||
@@ -221,7 +245,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def print_cancel(self, callback=None, *args):
|
||||
logger.debug("Sending printer.print.cancel")
|
||||
logging.debug("Sending printer.print.cancel")
|
||||
return self._ws.send_method(
|
||||
"printer.print.cancel",
|
||||
{},
|
||||
@@ -230,7 +254,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def print_pause(self, callback=None, *args):
|
||||
logger.debug("Sending printer.print.pause")
|
||||
logging.debug("Sending printer.print.pause")
|
||||
return self._ws.send_method(
|
||||
"printer.print.pause",
|
||||
{},
|
||||
@@ -239,7 +263,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def print_resume(self, callback=None, *args):
|
||||
logger.debug("Sending printer.print.resume")
|
||||
logging.debug("Sending printer.print.resume")
|
||||
return self._ws.send_method(
|
||||
"printer.print.resume",
|
||||
{},
|
||||
@@ -248,7 +272,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def print_start(self, filename, callback=None, *args):
|
||||
logger.debug("Sending printer.print.start")
|
||||
logging.debug("Sending printer.print.start")
|
||||
return self._ws.send_method(
|
||||
"printer.print.start",
|
||||
{
|
||||
@@ -258,32 +282,8 @@ class MoonrakerApi:
|
||||
*args
|
||||
)
|
||||
|
||||
def temperature_set(self, heater, target, callback=None, *args):
|
||||
if heater == "heater_bed":
|
||||
logger.debug("Sending printer.gcode.script: %s", KlippyGcodes.set_bed_temp(target))
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{
|
||||
"script": KlippyGcodes.set_bed_temp(target)
|
||||
},
|
||||
callback,
|
||||
*args
|
||||
)
|
||||
else:
|
||||
logger.debug("Sending printer.gcode.script: %s",
|
||||
KlippyGcodes.set_ext_temp(target, heater.replace("tool","")))
|
||||
#TODO: Add max/min limits
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{
|
||||
"script": KlippyGcodes.set_ext_temp(target, heater.replace("tool",""))
|
||||
},
|
||||
callback,
|
||||
*args
|
||||
)
|
||||
|
||||
def set_bed_temp(self, target, callback=None, *args):
|
||||
logger.debug("Sending set_bed_temp: %s", KlippyGcodes.set_bed_temp(target))
|
||||
logging.debug(f"Sending set_bed_temp: {KlippyGcodes.set_bed_temp(target)}")
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{
|
||||
@@ -293,8 +293,30 @@ class MoonrakerApi:
|
||||
*args
|
||||
)
|
||||
|
||||
def set_heater_temp(self, heater, target, callback=None, *args):
|
||||
logging.debug(f"Sending heater {heater} to temp: {target}")
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{
|
||||
"script": KlippyGcodes.set_heater_temp(heater, target)
|
||||
},
|
||||
callback,
|
||||
*args
|
||||
)
|
||||
|
||||
def set_temp_fan_temp(self, temp_fan, target, callback=None, *args):
|
||||
logging.debug(f"Sending temperature fan {temp_fan} to temp: {target}")
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{
|
||||
"script": KlippyGcodes.set_temp_fan_temp(temp_fan, target)
|
||||
},
|
||||
callback,
|
||||
*args
|
||||
)
|
||||
|
||||
def set_tool_temp(self, tool, target, callback=None, *args):
|
||||
logger.debug("Sending set_tool_temp: %s", KlippyGcodes.set_ext_temp(target, tool))
|
||||
logging.debug(f"Sending set_tool_temp: {KlippyGcodes.set_ext_temp(target, tool)}")
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{
|
||||
@@ -305,13 +327,13 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def restart(self):
|
||||
logger.debug("Sending printer.restart")
|
||||
logging.debug("Sending printer.restart")
|
||||
return self._ws.send_method(
|
||||
"printer.restart"
|
||||
)
|
||||
|
||||
def restart_firmware(self):
|
||||
logger.debug("Sending printer.firmware_restart")
|
||||
logging.debug("Sending printer.firmware_restart")
|
||||
return self._ws.send_method(
|
||||
"printer.firmware_restart"
|
||||
)
|
||||
@@ -1,52 +1,446 @@
|
||||
import configparser
|
||||
import gettext
|
||||
import os
|
||||
import logging
|
||||
import json
|
||||
import re
|
||||
import copy
|
||||
import pathlib
|
||||
import locale
|
||||
|
||||
from io import StringIO
|
||||
|
||||
from os import path
|
||||
SCREEN_BLANKING_OPTIONS = [
|
||||
60, # 1 Minute
|
||||
120, # 2 Minutes
|
||||
300, # 5 Minutes
|
||||
900, # 15 Minutes
|
||||
1800, # 30 Minutes
|
||||
3600, # 1 Hour
|
||||
7200, # 2 Hours
|
||||
14400, # 4 Hours
|
||||
]
|
||||
|
||||
klipperscreendir = pathlib.Path(__file__).parent.resolve().parent
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.config")
|
||||
|
||||
class ConfigError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class KlipperScreenConfig:
|
||||
config = None
|
||||
configfile_name = "KlipperScreen.conf"
|
||||
do_not_edit_line = "#~# --- Do not edit below this line. This section is auto generated --- #~#"
|
||||
do_not_edit_prefix = "#~#"
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self, configfile, screen=None):
|
||||
self.lang_list = None
|
||||
self.errors = []
|
||||
self.default_config_path = os.path.join(klipperscreendir, "ks_includes", "defaults.conf")
|
||||
self.config = configparser.ConfigParser()
|
||||
self.config_path = self.get_config_file_location()
|
||||
self.config_path = self.get_config_file_location(configfile)
|
||||
logging.debug(f"Config path location: {self.config_path}")
|
||||
self.defined_config = None
|
||||
self.lang = None
|
||||
self.langs = {}
|
||||
|
||||
try:
|
||||
self.config.read(self.config_path)
|
||||
except KeyError:
|
||||
raise ConfigError(f"Error reading config: {self.config_path}")
|
||||
self.config.read(self.default_config_path)
|
||||
# In case a user altered defaults.conf
|
||||
self.validate_config(self.config)
|
||||
if self.config_path != self.default_config_path:
|
||||
user_def, saved_def = self.separate_saved_config(self.config_path)
|
||||
self.defined_config = configparser.ConfigParser()
|
||||
self.defined_config.read_string(user_def)
|
||||
|
||||
self.log_config(self.config)
|
||||
includes = [i[8:] for i in self.defined_config.sections() if i.startswith("include ")]
|
||||
for include in includes:
|
||||
self._include_config("/".join(self.config_path.split("/")[:-1]), include)
|
||||
|
||||
self.get_menu_items("__main")
|
||||
#self.build_main_menu(self.config)
|
||||
self.exclude_from_config(self.defined_config)
|
||||
|
||||
self.log_config(self.defined_config)
|
||||
if self.validate_config(self.defined_config, string=user_def):
|
||||
self.config.read_string(user_def)
|
||||
if saved_def is not None:
|
||||
auto_gen = configparser.ConfigParser()
|
||||
auto_gen.read_string(saved_def)
|
||||
if self.validate_config(auto_gen, string=saved_def, remove=True):
|
||||
self.config.read_string(saved_def)
|
||||
logging.info(f"====== Saved Def ======\n{saved_def}\n=======================")
|
||||
# This is the final config
|
||||
# self.log_config(self.config)
|
||||
except KeyError as Kerror:
|
||||
msg = f"Error reading config: {self.config_path}\n{Kerror}"
|
||||
logging.exception(msg)
|
||||
self.errors.append(msg)
|
||||
raise ConfigError(msg) from Kerror
|
||||
except ValueError as Verror:
|
||||
msg = f"Invalid Value in the config:\n{Verror}"
|
||||
logging.exception(msg)
|
||||
self.errors.append(msg)
|
||||
except Exception as e:
|
||||
msg = f"Unknown error with the config:\n{e}"
|
||||
logging.exception(msg)
|
||||
self.errors.append(msg)
|
||||
|
||||
def get_config_file_location(self):
|
||||
conf_name = "KlipperScreen.conf"
|
||||
printers = sorted([i for i in self.config.sections() if i.startswith("printer ")])
|
||||
if len(printers) == 0:
|
||||
printers.append("Printer Printer")
|
||||
self.printers = [
|
||||
{printer[8:]: {
|
||||
"moonraker_host": self.config.get(printer, "moonraker_host", fallback="127.0.0.1"),
|
||||
"moonraker_port": self.config.get(printer, "moonraker_port", fallback="7125"),
|
||||
"moonraker_api_key": self.config.get(printer, "moonraker_api_key", fallback="").replace('"', '')
|
||||
}} for printer in printers
|
||||
]
|
||||
|
||||
file = "%s/%s" % (os.getenv("HOME"), conf_name)
|
||||
if not path.exists(file):
|
||||
file = "%s/%s" % (os.getcwd(), conf_name)
|
||||
if not path.exists(file):
|
||||
file = "%s/ks_includes/%s" % (os.getcwd(), conf_name)
|
||||
conf_printers_debug = copy.deepcopy(self.printers)
|
||||
for printer in conf_printers_debug:
|
||||
name = list(printer)[0]
|
||||
item = conf_printers_debug[conf_printers_debug.index(printer)]
|
||||
if item[name]['moonraker_api_key'] != "":
|
||||
item[name]['moonraker_api_key'] = "redacted"
|
||||
logging.debug(f"Configured printers: {json.dumps(conf_printers_debug, indent=2)}")
|
||||
|
||||
logger.info("Found configuration file at: %s" % file)
|
||||
return file
|
||||
self.create_translations()
|
||||
self._create_configurable_options(screen)
|
||||
|
||||
def create_translations(self):
|
||||
lang_path = os.path.join(klipperscreendir, "ks_includes", "locales")
|
||||
self.lang_list = [d for d in os.listdir(lang_path) if not os.path.isfile(os.path.join(lang_path, d))]
|
||||
self.lang_list.sort()
|
||||
for lng in self.lang_list:
|
||||
self.langs[lng] = gettext.translation('KlipperScreen', localedir=lang_path, languages=[lng], fallback=True)
|
||||
|
||||
lang = self.get_main_config().get("language", None)
|
||||
logging.debug(f"Selected lang: {lang} OS lang: {locale.getlocale()[0]}")
|
||||
self.install_language(lang)
|
||||
|
||||
def install_language(self, lang):
|
||||
if lang is None or lang == "system_lang":
|
||||
for language in self.lang_list:
|
||||
if locale.getlocale()[0].startswith(language):
|
||||
logging.debug("Using system lang")
|
||||
lang = language
|
||||
if lang is not None and lang not in self.lang_list:
|
||||
# try to match a parent
|
||||
for language in self.lang_list:
|
||||
if lang.startswith(language):
|
||||
lang = language
|
||||
self.set("main", "language", lang)
|
||||
if lang not in self.lang_list:
|
||||
logging.error(f"lang: {lang} not found")
|
||||
logging.info(f"Available lang list {self.lang_list}")
|
||||
lang = "en"
|
||||
logging.info(f"Using lang {lang}")
|
||||
self.lang = self.langs[lang]
|
||||
self.lang.install(names=['gettext', 'ngettext'])
|
||||
|
||||
def validate_config(self, config, string="", remove=False):
|
||||
valid = True
|
||||
if string:
|
||||
msg = "Section headers have extra information after brackets possible newline issue:"
|
||||
for line in string.split('\n'):
|
||||
if re.match(r".+\].", line):
|
||||
logging.error(line)
|
||||
self.errors.append(f'{msg}\n\n{line}')
|
||||
return False
|
||||
for section in config:
|
||||
if section == 'DEFAULT' or section.startswith('include '):
|
||||
# Do not validate 'DEFAULT' or 'include*' sections
|
||||
continue
|
||||
bools = strs = numbers = ()
|
||||
if section == 'main':
|
||||
bools = (
|
||||
'invert_x', 'invert_y', 'invert_z', '24htime', 'only_heaters', 'show_cursor', 'confirm_estop',
|
||||
'autoclose_popups', 'use_dpms', 'use_default_menu', 'side_macro_shortcut', 'use-matchbox-keyboard',
|
||||
'show_heater_power', "show_scroll_steppers",
|
||||
)
|
||||
strs = (
|
||||
'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking', 'font_size',
|
||||
'print_estimate_method', 'screen_blanking', "screen_on_devices", "screen_off_devices",
|
||||
)
|
||||
numbers = (
|
||||
'job_complete_timeout', 'job_error_timeout', 'move_speed_xy', 'move_speed_z',
|
||||
'print_estimate_compensation', 'width', 'height',
|
||||
)
|
||||
elif section.startswith('printer '):
|
||||
bools = (
|
||||
'invert_x', 'invert_y', 'invert_z',
|
||||
)
|
||||
strs = (
|
||||
'moonraker_api_key', 'moonraker_host', 'titlebar_name_type',
|
||||
'screw_positions', 'power_devices', 'titlebar_items', 'z_babystep_values',
|
||||
'extrude_distances', "extrude_speeds", "camera_url", "spoolman",
|
||||
)
|
||||
numbers = (
|
||||
'moonraker_port', 'move_speed_xy', 'move_speed_z',
|
||||
'calibrate_x_position', 'calibrate_y_position',
|
||||
)
|
||||
elif section.startswith('preheat '):
|
||||
strs = ('gcode', '')
|
||||
numbers = [f'{option}' for option in config[section] if option != 'gcode']
|
||||
elif section.startswith('menu '):
|
||||
strs = ('name', 'icon', 'panel', 'method', 'params', 'enable', 'confirm', 'style')
|
||||
elif section == 'bed_screws':
|
||||
# This section may be deprecated in favor of moving this options under the printer section
|
||||
numbers = ('rotation', '')
|
||||
strs = ('screw_positions', '')
|
||||
elif section.startswith('graph')\
|
||||
or section.startswith('displayed_macros')\
|
||||
or section.startswith('spoolman'):
|
||||
bools = [f'{option}' for option in config[section]]
|
||||
elif section.startswith('z_calibrate_position'):
|
||||
# This section may be deprecated in favor of moving this options under the printer section
|
||||
numbers = ('calibrate_x_position', 'calibrate_y_position')
|
||||
else:
|
||||
self.errors.append(f'Section [{section}] not recognized')
|
||||
|
||||
for key in config[section]:
|
||||
if key not in bools and key not in strs and key not in numbers:
|
||||
msg = f'Option "{key}" not recognized for section "[{section}]"'
|
||||
if key == "camera_url":
|
||||
msg = "camera_url has been deprecated in favor of moonraker cameras"
|
||||
msg += "\n\n https://moonraker.readthedocs.io/en/latest/configuration/#webcam"
|
||||
if remove:
|
||||
# This should only be called for the auto-generated section
|
||||
self.config.remove_option(section, key)
|
||||
else:
|
||||
self.errors.append(msg)
|
||||
elif key in numbers and not self.is_float(config[section][key]) \
|
||||
or key in bools and not self.is_bool(config[section][key]):
|
||||
msg = (
|
||||
f'Unable to parse "{key}" from [{section}]\n'
|
||||
f'Expected a {"number" if key in numbers else "boolean"} but got: {config[section][key]}'
|
||||
)
|
||||
self.errors.append(msg)
|
||||
logging.error('Invalid configuration detected !!!')
|
||||
valid = False
|
||||
return valid
|
||||
|
||||
@staticmethod
|
||||
def is_float(element):
|
||||
try:
|
||||
float(element)
|
||||
return True
|
||||
except ValueError:
|
||||
return False
|
||||
|
||||
@staticmethod
|
||||
def is_bool(element):
|
||||
return element in ["False", "false", "True", "true"]
|
||||
|
||||
def get_errors(self):
|
||||
return "".join(f'{error}\n\n' for error in self.errors)
|
||||
|
||||
def _create_configurable_options(self, screen):
|
||||
|
||||
self.configurable_options = [
|
||||
{"language": {
|
||||
"section": "main", "name": _("Language"), "type": None, "value": "system_lang",
|
||||
"callback": screen.change_language, "options": [
|
||||
{"name": _("System") + " " + _("(default)"), "value": "system_lang"}]}},
|
||||
{"theme": {
|
||||
"section": "main", "name": _("Icon Theme"), "type": "dropdown",
|
||||
"value": "z-bolt", "callback": screen.restart_ks, "options": [
|
||||
{"name": "Z-bolt" + " " + _("(default)"), "value": "z-bolt"}]}},
|
||||
{"print_estimate_method": {
|
||||
"section": "main", "name": _("Estimated Time Method"), "type": "dropdown",
|
||||
"value": "auto", "options": [
|
||||
{"name": _("Auto") + " " + _("(default)"), "value": "auto"},
|
||||
{"name": _("File"), "value": "file"},
|
||||
{"name": _("Filament Used"), "value": "filament"},
|
||||
{"name": _("Slicer"), "value": "slicer"}]}},
|
||||
{"screen_blanking": {
|
||||
"section": "main", "name": _("Screen Power Off Time"), "type": "dropdown",
|
||||
"value": "3600", "callback": screen.set_screenblanking_timeout, "options": [
|
||||
{"name": _("Never"), "value": "off"}]
|
||||
}},
|
||||
{"24htime": {"section": "main", "name": _("24 Hour Time"), "type": "binary", "value": "True"}},
|
||||
{"side_macro_shortcut": {
|
||||
"section": "main", "name": _("Macro shortcut on sidebar"), "type": "binary",
|
||||
"value": "True", "callback": screen.toggle_shortcut}},
|
||||
{"font_size": {
|
||||
"section": "main", "name": _("Font Size"), "type": "dropdown",
|
||||
"value": "medium", "callback": screen.restart_ks, "options": [
|
||||
{"name": _("Small"), "value": "small"},
|
||||
{"name": _("Medium") + " " + _("(default)"), "value": "medium"},
|
||||
{"name": _("Large"), "value": "large"},
|
||||
{"name": _("Extra Large"), "value": "extralarge"},
|
||||
{"name": _("Maximum"), "value": "max"}]}},
|
||||
{"confirm_estop": {"section": "main", "name": _("Confirm Emergency Stop"), "type": "binary",
|
||||
"value": "False"}},
|
||||
{"only_heaters": {"section": "main", "name": _("Hide sensors in Temp."), "type": "binary",
|
||||
"value": "False", "callback": screen.reload_panels}},
|
||||
{"use_dpms": {"section": "main", "name": _("Screen DPMS"), "type": "binary",
|
||||
"value": "True", "callback": screen.set_dpms}},
|
||||
{"autoclose_popups": {"section": "main", "name": _("Auto-close notifications"), "type": "binary",
|
||||
"value": "True"}},
|
||||
{"show_heater_power": {"section": "main", "name": _("Show Heater Power"), "type": "binary",
|
||||
"value": "False", "callback": screen.reload_panels}},
|
||||
{"show_scroll_steppers": {"section": "main", "name": _("Show Scrollbars Buttons"), "type": "binary",
|
||||
"value": "False", "callback": screen.reload_panels}},
|
||||
# {"": {"section": "main", "name": _(""), "type": ""}}
|
||||
]
|
||||
|
||||
# Options that are in panels and shouldn't be added to the main settings
|
||||
panel_options = [
|
||||
{"invert_x": {"section": "main", "name": _("Invert X"), "type": None, "value": "False"}},
|
||||
{"invert_y": {"section": "main", "name": _("Invert Y"), "type": None, "value": "False"}},
|
||||
{"invert_z": {"section": "main", "name": _("Invert Z"), "type": None, "value": "False"}},
|
||||
{"move_speed_xy": {"section": "main", "name": _("XY Move Speed (mm/s)"), "type": None, "value": "50"}},
|
||||
{"move_speed_z": {"section": "main", "name": _("Z Move Speed (mm/s)"), "type": None, "value": "10"}},
|
||||
{"print_sort_dir": {"section": "main", "type": None, "value": "name_asc"}},
|
||||
]
|
||||
|
||||
self.configurable_options.extend(panel_options)
|
||||
|
||||
t_path = os.path.join(klipperscreendir, 'styles')
|
||||
themes = [d for d in os.listdir(t_path) if (not os.path.isfile(os.path.join(t_path, d)) and d != "z-bolt")]
|
||||
themes.sort()
|
||||
theme_opt = self.configurable_options[1]['theme']['options']
|
||||
|
||||
for theme in themes:
|
||||
theme_opt.append({"name": theme, "value": theme})
|
||||
|
||||
index = self.configurable_options.index(
|
||||
[i for i in self.configurable_options if list(i)[0] == "screen_blanking"][0])
|
||||
for num in SCREEN_BLANKING_OPTIONS:
|
||||
hour = num // 3600
|
||||
minute = num / 60
|
||||
if hour > 0:
|
||||
name = f'{hour} ' + ngettext("hour", "hours", hour)
|
||||
else:
|
||||
name = f'{minute:.0f} ' + ngettext("minute", "minutes", minute)
|
||||
self.configurable_options[index]['screen_blanking']['options'].append({
|
||||
"name": name,
|
||||
"value": f"{num}"
|
||||
})
|
||||
|
||||
for item in self.configurable_options:
|
||||
name = list(item)[0]
|
||||
vals = item[name]
|
||||
if vals['section'] not in self.config.sections():
|
||||
self.config.add_section(vals['section'])
|
||||
if name not in list(self.config[vals['section']]):
|
||||
self.config.set(vals['section'], name, vals['value'])
|
||||
|
||||
def exclude_from_config(self, config):
|
||||
exclude_list = ['preheat']
|
||||
if not self.defined_config.getboolean('main', "use_default_menu", fallback=True):
|
||||
logging.info("Using custom menu, removing default menu entries.")
|
||||
exclude_list.extend(('menu __main', 'menu __print', 'menu __splashscreen'))
|
||||
for i in exclude_list:
|
||||
for j in config.sections():
|
||||
if j.startswith(i):
|
||||
for k in list(self.config.sections()):
|
||||
if k.startswith(i):
|
||||
del self.config[k]
|
||||
|
||||
def _include_config(self, directory, filepath):
|
||||
full_path = filepath if filepath[0] == "/" else f"{directory}/{filepath}"
|
||||
parse_files = []
|
||||
|
||||
if "*" in full_path:
|
||||
parent_dir = "/".join(full_path.split("/")[:-1])
|
||||
file = full_path.split("/")[-1]
|
||||
if not os.path.exists(parent_dir):
|
||||
logging.info(f"Config Error: Directory {parent_dir} does not exist")
|
||||
return
|
||||
files = os.listdir(parent_dir)
|
||||
regex = f"^{file.replace('*', '.*')}$"
|
||||
parse_files.extend(os.path.join(parent_dir, file) for file in files if re.match(regex, file))
|
||||
|
||||
else:
|
||||
if not os.path.exists(os.path.join(full_path)):
|
||||
logging.info(f"Config Error: {full_path} does not exist")
|
||||
return
|
||||
parse_files.append(full_path)
|
||||
|
||||
logging.info(f"Parsing files: {parse_files}")
|
||||
for file in parse_files:
|
||||
config = configparser.ConfigParser()
|
||||
config.read(file)
|
||||
includes = [i[8:] for i in config.sections() if i.startswith("include ")]
|
||||
for include in includes:
|
||||
self._include_config("/".join(full_path.split("/")[:-1]), include)
|
||||
self.exclude_from_config(config)
|
||||
self.log_config(config)
|
||||
with open(file, 'r') as f:
|
||||
string = f.read()
|
||||
if self.validate_config(config, string=string):
|
||||
self.config.read(file)
|
||||
|
||||
def separate_saved_config(self, config_path):
|
||||
user_def = []
|
||||
saved_def = []
|
||||
found_saved = False
|
||||
if not os.path.exists(config_path):
|
||||
return ["", None]
|
||||
with open(config_path) as file:
|
||||
for line in file:
|
||||
line = line.replace('\n', '')
|
||||
if line == self.do_not_edit_line:
|
||||
found_saved = True
|
||||
saved_def = []
|
||||
continue
|
||||
if found_saved is False:
|
||||
user_def.append(line.replace('\n', ''))
|
||||
elif line.startswith(self.do_not_edit_prefix):
|
||||
saved_def.append(line[(len(self.do_not_edit_prefix) + 1):])
|
||||
return ["\n".join(user_def), None if saved_def is None else "\n".join(saved_def)]
|
||||
|
||||
def get_config_file_location(self, file):
|
||||
# Passed config (-c) by default is ~/KlipperScreen.conf
|
||||
logging.info(f"Passed config (-c): {file}")
|
||||
if os.path.exists(file):
|
||||
return file
|
||||
|
||||
file = os.path.join(klipperscreendir, self.configfile_name)
|
||||
if os.path.exists(file):
|
||||
return file
|
||||
file = os.path.join(klipperscreendir, self.configfile_name.lower())
|
||||
if os.path.exists(file):
|
||||
return file
|
||||
|
||||
klipper_config = os.path.join(os.path.expanduser("~/"), "printer_data", "config")
|
||||
file = os.path.join(klipper_config, self.configfile_name)
|
||||
if os.path.exists(file):
|
||||
return file
|
||||
file = os.path.join(klipper_config, self.configfile_name.lower())
|
||||
if os.path.exists(file):
|
||||
return file
|
||||
|
||||
# OLD config folder
|
||||
klipper_config = os.path.join(os.path.expanduser("~/"), "klipper_config")
|
||||
file = os.path.join(klipper_config, self.configfile_name)
|
||||
if os.path.exists(file):
|
||||
return file
|
||||
file = os.path.join(klipper_config, self.configfile_name.lower())
|
||||
if os.path.exists(file):
|
||||
return file
|
||||
|
||||
# fallback
|
||||
return self.default_config_path
|
||||
|
||||
def get_config(self):
|
||||
return self.config
|
||||
|
||||
def get_configurable_options(self):
|
||||
return self.configurable_options
|
||||
|
||||
def get_lang(self):
|
||||
return self.lang
|
||||
|
||||
def get_main_config(self):
|
||||
return self.config['main']
|
||||
|
||||
def get_menu_items(self, menu="__main", subsection=""):
|
||||
if subsection != "":
|
||||
subsection = subsection + " "
|
||||
index = "menu %s %s" % (menu, subsection)
|
||||
logger.debug("Getting menu items for: %s" % index)
|
||||
subsection = f"{subsection} "
|
||||
index = f"menu {menu} {subsection}"
|
||||
items = [i[len(index):] for i in self.config.sections() if i.startswith(index)]
|
||||
menu_items = []
|
||||
for item in items:
|
||||
@@ -56,65 +450,129 @@ class KlipperScreenConfig:
|
||||
|
||||
return menu_items
|
||||
|
||||
def get_menu_name(self, menu="__main", subsection=""):
|
||||
name = f"menu {menu} {subsection}" if subsection != "" else f"menu {menu}"
|
||||
return False if name not in self.config else self.config[name].get('name')
|
||||
|
||||
def get_preheat_options(self):
|
||||
index = "preheat "
|
||||
items = [i[len(index):] for i in self.config.sections() if i.startswith(index)]
|
||||
logger.debug("Items: %s" % items)
|
||||
return {item: self._build_preheat_item(index + item) for item in items}
|
||||
|
||||
preheat_options = {}
|
||||
for item in items:
|
||||
preheat_options[item] = self._build_preheat_item(index + item)
|
||||
def _build_preheat_item(self, name):
|
||||
if name not in self.config:
|
||||
return False
|
||||
cfg = self.config[name]
|
||||
return {opt: cfg.get("gcode", None) if opt == "gcode" else cfg.getfloat(opt, None) for opt in cfg}
|
||||
|
||||
return preheat_options
|
||||
def get_printer_config(self, name):
|
||||
if not name.startswith("printer "):
|
||||
name = f"printer {name}"
|
||||
|
||||
def get_printer_power_name(self):
|
||||
return self.config['settings'].get("printer_power_name", "printer")
|
||||
return None if name not in self.config else self.config[name]
|
||||
|
||||
def get_printers(self):
|
||||
return self.printers
|
||||
|
||||
def save_user_config_options(self):
|
||||
save_config = configparser.ConfigParser()
|
||||
for item in self.configurable_options:
|
||||
name = list(item)[0]
|
||||
opt = item[name]
|
||||
curval = self.config[opt['section']].get(name)
|
||||
if curval != opt["value"] or (
|
||||
self.defined_config is not None and opt['section'] in self.defined_config.sections() and
|
||||
self.defined_config[opt['section']].get(name, None) not in (None, curval)):
|
||||
if opt['section'] not in save_config.sections():
|
||||
save_config.add_section(opt['section'])
|
||||
save_config.set(opt['section'], name, str(curval))
|
||||
|
||||
extra_sections = [i for i in self.config.sections() if i.startswith("displayed_macros")]
|
||||
extra_sections.extend([i for i in self.config.sections() if i.startswith("graph")])
|
||||
extra_sections.extend([i for i in self.config.sections() if i.startswith("spoolman")])
|
||||
for section in extra_sections:
|
||||
for item in self.config.options(section):
|
||||
value = self.config[section].getboolean(item, fallback=True)
|
||||
if value is False or (self.defined_config is not None and
|
||||
section in self.defined_config.sections() and
|
||||
self.defined_config[section].getboolean(item, fallback=True) is False and
|
||||
self.defined_config[section].getboolean(item, fallback=True) != value):
|
||||
if section not in save_config.sections():
|
||||
save_config.add_section(section)
|
||||
save_config.set(section, item, str(value))
|
||||
|
||||
save_output = self._build_config_string(save_config).split("\n")
|
||||
for i in range(len(save_output)):
|
||||
save_output[i] = f"{self.do_not_edit_prefix} {save_output[i]}"
|
||||
|
||||
if self.config_path == self.default_config_path:
|
||||
user_def = ""
|
||||
saved_def = None
|
||||
else:
|
||||
user_def, saved_def = self.separate_saved_config(self.config_path)
|
||||
|
||||
contents = (f"{user_def}\n"
|
||||
f"{self.do_not_edit_line}\n"
|
||||
f"{self.do_not_edit_prefix}\n"
|
||||
+ '\n'.join(save_output) + f"\n"
|
||||
f"{self.do_not_edit_prefix}\n")
|
||||
|
||||
if self.config_path != self.default_config_path:
|
||||
filepath = self.config_path
|
||||
else:
|
||||
filepath = os.path.expanduser("~/")
|
||||
klipper_config = os.path.join(filepath, "printer_data", "config")
|
||||
old_klipper_config = os.path.join(filepath, "klipper_config")
|
||||
if os.path.exists(klipper_config):
|
||||
filepath = os.path.join(klipper_config, self.configfile_name)
|
||||
elif os.path.exists(old_klipper_config):
|
||||
filepath = os.path.join(old_klipper_config, self.configfile_name)
|
||||
else:
|
||||
filepath = os.path.join(filepath, self.configfile_name)
|
||||
logging.info(f'Creating a new config file in {filepath}')
|
||||
|
||||
try:
|
||||
with open(filepath, 'w') as file:
|
||||
file.write(contents)
|
||||
except Exception as e:
|
||||
logging.error(f"Error writing configuration file in {filepath}:\n{e}")
|
||||
|
||||
def set(self, section, name, value):
|
||||
self.config.set(section, name, value)
|
||||
|
||||
def log_config(self, config):
|
||||
lines = [
|
||||
" "
|
||||
"===== Config File =====",
|
||||
self._build_config_string(config),
|
||||
re.sub(
|
||||
r'(moonraker_api_key\s*=\s*\S+)',
|
||||
'moonraker_api_key = [redacted]',
|
||||
self._build_config_string(config)
|
||||
),
|
||||
"======================="
|
||||
]
|
||||
logger.info("\n".join(lines))
|
||||
logging.info("\n".join(lines))
|
||||
|
||||
def _build_config_string(self, config):
|
||||
@staticmethod
|
||||
def _build_config_string(config):
|
||||
sfile = StringIO()
|
||||
config.write(sfile)
|
||||
sfile.seek(0)
|
||||
return sfile.read().strip()
|
||||
|
||||
|
||||
|
||||
def _build_menu_item(self, menu, name):
|
||||
if name not in self.config:
|
||||
return False
|
||||
cfg = self.config[name]
|
||||
item = {
|
||||
"name": cfg.get("name"),
|
||||
"icon": cfg.get("icon"),
|
||||
"panel": cfg.get("panel", False),
|
||||
"method": cfg.get("method", False),
|
||||
"confirm": cfg.get("confirm", False),
|
||||
"enable": cfg.get("enable", True)
|
||||
"icon": cfg.get("icon", None),
|
||||
"panel": cfg.get("panel", None),
|
||||
"method": cfg.get("method", None),
|
||||
"confirm": cfg.get("confirm", None),
|
||||
"enable": cfg.get("enable", "True"),
|
||||
"params": cfg.get("params", "{}"),
|
||||
"style": cfg.get("style", None)
|
||||
}
|
||||
|
||||
try:
|
||||
item["params"] = json.loads(cfg.get("params", "{}"))
|
||||
except:
|
||||
logger.debug("Unable to parse parameters for [%s]" % name)
|
||||
item["params"] = {}
|
||||
|
||||
return {name[(len(menu) + 6):]: item}
|
||||
|
||||
def _build_preheat_item(self, name):
|
||||
if name not in self.config:
|
||||
return False
|
||||
cfg = self.config[name]
|
||||
item = {
|
||||
"extruder": cfg.getint("extruder", 0),
|
||||
"bed": cfg.getint("bed", 0)
|
||||
}
|
||||
return item
|
||||
@@ -0,0 +1,295 @@
|
||||
[main]
|
||||
|
||||
[preheat PLA]
|
||||
bed = 40
|
||||
extruder = 195
|
||||
|
||||
[preheat ABS]
|
||||
bed = 90
|
||||
extruder = 220
|
||||
|
||||
[preheat PETG]
|
||||
bed = 80
|
||||
extruder = 240
|
||||
|
||||
[preheat FLEX]
|
||||
bed = 0
|
||||
extruder = 210
|
||||
|
||||
[menu __main]
|
||||
name: {{ gettext('Main Menu') }}
|
||||
|
||||
|
||||
|
||||
[menu __main move]
|
||||
name: {{ gettext('Move') }}
|
||||
icon: move
|
||||
panel: move
|
||||
|
||||
[menu move homing homeall]
|
||||
name: {{ gettext('Home All') }}
|
||||
icon: home
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28"}
|
||||
|
||||
[menu move homing homex]
|
||||
name: {{ gettext('Home X') }}
|
||||
icon: home-x
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28 X"}
|
||||
|
||||
[menu move homing homey]
|
||||
name: {{ gettext('Home Y') }}
|
||||
icon: home-y
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28 Y"}
|
||||
|
||||
[menu move homing homez]
|
||||
name: {{ gettext('Home Z') }}
|
||||
icon: home-z
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28 Z"}
|
||||
|
||||
[menu move homing homexy]
|
||||
name: {{ gettext('Home XY') }}
|
||||
icon: home
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28 X Y"}
|
||||
|
||||
[menu move homing quad_gantry_level]
|
||||
name: {{ gettext('Quad Gantry Level') }}
|
||||
icon: home-z
|
||||
method: printer.gcode.script
|
||||
params: {"script":"QUAD_GANTRY_LEVEL"}
|
||||
enable: {{ printer.quad_gantry_level is defined }}
|
||||
|
||||
[menu move homing Z-Tilt]
|
||||
name: {{ gettext('Z Tilt') }}
|
||||
icon: z-tilt
|
||||
method: printer.gcode.script
|
||||
params: {"script":"Z_TILT_ADJUST"}
|
||||
enable: {{ printer.z_tilt is defined }}
|
||||
|
||||
[menu __main temperature]
|
||||
name: {{ gettext('Temperature') }}
|
||||
icon: heat-up
|
||||
panel: temperature
|
||||
enable: {{ (printer.temperature_devices.count > 0) or (printer.extruders.count > 0)}}
|
||||
|
||||
[menu __main extrude]
|
||||
name: {{ gettext('Extrude') }}
|
||||
icon: extrude
|
||||
panel: extrude
|
||||
enable: {{ printer.extruders.count > 0 }}
|
||||
|
||||
[menu __main more]
|
||||
name: {{ gettext('More') }}
|
||||
icon: settings
|
||||
|
||||
[menu __main print]
|
||||
name: {{ gettext('Print') }}
|
||||
icon: print
|
||||
panel: print
|
||||
|
||||
[menu __main more bedlevel]
|
||||
name: {{ gettext('Bed Level') }}
|
||||
icon: bed-level
|
||||
panel: bed_level
|
||||
enable: {{ printer.bed_screws or printer.screws_tilt_adjust}}
|
||||
|
||||
[menu __main more bedmesh]
|
||||
name: {{ gettext('Bed Mesh') }}
|
||||
icon: bed-mesh
|
||||
panel: bed_mesh
|
||||
enable: {{ printer.bed_mesh is defined }}
|
||||
|
||||
[menu __main more zoffset]
|
||||
name: {{ gettext('Z Calibrate') }}
|
||||
icon: z-farther
|
||||
panel: zcalibrate
|
||||
|
||||
[menu __main more limits]
|
||||
name: {{ gettext('Limits') }}
|
||||
icon: fine-tune
|
||||
panel: limits
|
||||
|
||||
[menu __main more retraction]
|
||||
name: {{ gettext('Retraction') }}
|
||||
icon: retract
|
||||
panel: retraction
|
||||
enable: {{ printer.firmware_retraction }}
|
||||
|
||||
[menu __main more fan]
|
||||
name: {{ gettext('Fan') }}
|
||||
icon: fan
|
||||
panel: fan
|
||||
enable: {{ printer.fans.count > 0 }}
|
||||
|
||||
[menu __main more macros]
|
||||
name: {{ gettext('Macros') }}
|
||||
icon: custom-script
|
||||
panel: gcode_macros
|
||||
enable: {{ printer.gcode_macros.count > 0 }}
|
||||
|
||||
[menu __main more pins]
|
||||
name: {{ gettext('Pins') }}
|
||||
icon: hashtag
|
||||
panel: pins
|
||||
enable: {{ printer.output_pins.count > 0 }}
|
||||
|
||||
[menu __main more power]
|
||||
name: {{ gettext('Power') }}
|
||||
icon: shutdown
|
||||
panel: power
|
||||
enable: {{ printer.power_devices.count > 0 }}
|
||||
|
||||
[menu __main more camera]
|
||||
name: {{ gettext('Camera') }}
|
||||
icon: camera
|
||||
panel: camera
|
||||
enable: {{ printer.cameras.count > 0 }}
|
||||
|
||||
[menu __main more console]
|
||||
name: {{ gettext('Console') }}
|
||||
icon: console
|
||||
panel: console
|
||||
|
||||
[menu __main more system]
|
||||
name: {{ gettext('System') }}
|
||||
icon: info
|
||||
panel: system
|
||||
|
||||
[menu __main more input_shaper]
|
||||
name: {{ gettext('Input Shaper') }}
|
||||
icon: move
|
||||
panel: input_shaper
|
||||
enable: {{ printer.input_shaper }}
|
||||
|
||||
[menu __main more save]
|
||||
name: {{ gettext('Save Config') }}
|
||||
icon: complete
|
||||
method: printer.gcode.script
|
||||
params: {"script":"SAVE_CONFIG"}
|
||||
confirm:
|
||||
{{ gettext('Save configuration?') }}
|
||||
|
||||
{{ gettext('Klipper will reboot') }}
|
||||
|
||||
[menu __main more settings]
|
||||
name: KlipperScreen
|
||||
icon: settings
|
||||
panel: settings
|
||||
|
||||
[menu __main more network]
|
||||
name: {{ gettext('Network') }}
|
||||
icon: network
|
||||
panel: network
|
||||
|
||||
[menu __print]
|
||||
name: {{ gettext('Print Control') }}
|
||||
|
||||
[menu __print temperature]
|
||||
name: {{ gettext('Temperature') }}
|
||||
icon: heat-up
|
||||
panel: temperature
|
||||
enable: {{ (printer.temperature_devices.count > 0) or (printer.extruders.count > 0)}}
|
||||
|
||||
[menu __print fan]
|
||||
name: {{ gettext('Fan') }}
|
||||
icon: fan
|
||||
panel: fan
|
||||
enable: {{ printer.fans.count > 0 }}
|
||||
|
||||
[menu __print move]
|
||||
name: {{ gettext('Move') }}
|
||||
icon: move
|
||||
panel: move
|
||||
enable: {{ (printer.pause_resume.is_paused == True) }}
|
||||
|
||||
[menu __print extrude]
|
||||
name: {{ gettext('Extrude') }}
|
||||
icon: extrude
|
||||
panel: extrude
|
||||
enable: {{ printer.extruders.count > 0 }}
|
||||
|
||||
[menu __print power]
|
||||
name: {{ gettext('Power') }}
|
||||
icon: shutdown
|
||||
panel: power
|
||||
enable: {{ printer.power_devices.count > 0 }}
|
||||
|
||||
[menu __print macros]
|
||||
name: {{ gettext('Macros') }}
|
||||
icon: custom-script
|
||||
panel: gcode_macros
|
||||
enable: {{ printer.gcode_macros.count > 0 }}
|
||||
|
||||
|
||||
[menu __print camera]
|
||||
name: {{ gettext('Camera') }}
|
||||
icon: camera
|
||||
panel: camera
|
||||
enable: {{ camera_configured }}
|
||||
|
||||
[menu __print console]
|
||||
name: {{ gettext('Console') }}
|
||||
icon: console
|
||||
panel: console
|
||||
|
||||
[menu __print limits]
|
||||
name: {{ gettext('Limits') }}
|
||||
icon: fine-tune
|
||||
panel: limits
|
||||
|
||||
[menu __print network]
|
||||
name: {{ gettext('Network') }}
|
||||
icon: network
|
||||
panel: network
|
||||
|
||||
[menu __print retraction]
|
||||
name: {{ gettext('Retraction') }}
|
||||
icon: retract
|
||||
panel: retraction
|
||||
enable: {{ printer.firmware_retraction }}
|
||||
|
||||
[menu __print settings]
|
||||
name: KlipperScreen
|
||||
icon: settings
|
||||
panel: settings
|
||||
|
||||
[menu __splashscreen]
|
||||
name: {{ gettext('Menu') }}
|
||||
|
||||
[menu __splashscreen power]
|
||||
name: {{ gettext('Power') }}
|
||||
icon: shutdown
|
||||
panel: power
|
||||
enable: {{ printer.power_devices.count > 0 }}
|
||||
|
||||
[menu __splashscreen network]
|
||||
name: {{ gettext('Network') }}
|
||||
icon: network
|
||||
panel: network
|
||||
|
||||
[menu __splashscreen system]
|
||||
name: {{ gettext('System') }}
|
||||
icon: info
|
||||
panel: system
|
||||
enable: {{ moonraker_connected }}
|
||||
|
||||
[menu __splashscreen settings]
|
||||
name: KlipperScreen
|
||||
icon: settings
|
||||
panel: settings
|
||||
|
||||
[menu __main more spoolman]
|
||||
name: Spoolman
|
||||
icon: spoolman
|
||||
panel: spoolman
|
||||
enable: {{ printer.spoolman }}
|
||||
|
||||
[menu __print spoolman]
|
||||
name: Spoolman
|
||||
icon: spoolman
|
||||
panel: spoolman
|
||||
enable: {{ printer.spoolman }}
|
||||
@@ -0,0 +1,6 @@
|
||||
#define emptyCursor_width 1
|
||||
#define emptyCursor_height 1
|
||||
#define emptyCursor_x_hot 0
|
||||
#define emptyCursor_y_hot 0
|
||||
static unsigned char emptyCursor_bits[] = {
|
||||
0x00};
|
||||
@@ -1,115 +1,201 @@
|
||||
import logging
|
||||
import asyncio
|
||||
import json
|
||||
import os
|
||||
import base64
|
||||
|
||||
import gi
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.KlippyFiles")
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import GLib
|
||||
|
||||
|
||||
class KlippyFiles:
|
||||
callbacks = []
|
||||
filelist = []
|
||||
files = {}
|
||||
timeout = None
|
||||
|
||||
def __init__(self, screen):
|
||||
self._screen = screen
|
||||
self.add_timeout()
|
||||
self.callbacks = []
|
||||
self.files = {}
|
||||
self.filelist = []
|
||||
self.gcodes_path = None
|
||||
|
||||
if not os.path.exists('/tmp/.KS-thumbnails'):
|
||||
os.makedirs('/tmp/.KS-thumbnails')
|
||||
GLib.idle_add(self.ret_files, False)
|
||||
def initialize(self):
|
||||
if "virtual_sdcard" in self._screen.printer.get_config_section_list():
|
||||
vsd = self._screen.printer.get_config_section("virtual_sdcard")
|
||||
if "path" in vsd:
|
||||
self.gcodes_path = os.path.expanduser(vsd['path'])
|
||||
logging.info(f"Gcodes path: {self.gcodes_path}")
|
||||
|
||||
def reset(self):
|
||||
self._screen = None
|
||||
self.callbacks = None
|
||||
self.files = None
|
||||
self.filelist = None
|
||||
self.gcodes_path = None
|
||||
|
||||
def _callback(self, result, method, params):
|
||||
if method == "server.files.list":
|
||||
if "result" in result and isinstance(result['result'],list):
|
||||
if "result" in result and isinstance(result['result'], list):
|
||||
newfiles = []
|
||||
deletedfiles = self.filelist.copy()
|
||||
for item in result['result']:
|
||||
if item['filename'] in self.files:
|
||||
deletedfiles.remove(item['filename'])
|
||||
file = item['filename'] if "filename" in item else item['path']
|
||||
if file in self.files:
|
||||
deletedfiles.remove(file)
|
||||
else:
|
||||
newfiles.append(item['filename'])
|
||||
logger.debug("New file: %s", item['filename'])
|
||||
self.filelist.append(item['filename'])
|
||||
self.files[item['filename']] = {
|
||||
"size": item['size'],
|
||||
"modified": item['modified']
|
||||
}
|
||||
self.update_metadata(item['filename'])
|
||||
newfiles.append(file)
|
||||
self.add_file(item, False)
|
||||
|
||||
if len(self.callbacks) > 0 and (len(newfiles) > 0 or len(deletedfiles) > 0):
|
||||
logger.debug("Running callbacks...")
|
||||
for cb in self.callbacks:
|
||||
cb(newfiles, deletedfiles)
|
||||
if newfiles or len(deletedfiles) > 0:
|
||||
self.run_callbacks(newfiles, deletedfiles)
|
||||
|
||||
if len(deletedfiles) > 0:
|
||||
logger.debug("Deleted files: %s", deletedfiles)
|
||||
for file in deletedfiles:
|
||||
self.filelist.remove(file)
|
||||
self.files.pop(file, None)
|
||||
self.remove_file(file)
|
||||
elif method == "server.files.directory":
|
||||
if "result" in result:
|
||||
directory = params['path'][7:] if params['path'].startswith('gcodes/') else params['path']
|
||||
if directory[-1] == '/':
|
||||
directory = directory[:-1]
|
||||
|
||||
#self.get_file_data(item['filename'])
|
||||
#files = [asyncio.create_task(self.get_file_data(file)) for file in self.files]
|
||||
#await asyncio.gather(files)
|
||||
#files = [GLib.idle_add(self.ret_file_data, file) for file in self.files]
|
||||
newfiles = []
|
||||
for file in result['result']['files']:
|
||||
fullpath = f"{directory}/{file['filename']}"
|
||||
if fullpath not in self.filelist:
|
||||
newfiles.append(fullpath)
|
||||
|
||||
if newfiles:
|
||||
self.run_callbacks(newfiles)
|
||||
elif method == "server.files.metadata":
|
||||
if "error" in result.keys():
|
||||
logger.debug("Error in getting metadata for %s" %(params['filename']))
|
||||
GLib.timeout_add(2000, self._screen._ws.klippy.get_file_metadata, params['filename'], self._callback)
|
||||
logging.debug(f"Error in getting metadata for {params['filename']}. Retrying in 6 seconds")
|
||||
return
|
||||
|
||||
logger.debug("Got metadata for %s" % (result['result']['filename']))
|
||||
for x in result['result']:
|
||||
self.files[params['filename']][x] = result['result'][x]
|
||||
if "thumbnails" in self.files[params['filename']]:
|
||||
self.files[params['filename']]['thumbnails'].sort(key=lambda x: x['size'], reverse=True)
|
||||
self.files[params['filename']]['thumbnails'].sort(key=lambda y: y['size'], reverse=True)
|
||||
|
||||
for thumbnail in self.files[params['filename']]['thumbnails']:
|
||||
f = open("/tmp/.KS-thumbnails/%s-%s" % (params['filename'], thumbnail['size']), "wb")
|
||||
f.write(base64.b64decode(thumbnail['data']))
|
||||
f.close()
|
||||
for cb in self.callbacks:
|
||||
cb([], [], [params['filename']])
|
||||
thumbnail['local'] = False
|
||||
if self.gcodes_path is not None:
|
||||
fpath = os.path.join(self.gcodes_path, params['filename'])
|
||||
fdir = os.path.dirname(fpath)
|
||||
path = os.path.join(fdir, thumbnail['relative_path'])
|
||||
if os.access(path, os.R_OK):
|
||||
thumbnail['local'] = True
|
||||
thumbnail['path'] = path
|
||||
if thumbnail['local'] is False:
|
||||
fdir = os.path.dirname(params['filename'])
|
||||
thumbnail['path'] = os.path.join(fdir, thumbnail['relative_path'])
|
||||
self.run_callbacks(mods=[params['filename']])
|
||||
|
||||
def add_file(self, item, notify=True):
|
||||
if 'filename' not in item and 'path' not in item:
|
||||
logging.info(f"Error adding item, unknown filename or path: {item}")
|
||||
return
|
||||
|
||||
filename = item['path'] if "path" in item else item['filename']
|
||||
if filename in self.filelist:
|
||||
logging.info(f"File already exists: {filename}")
|
||||
self.request_metadata(filename)
|
||||
args = None, None, [filename]
|
||||
GLib.idle_add(self.run_callbacks, *args)
|
||||
return
|
||||
|
||||
self.filelist.append(filename)
|
||||
self.files[filename] = {
|
||||
"size": item['size'],
|
||||
"modified": item['modified']
|
||||
}
|
||||
self.request_metadata(filename)
|
||||
if notify is True:
|
||||
self.run_callbacks(newfiles=[filename])
|
||||
|
||||
def add_file_callback(self, callback):
|
||||
self.callbacks.append(callback)
|
||||
try:
|
||||
self.callbacks.append(callback)
|
||||
except Exception as e:
|
||||
logging.debug(f"Callback not found: {callback}:\n{e}")
|
||||
|
||||
def add_timeout(self):
|
||||
if self.timeout == None:
|
||||
self.timeout = GLib.timeout_add(4000, self.ret_files)
|
||||
def process_update(self, data):
|
||||
if 'item' in data and data['item']['root'] != 'gcodes':
|
||||
return
|
||||
|
||||
def remove_timeout(self):
|
||||
if self.timeout != None:
|
||||
self.timeout = None
|
||||
if data['action'] == "create_dir":
|
||||
self._screen._ws.klippy.get_file_dir(f"gcodes/{data['item']['path']}", self._callback)
|
||||
elif data['action'] == "create_file":
|
||||
self.add_file(data['item'])
|
||||
elif data['action'] == "delete_file":
|
||||
self.remove_file(data['item']['path'])
|
||||
elif data['action'] == "modify_file":
|
||||
self.request_metadata(data['item']['path'])
|
||||
elif data['action'] == "move_file":
|
||||
self.add_file(data['item'], False)
|
||||
self.remove_file(data['source_item']['path'], False)
|
||||
self.run_callbacks(newfiles=[data['item']['path']], deletedfiles=[data['source_item']['path']])
|
||||
return False
|
||||
|
||||
def ret_files(self, retval=True):
|
||||
if not self._screen._ws.klippy.get_file_list(self._callback):
|
||||
self.timeout = None
|
||||
def remove_file_callback(self, callback):
|
||||
if callback in self.callbacks:
|
||||
self.callbacks.pop(self.callbacks.index(callback))
|
||||
|
||||
def file_exists(self, filename):
|
||||
return filename in self.filelist
|
||||
|
||||
def file_metadata_exists(self, filename):
|
||||
if self.file_exists(filename):
|
||||
return "slicer" in self.files[filename]
|
||||
return False
|
||||
|
||||
def get_thumbnail_location(self, filename, small=False):
|
||||
if small and len(self.files[filename]['thumbnails']) > 1 \
|
||||
and self.files[filename]['thumbnails'][0]['width'] > self.files[filename]['thumbnails'][1]['width']:
|
||||
thumb = self.files[filename]['thumbnails'][1]
|
||||
else:
|
||||
thumb = self.files[filename]['thumbnails'][0]
|
||||
if thumb['local'] is False:
|
||||
return ['http', thumb['path']]
|
||||
return ['file', thumb['path']]
|
||||
|
||||
def has_thumbnail(self, filename):
|
||||
if filename not in self.files:
|
||||
return False
|
||||
return retval
|
||||
return "thumbnails" in self.files[filename] and len(self.files[filename]) > 0
|
||||
|
||||
def ret_file_data (self, filename):
|
||||
print("Getting file info for %s" % (filename))
|
||||
def request_metadata(self, filename):
|
||||
if filename not in self.filelist:
|
||||
return False
|
||||
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
|
||||
|
||||
def refresh_files(self):
|
||||
self._screen._ws.klippy.get_file_list(self._callback)
|
||||
return False
|
||||
|
||||
def remove_file(self, filename, notify=True):
|
||||
if filename not in self.filelist:
|
||||
return
|
||||
|
||||
self.filelist.remove(filename)
|
||||
self.files.pop(filename, None)
|
||||
|
||||
if notify is True:
|
||||
self.run_callbacks(deletedfiles=[filename])
|
||||
|
||||
def run_callbacks(self, newfiles=None, deletedfiles=None, mods=None):
|
||||
if mods is None:
|
||||
mods = []
|
||||
if deletedfiles is None:
|
||||
deletedfiles = []
|
||||
if newfiles is None:
|
||||
newfiles = []
|
||||
if len(self.callbacks) <= 0:
|
||||
return False
|
||||
for cb in self.callbacks:
|
||||
args = newfiles, deletedfiles, mods
|
||||
GLib.idle_add(cb, *args)
|
||||
return False
|
||||
|
||||
def get_file_list(self):
|
||||
return self.filelist
|
||||
|
||||
def get_file_info(self, filename):
|
||||
if filename not in self.files:
|
||||
return None
|
||||
|
||||
return {"path": None, "modified": 0, "size": 0}
|
||||
return self.files[filename]
|
||||
|
||||
def add_file(self, file_name, size, modified, old_file_name = None):
|
||||
print(file_name)
|
||||
|
||||
def update_metadata(self, filename):
|
||||
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
|
||||
@@ -0,0 +1,186 @@
|
||||
import logging
|
||||
import logging.handlers
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
import threading
|
||||
import time
|
||||
import traceback
|
||||
from queue import SimpleQueue as Queue
|
||||
|
||||
import ctypes
|
||||
import struct
|
||||
|
||||
dpms_loaded = False
|
||||
try:
|
||||
ctypes.cdll.LoadLibrary('libXext.so.6')
|
||||
libXext = ctypes.CDLL('libXext.so.6')
|
||||
|
||||
class DPMS_State:
|
||||
Fail = -1
|
||||
On = 0
|
||||
Standby = 1
|
||||
Suspend = 2
|
||||
Off = 3
|
||||
|
||||
def get_DPMS_state(display_name_in_byte_string=b':0'):
|
||||
state = DPMS_State.Fail
|
||||
if not isinstance(display_name_in_byte_string, bytes):
|
||||
raise TypeError
|
||||
display_name = ctypes.c_char_p()
|
||||
display_name.value = display_name_in_byte_string
|
||||
libXext.XOpenDisplay.restype = ctypes.c_void_p
|
||||
display = ctypes.c_void_p(libXext.XOpenDisplay(display_name))
|
||||
dummy1_i_p = ctypes.create_string_buffer(8)
|
||||
dummy2_i_p = ctypes.create_string_buffer(8)
|
||||
if display.value:
|
||||
if libXext.DPMSQueryExtension(display, dummy1_i_p, dummy2_i_p) \
|
||||
and libXext.DPMSCapable(display):
|
||||
onoff_p = ctypes.create_string_buffer(1)
|
||||
state_p = ctypes.create_string_buffer(2)
|
||||
if libXext.DPMSInfo(display, state_p, onoff_p):
|
||||
onoff = struct.unpack('B', onoff_p.raw)[0]
|
||||
if onoff:
|
||||
state = struct.unpack('H', state_p.raw)[0]
|
||||
libXext.XCloseDisplay(display)
|
||||
return state
|
||||
|
||||
dpms_loaded = True
|
||||
except Exception as msg:
|
||||
logging.error(f"Couldn't load DPMS: {msg}")
|
||||
|
||||
|
||||
def get_network_interfaces():
|
||||
stream = os.popen("ip addr | grep ^'[0-9]' | cut -d ' ' -f 2 | grep -o '[a-zA-Z0-9\\.]*'")
|
||||
return [i for i in stream.read().strip().split('\n') if not i.startswith('lo')]
|
||||
|
||||
|
||||
def get_wireless_interfaces():
|
||||
p = subprocess.Popen(["which", "iwconfig"], stdout=subprocess.PIPE)
|
||||
|
||||
while p.poll() is None:
|
||||
time.sleep(.1)
|
||||
if p.poll() != 0:
|
||||
return None
|
||||
|
||||
try:
|
||||
p = subprocess.Popen(["iwconfig"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
result = p.stdout.read().decode('ascii').split('\n')
|
||||
except Exception as e:
|
||||
logging.critical(e, exc_info=True)
|
||||
logging.info("Error with running iwconfig command")
|
||||
return None
|
||||
interfaces = []
|
||||
for line in result:
|
||||
match = re.search('^(\\S+)\\s+.*$', line)
|
||||
if match:
|
||||
interfaces.append(match[1])
|
||||
|
||||
return interfaces
|
||||
|
||||
|
||||
def get_software_version():
|
||||
prog = ('git', '-C', os.path.dirname(__file__), 'describe', '--always',
|
||||
'--tags', '--long', '--dirty')
|
||||
try:
|
||||
process = subprocess.Popen(prog, stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
ver, err = process.communicate()
|
||||
retcode = process.wait()
|
||||
if retcode == 0:
|
||||
version = ver.strip()
|
||||
if isinstance(version, bytes):
|
||||
version = version.decode()
|
||||
return version
|
||||
else:
|
||||
logging.debug(f"Error getting git version: {err}")
|
||||
except OSError:
|
||||
logging.exception("Error runing git describe")
|
||||
return "?"
|
||||
|
||||
|
||||
def patch_threading_excepthook():
|
||||
"""Installs our exception handler into the threading modules Thread object
|
||||
Inspired by https://bugs.python.org/issue1230540
|
||||
"""
|
||||
old_init = threading.Thread.__init__
|
||||
|
||||
def new_init(self, *args, **kwargs):
|
||||
old_init(self, *args, **kwargs)
|
||||
old_run = self.run
|
||||
|
||||
def run_with_excepthook(*args, **kwargs):
|
||||
try:
|
||||
old_run(*args, **kwargs)
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
raise
|
||||
except Exception:
|
||||
sys.excepthook(*sys.exc_info(), thread_identifier=threading.get_ident())
|
||||
|
||||
self.run = run_with_excepthook
|
||||
|
||||
threading.Thread.__init__ = new_init
|
||||
|
||||
|
||||
# Rotating file handler based on Klipper and Moonraker's implementation
|
||||
class KlipperScreenLoggingHandler(logging.handlers.RotatingFileHandler):
|
||||
def __init__(self, software_version, filename, **kwargs):
|
||||
super(KlipperScreenLoggingHandler, self).__init__(filename, **kwargs)
|
||||
self.rollover_info = {
|
||||
'header': f"{'-' * 20}KlipperScreen Log Start{'-' * 20}",
|
||||
'version': f"Git Version: {software_version}",
|
||||
}
|
||||
lines = [line for line in self.rollover_info.values() if line]
|
||||
if self.stream is not None:
|
||||
self.stream.write("\n".join(lines) + "\n")
|
||||
|
||||
def set_rollover_info(self, name, item):
|
||||
self.rollover_info[name] = item
|
||||
|
||||
def doRollover(self):
|
||||
super(KlipperScreenLoggingHandler, self).doRollover()
|
||||
lines = [line for line in self.rollover_info.values() if line]
|
||||
if self.stream is not None:
|
||||
self.stream.write("\n".join(lines) + "\n")
|
||||
|
||||
|
||||
# Logging based on Arksine's logging setup
|
||||
def setup_logging(log_file, software_version):
|
||||
root_logger = logging.getLogger()
|
||||
queue = Queue()
|
||||
queue_handler = logging.handlers.QueueHandler(queue)
|
||||
root_logger.addHandler(queue_handler)
|
||||
root_logger.setLevel(logging.DEBUG)
|
||||
|
||||
stdout_hdlr = logging.StreamHandler(sys.stdout)
|
||||
stdout_fmt = logging.Formatter(
|
||||
'%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
|
||||
stdout_hdlr.setFormatter(stdout_fmt)
|
||||
fh = listener = None
|
||||
try:
|
||||
fh = KlipperScreenLoggingHandler(software_version, log_file, maxBytes=4194304, backupCount=1)
|
||||
formatter = logging.Formatter('%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
|
||||
fh.setFormatter(formatter)
|
||||
listener = logging.handlers.QueueListener(queue, fh, stdout_hdlr)
|
||||
except Exception as e:
|
||||
print(
|
||||
f"Unable to create log file at '{os.path.normpath(log_file)}'.\n"
|
||||
f"Make sure that the folder '{os.path.dirname(log_file)}' exists\n"
|
||||
f"and KlipperScreen has Read/Write access to the folder.\n"
|
||||
f"{e}\n"
|
||||
)
|
||||
if listener is None:
|
||||
listener = logging.handlers.QueueListener(queue, stdout_hdlr)
|
||||
listener.start()
|
||||
|
||||
def logging_exception_handler(ex_type, value, tb, thread_identifier=None):
|
||||
logging.exception(
|
||||
f'Uncaught exception {ex_type}: {value}\n'
|
||||
+ '\n'.join([str(x) for x in [*traceback.format_tb(tb)]])
|
||||
)
|
||||
|
||||
sys.excepthook = logging_exception_handler
|
||||
logging.captureWarnings(True)
|
||||
|
||||
return listener, fh
|
||||
@@ -8,281 +8,755 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-11-18 12:37+0000\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||
|
||||
#: panels/print.py:229
|
||||
msgid "?"
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
msgstr ""
|
||||
|
||||
msgid "(default)"
|
||||
msgstr ""
|
||||
|
||||
msgid "24 Hour Time"
|
||||
msgstr ""
|
||||
|
||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||
msgstr ""
|
||||
|
||||
msgid "ADXL Not Configured"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:65
|
||||
msgid "Abort"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:61
|
||||
msgid "Acceleration:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accept"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:229
|
||||
msgid "Are you sure you want to print"
|
||||
msgid "Add profile"
|
||||
msgstr ""
|
||||
|
||||
msgid "Apply"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Endstop?"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Probe?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure do you want to exclude the object?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to run Emergency Stop?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:108
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:89 panels/fan.py:52 panels/fine_tune.py:119
|
||||
#: panels/menu.py:18 panels/move.py:96 panels/network.py:34
|
||||
#: panels/preheat.py:54 panels/temperature.py:78
|
||||
msgid "Back"
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
|
||||
msgid "Auto-calibrate"
|
||||
msgstr ""
|
||||
|
||||
msgid "Auto-close notifications"
|
||||
msgstr ""
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr ""
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr ""
|
||||
|
||||
msgid "Bed Mesh"
|
||||
msgstr ""
|
||||
|
||||
msgid "Bed screw configuration:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Calibrate"
|
||||
msgstr ""
|
||||
|
||||
msgid "Calibrated"
|
||||
msgstr ""
|
||||
|
||||
msgid "Calibrating"
|
||||
msgstr ""
|
||||
|
||||
msgid "Camera"
|
||||
msgstr ""
|
||||
|
||||
msgid "Can't set above the maximum:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:79 panels/print.py:225
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:42
|
||||
msgid "Cancel Change"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:111
|
||||
msgid "Cancel Print"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:146
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Cancelling"
|
||||
msgstr ""
|
||||
|
||||
msgid "Cannot connect to Moonraker"
|
||||
msgstr ""
|
||||
|
||||
msgid "Channel"
|
||||
msgstr ""
|
||||
|
||||
msgid "Check ADXL Wiring"
|
||||
msgstr ""
|
||||
|
||||
msgid "Checking for updates, please wait..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Clear"
|
||||
msgstr ""
|
||||
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:85
|
||||
msgid "Control"
|
||||
msgid "Complete"
|
||||
msgstr ""
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr ""
|
||||
|
||||
msgid "Connected"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "Connecting to %s"
|
||||
msgstr ""
|
||||
|
||||
msgid "Console"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
#: panels/preheat.py:51
|
||||
msgid "Cooldown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:49
|
||||
msgid "Decrease"
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:79
|
||||
msgid "Disable XY"
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
msgid "Delete Directory?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Delete File?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Deselect"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable Motors"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:57
|
||||
msgid "Distance (mm)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:85 panels/job_status.py:82
|
||||
msgid "Emergency Stop"
|
||||
#, python-format
|
||||
msgid "Do you want to recover %s?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Elapsed:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Error"
|
||||
msgstr ""
|
||||
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
msgid "Exclude Object"
|
||||
msgstr ""
|
||||
|
||||
msgid "Extra Large"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:32
|
||||
msgid "Extrude"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:66 panels/fine_tune.py:134
|
||||
msgid "Extrusion"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:64
|
||||
msgid "Extrusion +"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:68
|
||||
msgid "Extrusion -"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:46 panels/fine_tune.py:141
|
||||
msgid "Failed, adjust position first"
|
||||
msgstr ""
|
||||
|
||||
msgid "Fan"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:44
|
||||
msgid "Fan +"
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:48
|
||||
msgid "Fan -"
|
||||
msgid "Filament total:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:32
|
||||
msgid "Fan Off"
|
||||
msgid "Filament used:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:35
|
||||
msgid "Fan On"
|
||||
msgid "Filament:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:21 panels/extrude.py:25
|
||||
msgid "Fast"
|
||||
msgid "File"
|
||||
msgstr ""
|
||||
|
||||
msgid "File:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Finding ADXL"
|
||||
msgstr ""
|
||||
|
||||
msgid "Fine Tuning"
|
||||
msgstr ""
|
||||
|
||||
msgid "Finish"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:22 panels/splash_screen.py:59
|
||||
msgid "Firmware Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:115
|
||||
msgid "Flow:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Flowrate:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr ""
|
||||
|
||||
msgid "Full Update"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:76 panels/move.py:38
|
||||
msgid "Height:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr ""
|
||||
|
||||
msgid "Hide"
|
||||
msgstr ""
|
||||
|
||||
msgid "Hide sensors in Temp."
|
||||
msgstr ""
|
||||
|
||||
msgid "Hide temp."
|
||||
msgstr ""
|
||||
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
msgid "Home All"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:25
|
||||
msgid "Homing"
|
||||
msgid "Home X"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:47
|
||||
msgid "Increase"
|
||||
msgid "Home XY"
|
||||
msgstr ""
|
||||
|
||||
msgid "Home Y"
|
||||
msgstr ""
|
||||
|
||||
msgid "Home Z"
|
||||
msgstr ""
|
||||
|
||||
msgid "Host"
|
||||
msgstr ""
|
||||
|
||||
msgid "Hostname"
|
||||
msgstr ""
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:23
|
||||
msgid "Initializing printer..."
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:20
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr ""
|
||||
|
||||
msgid "Interface"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invalid"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invalid password"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:43 panels/system.py:42
|
||||
msgid "KlipperScreen Version"
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:62
|
||||
msgid "Load Average"
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper will reboot"
|
||||
msgstr ""
|
||||
|
||||
msgid "KlipperScreen will reboot"
|
||||
msgstr ""
|
||||
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
msgid "Large"
|
||||
msgstr ""
|
||||
|
||||
msgid "Layer:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Left:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Limits"
|
||||
msgstr ""
|
||||
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:34
|
||||
msgid "Lower Nozzle"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:20 panels/extrude.py:21 panels/extrude.py:24
|
||||
msgid "Macro shortcut on sidebar"
|
||||
msgstr ""
|
||||
|
||||
msgid "Macros"
|
||||
msgstr ""
|
||||
|
||||
msgid "Main Menu"
|
||||
msgstr ""
|
||||
|
||||
msgid "Max"
|
||||
msgstr ""
|
||||
|
||||
msgid "Max Acceleration"
|
||||
msgstr ""
|
||||
|
||||
msgid "Max Acceleration to Deceleration"
|
||||
msgstr ""
|
||||
|
||||
msgid "Max Velocity"
|
||||
msgstr ""
|
||||
|
||||
msgid "Maximum"
|
||||
msgstr ""
|
||||
|
||||
msgid "Measure Both"
|
||||
msgstr ""
|
||||
|
||||
msgid "Measure X"
|
||||
msgstr ""
|
||||
|
||||
msgid "Measure Y"
|
||||
msgstr ""
|
||||
|
||||
msgid "Medium"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:87
|
||||
msgid "Menu"
|
||||
msgstr ""
|
||||
|
||||
msgid "Mesh calibrate"
|
||||
msgstr ""
|
||||
|
||||
msgid "Modified"
|
||||
msgstr ""
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/network.py:28
|
||||
msgid "Network Info"
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:51
|
||||
msgid "Number Pad"
|
||||
msgid "Network"
|
||||
msgstr ""
|
||||
|
||||
msgid "Never"
|
||||
msgstr ""
|
||||
|
||||
msgid "New"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Not supported for auto-detection, it needs to be configured in klipperscreen."
|
||||
"conf"
|
||||
msgstr ""
|
||||
|
||||
msgid "Nothing selected"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "Outdated by %d"
|
||||
msgstr ""
|
||||
|
||||
msgid "PSK for"
|
||||
msgstr ""
|
||||
|
||||
msgid "Package will be updated"
|
||||
msgid_plural "Packages will be updated"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
msgid "Part Fan"
|
||||
msgstr ""
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:70
|
||||
msgid "Pause"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:224
|
||||
msgid "Paused"
|
||||
msgstr ""
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Pins"
|
||||
msgstr ""
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
|
||||
msgid "Power"
|
||||
msgstr ""
|
||||
|
||||
msgid "Power On Printer"
|
||||
msgstr ""
|
||||
|
||||
msgid "Pressure Advance:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Print"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:154
|
||||
msgid "Print Control"
|
||||
msgstr ""
|
||||
|
||||
msgid "Print Time"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:32
|
||||
msgid "Printer"
|
||||
msgstr ""
|
||||
|
||||
msgid "Printer Connections"
|
||||
msgstr ""
|
||||
|
||||
msgid "Printer Select"
|
||||
msgstr ""
|
||||
|
||||
msgid "Printing"
|
||||
msgstr ""
|
||||
|
||||
msgid "Probe Offset"
|
||||
msgstr ""
|
||||
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Provide KlipperScreen.log when asking for help.\n"
|
||||
msgstr ""
|
||||
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
msgid "Raise Nozzle"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:57
|
||||
msgid "Recover"
|
||||
msgstr ""
|
||||
|
||||
msgid "Recover Hard"
|
||||
msgstr ""
|
||||
|
||||
msgid "Recover Soft"
|
||||
msgstr ""
|
||||
|
||||
msgid "Reference"
|
||||
msgstr ""
|
||||
|
||||
msgid "Refresh"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rename/Move:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:68
|
||||
msgid "Resume"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:34
|
||||
msgid "Retract"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:39
|
||||
msgid "Set Speed"
|
||||
msgid "Retraction"
|
||||
msgstr ""
|
||||
|
||||
msgid "Retraction Length"
|
||||
msgstr ""
|
||||
|
||||
msgid "Retraction Speed"
|
||||
msgstr ""
|
||||
|
||||
msgid "Retry"
|
||||
msgstr ""
|
||||
|
||||
msgid "Retrying"
|
||||
msgstr ""
|
||||
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
msgid "Save Config"
|
||||
msgstr ""
|
||||
|
||||
msgid "Save Z"
|
||||
msgstr ""
|
||||
|
||||
msgid "Save configuration?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Saved"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "Saved offset: %s"
|
||||
msgstr ""
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr ""
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr ""
|
||||
|
||||
msgid "Screws Adjust"
|
||||
msgstr ""
|
||||
|
||||
msgid "Select"
|
||||
msgstr ""
|
||||
|
||||
msgid "Send"
|
||||
msgstr ""
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr ""
|
||||
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show Heater Power"
|
||||
msgstr ""
|
||||
|
||||
msgid "Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:152
|
||||
msgid "Size"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:21 panels/extrude.py:23
|
||||
msgid "Slow"
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:56 panels/fine_tune.py:137
|
||||
msgid "Speed"
|
||||
msgid "Slicer:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Small"
|
||||
msgstr ""
|
||||
|
||||
msgid "Speed (mm/s)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:54
|
||||
msgid "Speed +"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:58
|
||||
msgid "Speed -"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:31 panels/system.py:30
|
||||
msgid "System Information"
|
||||
msgid "Speed:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr ""
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr ""
|
||||
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr ""
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr ""
|
||||
|
||||
msgid "Starting update for"
|
||||
msgstr ""
|
||||
|
||||
msgid "System"
|
||||
msgstr ""
|
||||
|
||||
msgid "System Restart"
|
||||
msgstr ""
|
||||
|
||||
msgid "System Shutdown"
|
||||
msgstr ""
|
||||
|
||||
msgid "Temp (°C)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:36
|
||||
msgid "Temperature"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:33 panels/job_status.py:34
|
||||
msgid "Time Elapsed"
|
||||
msgid "Total:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:35 panels/job_status.py:36
|
||||
msgid "Time Left"
|
||||
msgid "Unknown Heater"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:30
|
||||
msgid "Tool 1"
|
||||
msgid "Unknown screw position"
|
||||
msgstr ""
|
||||
|
||||
msgid "Unload"
|
||||
msgstr ""
|
||||
|
||||
msgid "Unretract Extra Length"
|
||||
msgstr ""
|
||||
|
||||
msgid "Unretract Speed"
|
||||
msgstr ""
|
||||
|
||||
msgid "Up To Date"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update"
|
||||
msgstr ""
|
||||
|
||||
msgid "Updating"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:150
|
||||
msgid "Uploaded"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:23
|
||||
msgid "X+"
|
||||
msgid "XY Move Speed (mm/s)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:25
|
||||
msgid "X-"
|
||||
msgid "XY Speed (mm/s)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:28
|
||||
msgid "Y+"
|
||||
msgid "Z Calibrate"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:30
|
||||
msgid "Y-"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:35 panels/fine_tune.py:131 panels/zcalibrate.py:23
|
||||
msgid "Z Offset"
|
||||
msgid "Z Speed (mm/s)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:33 panels/move.py:33
|
||||
msgid "Z+"
|
||||
msgid "Z Tilt"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:37 panels/move.py:35
|
||||
msgid "Z-"
|
||||
msgid "Z offset:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:35
|
||||
msgid "commit"
|
||||
msgid_plural "commits"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
msgid "dBm"
|
||||
msgstr ""
|
||||
|
||||
msgid "hour"
|
||||
msgid_plural "hours"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
msgid "minute"
|
||||
msgid_plural "minutes"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
msgid "mm"
|
||||
msgstr ""
|
||||
|
||||
msgid "mm/s"
|
||||
msgstr ""
|
||||
|
||||
msgid "mm/s²"
|
||||
msgstr ""
|
||||
|
||||
msgid "mm³/s"
|
||||
msgstr ""
|
||||