Website: https://sites.google.com/andrew.cmu.edu/printerchat
-
Use an tool such as KIAUH to compile and install Klipper firmware.
- Make sure to install Crowsnest plugin to enable camera streaming.
-
Update config files accordingly, sample configs are provided for reference.
- Get API key for chatgpt-4o from OpenAPI
- Set up the environment from env.yml
- Change Printer URL in runner.py, snapshooter.py and tools.py
- In ./prompts/image_user_prompt.txt (point 6) give the description of the object.
- Run as python runner.py
- All prompts in ./prompts
- Results and run log for single layer prints in results.zip
- Results and run log for multilayer prints as presented in the paper are in results_2.zip
- Result and run log for video in results_3.zip
- Multi Layer print Gcode in Gcode file.
If you use this work, please cite:
@article{jadhav2025llm,
title={Llm-3D print: large language models to monitor and control 3D printing},
author={Jadhav, Yayati and Pak, Peter and Farimani, Amir Barati},
journal={Additive Manufacturing},
pages={105027},
year={2025},
publisher={Elsevier}
}