Desktop Client · คู่มือใช้งาน
Python + Tkinter. Copy this single file to Windows or Linux and run python gcode_client.py (Linux: python3 gcode_client.py).
First run / ตั้งค่าครั้งแรก
- Open Settings / Account.
- Server URL:
https://unclelabs-cnc.com. - Create a Desktop API key in My account and paste it into the key field.
- Select a download folder, press Test connection, check the returned account email, then Save.
เปลี่ยนบัญชีหรือ API key ได้ใน Settings / Account ตลอดเวลา ไม่ต้องกรอกรหัสผ่าน Google หรือรหัสผ่านเว็บไซต์ รายการเก่าจะถูกล้างเมื่อเปลี่ยนการตั้งค่า
Files / ไฟล์
All account jobs is selected automatically after saving your API key. It lists saved projects, exported files and imported NC files across all pages. Choose Saved projects to see jobs saved on the website, then Download NC / file to generate NC using that project's saved controller, after confirming the machine setup. You do not need to export on the website first. Multiple output files are delivered as ZIP. Unsaved browser changes are not included.
หลังบันทึก API key จะแสดงงานทั้งหมดในบัญชี รวมโปรเจกต์ที่กด Save ไว้แม้ยังไม่เคย Export เลือกงานแล้วดาวน์โหลดได้เลย ส่วน Web exports และ Imported NC ใช้ดาวน์โหลดไฟล์เดิม
Update the website and client together: this version requires /api/v1/projects/. An older server displays an update message; changing only the client cannot add this server endpoint.
Download original preserves the file bytes. Upload edited copy uploads a new file for review and simulation without overwriting the original. Upload limit: 1 MiB. This client never runs a program on your CNC.
Language / ภาษา
Choose Language → English in the client. The CAM website also has a Language selector; Thai mode includes English operation and parameter labels. User names and NC are preserved.
Windows / Linux
Debian/Ubuntu/LinuxCNC: install python3-tk and use distribution Python 3. Windows 10/11: Python 3 with Tcl/Tk. Windows 7: Python 3.8. Windows XP: Python 2.7.18 or 3.4.4 with Tcl/Tk.
Legacy HTTPS depends on the machine's TLS runtime, CA certificates and clock. Certificate verification stays enabled; a trusted CA bundle can be selected in Settings. If XP cannot negotiate TLS, use a modern transfer computer. A gateway is not included.
Stored settings / การจำค่า
Keys are kept in memory by default. Selecting Remember key stores an unencrypted key in your user config file: Windows %APPDATA%\UncleLabsCNC\client.json; Linux ~/.config/unclelabs-cnc/client.json (or XDG_CONFIG_HOME). Uncheck and Save to remove the stored key.
ทดสอบ Client/Tkinter ด้วย Windows + Python 3.14 แล้ว ส่วน XP/7 และ LinuxCNC ต้องตรวจบนเครื่องปลายทางจริงอีกครั้ง