Creating a surface tessellation from points and radii
7 次查看(过去 30 天)
显示 更早的评论
Hello, thanks for reading this,
Using your help I managed to build my binary tree very well. I managed to write my MATLAB writers and readers and much of my parser on my own as a result.
For the record, the data I have now is point and connectivity data, along with the radius for each connection. It is not inherently cylindrical, but is implied to be cylindrical. Here is a OpenGL screenshots of my lines and connections: http://imgur.com/gfslR
Now something I would like to do is tessellate my cylindrical data so I can export it as a STL. I checked online, and saw there were STL writers for surfaces, so would the best way for me to go about this is to try to convert it to a series of cylinder surfaces, then use this to export the surfaces as a single STL?
In the meantime, I will explore with the NURBS toolbox to see if I can create a network of clinders from my data.
Thank you for your help!
2 个评论
Geoff
2012-5-29
Do you need to create a continuous surface as opposed to just a bunch of disjointed cylinders? If your angles are small, it's usually enough to simply calculate a cylinder around each line and join it to the next, using nothing but triangles. Is this essentially what you are trying to do? It gets a bit complicated when you branch, but I'm sure there would be a reasonable simplification given that the branching is always binary.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!