3D Printing Gophers with Go
summary
Uses Go to do four concrete things: a sdfx STL generator creates a gopher model saved as an STL, a Raspberry Pi opens a serial port and sends serial G-code to Marlin to home and move axes, M155 reports are parsed and pushed as M155 temperature polling every 2s into InfluxDB for live charts, and a Telegraf external plugin for OctoPrint polls layer progress and filament then feeds Influx. The 6‑hour FDM gopher prints successfully and the pipeline proves end‑to‑end.
AI-written summary · about
chapters (29)
- 0:00Intro
- 1:083D printing? Definition: Construction of a 3D object from a digital 3D model
- 2:01The FDM Gopher Maker Diagram
- 3:16The SLA Gopher Maker Diagram
- 5:49The 3D printer's firmware • Link between software and hardware • Marlin: popular open-source firmware for 3D printers • Takes GCODE as input
- 6:18What is GCODE? GCode is the programming language used by 3D-printers
- 7:08Example Movement GCODE . G28
- 7:57Use Go to send GCODE • Microcontroller has a serial port • Use Go to connect to the 3D printer • Use Go to send GCODE
- 9:10Define configuration with Termios
- 13:03Gathering temperature report
- 15:37Parse with regular expression
- 16:13Send temp to Influxdatabase Line Protocol
- 21:22Use Go to create a 3D model?!?
- 22:26Transforming 3D objects Use a 4x4 transformation matrix and 3D vectors • func Translate3d(v V3) M44
- 23:43Mouth
- 26:20Slicing the STL with Cura
- 27:25Blender made Gopher 3D model
- 28:21Why monitor a 3D printer?
- 31:11Telegraf The plugin-driven server agent for collecting & reporting metrics
- 32:49Octoprint Input Plugin
- 33:29External Plugin
- 34:08What does Go Shim provide
- 34:27Data Flowchart
- 34:42Input Plugin Interface type Input interface 1/ Gather adds metrics to processing flow Gather (Accumulator) error
- 36:00Getting data from REST API type Printerstate struct
- 37:04Filament Manager Configuration
- 37:42Gathering the data
- 38:30Configure InfluxDB Output
- 38:47Demo Flowchart
related talks
17mGo For Phallic Object Generation
31mControlling a 3D printer with Python
28mGo Make Something Real – The Potential for Go on the Factory Floor
29mThe Gopher Orchestra: Distributed Machine Learning with Go
54m3D Printing with Linux and Xenomai
25mThe State of the Gopher
02m3D Modeling and Printing
01h 01mGo Back To The Future
