surf2stl

버전 1.0.0.0 (1.51 KB) 작성자: Bill McDonald
Write STL file from surface data.
다운로드 수: 24.5K
업데이트 날짜: 2004/2/24

라이선스 없음

편집자 메모: This file was selected as MATLAB Central Pick of the Week

SURF2STL Write STL file from surface data.
SURF2STL('filename',X,Y,Z) writes a stereolithography (STL) file
for a surface with geometry defined by three matrix arguments, X, Y
and Z. X, Y and Z must be two-dimensional arrays with the same size.

SURF2STL('filename',x,y,Z), uses two vector arguments replacing
the first two matrix arguments, which must have length(x) = n and
length(y) = m where [m,n] = size(Z). Note that x corresponds to
the columns of Z and y corresponds to the rows.

SURF2STL('filename',dx,dy,Z) uses scalar values of dx and dy to
specify the x and y spacing between grid points.

SURF2STL(...,'mode') may be used to specify the output format.

'binary' - writes in STL binary format (default)
'ascii' - writes in STL ASCII format

Example:

surf2stl('test.stl',1,1,peaks);

See also SURF.

Author: Bill McDonald, 02-20-04

인용 양식

Bill McDonald (2024). surf2stl (https://www.mathworks.com/matlabcentral/fileexchange/4512-surf2stl), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 STL (STereoLithography)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0