Projects

Computer vision and CAD · 2022–2023

KeyCAD

An image-to-CAD pipeline for parameterized key models.

Placeholder for the KeyCAD project image, sized 1600 by 1000 pixels.

Overview

A computer-vision and CAD experiment that translated measurements from photographs into dimensionally accurate, 3D-printable key geometry.

Role
Creator and engineer
Status
Complete
Built with
Python, OpenCV, OpenSCAD, Git

Challenge

Turning a flat photograph into useful physical geometry required a consistent way to correct scale, locate measurement points, and map those measurements onto a precise 3D model.

Approach

I separated the system into two parts: a library of parameterized OpenSCAD blanks and a Python/OpenCV measurement pipeline that selected and modified the matching model.

Result

The finished pipeline connected image analysis and procedural CAD into a repeatable end-to-end workflow across 19 key profiles.

Highlights

  • Created 19 parameterized key-blank models from manufacturer specifications.
  • Built an OpenCV pipeline that measured positions and depths from photographs.
  • Generated dimensionally accurate STL geometry from the corresponding parameterized model.

First match selected — press Enter to open. Use to move. Open anytime with ⌘ K or Ctrl K.