cad.js

Web-based CAD file viewer

  • Owner: ghemingway/cad.js
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownerghemingway/cad.js
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 5)
Platform
License:Apache License 2.0
所有者活动
Created At2014-01-29 22:16:18
Pushed At2017-10-05 09:09:05
Last Commit At2016-02-23 08:22:41
Release Count0
用户参与
Stargazers Count678
Watchers Count51
Fork Count180
Commits Count240
Has Issues Enabled
Issues Count33
Issue Open Count26
Pull Requests Count8
Pull Requests Open Count2
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private