<?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[Openscad to Jscad]]></title><description><![CDATA[<p dir="auto">Hi! I mentioned a while back that I was working on a project to convert openscad to jscad. I've gotten a working POC and have published it to <a href="https://github.com/cookiecad/Openscad-to-JSCAD-converter/" rel="nofollow ugc">https://github.com/cookiecad/Openscad-to-JSCAD-converter/</a></p>
<p dir="auto">The general idea is to use an openscad grammar to parse the openscad code into a syntax tree, then use the tree to jenerate jscad code. In order to make the resulting code more readable or when jscad is missing an equivalent operation the code adds helper functions.</p>
<p dir="auto">I used the openscad version of the honeycomb storage wall (on printables) as my test case and it successfully converts it to jscad. Each language feature is added separately so there are still many more to add.</p>
<p dir="auto">If anyone wants to try it out or contribute let me know. I haven't had time to work on it recently but would love to make more progress. Index.js is the starting point.</p>
<p dir="auto">As a side note - you can run jscad code with auto-completion and typechecking in our site, cadit.app - let me know what you think!</p>
]]></description><link>https://openjscad.nodebb.com/topic/425/openscad-to-jscad</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 06:53:21 GMT</lastBuildDate><atom:link href="https://openjscad.nodebb.com/topic/425.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 May 2024 22:42:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Openscad to Jscad on Fri, 03 May 2024 19:09:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nathan-apter" aria-label="Profile: Nathan-Apter">@<bdi>Nathan-Apter</bdi></a> ok, I upgraded by still not working.<img src="/assets/uploads/files/1714763331599-2024-05-04-050059.png" alt="2024-05-04-050059.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://openjscad.nodebb.com/post/1416</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1416</guid><dc:creator><![CDATA[DavidLyon66]]></dc:creator><pubDate>Fri, 03 May 2024 19:09:07 GMT</pubDate></item><item><title><![CDATA[Reply to Openscad to Jscad on Fri, 03 May 2024 14:34:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidlyon66" aria-label="Profile: DavidLyon66">@<bdi>DavidLyon66</bdi></a> What version of Node are you on? If it is an older version you can try import * as fs from 'fs'; or upgrading node.</p>
]]></description><link>https://openjscad.nodebb.com/post/1415</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1415</guid><dc:creator><![CDATA[Nathan Apter]]></dc:creator><pubDate>Fri, 03 May 2024 14:34:59 GMT</pubDate></item><item><title><![CDATA[Reply to Openscad to Jscad on Fri, 03 May 2024 11:48:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nathan-apter" aria-label="Profile: Nathan-Apter">@<bdi>Nathan-Apter</bdi></a></p>
<p dir="auto">The latest update reports some sort of error and is unable to run.</p>
<p dir="auto"><img src="/assets/uploads/files/1714736854743-2024-05-03-214246.png" alt="2024-05-03-214246.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://openjscad.nodebb.com/post/1414</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1414</guid><dc:creator><![CDATA[DavidLyon66]]></dc:creator><pubDate>Fri, 03 May 2024 11:48:30 GMT</pubDate></item><item><title><![CDATA[Reply to Openscad to Jscad on Thu, 02 May 2024 23:23:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidlyon66" aria-label="Profile: DavidLyon66">@<bdi>DavidLyon66</bdi></a> I just updated it with a readme - make sure to pull the latest commit before following the steps</p>
]]></description><link>https://openjscad.nodebb.com/post/1413</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1413</guid><dc:creator><![CDATA[Nathan Apter]]></dc:creator><pubDate>Thu, 02 May 2024 23:23:26 GMT</pubDate></item><item><title><![CDATA[Reply to Openscad to Jscad on Thu, 02 May 2024 19:24:35 GMT]]></title><description><![CDATA[<p dir="auto">There's no instructions anywhere on how to use this.</p>
<p dir="auto"><img src="/assets/uploads/files/1714677779313-653a6860-0dc4-44e3-a472-9770804294d5-image.png" alt="653a6860-0dc4-44e3-a472-9770804294d5-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I did a "git clone", put it in a directory, then what?</p>
<p dir="auto">I think this utility needs basic instructions for ordinary users on how to use it.</p>
]]></description><link>https://openjscad.nodebb.com/post/1411</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1411</guid><dc:creator><![CDATA[DavidLyon66]]></dc:creator><pubDate>Thu, 02 May 2024 19:24:35 GMT</pubDate></item></channel></rss>