<div dir="ltr"><div class="gmail_default" style="font-size:x-small"><div class=""><img class="" id=":21j" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div><div class="gmail_default" style="font-size:x-small">

I'm
 trying to write code to let me import and manipulate openscad objects 
in blender so I can use python instead of openscad to work on stuff.  So
 far I have a few questions.<br>
<br></div><div class="gmail_default" style="font-size:x-small">I'm 
assuming since openscad uses mm for it's units I need to div all values 
by 1000 to get things scaled correctly in blender or is there some api 
call to set the measurement system?<br>
<br></div>So far 
openscad primitives like cube and sphere have mapped pretty closely to 
stuff in bpy.ops.mesh.primitive, however the openscad cylinder primitive
 allows specifying the top/bottom radius of the cylinder in order to 
make one that is tapered and I'll be damned if I can figure out how to 
do that in blender using python.</div></div>