Supex: AI-Powered SketchUp Scripting via Claude Code

Hi everyone,

I’ve been working on an experimental project called Supex that brings agentic coding to SketchUp. The core idea is “CAD as code” - treating modeling scripts like software projects with version control, code review, and AI assistance. Describe what you want to build in natural language, and let AI write and execute Ruby scripts directly in SketchUp and iterate on them.

What it does

Supex connects Claude Code to SketchUp through the Model Context Protocol (MCP). This gives the AI:

  • Full Ruby API access - Execute any SketchUp operation via code
  • Model introspection - Query entities, materials, layers, take screenshots

The workflow: You describe what you need (“create a staircase with 15 steps”), AI writes a Ruby script, executes it in SketchUp, verifies the result via screenshots and introspection, then iterates if needed. All code and its history lives in your git repository.

Why I built this

I’m a programmer who got hooked on agentic coding for software development. When I started a SketchUp project for my house renovation, I wondered if the same workflow could work here - not to replace direct modeling (that’s still the best way to sketch ideas), but for repetitive tasks, parametric designs, and complex geometry where you’d rather describe intent than draw manually.

Experimental status

This is an early experiment - tested only on macOS with SketchUp 2026 and Claude Code, best suited for programmers already familiar with agentic coding.

Links

If you’re curious about AI-assisted modeling or have experience with agentic coding, I’d love to hear your thoughts. What use cases would be interesting to explore?

Antonin

4 Likes