2D to 3D extrusion
古いコメントを表示
After creating a polyshape from a set of input vertices (x,y) using the polyshape function, I need to extrude and plot the shape (with z value) such that it becomes 3D. Is there any available functions to do that? if not please help me in developing the next lines of code to do so.
The following is the simple way in which I wrote the starting lines of code upto creating a 2D polygon.
clc; clear;
[x y] = ginput(5);
plot(x,y,'r*');
hold on
p1 = polyshape(x,y)
plot(p1)
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Polygonal Shapes についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!