Replies: 2 comments 6 replies
-
@EdHubbell welcome! There’s a little discussion at the User Group which should provide some hints on how to share designs using URI parameters. https://openjscad.nodebb.com/topic/234/thingiverse In general, browsers will not allow access to local files. There are all kinds of rules built into the browsers, and it gets complicated. But, you should be able to share any file that’s available on-line. You could put the file almost anywhere, including your own website. |
Beta Was this translation helpful? Give feedback.
6 replies
-
there is also https://github.com/danmarshall/jscad-now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an application that I could use to generate .js files for users to view. I'd like to be able to launch a link so that my application opens the newly created .js file and opens the jscad file for viewing in the browser.
Ideally I'd like to get to using local file links, like
http://openjscad.xyz/#file://C:/Users/ed/Downloads/JSCADExample/index.js
or
http://openjscad.xyz/#file://C:/Users/ed/Downloads/JSCADExample/
I'd be fine with uploading the file to an http link, like
https://xdblob.z13.web.core.windows.net/ClickOnce/XData/index.js
But I can't even get that format to work. It seems strange that I can easily get stl files to open directly (e.g. https://openjscad.xyz/#http://www.thingiverse.com/download:164128), but I'm having no success with .js files.
(Note: I can open the files using the Load a JSCAD button on the page, but that's a step beyond what I want for the users).
It may be that I'd have to install our own local version of the website on our servers instead of banging on openjscad.xyz all the time - I'm cool with that. I didn't want to go too far before determining if the capability I wanted was available.
I'm guessing I'm doing something wrong - Any advice is appreciated.
~Ed
Beta Was this translation helpful? Give feedback.
All reactions