[OpenSCAD] "Too many unnamed arguments "
openscad at jordan.maileater.net
Tue May 14 11:52:59 EDT 2019
On 5/14/2019 7:44 AM, A. Craig West wrote:
> Put square brackets around the arguments in translate
Yes, but a little more precisely: translate takes a single argument, a
vector containing two or three numbers. What the original poster passed
was three individual numbers, not a vector.
(Note that a vector is what some languages call an array.)
> On Tue, 14 May 2019, 10:16 lar3ry, <lar3ry at sasktel.net
> <mailto:lar3ry at sasktel.net>> wrote:
> cylinder(h=2.1,d=bottle_dia + fudgefac);
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Discuss