>> the sections about Special variables should answer this question:
>>
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Other_Language_Features>>
>
> I think I understand the section about special variables but I can't get any
> resolution above this:
you can either set the number of faces directly by doing this:
$fn=100;
cylinder(h = 10, r = 20, center = true);
or more elegant:
cylinder(h = 10, r = 20, center = true, $fn=100);
or you can use the combination of $fs and $fa ($fs is in mm and $fa in degrees):
$fs=0.5;
$fa=5;
cylinder(h = 10, r = 20, center = true);
greetings
Philipp
--
:: Philipp Tiefenbacher
:: custom electronics/magic
::
http://www.wizards23.netAny sufficiently advanced technology is indistinguishable from magic
--Arthur C. Clarke