Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Comments
My first goal will to be get oauth to work locally. Then once I get there, I can move to a public iframes. Technically iframes is already working with the gltf sample. I just don't understand most of it.
I'm thinking one problem with localhost is that you're not running a webserver on localhost and can't provide the webpage that iframe is requesting.
Running localhost means that when you shut your computer down, everything goes down with it. I think if you're building a desktop app that interfaces with OS, then localhost might be appropriate. Not sure about anything else other than that. You don't want to debug a website with localhost, there's a million better ways to do that. I'm not sure OS will list you in the app store if you're running localhost because when you turn your computer off, it all goes dark and they don't want that.
Building a backend web server use to be painful. I'm not sure that's the case today and won't be the case in the near future.
I'm thinking if you want to be listed in the OS app store, you'll need a backend server which solves all your issues.
I'm not sure if you've heard, but GCP is pushing hard to get into the server space. It's currently the "buzz" in the cloud. Amazon is the king of server space followed by Microsoft with Google not even showing up to the race. Google is trying to catch up and their new documentation is really good and GCP is impressive.
GCP is "google cloud platform".
Google "GCP", and watch an introduction.
I'm currently in the middle of a project, but in September, I'll be moving rustyshed from digital ocean to GCP.
I've been working on GCP for a while and I like it, it's the next cloud thing.
Having a backend server should be easy for everyone and with GCP I think it'll be easy for people to create a cloud presence.
I agree with you on the servers. But I need to get react talking to express and express talking to OS first. This is much easier locally.
express? is that a nodejs server? are you running a local server using nodejs? If you are, you'd the man!
I'll see if I can get this running. I think we've all been waiting for a gtlf viewer for a long time.
www.virtualmold.com
https://threejs.org/examples/#webgl_animation_keyframes
The Khronos Group is in charge of most computer graphics these days and the fact that it runs on all phones, desktops & the cloud, this is impressive.
gltf is an official graphic language transfer format and OS supports it. I haven't played around with it much and believe it's much better than the older stl files.
Forever, we've been wanting to spin models on our own websites which means you have create a webgl canvas tag and then import your data. It won't do anything so you have to build your own controls. All this to get a model to spin on your website.
I'd recommend checking out sketchfab.com to see what webgl can do. It's amazing stuff. Makes me wonder why CAD is still RGB.
Bill has a sample setup for a webgl viewer that I'm currently reviewing. It's well done. It runs on heroku and I'm trying to extract the pieces from it to run on my site. These solutions require both server and client code so it's not a download and run scenario. Bill do you know if any of these guys are still around?
More importantly is there an public instance of this running somewhere without having to create a heroku account?
So close! Coulda been Ronshape!
Is there a public instance running?
Is this example running in a container on Heroku?
Why redis are you trying to make this stateless?
Are you using redis to manage a large download?
I'm still digging into your code and why you guys did what you did.
https://cce-app-gltf-viewer.herokuapp.com/