explaingit

earthtojake/cad-viewer

Analysis updated 2026-05-18

32JavaScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

A browser-based, read-only viewer for CAD and robot description files like STEP, STL, GLB, and URDF.

Mindmap

mindmap
  root((repo))
    What it does
      Views CAD files
      Face and edge picking
      Joint sliders for robots
    Tech stack
      JavaScript
      React
      Vite
    Use cases
      Inspect CAD assemblies
      Move robot joints
      Share views by link
    Audience
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Inspect STEP, STL, 3MF, GLB, or DXF CAD files in the browser without extra software.

USE CASE 2

Interactively move joints on a loaded URDF or SDF robot description.

USE CASE 3

Pick faces and edges on a STEP model to copy a reference string for other tools.

USE CASE 4

Generate still images, GIFs, and parts lists from CAD files using the included snapshot tool.

What is it built with?

JavaScriptReactVite

How does it compare?

earthtojake/cad-viewera6216abcd/free-residential-ip-proxy-controlleriflymeto/yuexin-search
Stars323232
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderatehardmoderate
Complexity3/54/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Aimed at developers iterating on the viewer itself, requires running a dev server or building a static site.

In plain English

CAD Viewer is a browser-based application for inspecting computer-aided design and robot description files. It is built with Vite and React and runs entirely in the browser without generating new files or starting any simulation software. The viewer is read-only: it discovers existing files in a directory and displays them, but does not create or modify anything. The formats it supports include STEP and STP for traditional CAD parts and assemblies, STL and 3MF for 3D printing files, GLB for binary 3D models, DXF for 2D flat patterns, and URDF, SRDF, and SDF for robot description files used in robotics. Files are found by scanning a workspace directory you configure. For STEP files, the viewer looks for hidden companion files in the GLB format stored alongside the original. These companions can include assembly structure information and allow face picking and edge picking in the 3D view. Clicking a face or edge copies a reference string you can paste into other tools. URDF and SDF files are parsed from XML, and if joints are defined, sliders appear so you can move them interactively in the browser. The viewer can run as a development server or be built as a static site pointed at a fixed file directory. URL query parameters hold the currently selected file and any copied CAD references, making specific views shareable by link. A separate command-line snapshot tool is included for generating still images, animated GIFs of parametric model parameters, SVG cross-sections, and parts lists, using the same scene engine as the browser app. The README is written for developers iterating on the viewer package itself, not end users, and covers build commands, environment variables, and the verification steps expected before submitting changes.

Copy-paste prompts

Prompt 1
Help me set up CAD Viewer to browse a directory of STEP and URDF files.
Prompt 2
Explain how the GLB companion files enable face and edge picking on STEP models.
Prompt 3
Walk me through how joint sliders work for URDF and SDF robot files.
Prompt 4
Show me how to use the command-line snapshot tool to generate a parts list.
Prompt 5
Explain how shareable links encode the selected file and CAD references.

Frequently asked questions

What is cad-viewer?

A browser-based, read-only viewer for CAD and robot description files like STEP, STL, GLB, and URDF.

What language is cad-viewer written in?

Mainly JavaScript. The stack also includes JavaScript, React, Vite.

How hard is cad-viewer to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is cad-viewer for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.