<?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[Beginner Questions]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have recently started using V2 with great success (and enjoyment!) but I have some questions..</p>
<p dir="auto">I have been running the demo in the web package and then copying and pasting from VSCode to the inbuilt editor. Is there a better way? I have tried the cli package but thats not really what I wanted. I have also tried the 2 extensions I found for VSCode but they both have issues. This has also become a problem because I want to split my source into separate files but I cant copy and paste multiple files to the web package.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://openjscad.nodebb.com/topic/221/beginner-questions</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 09:07:23 GMT</lastBuildDate><atom:link href="https://openjscad.nodebb.com/topic/221.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Jan 2021 09:14:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Beginner Questions on Wed, 02 Jun 2021 23:02:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> I really like this concept of a preconfigured project. It would be a great addition to the JSCAD project.</p>
<p dir="auto">Probably, there are a few different styles of projects. So, maybe a little repository of starting projects could be created.</p>
<p dir="auto">Interested?</p>
]]></description><link>https://openjscad.nodebb.com/post/803</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/803</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Wed, 02 Jun 2021 23:02:15 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Fri, 05 Feb 2021 06:10:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wildjerry" aria-label="Profile: wildjerry">@<bdi>wildjerry</bdi></a> said in <a href="/post/652">Beginner Questions</a>:</p>
<blockquote>
<p dir="auto">In errors, what is the blob url? Going to them just yields a 404.</p>
</blockquote>
<p dir="auto">Probably a different topic would be better but... I think you mean these error messages.</p>
<pre><code>TypeError: cag._toCSGWall is not a function
Line: 10713,col: 0
(blob:https://openjscad.org/2c5b9973-25f7-4c49-9e61-8b632a209931)
</code></pre>
<p dir="auto">Deep down in the JavaScript engine of the browser, an error occured. However, the browser doesn't have a 'real' URL as the source code has been tweaked and anonymous. So, it reports the error as originating in the anonymous (blob) object.</p>
]]></description><link>https://openjscad.nodebb.com/post/656</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/656</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Fri, 05 Feb 2021 06:10:00 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Fri, 05 Feb 2021 04:46:45 GMT]]></title><description><![CDATA[<p dir="auto">In errors, what is the blob url? Going to them just yields a 404.</p>
]]></description><link>https://openjscad.nodebb.com/post/652</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/652</guid><dc:creator><![CDATA[wildjerry]]></dc:creator><pubDate>Fri, 05 Feb 2021 04:46:45 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Thu, 04 Feb 2021 12:43:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> just another thought...</p>
<p dir="auto">Installing live reload is an option. The web application has support for live reload, which is enabled after a file or a project is dropped to the web page.</p>
<p dir="auto">I actually run tests of live reload using small projects.</p>
]]></description><link>https://openjscad.nodebb.com/post/650</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/650</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Thu, 04 Feb 2021 12:43:38 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Thu, 04 Feb 2021 12:12:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hrgdavor" aria-label="Profile: hrgdavor">@<bdi>hrgdavor</bdi></a> wow! thats a lot of cool things in the same place hehe thanks!</p>
]]></description><link>https://openjscad.nodebb.com/post/649</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/649</guid><dc:creator><![CDATA[Dunk Fordyce]]></dc:creator><pubDate>Thu, 04 Feb 2021 12:12:07 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Wed, 03 Feb 2021 15:19:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a></p>
<p dir="auto">There is a discord channel on ELMER server. Somebody there created lots of channels for different cad projects.</p>
<p dir="auto">here is invite link for #openjscad<br />
<a href="https://discord.gg/mGKESsy3" rel="nofollow ugc">https://discord.gg/mGKESsy3</a></p>
]]></description><link>https://openjscad.nodebb.com/post/647</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/647</guid><dc:creator><![CDATA[hrgdavor]]></dc:creator><pubDate>Wed, 03 Feb 2021 15:19:34 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Wed, 03 Feb 2021 12:33:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/z3dev" aria-label="Profile: z3dev">@<bdi>z3dev</bdi></a> a desktop viewer requires a whole lot of desktop whereas a web viewer can be viewed from any machine on the same network trivially. I'm guessing here: a web server setup is going to be alot smaller than requesting electron or whatever else is used. I'd go even further and say that the desktop viewer should always just be the web viewer wrapped up in electron with any features that cant be done in a browser.</p>
<p dir="auto">Having the CLI tools there would certainly be good, I had forgotten about those.</p>
]]></description><link>https://openjscad.nodebb.com/post/646</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/646</guid><dc:creator><![CDATA[Dunk Fordyce]]></dc:creator><pubDate>Wed, 03 Feb 2021 12:33:53 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Wed, 03 Feb 2021 12:25:11 GMT]]></title><description><![CDATA[<blockquote>
<ul>
<li>scripts: is there a command that runs a web server with a viewer? I know about <code>npm run dev</code> in the www package but that's not what we want.</li>
</ul>
</blockquote>
<p dir="auto">I think this would be the desktop application, which doesn’t exist yet for V2.</p>
<blockquote>
<ul>
<li>dependencies: It seems correct to include this so that is a totally valid package, but perhaps it should just include the typescript definitions. I'm not sure</li>
</ul>
</blockquote>
<p dir="auto">It probably depends on the IDE.<br />
Does anyone have a suggestion?</p>
<blockquote>
<ul>
<li>devDependencies: a viewer seems like a good thing for development, certainly for a template</li>
</ul>
</blockquote>
<p dir="auto">CLI is an alternative, but viewing the results makes more sense.</p>
]]></description><link>https://openjscad.nodebb.com/post/645</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/645</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Wed, 03 Feb 2021 12:25:11 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Wed, 03 Feb 2021 11:42:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> your points are fair.</p>
<p dir="auto">The parameters are still closely tied to HTML input types. There’s a whole new world now with V2 so please be frank and propose some innovative changes.</p>
<p dir="auto">There should be reinforcement of the JavaScript language, so defaults should be useable. Definitely an area to explore.</p>
]]></description><link>https://openjscad.nodebb.com/post/644</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/644</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Wed, 03 Feb 2021 11:42:59 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Wed, 03 Feb 2021 09:36:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/z3dev" aria-label="Profile: z3dev">@<bdi>z3dev</bdi></a></p>
<p dir="auto">I didnt get very far...</p>
<pre><code>{
  "name": "machinez1",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "run": "...cmd to launch a webserver with the viewer"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@jscad/modeling": "^2.0.0-alpha.9"
  },
  "devDependencies": {
    "@jscad/web": "^2.0.0-alpha.9"
  }
}
</code></pre>
<ul>
<li>scripts: is there a command that runs a web server with a viewer? I know about <code>npm run dev</code> in the www package but that's not what we want.</li>
<li>dependencies: It seems correct to include this so that is a totally valid package, but perhaps it should just include the typescript definitions. I'm not sure</li>
<li>devDependencies: a viewer seems like a good thing for development, certainly for a template</li>
</ul>
]]></description><link>https://openjscad.nodebb.com/post/642</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/642</guid><dc:creator><![CDATA[Dunk Fordyce]]></dc:creator><pubDate>Wed, 03 Feb 2021 09:36:54 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Wed, 03 Feb 2021 08:43:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/z3dev" aria-label="Profile: z3dev">@<bdi>z3dev</bdi></a> Ok, I just wondered if I was missing something.</p>
<p dir="auto">Personally it seems a shame that the defaults are tied to the parameters function instead of where they should be ie:</p>
<pre><code>const main = ({radius=10}) =&gt; { }
// or
const main = (radius=10)  =&gt; {}
// etc
</code></pre>
<p dir="auto">But how that would work with parameter definitions is a another thing...</p>
]]></description><link>https://openjscad.nodebb.com/post/641</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/641</guid><dc:creator><![CDATA[Dunk Fordyce]]></dc:creator><pubDate>Wed, 03 Feb 2021 08:43:35 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Wed, 03 Feb 2021 03:09:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> said in <a href="/post/635">Beginner Questions</a>:</p>
<blockquote>
<p dir="auto">Also:</p>
<ul>
<li>how can I use the parameter defaults from another file? It seems getParameterValuesFromParameters should be exposed somewhere?</li>
</ul>
</blockquote>
<p dir="auto">There are several ways but no general practice. I'm porting a project which has several designs for gears (very nice designs). And here's one way to put those together into one BIG design.</p>
<pre><code>const bevelParams = require('./bevelGear').getParameterDefinitions
const bevelGear = require('./bevelGear').main

