[OpenSCAD] allowing center= parameter to be a vector of booleans

MichaelAtOz oz.at.michael at gmail.com
Mon May 4 00:34:08 EDT 2015

Drew Rogge wrote
> @MichaelAtOz: in the center= case in version 2015.03-1, 1 doesn't equate
> to true. Try:
> difference() {
>    cylinder(d=10, h=10, center=true);
>    cylinder(d=10, h=10, center=1);
> }
> 0 does equate to false:
> difference() {
>    cylinder(d=10, h=10);
>    cylinder(d=10, h=10, center=0);
> }

I'd say that-there is a bug.

Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/
View this message in context: http://forum.openscad.org/allowing-center-parameter-to-be-a-vector-of-booleans-tp12563p12568.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

More information about the Discuss mailing list