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

MichaelAtOz oz.at.michael at gmail.com
Mon May 4 01:43:17 EDT 2015


Workaround

translate([0,20,0])
	cylinder(d=10,h=10, center=!!0);
translate([0,-20,0])
	cylinder(d=10,h=10, center=!!1);



-----
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-tp12563p12572.html
Sent from the OpenSCAD mailing list archive at Nabble.com.




More information about the Discuss mailing list