STL File Viewing
github.com
STL File Viewing
1–10 of 66 posts
Re: STL File Viewing
#2Re: STL File Viewing
#3 Invalid 'X-Frame-Options' header encountered when loading 'https://render.github.com/view/3d/?url=https%3A%2F%2Fraw.github.com%2FEmmanuelG%2FFoldaRap2%2Fmaster%2Fstl%2Flower-corners.stl': 'ALLOW-FROM: https://github.com/' is not a recognized directive. The header will be ignored.
(from https://github.com/EmmanuelG/FoldaRap2/blob/master/stl/lower...)Running Chrome stable. Looks like a malformed cross-origin directive?
EDIT: The error is still here but it works from time to time. Some of the time I get a "Something went wrong? Reload" message, the rest of the time, the 3D model actually appears.
Re: STL File Viewing
#4Getting the following error when loading an STL file on GitHub: Invalid 'X-Frame-Options' header encountered when loading 'https://render.github.com/view/3d/?url=https%3A%2F%2Fraw.github.com%2FEmmanuelG%2FFoldaRap2%2Fmaster%2Fstl%2Flower-corners.stl': 'ALLOW-FROM: https://github.com/' is not a recognized directive. The header will be ignored. (from https://github.com/EmmanuelG/FoldaRap2/blob/master/stl/lower... ) Run…
See: https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Option...
Re: STL File Viewing
#5Re: STL File Viewing
#6I hope GitHub adds support for scad files soon. In theory it should be pretty easy since they already support STL -- have openscad generate an STL from the scad files on the fly.
Re: STL File Viewing
#7Github amazes me all the time with the sheer number of features they ship over a given time period. Major props! The STL rendering is an awesome feature.
http://www.youtube.com/watch?v=WhNGUJjV1zQ
This model is a combination of stl or dae files, created with a script file that puts the coordinates of the individual stl files. I'm waiting for the day that maybe github could host full simulations and we test them out in the browser. (Now that would be cool).
Re: STL File Viewing
#8This is really cool, but I always feel kind of dirty putting my STL (or any other binary) files into a git repository. I hope GitHub adds support for scad files soon. In theory it should be pretty easy since they already support STL -- have openscad generate an STL from the scad files on the fly.
Re: STL File Viewing
#9Re: STL File Viewing
#10It's be nice if, when you sign in, you could change which viewer was associated with which file type. Then I could fork their viewer, add my own features, and use that.