<div dir="ltr">I´m need to translate a STL. The code is below.<br><div><br></div><div><div>vtkSTLReader *sr = vtkSTLReader::New();</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>sr->MergingOn();</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>sr->SetFileName(fileName.toLatin1());</div><div><br></div><div>When i use bounds = sr->GetOutput()->GetBounds(); in some files the bounds are negative and i want to the bounds have always the same origin (0,0,0).</div>
<div><br></div><div>I appreciate some help...</div><div><br></div><div>Best Regards,</div><div><br></div><div><br></div><div>--</div><div>Arnaldo Luis Lixandrão Filho<br></div>----------------------------------------------------------------------------------------------------<br>
Centro de Tecnologia da Informação Renato Archer - CTI<br>Divisão para Desenvolvimento de Produtos - DDP<br>Rod. SP 65 km 143,6 – Campinas/SP<br>CEP: 13069-901 - Amarais<br>Fone: (19) 3746-6231 / Fax: (19) 3746-6204<br>Site: <a href="http://www.cenpra.gov.br/promed">http://www.cenpra.gov.br/promed</a><br>
skype/voipraider: arnaldo.fisica<br>----------------------------------------------------------------------------------------------------<br>
</div></div>