Skip to content
项目

关于

基于 Web 的 CAD 文件查看器

科学与工程

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…