// combine parameters definitions

const getParameterDefinitions = () =&gt; {
  const definitions = [
  ]
  // bevel gear parameters
  definitions.push({ name: 'bevelGear', type: 'group', caption: 'Bevel Gear' })
  definitions.push(...bevelParams())
  return definitions
}

const main = (params) =&gt; {
  return bevelGear(params)
}

module.exports = { main, getParameterDefinitions }
</code></pre>
]]></description><link>https://openjscad.nodebb.com/post/640</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/640</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Wed, 03 Feb 2021 03:09:30 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Tue, 02 Feb 2021 01:59:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> said in <a href="/post/634">Beginner Questions</a>:</p>
<blockquote>
<p dir="auto">I understand how the project structure is meant to be now but is there, or could there be, a template git repo with the correct files included for linting and other nice to have things?</p>
</blockquote>
<p dir="auto">If I understand correctly, a template for new design projects. Nice idea!</p>
<p dir="auto">Just clone and go. <img src="https://openjscad.nodebb.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60e.png?v=4619dfc2edd" class="not-responsive emoji emoji-android emoji--sunglasses" style="height:23px;width:auto;vertical-align:middle" title=":sunglasses:" alt="😎" /></p>
<p dir="auto">Maybe a new project on the JSCAD community would be a good place for this.</p>
]]></description><link>https://openjscad.nodebb.com/post/639</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/639</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Tue, 02 Feb 2021 01:59:08 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Tue, 02 Feb 2021 01:44:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> said in <a href="/post/634">Beginner Questions</a>:</p>
<blockquote>
<p dir="auto">i want to add a vector type to the params, is there anything wrong with adding that into packages/web/src/ui/views/parameterControls.js or are your vue controls about to make it obsolete?</p>
</blockquote>
<p dir="auto">Interesting. Nothing is planned for the parameters, except some re-factoring of code. A new type of parameter would be fine if it works across CLI/WEB applications.</p>
]]></description><link>https://openjscad.nodebb.com/post/638</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/638</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Tue, 02 Feb 2021 01:44:52 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Tue, 02 Feb 2021 01:41:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> said in <a href="/post/634">Beginner Questions</a>:</p>
<blockquote>
<p dir="auto">will you support js import/export statement instead of require?</p>
</blockquote>
<p dir="auto">Definitely. Browsers (and Node) are moving forward with import/export, and JSCAD will follow.</p>
]]></description><link>https://openjscad.nodebb.com/post/637</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/637</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Tue, 02 Feb 2021 01:41:58 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Tue, 02 Feb 2021 01:39:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> said in <a href="/post/634">Beginner Questions</a>:</p>
<blockquote>
<p dir="auto">whats happening with the vue components I've seen in your vue-components repo ( I like vue )</p>
</blockquote>
<p dir="auto">Excellent! I will be maintaining those going forward, but would appreciate any assitance or comments. I'm just a Vue beginner, and probably have a whole lot wrong.</p>
]]></description><link>https://openjscad.nodebb.com/post/636</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/636</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Tue, 02 Feb 2021 01:39:16 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Mon, 01 Feb 2021 16:16:20 GMT]]></title><description><![CDATA[<p dir="auto">Also:</p>
<ul>
<li>how can I use the parameter defaults from another file? It seems getParameterValuesFromParameters should be exposed somewhere?</li>
</ul>
]]></description><link>https://openjscad.nodebb.com/post/635</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/635</guid><dc:creator><![CDATA[Dunk Fordyce]]></dc:creator><pubDate>Mon, 01 Feb 2021 16:16:20 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Mon, 01 Feb 2021 14:22:15 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I have the following questions, is here appropriate to ask?</p>
<ul>
<li>whats happening with the vue components I've seen in your vue-components repo ( I like vue )</li>
<li>will you support js import/export statement instead of require?</li>
<li>i want to add a vector type to the params, is there anything wrong with adding that into packages/web/src/ui/views/parameterControls.js or are your vue controls about to make it obsolete?</li>
<li>I understand how the project structure is meant to be now but is there, or could there be, a template git repo with the correct files included for linting and other nice to have things?</li>
</ul>
]]></description><link>https://openjscad.nodebb.com/post/634</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/634</guid><dc:creator><![CDATA[Dunk Fordyce]]></dc:creator><pubDate>Mon, 01 Feb 2021 14:22:15 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Mon, 01 Feb 2021 10:45:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> said in <a href="/post/632">Beginner Questions</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/z3dev" aria-label="Profile: z3dev">@<bdi>z3dev</bdi></a> Thanks!</p>
<p dir="auto">This works great!</p>
<p dir="auto">Is there a discord or slack or even IRC channel for jscad?</p>
</blockquote>
<p dir="auto">Not that I know about.</p>
]]></description><link>https://openjscad.nodebb.com/post/633</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/633</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Mon, 01 Feb 2021 10:45:45 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Mon, 01 Feb 2021 09:46:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/z3dev" aria-label="Profile: z3dev">@<bdi>z3dev</bdi></a> Thanks!</p>
<p dir="auto">This works great!</p>
<p dir="auto">Is there a discord or slack or even IRC channel for jscad?</p>
]]></description><link>https://openjscad.nodebb.com/post/632</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/632</guid><dc:creator><![CDATA[Dunk Fordyce]]></dc:creator><pubDate>Mon, 01 Feb 2021 09:46:46 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Fri, 29 Jan 2021 13:08:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> Sorry. I forgot to mention that the auto-reload function works really welcome with Chrome.</p>
<p dir="auto">Just enable Auto-reload then drag and drop a file or a folder (project). Any changes will automatically be detected and reloaded.</p>
]]></description><link>https://openjscad.nodebb.com/post/625</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/625</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Fri, 29 Jan 2021 13:08:28 GMT</pubDate></item><item><title><![CDATA[Reply to Beginner Questions on Fri, 29 Jan 2021 12:41:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dunk-fordyce" aria-label="Profile: Dunk-Fordyce">@<bdi>Dunk-Fordyce</bdi></a> Welcome!</p>
<p dir="auto">A great question!<br />
The management of projects is getting better in V2, and you can find more information on the <a href="https://www.jscad.xyz/dokuwiki/doku.php" rel="nofollow ugc">V2 User Guide</a>. See the Projects section.</p>
<p dir="auto">(It’s been work in progress so please make changes!)</p>
]]></description><link>https://openjscad.nodebb.com/post/624</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/624</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Fri, 29 Jan 2021 12:41:12 GMT</pubDate></item></channel></rss>