24小时热门版块排行榜    

查看: 600  |  回复: 8
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

张轩中

铜虫 (小有名气)

[交流] 【求助】matlab画的双曲线,能不能存成stl文件格式?【已解决】

有人知道这个吗?

matlab画的双曲线,能不能存成stl文件格式?

谢谢了

[ Last edited by nono2009 on 2010-4-1 at 12:55 ]
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

张轩中

铜虫 (小有名气)

引用回帖:
Originally posted by gnss09 at 2010-04-01 10:04:01:
下载***.m 文件, 放到目录 matlab\work\ 下

好的  明白了  谢谢!~~~~~~~~~
9楼2010-04-01 10:22:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

uiui

新虫 (小有名气)

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
nono2009(金币+1):鼓励应助! 2010-03-31 13:00
好像没有内部函数直接转换,但有别人写的程序可用。如:

http://www.mathworks.com/matlabcentral/fileexchange/4512
硕三年,博三年,转眼已到而立年; 房没有,车没有,今朝醉饮明朝酒。 横批:醉(最)想毕业
2楼2010-03-31 10:36:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

张轩中

铜虫 (小有名气)

引用回帖:
Originally posted by uiui at 2010-03-31 10:36:37:
好像没有内部函数直接转换,但有别人写的程序可用。如:

http://www.mathworks.com/matlabcentral/fileexchange/4512

谢谢
这段程序是什么语言写的呢????

Description 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
3楼2010-03-31 11:33:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

gnss09

银虫 (初入文坛)

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
nono2009(金币+1):鼓励应助! 2010-03-31 13:00
matlab 写的
matlab 中运行SURF2STL 这个函数应该就可以了
4楼2010-03-31 11:59:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见