[OpenSCAD] "Too many unnamed arguments "

A. Craig West acraigwest at gmail.com
Tue May 14 10:44:18 EDT 2019


Put square brackets around the arguments in translate

On Tue, 14 May 2019, 10:16 lar3ry, <lar3ry at sasktel.net> wrote:

> Baffled. OpenSCAD version 2019.01-RC4
>
> This:
>
> bottle_dia = 26.64;
> fudgefac = .5;
>
> test_dia();
>
> module test_dia() {
>   difference() {
>    cube([bottle_dia+5,bottle_dia+5,2],center = true);
>     translate(0,0,-.001)
>       cylinder(h=2.1,d=bottle_dia + fudgefac);
>   }
> }
>
> Gives me this:
>
> Compiling design (CSG Tree generation)...
> WARNING: Too many unnamed arguments supplied, in file OpenSCAD, line 9
> TRACE: called by 'translate', in file OpenSCAD, line 9.
> TRACE: called by 'difference', in file OpenSCAD, line 7.
> TRACE: called by 'test_dia', in file OpenSCAD, line 4.
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190514/94fc477d/attachment.html>


More information about the Discuss mailing list