How navaismo/cacomixtlepad works
CacomixtlePad is a Flutter Android app for controlling a Marlin-based 3D printer, primarily over a phone’s USB-OTG serial connection. The user workflow spans printer status and motion controls, G-code selection and job control, printer preparation, and configuration. The README documents these capabilities and external upload clients; the available source excerpts do not show Flutter routing, serial commands, or upload-server implementation, so internal links beyond documented behavior are marked unverified or omitted.
Main entry points: main.dart Flutter entry · prepare_page.dart Prepare controls · usbConn_svc.dart USB serial connection · home_page.dart Printer dashboard
Components 16
App and navigation
- Flutter entry
lib/main.dart - Android shell
android/app/src/main/kotlin/com/shaka/cacomixtlepad/MainActivity.kt
Printer controls
- Printer dashboard
lib/pages/home_page.dart - Temperature service
lib/services/temp_svc.dart - USB serial connection
lib/services/usbConn_svc.dart
Print workflow
- G-code files
lib/pages/print_page.dart - Print job controls
lib/pages/print_job.dart - File upload API
lib/pages/print_page.dart
Preparation and settings
- Prepare controls
lib/pages/prepare_page.dart - Bed leveling
lib/pages/bed_level.dart - Extrude and retract
lib/pages/extrude_retract.dart - Material presets
lib/pages/material_values.dart - Printer settings
lib/pages/settings_page.dart
Other components
- Phone user
- Marlin printer
- Upload client
Connections 17
- Phone user → Flutter entry: uses
README.md - Flutter entry → Android shell: runs in
- Flutter entry → Printer dashboard: opens
- Flutter entry → G-code files: opens
- Flutter entry → Print job controls: opens
- Flutter entry → Prepare controls: opens
- Flutter entry → Printer settings: opens
- Printer dashboard → Temperature service: controls
- Printer dashboard → USB serial connection: controls
- G-code files → Print job controls: starts
- Upload client → File upload API: uploads G-code
README.md - Print job controls → USB serial connection: controls printer
- Prepare controls → Bed leveling: offers
- Prepare controls → Extrude and retract: offers
- Prepare controls → USB serial connection: controls
- Printer settings → Material presets: edits presets
- USB serial connection → Marlin printer: communicates via OTG
README.md