Jul 15, 2015
-
Glenn West
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - processI've found jscad tends to be idea for doing edits to existing stl. This always gets errors in OpenScad.
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.
function main(){
theobj = top_section().translate([-70,-70,0]).rotateZ(-60);
thecut = cube([20,20,200]);
theobj = difference(
theobj,
thecut.translate([-16.1,47.7,0])
);
return(theobj);
}This worked fine.
Now I'm trying to use it to combine components, and I've getting issues:
include("motor_mount.jscad");
function motor_boss()
{
//include("3DR_Bottom_Boss.stl");
}function combined()
{
a = rotate([0,0,120], translate([14,-7.2,0], rotate([0,0,180], motor_mount())));
b = rotate([0,0,240], translate([62,-67,0], rotate([0,0,180], motor_mount())));
c = rotate([0,0,0], translate([90,4.1,0], rotate([0,0,180], motor_mount())));
return union (a,b,c);}
//translate([5,-40,-0]) rotate([0,0,91]) cylinder(r=30,h=20,$fn=3);
function main(){
return combined();
}When I do this, Im getting a error:
dhcp-65-139:3dr-vslot gwest$ openjscad 3dr_bottom_plate.jscad -o test.stl
converting 3dr_bottom_plate.jscad -> test.stl (STereoLithography, ASCII)
render jscad to stl
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
Abort trap: 6Any Idea Why?
Looks like I should be able to allocate bigger memory in node, but I cannot find a way of passing the flag for it.
Source: github.com/glennswest/3dr-vslot
one comment
1
no plus ones
no shares
Shared publiclyJeff Gay STL models include a huge number of polygons. Have you tried the above with a small STL model?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login