Quantcast

New user reporting a simple bug

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

New user reporting a simple bug

gibell

I just started using openSCAD and it is great!!  I have, however, experienced some problems with it crashing.  Here is a simple program that crashes upon compile on my Windows binary version on Windows NT:

scale(v=2,2,2) cube(size=10);

An obvious syntax error, but took me some time to track this down since it was in the middle of a much longer program ...

-George

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New user reporting a simple bug

Clifford Wolf
Hi George,

On Sun, Jan 03, 2010 at 08:24:17PM +0000, [hidden email] wrote:
> I just started using openSCAD and it is great!!  I have, however,
> experienced some problems with it crashing.  Here is a simple program
> that crashes upon compile on my Windows binary version on Windows NT:
> scale(v=2,2,2) cube(size=10);
> An obvious syntax error, but took me some time to track this down since
> it was in the middle of a much longer program ...

thanks for your bug report.
recent version of openscad don't crash on this.

(btw: this is not a syntax error. it just sets the 'v' parameter to '2' and
add two positional parameters '2' and '2'. older versions of openscad
crashed because they interpreted v=2 like v=[0,0,0]. recent version simply
ignore the invalid parameter and do not scale.)

yours,
 - clifford

--
/"\  ASCII Ribbon Campaign - against html email
\ /                        - against microsoft office attachments
 X                         - against text above fullquote below
/ \                        - against lines longer than 79 characters

Loading...