Building beyond software
ybComputer · A compact chassis, expressed as parameters and geometry.
The idea
ybComputer explores a compact Mini-ITX chassis in walnut and brass. It connects physical design with the way I approach software: make the constraints explicit, express repeatable steps in code, and keep iteration manageable.
A model with explicit dimensions
The FreeCAD model is generated by a Python script. A parameter dictionary holds dimensions for panels, board references, mounting points, ventilation, the display and the control knob. These are selected values from the current model:
panel_width: 210.0 mm
panel_depth: 120.0 mm
walnut_thickness: 3.0 mm
board_width: 170.0 mm
board_depth: 170.0 mmChanging a parameter and rebuilding regenerates the model geometry. That makes relationships between dimensions inspectable, rather than leaving every change as a sequence of manual edits.
Connecting an agent to CAD
MCP client
-> MCP server over stdio / JSON-RPC
-> Local bridge inside FreeCAD
-> FreeCAD Python API
-> Generated chassis documentThe bridge runs inside FreeCAD because that process owns the CAD document and its Python API. The separate MCP server passes requests to the bridge over localhost. It exposes operations for inspecting the session, opening and saving documents, and running the model generator.
{
"name": "hermes_generate",
"arguments": {
"script_path": "/path/to/ybComputer/hermes_chassis.py"
}
}What the model can tell me
A generated model gives me something concrete to inspect: layout, component relationships and dimensional choices. Manufacturing tolerances, thermal behaviour and the fit of real components need their own validation. The case presented here is the CAD model and its control workflow.
What this demonstrates
An agent becomes more useful when it can work through the actual tools of a domain. Here, the interesting connection is between a design intention, an executable model and an application that can inspect the result.
