SG-Lib is a MATLAB toolbox for solid-geometry modelling, FE-based optimization and multi-body simulation — enabling automated design of robots, mechanisms and 3D-printable geometry from a simple conversation.
Developed since 2010 at the Technical University of Munich, Germany.
With SG-Lib 5.5 and the OpenAI / MATLAB interface, 3D-printable geometries, mechanisms and robots can be created through natural-language conversation. Click a demo to watch the video.
▶
▶
▶SG-Lib is a toolbox for MathWorks MATLAB (some tasks require additional MATLAB toolboxes). Its goal is to automate the design process for building robots — rigid bodies, joints and kinematics, gear design and shape optimization via computer-aided optimization (CAO) or topology optimization (TO) for small and large displacements.
It also includes components for simulating multi-body systems, automatically generating control code for Arduino-family µCs and for 2D/3D area cameras, plus a port for processing medical CT/MRI image data. The library has grown since 2010 and is expected to be developed further until at least 2035.
Prof. Tim C. Lueth · Technical University of Munich, Germany
SG-Lib is a MATLAB toolbox built on MATLAB and Python and using the Manifold library for watertight boolean geometry. Since version 5.6 the toolbox can be driven by a generative AI — such as ChatGPT, and preferably Claude — through functions like executepool4claude.
Explores a wide space of possibilities and produces designs engineers might not have conceived.
Accounts for materials, weight distribution and energy efficiency to outperform traditional designs.
Rapidly generates and iterates designs, accelerating research and development.
Creates intricate geometries that are difficult or impossible to build by hand.
AI-generated designs scale up cleanly for mass production across industries.
From manipulators and mechanisms to medical robots and CT/MRI data processing.
The newest release is compiled for MATLAB 2024b and ships with complete HTML documentation. Free for educational, non-profit use.