Web-based CAD file viewer
Assumes Mac OS X or Linux
git clone https://github.com/ghemingway/cad.js
cd cad.js
mkdir data
Move models into data
directory (find some samples).
npm install
Run a redis server and update your config file to use this redis hostname/ip address and port.
ssh-keygen -t rsa -f config/id_rsa
npm run start-dev
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
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