<?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[Jul 15, 2015]]></title><description><![CDATA[<p dir="auto">Glenn West<br />
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process</p>
<p dir="auto">I've found jscad tends to be idea for doing edits to existing stl. This always gets errors in OpenScad.</p>
<p dir="auto">For Example, I wanted to change the slot for aluminium extrusion from M... to OpenVslot, so I need to cut a 2020 hole, to get rid of overly large channel protrusions.</p>
<p dir="auto">function main(){<br />
theobj = top_section().translate([-70,-70,0]).rotateZ(-60);<br />
thecut = cube([20,20,200]);<br />
theobj = difference(<br />
theobj,<br />
thecut.translate([-16.1,47.7,0])<br />
);<br />
return(theobj);<br />
}</p>
<p dir="auto">This worked fine.</p>
<p dir="auto">Now I'm trying to use it to combine components, and I've getting issues:</p>
<p dir="auto">include("motor_mount.jscad");</p>
<p dir="auto">function motor_boss()<br />
{<br />
//include("3DR_Bottom_Boss.stl");<br />
}</p>
<p dir="auto">function combined()<br />
{<br />
a = rotate([0,0,120], translate([14,-7.2,0], rotate([0,0,180], motor_mount())));<br />
b = rotate([0,0,240], translate([62,-67,0], rotate([0,0,180], motor_mount())));<br />
c = rotate([0,0,0],   translate([90,4.1,0], rotate([0,0,180], motor_mount())));<br />
return  union (a,b,c);</p>
<p dir="auto">}</p>
<p dir="auto">//translate([5,-40,-0]) rotate([0,0,91]) cylinder(r=30,h=20,$fn=3);<br />
function main(){<br />
return combined();<br />
}</p>
<p dir="auto">When I do this, Im getting a error:<br />
dhcp-65-139:3dr-vslot gwest$ openjscad 3dr_bottom_plate.jscad -o test.stl<br />
converting 3dr_bottom_plate.jscad -&gt; test.stl (STereoLithography, ASCII)<br />
render jscad to stl<br />
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory<br />
Abort trap: 6</p>
<p dir="auto">Any Idea Why?</p>
<p dir="auto">Looks like I should be able to allocate bigger memory in node, but I cannot find a way of passing the flag for it.</p>
<p dir="auto">Source: <a href="http://github.com/glennswest/3dr-vslot" rel="nofollow ugc">github.com/glennswest/3dr-vslot</a><br />
one comment<br />
1<br />
no plus ones<br />
no shares<br />
Shared publicly</p>
<pre><code>Jeff Gay
STL models include a huge number of polygons. Have you tried the above with a small STL model?
</code></pre>
]]></description><link>https://openjscad.nodebb.com/topic/24/jul-15-2015</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 17:51:30 GMT</lastBuildDate><atom:link href="https://openjscad.nodebb.com/topic/24.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 06 Apr 2019 06:36:03 GMT</pubDate><ttl>60</ttl></channel></rss>