<div dir="ltr">OpenScad is unit-less and so is STL. It is tools downstream that determine what the units are.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 June 2016 at 16:35, Parkinbot <span dir="ltr"><<a href="mailto:rudolf@parkinbot.com" target="_blank">rudolf@parkinbot.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Another thing: OpenSCAD displays and exports in mm. To switch to inch you<br>
have to introduce a factor:<br>
<br>
inch = 25.4;<br>
<br>
pcbradin = 2.5*inch; // inside radius of cktboard<br>
pcbradout = 5.0*inch; // outside radius of cktboard<br>
pcbthin = 1/16*inch;  // thickness of circuit board<br>
pcbthick = 1/8*inch;  // thickness of the subtracted cylinder<br>
//render (convexity=1)<br>
difference()<br>
{<br>
color("red");<br>
echo ("first",pcbthin, pcbthick);<br>
color("red") cylinder(h=pcbthin,r=pcbradout,$fn=100, center = true);<br>
echo ("second",pcbthin, pcbthick);<br>
color("blue") cylinder(h=pcbthick+1 ,r=pcbradin,$fn=100,center=true);<br>
}<br>
color("blue") cube([pcbthick,pcbradin,5*inch], center=true);<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.openscad.org/Can-t-figure-out-how-to-draw-thin-cylinders-tp17841p17844.html" rel="noreferrer" target="_blank">http://forum.openscad.org/Can-t-figure-out-how-to-draw-thin-cylinders-tp17841p17844.html</a><br>
Sent from the OpenSCAD mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
OpenSCAD mailing list<br>
<a href="mailto:Discuss@lists.openscad.org">Discuss@lists.openscad.org</a><br>
<a href="http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org" rel="noreferrer" target="_blank">http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org</a><br>
</blockquote></div><br></div>