Hi,
for(x=[-5:5],y=[-5:5]){
translate(\[2\*x,2\*y,0\])
cube(size=1,center=true)
}
copied from u-tube, my version of SCAD won’t render it (main computer) but will render on my tablet Open SCAD. Version on main computer is 2021.01
Please advise.
I think the cube should have a semicolon after it.
On Fri, 25 Sept 2026, 22:16 Jon S via Discuss, discuss@lists.openscad.org
wrote:
Hi,
for(x=[-5:5],y=[-5:5]){
translate([2x,2y,0])
cube(size=1,center=true)
}
copied from u-tube, my version of SCAD won’t render it (main computer) but
will render on my tablet Open SCAD. Version on main computer is 2021.01
Please advise.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
What he said. If you had a console pane visible, you’d have seen the syntax error.
Also, you might want to download the current development build, or at least something newer than the last “official” release.
It‘s much faster when rendering and makes life more pleasant in general.
(At this point I usually ask when/if a new official release will happen…)
From: nop head via Discuss discuss@lists.openscad.org
Sent: Friday, September 25, 2026 2:21 PM
To: OpenSCAD general discussion Mailing-list discuss@lists.openscad.org
Cc: Jon S jonsmptr@msn.com; nop head nop.head@gmail.com
Subject: [OpenSCAD] Re: program won't render this
I think the cube should have a semicolon after it.
On Fri, 25 Sept 2026, 22:16 Jon S via Discuss, <discuss@lists.openscad.org mailto:discuss@lists.openscad.org > wrote:
Hi,
for(x=[-5:5],y=[-5:5]){
translate([2x,2y,0])
cube(size=1,center=true)
}
copied from u-tube, my version of SCAD won’t render it (main computer) but will render on my tablet Open SCAD. Version on main computer is 2021.01
Please advise.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org
On Fri, 2026-09-25 at 21:15 +0000, Jon S via Discuss wrote:
Hi,
for(x=[-5:5],y=[-5:5]){
translate([2x,2y,0])
cube(size=1,center=true)
}
copied from u-tube, my version of SCAD won’t render it (main >
computer) but will render on my tablet Open SCAD. Version on main >
computer is 2021.01
Please advise.
In addition to the semicolon, you also do not need the curly braces.
Larry
Thanks, won't happen again... at least here
JS
From: larry via Discuss discuss@lists.openscad.org
Sent: Friday, September 25, 2026 10:28 PM
To: discuss@lists.openscad.org discuss@lists.openscad.org
Cc: larry lar3ry@sasktel.net
Subject: [OpenSCAD] Re: program won't render this
On Fri, 2026-09-25 at 21:15 +0000, Jon S via Discuss wrote:
Hi,
for(x=[-5:5],y=[-5:5]){
translate([2x,2y,0])
cube(size=1,center=true)
}
copied from u-tube, my version of SCAD won’t render it (main >
computer) but will render on my tablet Open SCAD. Version on main >
computer is 2021.01
Please advise.
In addition to the semicolon, you also do not need the curly braces.
Larry
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org