MFC+OpenGL实现STL文件的读取与显示--更新博主Belence_Zhao的代码/添加了多stl文件合并的python代码

上传者: 32856147 | 上传时间: 2019-12-21 20:40:57 | 文件大小: 376KB | 文件类型: zip
参考博客:https://blog.csdn.net/Belence_zhao/article/details/80323009
MFC+OpenGL三维绘图(二)——打开一个STL文件并显示 -博主Belence_Zhao
由于博主发的源代码有乱码,因此本人参考这篇博客https://blog.csdn.net/Cracent/article/details/51049246
Opengl教程之读取stl文件并绘制在picturecontrol控件内 -博主Cracent
将两个工程中代码做了拼凑,可以正常使用!
要显示其他stl文件 只需要修改OpenGLDrawingView.cpp文件 125行和129行的stl文件路径 .stl和.txt都可以读取
多个stl文件拼接的python代码 为OpenGLDrawing文件夹中的test.py

文件下载

资源详情

[{"title":"( 35 个子文件 376KB ) MFC+OpenGL实现STL文件的读取与显示--更新博主Belence_Zhao的代码/添加了多stl文件合并的python代码","children":[{"title":"OpenGLDrawing - 副本","children":[{"title":".vs","children":null,"spread":false},{"title":"OpenGLDrawing.sln <span style='color:#111;'> 985B </span>","children":null,"spread":false},{"title":"先看这里!!!!!!!!!!!!!.txt <span style='color:#111;'> 587B </span>","children":null,"spread":false},{"title":"OpenGLDrawing.v12.suo <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"OpenGLDrawing","children":[{"title":"OpenGLDrawing.vcxproj.user <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"OpenGLDrawing.aps <span style='color:#111;'> 100.87KB </span>","children":null,"spread":false},{"title":"OpenGLDrawingView.cpp <span style='color:#111;'> 11.99KB </span>","children":null,"spread":false},{"title":"OpenGLDrawingView.h <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"STL_generation","children":[{"title":"机械臂 - 爪-1 零件3-3.STL <span style='color:#111;'> 144.85KB </span>","children":null,"spread":false},{"title":"机械臂 - 爪-1 连接5-2.STL <span style='color:#111;'> 55.26KB </span>","children":null,"spread":false},{"title":"机械臂 - 爪-1 零件2-1.STL <span style='color:#111;'> 991.83KB </span>","children":null,"spread":false},{"title":"机械臂 - 爪-1 零件4-2.STL <span style='color:#111;'> 222.76KB </span>","children":null,"spread":false},{"title":"机械臂 - 爪-1 连接3-2.STL <span style='color:#111;'> 46.42KB </span>","children":null,"spread":false},{"title":"机械臂 - 爪-1 连接5-3.STL <span style='color:#111;'> 55.26KB </span>","children":null,"spread":false},{"title":"机械臂 - 爪-1 零件1.1-1.STL <span style='color:#111;'> 469.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"OpenGLDrawing.h <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"MainFrm.h <span style='color:#111;'> 669B </span>","children":null,"spread":false},{"title":"model.txt <span style='color:#111;'> 346.72KB </span>","children":null,"spread":false},{"title":"OpenGLDrawing.cpp <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"OpenGLDrawingDoc.h <span style='color:#111;'> 889B </span>","children":null,"spread":false},{"title":"MainFrm.cpp <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"STL_generation.txt <span style='color:#111;'> 1.94MB </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 497B </span>","children":null,"spread":false},{"title":"OpenGLDrawing.vcxproj.filters <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"OpenGLDrawingDoc.cpp <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"OpenGLDrawing.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false},{"title":"OpenGLDrawingDoc.ico <span style='color:#111;'> 4.60KB </span>","children":null,"spread":false},{"title":"Toolbar.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"OpenGLDrawing.rc2 <span style='color:#111;'> 682B </span>","children":null,"spread":false}],"spread":false},{"title":"OpenGLDrawing.vcxproj <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false},{"title":"OpenGLDrawing.rc <span style='color:#111;'> 10.62KB </span>","children":null,"spread":false},{"title":"STL_generation.py <span style='color:#111;'> 968B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明