Deploying to gh-pages from @ Klipper3d/klipper@29e9ac6ec5 🚀

This commit is contained in:
KevinOConnor committed 2022-06-13 00:03:50 +00:00
1 parent e25c31b0f0
commit 7c7a624a21
16 files changed
+276 -278

No files matched your search

Binary file not shown.
+1 -1
View File
@@ -1445,7 +1445,7 @@
<p><img alt="trapezoids" src="img/trapezoids.svg.png" /></p>
<h2 id="eloretekinto">Előretekintő<a class="headerlink" href="#eloretekinto" title="Permanent link">&para;</a></h2>
<p>A "look-ahead" rendszert a kanyarsebességek meghatározására használják a mozgások között.</p>
<p>Tekintsük a következő két mozgást, amelyek egy X-Y-síkon helyezkednek el:</p>
<p>Nézzük meg a következő két mozgást, amelyek egy X-Y-síkon helyezkednek el:</p>
<p><img alt="corner" src="img/corner.svg.png" /></p>
<p>A fenti helyzetben lehetséges az első lépés után teljesen lelassítani, majd a következő lépés kezdetén teljesen felgyorsítani, de ez nem ideális, mivel ez a sok gyorsítás és lassítás jelentősen megnövelné a nyomtatási időt, és az anyagáramlás gyakori változása rossz nyomtatási minőséget eredményezne.</p>
<p>Ennek megoldására a "look-ahead" mechanizmus több bejövő mozgást sorba állít, és elemzi a mozgások közötti szögeket, hogy meghatározzon egy ésszerű sebességet, amelyet a két mozgás közötti "kereszteződés" alatt lehet elérni. Ha a következő lépés közel azonos irányba mutat, akkor a fejnek csak egy kicsit kell lassítania (ha egyáltalán kell).</p>
+1 -1
View File
@@ -1 +1 @@
{"config":{"indexing":"full","lang":["hu"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"index.html","text":"A Klipper egy 3D nyomtat\u00f3 firmware. Egyes\u00edti egy \u00e1ltal\u00e1nos c\u00e9l\u00fa sz\u00e1m\u00edt\u00f3g\u00e9p \u00e9s egy vagy t\u00f6bb mikrokontroller teljes\u00edtm\u00e9ny\u00e9t. A jellemz\u0151k dokumentumban tal\u00e1lsz tov\u00e1bbi inform\u00e1ci\u00f3kat arr\u00f3l, hogy mi\u00e9rt \u00e9rdemes a Klippert haszn\u00e1lni. A Klipper haszn\u00e1lat\u00e1nak megkezd\u00e9s\u00e9hez kezdje a telep\u00edt\u00e9st . A Klipper szabad szoftver. Olvassa el a dokument\u00e1ci\u00f3t vagy tekintse meg a Klipper k\u00f3dj\u00e1t a githubon .","title":"\u00dcdv\u00f6zl\u00fcnk"},{"location":"API_Server.html","text":"API szerver \u00b6 Ez a dokumentum le\u00edrja a Klipper Alkalmaz\u00e1s Programoz\u00f3i Interf\u00e9szt (API). Ez az interf\u00e9sz lehet\u0151v\u00e9 teszi k\u00fcls\u0151 alkalmaz\u00e1sok sz\u00e1m\u00e1ra a Klipper gazdaszoftver lek\u00e9rdez\u00e9s\u00e9t \u00e9s vez\u00e9rl\u00e9s\u00e9t. Az API foglalat enged\u00e9lyez\u00e9se \u00b6 Az API-kiszolg\u00e1l\u00f3 haszn\u00e1lat\u00e1hoz a klippy.py host szoftvert a -a param\u00e9terrel kell elind\u00edtani. P\u00e9ld\u00e1ul: ~/klippy-env/bin/python ~/klipper/klippy/klippy.py ~/printer.cfg -a /tmp/klippy_uds -l /tmp/klippy.log Ennek hat\u00e1s\u00e1ra a gazdaszoftver l\u00e9trehoz egy Unix Domain Socketet. Az \u00fcgyf\u00e9l ezut\u00e1n kapcsolatot nyithat ezen kereszt\u00fcl, \u00e9s parancsokat k\u00fcldhet a Klippernek. L\u00e1sd a Moonraker projektet egy n\u00e9pszer\u0171 eszk\u00f6z\u00e9rt, amely k\u00e9pes tov\u00e1bb\u00edtani a HTTP-k\u00e9r\u00e9seket a Klipper's API Server Unix Domain Socket-hez. K\u00e9relem form\u00e1tuma \u00b6 A socket-en k\u00fcld\u00f6tt \u00e9s fogadott \u00fczenetek JSON k\u00f3dol\u00e1s\u00fa karakterl\u00e1ncok, amelyeket egy ASCII 0x03 karakter z\u00e1r le: <json_object_1><0x03><json_object_2><0x03>... A Klipper tartalmaz egy scripts/whconsole.py eszk\u00f6zt, amely k\u00e9pes a fenti \u00fczenetkeretez\u00e9st elv\u00e9gezni. P\u00e9ld\u00e1ul: ~/klipper/scripts/whconsole.py /tmp/klippy_uds Ez az eszk\u00f6z k\u00e9pes beolvasni egy sor JSON parancsot az stdin-b\u0151l, elk\u00fcldeni \u0151ket a Klippernek, \u00e9s jelenteni az eredm\u00e9nyeket. Az eszk\u00f6z elv\u00e1rja, hogy minden JSON parancs egyetlen sorban legyen, \u00e9s a k\u00e9r\u00e9s elk\u00fcld\u00e9sekor automatikusan hozz\u00e1adja a 0x03 v\u00e9grehajt\u00f3t. (A Klipper API szervernek nincs \u00faj sor k\u00f6vetelm\u00e9nye.) API Protokoll \u00b6 A kommunik\u00e1ci\u00f3s foglalat \u00e1ltal haszn\u00e1lt parancsprotokollt a json-rpc ihlette. Egy k\u00e9r\u00e9s \u00edgy n\u00e9zhet ki: {\"id\": 123, \"method\": \"info\", \"params\": {}} \u00e9s a v\u00e1lasz \u00edgy n\u00e9zhet ki: {\"id\": 123, \"result\": {\"state_message\": \"Printer is ready\", \"klipper_path\": \"/home/pi/klipper\", \"config_file\": \"/home/pi/printer.cfg\", \"software_version\": \"v0.8.0-823-g883b1cb6\", \"hostname\": \"octopi\", \"cpu_info\": \"4 core ARMv7 Processor rev 4 (v7l)\", \"state\": \"ready\", \"python_path\": \"/home/pi/klippy-env/bin/python\", \"log_file\": \"/tmp/klippy.log\"}} Minden egyes k\u00e9r\u00e9snek egy JSON sz\u00f3t\u00e1rnak kell lennie. (Ez a dokumentum a Pythonban a \"sz\u00f3t\u00e1r\" kifejez\u00e9st haszn\u00e1lja a \"JSON objektum\" - a </x>{} -ban tal\u00e1lhat\u00f3 kulcs/\u00e9rt\u00e9k p\u00e1rok lek\u00e9pez\u00e9se, le\u00edr\u00e1s\u00e1ra.) A k\u00e9r\u00e9si sz\u00f3t\u00e1rnak tartalmaznia kell egy \"method\" param\u00e9tert, amely egy el\u00e9rhet\u0151 Klipper \"v\u00e9gpont\" h\u00far neve. A k\u00e9r\u00e9si sz\u00f3t\u00e1r tartalmazhat egy \"params\" param\u00e9tert, amelynek sz\u00f3t\u00e1r t\u00edpus\u00fanak kell lennie. A \"params\" tov\u00e1bbi param\u00e9terinform\u00e1ci\u00f3kat biztos\u00edt a k\u00e9r\u00e9st kezel\u0151 Klipper \"v\u00e9gpont\" sz\u00e1m\u00e1ra. Tartalma a \"v\u00e9gpontra\" jellemz\u0151. A k\u00e9r\u00e9si sz\u00f3t\u00e1r tartalmazhat egy \"id\" param\u00e9tert, amely b\u00e1rmilyen JSON t\u00edpus\u00fa lehet. Ha az \"id\" param\u00e9ter jelen van, akkor a Klipper egy v\u00e1lasz\u00fczenettel v\u00e1laszol a k\u00e9r\u00e9sre, amely tartalmazza ezt az \"id\" param\u00e9tert. Ha az \"id\" nincs megadva (vagy egy JSON \"null\" \u00e9rt\u00e9kre van be\u00e1ll\u00edtva), akkor a Klipper nem ad v\u00e1laszt a k\u00e9r\u00e9sre. A v\u00e1lasz\u00fczenet egy JSON sz\u00f3t\u00e1r, amely tartalmazza az \"id\" \u00e9s az \"eredm\u00e9ny\" \u00e9rt\u00e9keket. A \"result\" mindig egy sz\u00f3t\u00e1r melynek tartalma a k\u00e9r\u00e9st kezel\u0151 \"v\u00e9gpontra\" jellemz\u0151. Ha egy k\u00e9r\u00e9s feldolgoz\u00e1sa hib\u00e1t eredm\u00e9nyez, akkor a v\u00e1lasz\u00fczenet egy \"hiba\" mez\u0151t fog tartalmazni az \"eredm\u00e9ny\" mez\u0151 helyett. P\u00e9ld\u00e1ul a k\u00e9r\u00e9s: {\"id\": 123, \"methLine truncated
{"config":{"indexing":"full","lang":["hu"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"index.html","text":"A Klipper egy 3D nyomtat\u00f3 firmware. Egyes\u00edti egy \u00e1ltal\u00e1nos c\u00e9l\u00fa sz\u00e1m\u00edt\u00f3g\u00e9p \u00e9s egy vagy t\u00f6bb mikrokontroller teljes\u00edtm\u00e9ny\u00e9t. A jellemz\u0151k dokumentumban tal\u00e1lsz tov\u00e1bbi inform\u00e1ci\u00f3kat arr\u00f3l, hogy mi\u00e9rt \u00e9rdemes a Klippert haszn\u00e1lni. A Klipper haszn\u00e1lat\u00e1nak megkezd\u00e9s\u00e9hez kezdje a telep\u00edt\u00e9st . A Klipper szabad szoftver. Olvassa el a dokument\u00e1ci\u00f3t vagy tekintse meg a Klipper k\u00f3dj\u00e1t a githubon .","title":"\u00dcdv\u00f6zl\u00fcnk"},{"location":"API_Server.html","text":"API szerver \u00b6 Ez a dokumentum le\u00edrja a Klipper Alkalmaz\u00e1s Programoz\u00f3i Interf\u00e9szt (API). Ez az interf\u00e9sz lehet\u0151v\u00e9 teszi k\u00fcls\u0151 alkalmaz\u00e1sok sz\u00e1m\u00e1ra a Klipper gazdaszoftver lek\u00e9rdez\u00e9s\u00e9t \u00e9s vez\u00e9rl\u00e9s\u00e9t. Az API foglalat enged\u00e9lyez\u00e9se \u00b6 Az API-kiszolg\u00e1l\u00f3 haszn\u00e1lat\u00e1hoz a klippy.py host szoftvert a -a param\u00e9terrel kell elind\u00edtani. P\u00e9ld\u00e1ul: ~/klippy-env/bin/python ~/klipper/klippy/klippy.py ~/printer.cfg -a /tmp/klippy_uds -l /tmp/klippy.log Ennek hat\u00e1s\u00e1ra a gazdaszoftver l\u00e9trehoz egy Unix Domain Socketet. Az \u00fcgyf\u00e9l ezut\u00e1n kapcsolatot nyithat ezen kereszt\u00fcl, \u00e9s parancsokat k\u00fcldhet a Klippernek. L\u00e1sd a Moonraker projektet egy n\u00e9pszer\u0171 eszk\u00f6z\u00e9rt, amely k\u00e9pes tov\u00e1bb\u00edtani a HTTP-k\u00e9r\u00e9seket a Klipper's API Server Unix Domain Socket-hez. K\u00e9relem form\u00e1tuma \u00b6 A socket-en k\u00fcld\u00f6tt \u00e9s fogadott \u00fczenetek JSON k\u00f3dol\u00e1s\u00fa karakterl\u00e1ncok, amelyeket egy ASCII 0x03 karakter z\u00e1r le: <json_object_1><0x03><json_object_2><0x03>... A Klipper tartalmaz egy scripts/whconsole.py eszk\u00f6zt, amely k\u00e9pes a fenti \u00fczenetkeretez\u00e9st elv\u00e9gezni. P\u00e9ld\u00e1ul: ~/klipper/scripts/whconsole.py /tmp/klippy_uds Ez az eszk\u00f6z k\u00e9pes beolvasni egy sor JSON parancsot az stdin-b\u0151l, elk\u00fcldeni \u0151ket a Klippernek, \u00e9s jelenteni az eredm\u00e9nyeket. Az eszk\u00f6z elv\u00e1rja, hogy minden JSON parancs egyetlen sorban legyen, \u00e9s a k\u00e9r\u00e9s elk\u00fcld\u00e9sekor automatikusan hozz\u00e1adja a 0x03 v\u00e9grehajt\u00f3t. (A Klipper API szervernek nincs \u00faj sor k\u00f6vetelm\u00e9nye.) API Protokoll \u00b6 A kommunik\u00e1ci\u00f3s foglalat \u00e1ltal haszn\u00e1lt parancsprotokollt a json-rpc ihlette. Egy k\u00e9r\u00e9s \u00edgy n\u00e9zhet ki: {\"id\": 123, \"method\": \"info\", \"params\": {}} \u00e9s a v\u00e1lasz \u00edgy n\u00e9zhet ki: {\"id\": 123, \"result\": {\"state_message\": \"Printer is ready\", \"klipper_path\": \"/home/pi/klipper\", \"config_file\": \"/home/pi/printer.cfg\", \"software_version\": \"v0.8.0-823-g883b1cb6\", \"hostname\": \"octopi\", \"cpu_info\": \"4 core ARMv7 Processor rev 4 (v7l)\", \"state\": \"ready\", \"python_path\": \"/home/pi/klippy-env/bin/python\", \"log_file\": \"/tmp/klippy.log\"}} Minden egyes k\u00e9r\u00e9snek egy JSON sz\u00f3t\u00e1rnak kell lennie. (Ez a dokumentum a Pythonban a \"sz\u00f3t\u00e1r\" kifejez\u00e9st haszn\u00e1lja a \"JSON objektum\" - a </x>{} -ban tal\u00e1lhat\u00f3 kulcs/\u00e9rt\u00e9k p\u00e1rok lek\u00e9pez\u00e9se, le\u00edr\u00e1s\u00e1ra.) A k\u00e9r\u00e9si sz\u00f3t\u00e1rnak tartalmaznia kell egy \"method\" param\u00e9tert, amely egy el\u00e9rhet\u0151 Klipper \"v\u00e9gpont\" h\u00far neve. A k\u00e9r\u00e9si sz\u00f3t\u00e1r tartalmazhat egy \"params\" param\u00e9tert, amelynek sz\u00f3t\u00e1r t\u00edpus\u00fanak kell lennie. A \"params\" tov\u00e1bbi param\u00e9terinform\u00e1ci\u00f3kat biztos\u00edt a k\u00e9r\u00e9st kezel\u0151 Klipper \"v\u00e9gpont\" sz\u00e1m\u00e1ra. Tartalma a \"v\u00e9gpontra\" jellemz\u0151. A k\u00e9r\u00e9si sz\u00f3t\u00e1r tartalmazhat egy \"id\" param\u00e9tert, amely b\u00e1rmilyen JSON t\u00edpus\u00fa lehet. Ha az \"id\" param\u00e9ter jelen van, akkor a Klipper egy v\u00e1lasz\u00fczenettel v\u00e1laszol a k\u00e9r\u00e9sre, amely tartalmazza ezt az \"id\" param\u00e9tert. Ha az \"id\" nincs megadva (vagy egy JSON \"null\" \u00e9rt\u00e9kre van be\u00e1ll\u00edtva), akkor a Klipper nem ad v\u00e1laszt a k\u00e9r\u00e9sre. A v\u00e1lasz\u00fczenet egy JSON sz\u00f3t\u00e1r, amely tartalmazza az \"id\" \u00e9s az \"eredm\u00e9ny\" \u00e9rt\u00e9keket. A \"result\" mindig egy sz\u00f3t\u00e1r melynek tartalma a k\u00e9r\u00e9st kezel\u0151 \"v\u00e9gpontra\" jellemz\u0151. Ha egy k\u00e9r\u00e9s feldolgoz\u00e1sa hib\u00e1t eredm\u00e9nyez, akkor a v\u00e1lasz\u00fczenet egy \"hiba\" mez\u0151t fog tartalmazni az \"eredm\u00e9ny\" mez\u0151 helyett. P\u00e9ld\u00e1ul a k\u00e9r\u00e9s: {\"id\": 123, \"methLine truncated
+48 -48
View File
@@ -2,242 +2,242 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
BIN
View File
Binary file not shown.
+48 -48
View File
@@ -2,242 +2,242 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
BIN
View File
Binary file not shown.
+48 -48
View File
@@ -2,242 +2,242 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file not shown.
+81 -83
View File
@@ -1037,22 +1037,22 @@
</li>
<li class="md-nav__item">
<a href="#temperature-sensors" class="md-nav__link">
Temperature sensors
<a href="#_18" class="md-nav__link">
温度传感器
</a>
<nav class="md-nav" aria-label="Temperature sensors">
<nav class="md-nav" aria-label="温度传感器">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#_18" class="md-nav__link">
<a href="#_19" class="md-nav__link">
常见热敏电阻
</a>
</li>
<li class="md-nav__item">
<a href="#_19" class="md-nav__link">
<a href="#_20" class="md-nav__link">
常见温度放大器
</a>
@@ -1094,14 +1094,14 @@
</li>
<li class="md-nav__item">
<a href="#_20" class="md-nav__link">
<a href="#_21" class="md-nav__link">
微控制器的内置温度传感器
</a>
</li>
<li class="md-nav__item">
<a href="#_21" class="md-nav__link">
<a href="#_22" class="md-nav__link">
主机温度传感器
</a>
@@ -1120,7 +1120,7 @@
</li>
<li class="md-nav__item">
<a href="#_22" class="md-nav__link">
<a href="#_23" class="md-nav__link">
风扇
</a>
@@ -1216,7 +1216,7 @@
</li>
<li class="md-nav__item">
<a href="#_23" class="md-nav__link">
<a href="#_24" class="md-nav__link">
额外的舵机、按钮和其他引脚
</a>
@@ -1312,7 +1312,7 @@
</li>
<li class="md-nav__item">
<a href="#_24" class="md-nav__link">
<a href="#_25" class="md-nav__link">
运行时步进电机电流配置
</a>
@@ -1353,7 +1353,7 @@
</li>
<li class="md-nav__item">
<a href="#_25" class="md-nav__link">
<a href="#_26" class="md-nav__link">
显示屏支持
</a>
@@ -1456,7 +1456,7 @@
</li>
<li class="md-nav__item">
<a href="#_26" class="md-nav__link">
<a href="#_27" class="md-nav__link">
耗材传感器
</a>
@@ -1497,7 +1497,7 @@
</li>
<li class="md-nav__item">
<a href="#_27" class="md-nav__link">
<a href="#_28" class="md-nav__link">
控制板特定硬件支持
</a>
@@ -1538,7 +1538,7 @@
</li>
<li class="md-nav__item">
<a href="#_28" class="md-nav__link">
<a href="#_29" class="md-nav__link">
其他自定义模块
</a>
@@ -1565,7 +1565,7 @@
</li>
<li class="md-nav__item">
<a href="#_29" class="md-nav__link">
<a href="#_30" class="md-nav__link">
常见的总线参数
</a>
@@ -2915,22 +2915,22 @@
</li>
<li class="md-nav__item">
<a href="#temperature-sensors" class="md-nav__link">
Temperature sensors
<a href="#_18" class="md-nav__link">
温度传感器
</a>
<nav class="md-nav" aria-label="Temperature sensors">
<nav class="md-nav" aria-label="温度传感器">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#_18" class="md-nav__link">
<a href="#_19" class="md-nav__link">
常见热敏电阻
</a>
</li>
<li class="md-nav__item">
<a href="#_19" class="md-nav__link">
<a href="#_20" class="md-nav__link">
常见温度放大器
</a>
@@ -2972,14 +2972,14 @@
</li>
<li class="md-nav__item">
<a href="#_20" class="md-nav__link">
<a href="#_21" class="md-nav__link">
微控制器的内置温度传感器
</a>
</li>
<li class="md-nav__item">
<a href="#_21" class="md-nav__link">
<a href="#_22" class="md-nav__link">
主机温度传感器
</a>
@@ -2998,7 +2998,7 @@
</li>
<li class="md-nav__item">
<a href="#_22" class="md-nav__link">
<a href="#_23" class="md-nav__link">
风扇
</a>
@@ -3094,7 +3094,7 @@
</li>
<li class="md-nav__item">
<a href="#_23" class="md-nav__link">
<a href="#_24" class="md-nav__link">
额外的舵机、按钮和其他引脚
</a>
@@ -3190,7 +3190,7 @@
</li>
<li class="md-nav__item">
<a href="#_24" class="md-nav__link">
<a href="#_25" class="md-nav__link">
运行时步进电机电流配置
</a>
@@ -3231,7 +3231,7 @@
</li>
<li class="md-nav__item">
<a href="#_25" class="md-nav__link">
<a href="#_26" class="md-nav__link">
显示屏支持
</a>
@@ -3334,7 +3334,7 @@
</li>
<li class="md-nav__item">
<a href="#_26" class="md-nav__link">
<a href="#_27" class="md-nav__link">
耗材传感器
</a>
@@ -3375,7 +3375,7 @@
</li>
<li class="md-nav__item">
<a href="#_27" class="md-nav__link">
<a href="#_28" class="md-nav__link">
控制板特定硬件支持
</a>
@@ -3416,7 +3416,7 @@
</li>
<li class="md-nav__item">
<a href="#_28" class="md-nav__link">
<a href="#_29" class="md-nav__link">
其他自定义模块
</a>
@@ -3443,7 +3443,7 @@
</li>
<li class="md-nav__item">
<a href="#_29" class="md-nav__link">
<a href="#_30" class="md-nav__link">
常见的总线参数
</a>
@@ -3499,30 +3499,29 @@
<p>主微控制器的配置。</p>
<div class="highlight"><pre><span></span><code>[mcu]
serial:
# The serial port to connect to the MCU. If unsure (or if it
# changes) see the &quot;Where&#39;s my serial port?&quot; section of the FAQ.
# This parameter must be provided when using a serial port.
# 连接到单片机的串行通讯接口
# 如果你不确定的话(或可能它变更拉了),可以查看FAQ中的
# “Where&#39;s my serial port?”章节。
# 当使用串口时,这个参数必须给定
#baud: 250000
# The baud rate to use. The default is 250000.
# 使用的波特率。默认是250000
#canbus_uuid:
# If using a device connected to a CAN bus then this sets the unique
# chip identifier to connect to. This value must be provided when using
# CAN bus for communication.
# 如果使用一个连接到CAN总线的设备,这个参数需要被设置为
# 要连接的芯片的唯一ID。
# 当使用CAN总线时,这个参数必须给定
#canbus_interface:
# If using a device connected to a CAN bus then this sets the CAN
# network interface to use. The default is &#39;can0&#39;.
# 当使用的设备连接到CAN总线时,这个参数需要被设置为
# 使用的网络接口
# 默认值是can0
#restart_method:
# This controls the mechanism the host will use to reset the
# micro-controller. The choices are &#39;arduino&#39;, &#39;cheetah&#39;, &#39;rpi_usb&#39;,
# and &#39;command&#39;. The &#39;arduino&#39; method (toggle DTR) is common on
# Arduino boards and clones. The &#39;cheetah&#39; method is a special
# method needed for some Fysetc Cheetah boards. The &#39;rpi_usb&#39; method
# is useful on Raspberry Pi boards with micro-controllers powered
# over USB - it briefly disables power to all USB ports to
# accomplish a micro-controller reset. The &#39;command&#39; method involves
# sending a Klipper command to the micro-controller so that it can
# reset itself. The default is &#39;arduino&#39; if the micro-controller
# communicates over a serial port, &#39;command&#39; otherwise.
# 这个参数控制着重置单片机的方式
# 可选项是&#39;arduino&#39;、&#39;cheetah&#39;、&#39;rpi_usb&#39;和&#39;command&#39;
# &#39;arduino&#39;方法(翻转DTR)通常适用于Arduino板或其克隆板
# &#39;cheetah&#39;方法是一个特殊的方法,通常适用于一些富源盛的Cheetah板
# &#39;rpi_usb&#39;方法对于使用树莓派的USB供电的单片机十分有效
# 它简单地关闭所有USB端口的电源来完成单片机的重置
# &#39;command&#39;方法调用向单片机发送klipper命令来重置它们自己
# 当单片机连接到串口时默认是&#39;arduino&#39;,否则默认是&#39;command&#39;
</code></pre></div>
<h3 id="mcu-my_extra_mcu">[mcu my_extra_mcu]<a class="headerlink" href="#mcu-my_extra_mcu" title="Permanent link">&para;</a></h3>
@@ -5130,9 +5129,9 @@ extruder:
# parameter.
</code></pre></div>
<h2 id="temperature-sensors">Temperature sensors<a class="headerlink" href="#temperature-sensors" title="Permanent link">&para;</a></h2>
<h2 id="_18">温度传感器<a class="headerlink" href="#_18" title="Permanent link">&para;</a></h2>
<p>Klipper 包括许多类型的温度传感器的定义。这些传感器可以在任何需要温度传感器的配置分段中使用(例如<code>[extruder]</code>或<code>[heated_bed]</code>分段)。</p>
<h3 id="_18">常见热敏电阻<a class="headerlink" href="#_18" title="Permanent link">&para;</a></h3>
<h3 id="_19">常见热敏电阻<a class="headerlink" href="#_19" title="Permanent link">&para;</a></h3>
<p>常见的热敏电阻。在使用这些传感器之一的加热器分段中可以使用以下参数。</p>
<div class="highlight"><pre><span></span><code>sensor_type:
# One of &quot;EPCOS 100K B57560G104F&quot;, &quot;ATC Semitec 104GT-2&quot;,
@@ -5151,7 +5150,7 @@ sensor_pin:
# The default is 0 ohms.
</code></pre></div>
<h3 id="_19">常见温度放大器<a class="headerlink" href="#_19" title="Permanent link">&para;</a></h3>
<h3 id="_20">常见温度放大器<a class="headerlink" href="#_20" title="Permanent link">&para;</a></h3>
<p>常见温度放大器。在使用这些传感器之一的加热器分段中可以使用以下参数。</p>
<div class="highlight"><pre><span></span><code>sensor_type:
# One of &quot;PT100 INA826&quot;, &quot;AD595&quot;, &quot;AD597&quot;, &quot;AD8494&quot;, &quot;AD8495&quot;,
@@ -5264,8 +5263,8 @@ sensor_pin:
# 0.5.
</code></pre></div>
<h3 id="_20">微控制器的内置温度传感器<a class="headerlink" href="#_20" title="Permanent link">&para;</a></h3>
<p>The atsam, atsamd, and stm32 micro-controllers contain an internal temperature sensor. One can use the "temperature_mcu" sensor to monitor these temperatures.</p>
<h3 id="_21">微控制器的内置温度传感器<a class="headerlink" href="#_21" title="Permanent link">&para;</a></h3>
<p>atsam、atsamd和stm32微控制器包含一个内部温度传感器。可以使用"temperature_mcu"传感器来监测这些温度。</p>
<div class="highlight"><pre><span></span><code>sensor_type: temperature_mcu
#sensor_mcu: mcu
# The micro-controller to read from. The default is &quot;mcu&quot;.
@@ -5293,7 +5292,7 @@ sensor_pin:
# micro-controller specification.
</code></pre></div>
<h3 id="_21">主机温度传感器<a class="headerlink" href="#_21" title="Permanent link">&para;</a></h3>
<h3 id="_22">主机温度传感器<a class="headerlink" href="#_22" title="Permanent link">&para;</a></h3>
<p>Temperature from the machine (eg Raspberry Pi) running the host software.</p>
<div class="highlight"><pre><span></span><code>sensor_type: temperature_host
#sensor_path:
@@ -5316,7 +5315,7 @@ serial_no:
# The micro-controller to read from. Must be the host_mcu
</code></pre></div>
<h2 id="_22">风扇<a class="headerlink" href="#_22" title="Permanent link">&para;</a></h2>
<h2 id="_23">风扇<a class="headerlink" href="#_23" title="Permanent link">&para;</a></h2>
<h3 id="fan">[fan]<a class="headerlink" href="#fan" title="Permanent link">&para;</a></h3>
<p>打印冷却风扇。</p>
<div class="highlight"><pre><span></span><code>[fan]
@@ -5438,7 +5437,7 @@ pin:
</code></pre></div>
<h3 id="temperature_fan">[temperature_fan]<a class="headerlink" href="#temperature_fan" title="Permanent link">&para;</a></h3>
<p>Temperature-triggered cooling fans (one may define any number of sections with a "temperature_fan" prefix). A "temperature fan" is a fan that will be enabled whenever its associated sensor is above a set temperature. By default, a temperature_fan has a shutdown_speed equal to max_power.</p>
<p>温度触发的冷却风扇(可以定义任意数量的带有“temperature_fan”前缀的部分)。一个"temperature fan"是一个只要其相关的传感器高于设定温度就会启用的风扇。默认情况下,一个温度风扇的关闭速度等于最大功率。</p>
<p>See the <a href="G-Codes.html#temperature_fan">command reference</a> for additional information.</p>
<div class="highlight"><pre><span></span><code>[temperature_fan my_temp_fan]
#pin:
@@ -5535,7 +5534,7 @@ pin:
</code></pre></div>
<h3 id="neopixel">[neopixel]<a class="headerlink" href="#neopixel" title="Permanent link">&para;</a></h3>
<p>Neopixel (aka WS2812) LED support (one may define any number of sections with a "neopixel" prefix). See the <a href="G-Codes.html#led">command reference</a> for more information.</p>
<p>对于Neopixel(也就是WS2812)LED的支持(可以定义任意数量的带有“neopixel”前缀的部分)见<a href="G-Codes.html#led">command reference</a>获取更多信息</p>
<p>注意!<a href="RPi_microcontroller.html">linux mcu</a>的实现目前不支持直接连接的neopixels。目前使用Linux内核接口的设计不允许这种情况发生,因为内核的GPIO接口速度不够快,无法提供所需的脉冲率。</p>
<div class="highlight"><pre><span></span><code>[neopixel my_neopixel]
pin:
@@ -5618,7 +5617,7 @@ pin:
# See the &quot;led&quot; section for information on these parameters.
</code></pre></div>
<h2 id="_23">额外的舵机、按钮和其他引脚<a class="headerlink" href="#_23" title="Permanent link">&para;</a></h2>
<h2 id="_24">额外的舵机、按钮和其他引脚<a class="headerlink" href="#_24" title="Permanent link">&para;</a></h2>
<h3 id="servo">[servo]<a class="headerlink" href="#servo" title="Permanent link">&para;</a></h3>
<p>Servos (one may define any number of sections with a "servo" prefix). The servos may be controlled using the SET_SERVO <a href="G-Codes.html#servo">g-code command</a>. For example: SET_SERVO SERVO=my_servo ANGLE=180</p>
<div class="highlight"><pre><span></span><code>[servo my_servo]
@@ -5867,11 +5866,11 @@ run_current:
#hold_current:
#sense_resistor: 0.110
#stealthchop_threshold: 0
# See the &quot;tmc2208&quot; section for the definition of these parameters.
# 以上参数见&quot;tmc2208&quot;部分
#uart_address:
# The address of the TMC2209 chip for UART messages (an integer
# between 0 and 3). This is typically used when multiple TMC2209
# chips are connected to the same UART pin. The default is zero.
# TMC2209的UART地址(0-3的整数)
# 这个参数通常用于多个TMC2209连接到同个UART接口
# 默认是0
#driver_IHOLDDELAY: 8
#driver_TPOWERDOWN: 20
#driver_TBL: 2
@@ -5886,18 +5885,17 @@ run_current:
#driver_PWM_GRAD: 14
#driver_PWM_OFS: 36
#driver_SGTHRS: 0
# Set the given register during the configuration of the TMC2209
# chip. This may be used to set custom motor parameters. The
# defaults for each parameter are next to the parameter name in the
# above list.
# 配置TMC2209时配置的寄存器
# 这些参数通常用于设定自己定制的电机参数
# 每个参数的默认值如上
#diag_pin:
# The micro-controller pin attached to the DIAG line of the TMC2209
# chip. The pin is normally prefaced with &quot;^&quot; to enable a pullup.
# Setting this creates a &quot;tmc2209_stepper_x:virtual_endstop&quot; virtual
# pin which may be used as the stepper&#39;s endstop_pin. Doing this
# enables &quot;sensorless homing&quot;. (Be sure to also set driver_SGTHRS to
# an appropriate sensitivity value.) The default is to not enable
# sensorless homing.
# 微控制器连接到TMC2209的DIAG接口的引脚
# 这个引脚通常使用&quot;^&quot;前缀来开启内部上拉
# 设置这个会创建一个名为&quot;tmc2209_stepper_x:virtual_endstop&quot;的虚拟引脚
# 用做步进电机的终止引脚。
# 在启动&quot;sensorless homing&quot;(无限位归零)时设置这个。
# (确保同时设置了driver_SGTHRS为一个合适的灵敏度)
# 默认是关闭了无限位归零
</code></pre></div>
<h3 id="tmc2660">[tmc2660]<a class="headerlink" href="#tmc2660" title="Permanent link">&para;</a></h3>
@@ -6049,7 +6047,7 @@ run_current:
# sensorless homing.
</code></pre></div>
<h2 id="_24">运行时步进电机电流配置<a class="headerlink" href="#_24" title="Permanent link">&para;</a></h2>
<h2 id="_25">运行时步进电机电流配置<a class="headerlink" href="#_25" title="Permanent link">&para;</a></h2>
<h3 id="ad5206">[ad5206]<a class="headerlink" href="#ad5206" title="Permanent link">&para;</a></h3>
<p>Statically configured AD5206 digipots connected via SPI bus (one may define any number of sections with an "ad5206" prefix).</p>
<div class="highlight"><pre><span></span><code>[ad5206 my_digipot]
@@ -6170,7 +6168,7 @@ wiper:
# scale the &#39;wiper&#39; parameter.
</code></pre></div>
<h2 id="_25">显示屏支持<a class="headerlink" href="#_25" title="Permanent link">&para;</a></h2>
<h2 id="_26">显示屏支持<a class="headerlink" href="#_26" title="Permanent link">&para;</a></h2>
<h3 id="display">[display]<a class="headerlink" href="#display" title="Permanent link">&para;</a></h3>
<p>Support for a display attached to the micro-controller.</p>
<div class="highlight"><pre><span></span><code>[display]
@@ -6505,7 +6503,7 @@ text:
# 被视为模板。点击按钮会进入或退出修改模式。
</code></pre></div>
<h2 id="_26">耗材传感器<a class="headerlink" href="#_26" title="Permanent link">&para;</a></h2>
<h2 id="_27">耗材传感器<a class="headerlink" href="#_27" title="Permanent link">&para;</a></h2>
<h3 id="filament_switch_sensor">[filament_switch_sensor]<a class="headerlink" href="#filament_switch_sensor" title="Permanent link">&para;</a></h3>
<p>耗材开关传感器。支持使用开关传感器(如限位开关)进行耗材插入和耗尽检测。</p>
<p>See the <a href="G-Codes.html#filament_switch_sensor">command reference</a> for more information.</p>
@@ -6621,7 +6619,7 @@ adc2:
# 关于上述参数的描述请参见&quot;filament_switch_sensor&quot;章节。
</code></pre></div>
<h2 id="_27">控制板特定硬件支持<a class="headerlink" href="#_27" title="Permanent link">&para;</a></h2>
<h2 id="_28">控制板特定硬件支持<a class="headerlink" href="#_28" title="Permanent link">&para;</a></h2>
<h3 id="sx1509">[sx1509]<a class="headerlink" href="#sx1509" title="Permanent link">&para;</a></h3>
<p>将一个 SX1509 I2C 配置为 GPIO 扩展器。由于 I2C 通信本身的延迟,不应将 SX1509 引脚用作步进电机的 enable (启用)、step(步进)或 dir (方向)引脚或任何其他需要快速 bit-banging(位拆裂)的引脚。它们最适合用作静态或G代码控制的数字输出或硬件 pwm 引脚,例如风扇。可以使用“sx1509”前缀定义任意数量的分段。每个扩展器提供可用于打印机配置的一组 16 个引脚(sx1509_my_sx1509:PIN_0 到 sx1509_my_sx1509:PIN_15)。</p>
<p>See the <a href="https://github.com/Klipper3d/klipper/blob/master/config/generic-duet2-duex.cfg">generic-duet2-duex.cfg</a> file for an example.</p>
@@ -6737,7 +6735,7 @@ host_mcu:
# (True sets CFG5 high, False sets it low). The default is True.
</code></pre></div>
<h2 id="_28">其他自定义模块<a class="headerlink" href="#_28" title="Permanent link">&para;</a></h2>
<h2 id="_29">其他自定义模块<a class="headerlink" href="#_29" title="Permanent link">&para;</a></h2>
<h3 id="palette2">[palette2]<a class="headerlink" href="#palette2" title="Permanent link">&para;</a></h3>
<p>Palette 2 多材料支持 - 提供更紧密的集成,支持处于连接模式的 Palette 2 设备。</p>
<p>This modules also requires <code>[virtual_sdcard]</code> and <code>[pause_resume]</code> for full functionality.</p>
@@ -6786,9 +6784,9 @@ cs_pin:
# 有关上述参数的描述,参考 &quot;common SPI settings &quot;
</code></pre></div>
<h2 id="_29">常见的总线参数<a class="headerlink" href="#_29" title="Permanent link">&para;</a></h2>
<h2 id="_30">常见的总线参数<a class="headerlink" href="#_30" title="Permanent link">&para;</a></h2>
<h3 id="spi">常见 SPI 设置<a class="headerlink" href="#spi" title="Permanent link">&para;</a></h3>
<p>The following parameters are generally available for devices using an SPI bus.</p>
<p>以下参数一般适用于使用SPI总线的设备。</p>
<div class="highlight"><pre><span></span><code>#spi_speed:
# The SPI speed (in hz) to use when communicating with the device.
# The default depends on the type of device.
@@ -6806,7 +6804,7 @@ cs_pin:
</code></pre></div>
<h3 id="i2c">常见的I2C 设置<a class="headerlink" href="#i2c" title="Permanent link">&para;</a></h3>
<p>The following parameters are generally available for devices using an I2C bus.</p>
<p>以下参数一般适用于使用I2C总线的设备。</p>
<div class="highlight"><pre><span></span><code>#i2c_address:
# 设备的 I2C 地址。必须是一个十进制数字(而不是十六进制)。
# 默认值取决于设备的类型。
+1 -1
View File
@@ -1 +1 @@
{"config":{"indexing":"full","lang":["ja"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"index.html","text":"Klipper\u662f3D\u6253\u5370\u673a\u56fa\u4ef6\u3002\u5b83\u5c06\u901a\u7528\u8ba1\u7b97\u673a\u7684\u8fd0\u7b97\u80fd\u529b\u4e0e\u4e00\u4e2a\u6216\u591a\u4e2a\u5fae\u63a7\u5236\u5668\u76f8\u7ed3\u5408\u3002\u6709\u5173Klipper\u7684\u4f18\u52bf\uff0c\u8bf7\u53c2\u9605 \u529f\u80fd \u6587\u6863\u3002 \u8981\u5f00\u59cb\u4f7f\u7528 Klipper\uff0c\u8bf7\u4ece \u5b89\u88c5\u6587\u6863 \u5f00\u59cb\u3002 Klipper\u662f\u81ea\u7531\u8f6f\u4ef6\u3002\u9605\u8bfb \u6587\u6863 \u6216\u67e5\u770b GitHub\u4e0a\u7684Klipper\u4ee3\u7801 \u3002","title":"\u6b22\u8fce"},{"location":"API_Server.html","text":"API \u670d\u52a1\u5668 \u00b6 \u8be5\u6587\u6863\u4ecb\u7ecdKlipper\u7684\u5e94\u7528\u5f00\u53d1\u8005\u63a5\u53e3\uff08API\uff09\u529f\u80fd\u3002\u8be5\u63a5\u53e3\u5141\u8bb8\u5916\u90e8\u5e94\u7528\u7a0b\u5e8f\u8bbf\u95ee\u548c\u63a7\u5236Klipper\u4e3b\u673a\u3002 \u542f\u7528API\u5957\u63a5\u5b57 \u00b6 \u8981\u542f\u7528API\u670d\u52a1\u5668\uff0cklipper.py\u8fd0\u884c\u65f6\u5e94\u52a0\u4e0a -a \u53c2\u6570\u3002\u4f8b\u5982\uff1a ~/klippy-env/bin/python ~/klipper/klippy/klippy.py ~/printer.cfg -a /tmp/klippy_uds -l /tmp/klippy.log \u4e0a\u8ff0\u64cd\u4f5c\u4f1a\u4f7f\u4e3b\u673a\u521b\u5efa\u4e00\u4e2aUnix\u672c\u5730\u5957\u63a5\u5b57\u3002\u4e4b\u540e\uff0c\u5ba2\u6237\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5957\u63a5\u5b57\u94fe\u63a5\uff0c\u4ece\u800c\u7ed9Klipper\u53d1\u9001\u547d\u4ee4\u3002 See the Moonraker project for a popular tool that can forward HTTP requests to Klipper's API Server Unix Domain Socket. \u8bf7\u6c42\u683c\u5f0f \u00b6 \u5957\u63a5\u5b57\u8fdb\u51fa\u7684\u6570\u636e\u5305\u5e94\u4f7f\u7528JSON\u7f16\u7801\u7684\u5b57\u7b26\u4e32\uff0c\u5e76\u4ee5ASCII\u5b57\u7b260x03\u4f5c\u4e3a\u7ed3\u5c3e\uff1a <json_object_1><0x03><json_object_2><0x03>... Klipper\u4f7f\u7528 scripts/whconsole.py \u7684\u4ee3\u7801\u8fdb\u884c\u4e0a\u8ff0\u7684\u6570\u636e\u5e27\u6253\u5305\u3002\u4f8b\u5982\uff1a ~/klipper/scripts/whconsole.py /tmp/klippy_uds \u8be5\u5de5\u5177\u4f1a\u4ecestdin\u4e2d\u8bfb\u53d6\u4e00\u7cfb\u5217\u7684JSON\u547d\u4ee4\uff0c\u53d1\u9001\u5230Klipper\u6267\u884c\uff0c\u5e76\u5c06\u7ed3\u679c\u9001\u51fa\u3002\u8be5\u5de5\u5177\u9ed8\u8ba4\u8f93\u5165\u7684\u6bcf\u6761Json\u547d\u4ee4\u4e2d\u4e0d\u5b58\u5728\u6362\u884c\uff0c\u5e76\u81ea\u52a8\u5730\u5728\u53d1\u9001\u547d\u4ee4\u65f6\u5728\u7ed3\u5c3e\u9644\u4e0a0x03\u3002\uff08Klipper API\u670d\u52a1\u5668\u6ca1\u6709\u6362\u884c\u7b26\u8981\u6c42\u3002\uff09 API\u534f\u8bae \u00b6 \u5957\u63a5\u5b57\u7684\u547d\u4ee4\u534f\u8bae\u53d7 json-rpc \u542f\u53d1\u3002 \u4e00\u4e2a\u8bf7\u6c42\u547d\u4ee4\u7c7b\u4f3c\uff1a {\"id\": 123, \"method\": \"info\", \"params\": {}} \u4e00\u4e2a\u56de\u5e94\u5e27\u7c7b\u4f3c\uff1a {\"id\": 123, \"result\": {\"state_message\": \"Printer is ready\", \"klipper_path\": \"/home/pi/klipper\", \"config_file\": \"/home/pi/printer.cfg\", \"software_version\": \"v0.8.0-823-g883b1cb6\", \"hostname\": \"octopi\", \"cpu_info\": \"4 core ARMv7 Processor rev 4 (v7l)\", \"state\": \"ready\", \"python_path\": \"/home/pi/klippy-env/bin/python\", \"log_file\": \"/tmp/klippy.log\"}} \u6bcf\u4e2a\u8bf7\u6c42\u5e94\u4e3a\u4e00\u4e2aJSON\u5b57\u5178\u3002\uff08\u672c\u6587\u6863\u4f7f\u7528Python\u4e2d\u7684\u672f\u8bed\u201c\u5b57\u5178\u201d\u63cf\u8ff0\u4ee5 {} \u4e3a\u8fb9\u754c\u7684\u201c\u952e-\u503c\u201dJSON\u5bf9\u8c61\u3002\uff09 \u8bf7\u6c42\u5b57\u5178\u4e2d\u5fc5\u987b\u5305\u542b\u4e00\u4e2a\u201dmethod\u201d\u5b57\u6bb5\uff0c\u5176\u503c\u5e94\u5305\u542b\u4e00\u4e2a\u53ef\u7528\u7684Klipper\u7aef\u70b9\u201dendpoint\u201d\u540d\u79f0\u5b57\u7b26\u4e32\u3002 \u8bf7\u6c42\u5b57\u5178\u53ef\u80fd\u5305\u542b\u201dparams\u201d\u53c2\u6570\uff0c\u5e76\u5176\u503c\u5e94\u4e3a\u4e00\u4e2a\u5b57\u5178\u7c7b\u578b\u3002\u201dparams\u201d\u63d0\u4f9bKlipper\u201dendpoint\u201d\u5904\u7406\u8bf7\u6c42\u6240\u9700\u7684\u989d\u5916\u6570\u636e\uff0c\u5176\u5185\u5bb9\u4f9d\u201dendpoint\u201d\u800c\u5b9a\u3002 \u8bf7\u6c42\u7684\u5b57\u5178\u53ef\u4ee5\u5305\u542b\u4e00\u4e2a\u53ef\u4ee5\u662f\u4efb\u4f55 JSON\u7c7b\u578b\u7684\"id\"\u53c2\u6570\u3002\u5982\u679c\"id\"\u5b58\u5728\uff0c\u90a3\u4e48 Klipper \u5c06\u7528\u4e00\u4e2a\u5305\u542b\u8be5\"id\"\u7684\u54cd\u5e94\u4fe1\u606f\u6765\u56de\u5e94\u8bf7\u6c42\u3002\u5982\u679c\"id\"\u88ab\u7701\u7565\uff08\u6216\u8bbe\u7f6e\u4e3a JSON \u7684 \"null\" \u503c\uff09\uff0c\u90a3\u4e48 Klipper \u5c06\u4e0d\u4f1a\u5bf9\u8be5\u8bf7\u6c42\u8fdb\u884c\u4efb\u4f55\u54cd\u5e94\u3002\u54cd\u5e94\u4fe1\u606f\u662f\u4e00\u4e2a \u5305\u542b \"id\" \u548c \"result\"\u7684 JSON \u5b57\u5178\u3002\"result\"\u603b\u662f\u4e00\u4e2a\u5b57\u5178--\u5b83\u7684\u5185\u5bb9\u662f\u7279\u5b9a\u4e8e\u5904\u7406\u8bf7\u6c42\u7684\"endstop\"\u3002 \u5982\u679c\u5904\u7406\u7684\u8bf7\u6c42\u9020\u6210\u4e86\u9519\Line truncated
{"config":{"indexing":"full","lang":["ja"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"index.html","text":"Klipper\u662f3D\u6253\u5370\u673a\u56fa\u4ef6\u3002\u5b83\u5c06\u901a\u7528\u8ba1\u7b97\u673a\u7684\u8fd0\u7b97\u80fd\u529b\u4e0e\u4e00\u4e2a\u6216\u591a\u4e2a\u5fae\u63a7\u5236\u5668\u76f8\u7ed3\u5408\u3002\u6709\u5173Klipper\u7684\u4f18\u52bf\uff0c\u8bf7\u53c2\u9605 \u529f\u80fd \u6587\u6863\u3002 \u8981\u5f00\u59cb\u4f7f\u7528 Klipper\uff0c\u8bf7\u4ece \u5b89\u88c5\u6587\u6863 \u5f00\u59cb\u3002 Klipper\u662f\u81ea\u7531\u8f6f\u4ef6\u3002\u9605\u8bfb \u6587\u6863 \u6216\u67e5\u770b GitHub\u4e0a\u7684Klipper\u4ee3\u7801 \u3002","title":"\u6b22\u8fce"},{"location":"API_Server.html","text":"API \u670d\u52a1\u5668 \u00b6 \u8be5\u6587\u6863\u4ecb\u7ecdKlipper\u7684\u5e94\u7528\u5f00\u53d1\u8005\u63a5\u53e3\uff08API\uff09\u529f\u80fd\u3002\u8be5\u63a5\u53e3\u5141\u8bb8\u5916\u90e8\u5e94\u7528\u7a0b\u5e8f\u8bbf\u95ee\u548c\u63a7\u5236Klipper\u4e3b\u673a\u3002 \u542f\u7528API\u5957\u63a5\u5b57 \u00b6 \u8981\u542f\u7528API\u670d\u52a1\u5668\uff0cklipper.py\u8fd0\u884c\u65f6\u5e94\u52a0\u4e0a -a \u53c2\u6570\u3002\u4f8b\u5982\uff1a ~/klippy-env/bin/python ~/klipper/klippy/klippy.py ~/printer.cfg -a /tmp/klippy_uds -l /tmp/klippy.log \u4e0a\u8ff0\u64cd\u4f5c\u4f1a\u4f7f\u4e3b\u673a\u521b\u5efa\u4e00\u4e2aUnix\u672c\u5730\u5957\u63a5\u5b57\u3002\u4e4b\u540e\uff0c\u5ba2\u6237\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5957\u63a5\u5b57\u94fe\u63a5\uff0c\u4ece\u800c\u7ed9Klipper\u53d1\u9001\u547d\u4ee4\u3002 See the Moonraker project for a popular tool that can forward HTTP requests to Klipper's API Server Unix Domain Socket. \u8bf7\u6c42\u683c\u5f0f \u00b6 \u5957\u63a5\u5b57\u8fdb\u51fa\u7684\u6570\u636e\u5305\u5e94\u4f7f\u7528JSON\u7f16\u7801\u7684\u5b57\u7b26\u4e32\uff0c\u5e76\u4ee5ASCII\u5b57\u7b260x03\u4f5c\u4e3a\u7ed3\u5c3e\uff1a <json_object_1><0x03><json_object_2><0x03>... Klipper\u4f7f\u7528 scripts/whconsole.py \u7684\u4ee3\u7801\u8fdb\u884c\u4e0a\u8ff0\u7684\u6570\u636e\u5e27\u6253\u5305\u3002\u4f8b\u5982\uff1a ~/klipper/scripts/whconsole.py /tmp/klippy_uds \u8be5\u5de5\u5177\u4f1a\u4ecestdin\u4e2d\u8bfb\u53d6\u4e00\u7cfb\u5217\u7684JSON\u547d\u4ee4\uff0c\u53d1\u9001\u5230Klipper\u6267\u884c\uff0c\u5e76\u5c06\u7ed3\u679c\u9001\u51fa\u3002\u8be5\u5de5\u5177\u9ed8\u8ba4\u8f93\u5165\u7684\u6bcf\u6761Json\u547d\u4ee4\u4e2d\u4e0d\u5b58\u5728\u6362\u884c\uff0c\u5e76\u81ea\u52a8\u5730\u5728\u53d1\u9001\u547d\u4ee4\u65f6\u5728\u7ed3\u5c3e\u9644\u4e0a0x03\u3002\uff08Klipper API\u670d\u52a1\u5668\u6ca1\u6709\u6362\u884c\u7b26\u8981\u6c42\u3002\uff09 API\u534f\u8bae \u00b6 \u5957\u63a5\u5b57\u7684\u547d\u4ee4\u534f\u8bae\u53d7 json-rpc \u542f\u53d1\u3002 \u4e00\u4e2a\u8bf7\u6c42\u547d\u4ee4\u7c7b\u4f3c\uff1a {\"id\": 123, \"method\": \"info\", \"params\": {}} \u4e00\u4e2a\u56de\u5e94\u5e27\u7c7b\u4f3c\uff1a {\"id\": 123, \"result\": {\"state_message\": \"Printer is ready\", \"klipper_path\": \"/home/pi/klipper\", \"config_file\": \"/home/pi/printer.cfg\", \"software_version\": \"v0.8.0-823-g883b1cb6\", \"hostname\": \"octopi\", \"cpu_info\": \"4 core ARMv7 Processor rev 4 (v7l)\", \"state\": \"ready\", \"python_path\": \"/home/pi/klippy-env/bin/python\", \"log_file\": \"/tmp/klippy.log\"}} \u6bcf\u4e2a\u8bf7\u6c42\u5e94\u4e3a\u4e00\u4e2aJSON\u5b57\u5178\u3002\uff08\u672c\u6587\u6863\u4f7f\u7528Python\u4e2d\u7684\u672f\u8bed\u201c\u5b57\u5178\u201d\u63cf\u8ff0\u4ee5 {} \u4e3a\u8fb9\u754c\u7684\u201c\u952e-\u503c\u201dJSON\u5bf9\u8c61\u3002\uff09 \u8bf7\u6c42\u5b57\u5178\u4e2d\u5fc5\u987b\u5305\u542b\u4e00\u4e2a\u201dmethod\u201d\u5b57\u6bb5\uff0c\u5176\u503c\u5e94\u5305\u542b\u4e00\u4e2a\u53ef\u7528\u7684Klipper\u7aef\u70b9\u201dendpoint\u201d\u540d\u79f0\u5b57\u7b26\u4e32\u3002 \u8bf7\u6c42\u5b57\u5178\u53ef\u80fd\u5305\u542b\u201dparams\u201d\u53c2\u6570\uff0c\u5e76\u5176\u503c\u5e94\u4e3a\u4e00\u4e2a\u5b57\u5178\u7c7b\u578b\u3002\u201dparams\u201d\u63d0\u4f9bKlipper\u201dendpoint\u201d\u5904\u7406\u8bf7\u6c42\u6240\u9700\u7684\u989d\u5916\u6570\u636e\uff0c\u5176\u5185\u5bb9\u4f9d\u201dendpoint\u201d\u800c\u5b9a\u3002 \u8bf7\u6c42\u7684\u5b57\u5178\u53ef\u4ee5\u5305\u542b\u4e00\u4e2a\u53ef\u4ee5\u662f\u4efb\u4f55 JSON\u7c7b\u578b\u7684\"id\"\u53c2\u6570\u3002\u5982\u679c\"id\"\u5b58\u5728\uff0c\u90a3\u4e48 Klipper \u5c06\u7528\u4e00\u4e2a\u5305\u542b\u8be5\"id\"\u7684\u54cd\u5e94\u4fe1\u606f\u6765\u56de\u5e94\u8bf7\u6c42\u3002\u5982\u679c\"id\"\u88ab\u7701\u7565\uff08\u6216\u8bbe\u7f6e\u4e3a JSON \u7684 \"null\" \u503c\uff09\uff0c\u90a3\u4e48 Klipper \u5c06\u4e0d\u4f1a\u5bf9\u8be5\u8bf7\u6c42\u8fdb\u884c\u4efb\u4f55\u54cd\u5e94\u3002\u54cd\u5e94\u4fe1\u606f\u662f\u4e00\u4e2a \u5305\u542b \"id\" \u548c \"result\"\u7684 JSON \u5b57\u5178\u3002\"result\"\u603b\u662f\u4e00\u4e2a\u5b57\u5178--\u5b83\u7684\u5185\u5bb9\u662f\u7279\u5b9a\u4e8e\u5904\u7406\u8bf7\u6c42\u7684\"endstop\"\u3002 \u5982\u679c\u5904\u7406\u7684\u8bf7\u6c42\u9020\u6210\u4e86\u9519\Line truncated
+48 -48
View File
@@ -2,242 +2,242 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-06-12</lastmod>
<lastmod>2022-06-13</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
BIN
View File
Binary file not shown.