<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Load jscad directory into web jscad]]></title><description><![CDATA[<p dir="auto">I've created a directory containing a main.js file and a package.json that I can drag and drop onto the web site openjscad.xyz.  It works fine.<br />
I can drop just the .js file on the webpage and it works also, but not quite the way I want it to.<br />
I can also run the webpage by passing in the .js file on the URL line, and while it works, the title on the page is a cryptic number.  I seem to be unable to pass in just the directory as I can when I drag and drop.  Is this possible?<br />
How would I run with mutliple .js or .jscad files in one directory by passing them on the URL line?</p>
<p dir="auto">Is this possible? If not, how can I get the name of the .js file to appear on the webpage instead of number that appears?</p>
<p dir="auto">Thanks,<br />
Steve</p>
]]></description><link>https://openjscad.nodebb.com/topic/369/load-jscad-directory-into-web-jscad</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 21:01:54 GMT</lastBuildDate><atom:link href="https://openjscad.nodebb.com/topic/369.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Jun 2022 17:57:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Load jscad directory into web jscad on Tue, 14 Jun 2022 16:17:23 GMT]]></title><description><![CDATA[<p dir="auto">Yes, this becomes quite limiting if one has to have users download, unzip, and drag &amp; drop.  Kind of defeats the purpose of projects. Also you'd have to deal with updates.<br />
Very cumbersome for non-tech users.<br />
It would be nice if you could include directories or even zip files in the URL.</p>
]]></description><link>https://openjscad.nodebb.com/post/1207</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1207</guid><dc:creator><![CDATA[Steve Howe]]></dc:creator><pubDate>Tue, 14 Jun 2022 16:17:23 GMT</pubDate></item><item><title><![CDATA[Reply to Load jscad directory into web jscad on Tue, 14 Jun 2022 08:05:20 GMT]]></title><description><![CDATA[<p dir="auto">I'm not sure that a jscad project can be fired from an URL. It would be great because for the moment lots of users don't use the projects that I share because it seems too complex for them to 1°) upload it (as a .zip) 2°) unzip it into a directory 3°) open JSCAD, click "load jscad project" and choose this directory 4°) And put the files they want to use into the directory then reload the project. So I mostly only share .jscad directly but for my kind of designs that relay on 3d files, it's too complex for non dev users.</p>
]]></description><link>https://openjscad.nodebb.com/post/1204</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1204</guid><dc:creator><![CDATA[gilboonet]]></dc:creator><pubDate>Tue, 14 Jun 2022 08:05:20 GMT</pubDate></item><item><title><![CDATA[Reply to Load jscad directory into web jscad on Tue, 14 Jun 2022 05:14:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steve-howe" aria-label="Profile: steve-howe">@<bdi>steve-howe</bdi></a> Sorry. A project can be loaded via the LOAD button, or drag-n-drop. The best is via drag and drop due to differences in browser functionality.</p>
]]></description><link>https://openjscad.nodebb.com/post/1203</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1203</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Tue, 14 Jun 2022 05:14:37 GMT</pubDate></item><item><title><![CDATA[Reply to Load jscad directory into web jscad on Tue, 14 Jun 2022 00:03:48 GMT]]></title><description><![CDATA[<p dir="auto">Nope.  Even renaming to index.js doesn't help.<br />
It just doesn't like loading a directory from the URL line.<br />
Drag and Drop works, but I can't load it by using # or ?URI=</p>
<p dir="auto">I just get Error: fetch error: 500 Internal Server Error.<br />
It doesn't seem to work with a directory.</p>
<p dir="auto"><img src="https://openjscad.nodebb.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=552b9a4dc0c" class="not-responsive emoji emoji-android emoji--confused" style="height:23px;width:auto;vertical-align:middle" title=":confused:" alt="😕" /></p>
]]></description><link>https://openjscad.nodebb.com/post/1202</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1202</guid><dc:creator><![CDATA[Steve Howe]]></dc:creator><pubDate>Tue, 14 Jun 2022 00:03:48 GMT</pubDate></item><item><title><![CDATA[Reply to Load jscad directory into web jscad on Mon, 13 Jun 2022 23:10:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steve-howe" aria-label="Profile: steve-howe">@<bdi>steve-howe</bdi></a> there's a small section about projects in the User Guide. This might help.</p>
<p dir="auto"><a href="https://openjscad.xyz/dokuwiki/doku.php?id=en:design_guide_projects" rel="nofollow ugc">https://openjscad.xyz/dokuwiki/doku.php?id=en:design_guide_projects</a></p>
]]></description><link>https://openjscad.nodebb.com/post/1200</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1200</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Mon, 13 Jun 2022 23:10:05 GMT</pubDate></item><item><title><![CDATA[Reply to Load jscad directory into web jscad on Mon, 13 Jun 2022 22:22:16 GMT]]></title><description><![CDATA[<p dir="auto">Try naming the main file inside the directory <code>index.js</code></p>
]]></description><link>https://openjscad.nodebb.com/post/1199</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1199</guid><dc:creator><![CDATA[platypii]]></dc:creator><pubDate>Mon, 13 Jun 2022 22:22:16 GMT</pubDate></item></channel></rss>