필터 지우기
필터 지우기

Apollo Capsule 3D Model

조회 수: 5 (최근 30일)
Fredrick_jong
Fredrick_jong 2013년 3월 13일
Hi,
I am trying to model the Apollo Space capsule as a 3D shape in MATLAB but I am unsure of how to even begin doing so. If any one could possibly point me in the right direction, that would be very much appreciated. Many thanks in advance!
  댓글 수: 1
Cedric
Cedric 2013년 3월 16일
You could try to ask the person who started this thread: http://www.mathworks.com/matlabcentral/answers/59039-trouble-with-finding-appropriate-conditions-for-logic where he found his model.

댓글을 달려면 로그인하십시오.

답변 (1개)

ChristianW
ChristianW 2013년 3월 13일
doc patch
Depending on your model complexity, you could use 3D CAD software and save as *.stl. There's a function called rndread, converting stl to patch input.
  댓글 수: 7
resh
resh 2013년 3월 18일
Thank you. That looks very much like what I am expecting it to. I have a question. How did you approximate those values to get a shape as such? If you let me know the method that you used, then I could approximate the values for myself. Thanks once again.
ChristianW
ChristianW 2013년 3월 18일
I made the shape with ginput and polyfit, but thats fast and dirty.
axes; disp('Define shape with 20 Mouseclicks or press Return.')
[x,y] = ginput(20);
plot(x,y,'.k'), hold on
p = polyfit(x,y,6);
X = linspace(0,1,100);
Y = polyval(p,X); % roots(p) for the Polynomial roots
plot(X,Y,'r'); axis([0 1 0 1])
As I said, you should use the exact profile form. That is like a big circle than a small circle, a straight line and a small circle. At each transition the gradients are the same.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 STL (STereoLithography)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by