<div class="gmail_quote">On Thu, Apr 15, 2010 at 12:46 PM, Jothybasu K Selvaraj <span dir="ltr"><<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">Hi all,<br><br>Is there any example on the wiki or does anyone know how to create basic sahpes like square/rectangle/circle using polydata?<br><br>Thanks,<br><br>Jothy<br></div><div dir="ltr"><br></div>
</blockquote></div><div><br></div>Yep, create a 3d object and then cut it:<div><br><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Circle">http://www.vtk.org/Wiki/VTK/Examples/Circle</a></div><div><br></div><div>Sphere -> cut -> circle</div>
<div>Cube -> cut -> square</div><div><br></div><div>Thanks,<br><br>David</div></div>