Introducing vcad: A Parametric CAD Library for Programmatic Part Design in Rust
By
ecto
Pulled from the oven just right. Trustworthy, fact-dense, deeply satisfying.
Summary
The article introduces vcad, a parametric CAD library written in Rust that allows engineers to programmatically design physical parts using code instead of traditional GUI-based CAD software. The author describes their frustration with conventional CAD workflows for robot part design and explains how vcad enables type-safe, version-controlled part creation with Rust's programming paradigm. The library provides geometric primitives, boolean operations, and export capabilities, allowing users to define parts as code that can be easily modified and regenerated.
Key quotes
· 5 pulledI wanted to write my parts the way I write firmware. In Rust. With types. With version control. With the ability to change one number and regenerate everything.
A part is just geometry with a name. You create primitives, combine them with boolean operations, and export. That's it.
I keep designing physical parts for our robots. Motor mounts, sensor brackets, wheel hubs. Every time, the workflow is the same: open a GUI CAD program, click around for an hour, export an STL, realize the bolt pattern is 2mm off, repeat.
So I built vcad.
cargo add vcad
You might also wanna read
Why Average LLM Use Is Likely Destroying Value in Software Development
The author argues that, contrary to prevailing hype, the average use of Large Language Models (LLMs) is likely destroying value rather than
How AI Accelerated Prototyping: From Idea to Tangible in Record Time
The author reflects on how AI has transformed their prototyping workflow. Previously, the biggest bottleneck was the time needed to scaffold
GitLab 19.0 launches with Secrets Manager, agentic workflows, and self-hosted AI models
GitLab 19.0 has been released, positioning itself as an intelligent orchestration platform for DevSecOps. The release includes expanded secr
bit.ly·1d agoCentralizing Error Handling in Rust with Custom AppError Enums
This article discusses the importance of centralizing error handling in Rust applications using a custom AppError enum combined with map_err
Zig Devlog: Build System Rework Separates Maker and Configurer Processes
This devlog entry from the Zig programming language project announces a major rework of the build system, separating the maker process from
Study finds most developers refuse to code without AI, raising quality concerns
A February 2026 study by AI research lab METR reveals that most developers now refuse to work without AI coding tools. While these tools hel
