Cad.js
Web-based CAD file viewer
Install / Use
/learn @ghemingway/Cad.jsREADME
cad.js
Web-based CAD file viewer
Setting up a development environment
Assumes Mac OS X or Linux
Get the code
git clone https://github.com/ghemingway/cad.js
cd cad.js
Make a place to put cad data
mkdir data
Move models into data directory (find some samples).
Install nodejs packages
npm install
Setup Redis
Run a redis server and update your config file to use this redis hostname/ip address and port.
Create a key
ssh-keygen -t rsa -f config/id_rsa
run development server
npm run start-dev
Building
Build/compile using webpack:
# if you installed webpack globally (`npm install webpack -g`)
webpack
# if you installed webpack via package dependencies (`npm install`)
./node_modules/.bin/webpack
Snazzy Demos
From an older version
http://ghemingway.github.io/cad.js/?resource_url=/cad.js/data/cutter/index.json
http://ghemingway.github.io/cad.js/?resource_url=/cad.js/data/rear/index.json
http://ghemingway.github.io/cad.js/?resource_url=/cad.js/data/rccar/index.json
Related Skills
node-connect
326.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
80.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
326.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
80.4kCommit, push, and open a PR
