Coder Social home page Coder Social logo

zhengjfoutlook / cad.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ghemingway/cad.js

0.0 2.0 0.0 97.52 MB

Web-based CAD file viewer

Home Page: http://ghemingway.github.io/cad.js

License: Apache License 2.0

JavaScript 78.71% Python 17.26% CSS 3.36% GLSL 0.50% HTML 0.17%

cad.js's Introduction

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

cad.js's People

Contributors

ghemingway avatar rennat avatar lphoward avatar wgaggioli avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.