-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run cad.js example #32
Comments
I am having the same issue. Looking at the resources in Chrome's Developer Tools, I think the problem is that the same page is loaded every time, regardless of the URL you're using. So when the client requests a .js file, it loads some HTML instead of the proper .js file. Fixing the same-page-every-time problem might fix this issue. |
To better illustrate my point, compare what
|
Got the viewer to not show a blank screen. My problem was that I didn't compile with webpack before running the application (instructions did not make that clear). After compilation, I believe a model loaded as per the samples should be viewed at |
I followed the instructions (compiled & built with webpack), and used the url (http://localhost:8080/cutter) I get the page displays only the lines but not the actual cutter (3D model) I am using chrome and mozilla. Many Thanks, |
Hi, Thanks. |
Hey guys i tried using 0.74.0 for three.js and it worked! Change the package.json to |
I wanted to run an example as in Snazzy Demos.
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
The text was updated successfully, but these errors were encountered: