Extrude a ribbon/tube and fly through it!

Extrude a 2D curve along a 3D path to create tubes/ribbons and then fly though it

ダウンロード: 2.3K

更新 2016/9/1


Sweeps out a 2D cross section (a circle, square, whatever, doesn't even have to be a closed path) through a 3D curve, and returns the generated surface as [X,Y,Z] for use with SURF.
Also, as a fun option, it will fly through the path generated, which looks really cool if you have a fast computer and you maximize the figure. In the DEMO mode, the ROAD cross-section is my favorite. Try changing the colormap as well.


Teja Muppirala (2023). Extrude a ribbon/tube and fly through it! (https://www.mathworks.com/matlabcentral/fileexchange/25086-extrude-a-ribbon-tube-and-fly-through-it), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート

Updated license

Sorry, one more fix (this time it's really OK)

Fixed a minor bug...

I added an option to close off the ends. I also changed the order of the input arguments.

Made some minor corrections

Made a few minor changes in the algorithm