[OpenSCAD] DEPRECATED: Using ranges of the form [begin:end] with begin value greater than the end value is deprecated.

Torsten Paul Torsten.Paul at gmx.de
Wed May 22 12:32:01 EDT 2019


On 22.05.19 15:15, A. Craig West wrote:
> len(v) == 0 ? [] :
> [ for (o = v)...] 

This has nothing to do with ranges as far as I can see. Can
you elaborate on why that is needed? If there's a bug then
it can only be fixed if it's reported.

v = [];
echo([for (a = v) a]);

Works fine and reports an empty list which is what I would
expect. So in which case is that len() needed?

ciao,
  Torsten.



More information about the Discuss mailing list