Giter Site home page Giter Site logo

Comments (3)

potenziani avatar potenziani commented on June 5, 2024

Hi @wiztigers, let's try to clarify your doubts...

First of all: yes, 3DHOP has been designed to work on all the main browsers and on all the main OS (this includes also Linux, even if clearly is not possible for us testing all the Linux distro).

Moving to your issues, a good strategy to solve them consists in going step by step: firstly, to check if 3DHOP works in your system try to run whatever examples you can find in the 3DHOP official website (http://3dhop.net).

Once you are sure your system can run the 3DHOP examples online you can start using it.
As you can read here (http://3dhop.net/documentation/3DHOP_Environment_Deployment.pdf), 3DHOP needs a web server to works: you can upload the distribution package on a proper server (if you have it at hand), or you can install a local web server on your pc (we usually use Apache HTTP Server).
Without a web server installed the browser is unable to handle external files due to the CORS (Cross Origin Resource Sharing) policy (some browsers can, but in general this is not true). Because of this, if you try to open an HTML file that includes the 3DHOP viewer in a browser without the web server support, you just will get an empty CANVAS (no chances to visualize a Nexus file).
The "--allow-file-access-from-files" workaround works very well in Windows Chrome, but it is browser and OS dependent (also, remember to close all the Chrome instances and then start again the browser to be sure this workaround works), so we strongly advice to rely on a web server.

Now, if you are able to run all the 3DHOP examples on your web server, you are ready for embedding 3DHOP in your Django application (but this should be just the last step).

Hope this can help you. If you instead still need help, please contact us using the technical support account: [email protected].

Thanks for using 3DHOP, and have a nice day you, too!

from 3dhop.

wiztigers avatar wiztigers commented on June 5, 2024

Hi @potenziani , and thanks a lot for your quick answer.
My system is indeed able to run 3DHOP examples : after your directions, I installed Apache and, once I copied 3DHOP examples in it, everything worked flawlessly.
So, according to your directions, it seems the problem may lie in the handling of external files : python's SimpleHTTPServer does not support that, but Apache default install does seem to.

Anyway, the problem lies in my configuration of Django, not in 3DHOP. That's good news !
I now have to fiddle around with Django's default config to sort out where the problem lies. ᕦ(ò_óˇ)ᕤ

Thanks once more !
Do you want us to keep in touch as my project progresses further ?

from 3dhop.

potenziani avatar potenziani commented on June 5, 2024

Hi @wiztigers, happy to see that you are doing progress with your 3DHOP implementation! And sure, I would be glad to know about the future developments... so yes, keep me posted if you want! 👍

from 3dhop.

Related Issues (20)

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.