Giter Site home page Giter Site logo

cad.js's People

Contributors

ghemingway avatar lphoward avatar rennat avatar wgaggioli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cad.js's Issues

Revise and complete Browse view

  • Make UI experience easy, attractive and performant
  • Responsive design for phones and tablets
  • Good filtering panel and controls for filtering model selection
  • File upload UI and behavior
  • Integrate ability to determine availability of “live” viewing of machining processes

After changing the json path in build.js, the browser throws an exception

I modified the JSON path in build.js to point to the JSON in my own project.F12 throws an exception:
image
Is it because my JSON format is not correct?I'm through http://2geojson.com/index.php, this web site to transform DXF converted to JSON, if is the format error, so I change how to convert JSON?

If we can transfer the project into server JSON (no matter what kind of server, C, C + +, JAVA, Python,. Net, etc.), HTML page parse the JSON data model, then it will be a very high commonality project, now I can't Node. Js and Python, if I want to finish a project (I am a JAVA developer), need based on your project to do?

How to convert AUTOCAD-DWG to XML?

  I have run the demo, but I still do not know how you get these XML files. Is there any project that can convert DWG files to XML? 
  By the way, I use three v0.70.1 to run the demo, but the demo itself is running under three v64, which I failed to run on. The error message is all about framework. I am really confuse about that.

Installation Issue

Followed the installation guide and installed everything on ubuntu on WSL.

The Redis server and node server starts fine. But http://localhost:8080 shows an empty screen on browser.

Any suggestions?

npm run start-dev

[email protected] start-dev /home/abc/dev/acad/cad.js
node src/server/api_server.js -e development

{"message":"CAD.js API Server listening on: 8080","level":"info"}
{"message":"\tRedis Connected.","level":"info"}
{"message":"Configuring auth/auth plugin: permit","level":"info"}
{"message":"\tSetting User-Validation function","level":"info"}
{"message":"\tSetting User-Authorization function","level":"info"}
{"message":"Configuring storage plugin: filesystem","level":"info"}
{"message":"\tAssembly Root: /home/sam/dev/acad/cad.js/data","level":"info"}
{"message":"\tNC Root: /home/sam/dev/acad/cad.js/data","level":"info"}

GET / 304 - - 123.887 ms
GET /js/main.css 304 - - 50.876 ms
GET /js/main.js 304 - - 51.337 ms
GET /cad.js/?resource_url=/cad.js/data/cutter/index.json 200 713 - 70.503 ms
GET /js/main.js 304 - - 44.813 ms
GET /js/main.css 304 - - 32.122 ms

Help please

Hello, can you guide me for a local setup ? i have an stl file and i'm not sure how to display it or if i have to convert it first.

Thanks!

Undefined value when creating skin mesh

I tried viewing one of the models that I extracted with the readme example, in particular the cutter one. When I went to http://localhost:8080/cutter, I got the error below. Any help would be appreciated, thanks!

Message: Uncaught TypeError: Cannot read property 'count' of undefined
Error: null
Filename: http://localhost:8080/js/main.js
Line number: 23691
Column number: 36
three.js:23464 Uncaught TypeError: Cannot read property 'count' of undefined
   normalizeSkinWeights @ three.js:23464
   THREE.SkinnedMesh @ three.js:23399
   addShellGeometry @ shape.js:127
   (anonymous function) @ shape.js:113
   dispatchEvent @ three.js:8299
   addGeometry @ shell.js:67
   workerMessage @ data_loader.js:207
   (anonymous function) @ data_loader.js:31

Create User Menu View

Make it functional and pretty

  • Should link to login/registration if no valid user
  • Should show Gravitar/icon if valid user
  • Should link to browse view regardless of user

Finalized model removal from CADManager

Need to make sure that models are cleanly removed from the CAD manager.

  • Probably need better interface than currently in place
  • Need to do memory checking to make sure all items are freed
  • What WebGL stuff needs to be done to clean up?

How to get the model files from a .dwg file

Hi, I have a .dwg file. How can I get the json files required by cad.js from it. I tried to convert the .dwg files using autocad to json but none matches with the format you guys have. So what should I do in this situation. I have a .dwg file & want to load this model in this tool (cad js)

Capture transient NC state/delta

Capture ongoing flow of NC state and delta data and serialize to either Redis or filesystem.

  • Understand chronology
  • Cap/minimize size over time

How to run cad.js example

I wanted to run an example as in Snazzy Demos.

problem

I followed all the steps README.md and installed the project on my PC successfully, but now I can not view an example.

After the project is running with ("npm run start-dev"), how I can do to see an example? What request should I do? I've tried several ways but I can not see anything in the browser.

I created a folder "data" as indicated and put the files there that I got after running the command "node scripts/scrapeModel.js -d date/cutter -h http://www.steptools.com/demos/cutter/index.xml" and "node scripts/xmlToJson.js -d date/cutter -i index.xml" at the end made the following request "http://localhost:8080/cad.js?resource_url=/data/modelname/index.xml " and also experimented with "http://localhost:8080/cad.js?resource_url=/data/modelname/index.json" but had no effect and the page was blank.

How do I see an example in the browser?

thanks

Better CAD manager interface

Need to have a nice external interface for interacting with the CAD manager and its models. Internally, this will be most event driven, but from outside of the manager it should be functional.

Make "zoom to fit" work for selection

Currently it only works for the entire assembly. If an object (shape/assembly/product) is selected then it should focus the view on the selection.

Rework NC file structure

Done in conjunction with #22 and STEPTools.

  • Initial JSON for all NC meta-data. Must include all tools, tool paths, working steps, etc.
  • State for overall state update of: tool location, Asis model, tool paths
  • Delta for incremental changes since last state update

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.