[vtkusers] Draw an object using millimeter as unit

沈庄明 zhuangming.shen at sphic.org.cn
Mon Nov 21 01:12:41 EST 2016


Hi all,


If I want to draw an object (e.g. cone) using millimeter as unit, not the screen units. How can I do that? Specifically, whether the codes below specify a 10-millimeter-high cone? Thanks in advance.


import vtk

cone = vtk.vtkConeSource()

cone.SetHeight(10)

cone.Update()



Regards,


Zhuangming Shen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161121/f105a913/attachment.html>


More information about the vtkusers mailing list