Utilizing ChatGPT to assist CAD design for microfluidic devices

Lab Chip. 2023 Aug 22;23(17):3778-3784. doi: 10.1039/d3lc00518f.

Abstract

ChatGPT is a generative AI model that has garnered tremendous public interest due to its ability to solve diverse problems through high-level reasoning and analysis. Among its features is an ability to create and debug code. While this capability has been explored with conventional programming languages such as Python, it has yet to be applied to computer-aided design (CAD). In this work, we utilized GPT-4 to create functional microfluidic components using OpenSCAD, an open-source CAD software package. Through an iterative dialogue, GPT-4 created functional designs for a helix/spiral, a valve, a t-junction, and a serpentine channel. This concept could facilitate CAD in the future for both technical and non-technical users and can be reasonably extended to other fields.