Creating a surface tessellation from points and radii
7 views (last 30 days)
Show older comments
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 Comments
Geoff
on 29 May 2012
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.
Answers (0)
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!