discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Crash on simple object rotation

T
tlizambri
Sat, Dec 20, 2014 11:51 AM

I am using 2014.12.04 on windows and I am crashing on a what I think is a
simple object rotation and translation.  I have narrowed the problem down to
the fact that I am rotating an object twice (done this way for modularity in
a larger model). Is that a problem?  Here is the snippet that is giving me a
problem.

translate([0,14,.5]) head_clip();
rotate([0,0,90]) translate([0,19,.5]) head_clip();

module head_clip() {
rotate([90,0,0]) translate([0,1.5,0]) cylinder(h=.5, r1=1, r2=1,
center=true);
translate([0,0,.5]) cube([2,.5,2], center=true);
}

I can probably find another way to do this, but I am curious why this is
giving me a problem.

Thanks.

--
View this message in context: http://forum.openscad.org/Crash-on-simple-object-rotation-tp10660.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I am using 2014.12.04 on windows and I am crashing on a what I think is a simple object rotation and translation. I have narrowed the problem down to the fact that I am rotating an object twice (done this way for modularity in a larger model). Is that a problem? Here is the snippet that is giving me a problem. translate([0,14,.5]) head_clip(); rotate([0,0,90]) translate([0,19,.5]) head_clip(); module head_clip() { rotate([90,0,0]) translate([0,1.5,0]) cylinder(h=.5, r1=1, r2=1, center=true); translate([0,0,.5]) cube([2,.5,2], center=true); } I can probably find another way to do this, but I am curious why this is giving me a problem. Thanks. -- View this message in context: http://forum.openscad.org/Crash-on-simple-object-rotation-tp10660.html Sent from the OpenSCAD mailing list archive at Nabble.com.
B
Bananapeel
Sat, Dec 20, 2014 12:56 PM

It doesn't crash here on the same version. Must be a very subtle bug.

--
View this message in context: http://forum.openscad.org/Crash-on-simple-object-rotation-tp10660p10661.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

It doesn't crash here on the same version. Must be a very subtle bug. -- View this message in context: http://forum.openscad.org/Crash-on-simple-object-rotation-tp10660p10661.html Sent from the OpenSCAD mailing list archive at Nabble.com.
T
tlizambri
Sat, Dec 20, 2014 1:59 PM

Thanks. I have worked around it, so it is not an issue at this point anymore,
but wanted to share this in case it was a bug that needed to be addressed.
Are you running windows or linux version?

--
View this message in context: http://forum.openscad.org/Crash-on-simple-object-rotation-tp10660p10662.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Thanks. I have worked around it, so it is not an issue at this point anymore, but wanted to share this in case it was a bug that needed to be addressed. Are you running windows or linux version? -- View this message in context: http://forum.openscad.org/Crash-on-simple-object-rotation-tp10660p10662.html Sent from the OpenSCAD mailing list archive at Nabble.com.
B
Bananapeel
Sat, Dec 20, 2014 1:59 PM

Windows.

--
View this message in context: http://forum.openscad.org/Crash-on-simple-object-rotation-tp10660p10663.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Windows. -- View this message in context: http://forum.openscad.org/Crash-on-simple-object-rotation-tp10660p10663.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sat, Dec 20, 2014 2:30 PM

On 12/20/2014 02:59 PM, tlizambri wrote:

Thanks. I have worked around it, so it is not an issue at this point anymore,
but wanted to share this in case it was a bug that needed to be addressed.
Are you running windows or linux version?

I had a similar effect on Linux yesterday, that crashed even with a simple

difference() {
sphere(200);
cylinder(r = 20, h = 500, center = true);
}

when exporting to STL. So it seems there's indeed something fishy going on.

ciao,
Torsten.

On 12/20/2014 02:59 PM, tlizambri wrote: > Thanks. I have worked around it, so it is not an issue at this point anymore, > but wanted to share this in case it was a bug that needed to be addressed. > Are you running windows or linux version? > I had a similar effect on Linux yesterday, that crashed even with a simple difference() { sphere(200); cylinder(r = 20, h = 500, center = true); } when exporting to STL. So it seems there's indeed something fishy going on. ciao, Torsten.