[Paraview] Suggestion for STL import
Eugene de Villiers
e.devilliers at engys.com
Tue Jul 5 10:28:25 EDT 2016
Hi,
When importing STL format geometry or similar, where connectivity information is not implicit in the data structure, it appears that the connectivity is reconstructed via an octree search. This is very inefficient when surfaces with large differences in edge length are imported – we have had a recent case where an STL took 45mins to load. If the same input geometry is converted to OBJ format via an external tool, the load time reduces to minutes.
A generally more efficient method is to calculate the distance of each point from a location outside the point cloud bounding box and then to bubble-sort the resulting list. Unless you are dealing with a pathological case your local search neighbourhood of identical distance points will be small and the algorithm very fast. More complex, multi-origin algorithms are also possible to counter pathological instances.
I can provide more details and sample code if you are interested.
Best regards,
Eugene de Villiers
Managing Director
e.devilliers at engys.com<mailto:e.devilliers at engys.com>
Mob: +44 (0) 77 89748490
Tel: +44 (0)20 32393041 (ext. 102)
Fax: +44 (0)20 33573123
[logo_red-black_fonts_signature]<http://www.engys.com/>
This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160705/a8aab155/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2215 bytes
Desc: image001.png
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160705/a8aab155/attachment.png>
More information about the ParaView
mailing list