3d模型转换为gltf:将3d模型(STLIGESSTEPOBJFBX)转换为gltf和压缩-源码

上传者: 42148975 | 上传时间: 2021-04-21 21:35:32 | 文件大小: 23.89MB | 文件类型: ZIP
3DModelConvertToGltf-统一的模型格式转换工具 该项目的主要原因是,我遇到了需要在Web上显示STEP和IGES模型的情况,但是市场上的web3d类库不支持这种格式,并且用户直接上传的STL文件会显示出来。会消耗大量带宽或CDN流量,将其转换为压缩的gltf会更合适。 演示资产模型效果比较: 型号类型 文件路径 转换时间 原点大小 尺寸后 stl 资产/test.stl 2368.890毫秒 7.6兆字节 86 KB 伊格斯 资产/测试图 1641.226ms 1 M 111 KB stp 资产/test.stp 2969.200毫秒 5.1兆字节 217 KB fbx 资产/ Samba Dancing.fbx <1000ms 3.7兆字节 614 KB 支持输入格式: STL / IGES / STEP / OBJ / FBX 支持输出格式: GLTF / GLB 我将自己的想法整理成一个博客: PS:我的博客是用中文撰写的,如果您不是中文母语人士,则最好使用Google翻译工具。 项目状态:维护 文件 English | 任

文件下载

资源详情

[{"title":"( 50 个子文件 23.89MB ) 3d模型转换为gltf:将3d模型(STLIGESSTEPOBJFBX)转换为gltf和压缩-源码","children":[{"title":"3d-model-convert-to-gltf-master","children":[{"title":".gitignore <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"environment","children":[{"title":"docker-compose.yaml <span style='color:#111;'> 411B </span>","children":null,"spread":false}],"spread":true},{"title":"Dockerfile <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"server","children":[{"title":"setting.py <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"convert.py <span style='color:#111;'> 728B </span>","children":null,"spread":false},{"title":"routes.py <span style='color:#111;'> 609B </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"controller","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Convert.py <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"Convert.cpython-37.pyc <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"__init__.cpython-37.pyc <span style='color:#111;'> 164B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"exception","children":[{"title":"ValidateException.py <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"BaseException.py <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"ConvertException.py <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"db","children":[{"title":"__pycache__","children":[{"title":"redis.cpython-37.pyc <span style='color:#111;'> 440B </span>","children":null,"spread":false}],"spread":true},{"title":"redis.py <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"stl2gltf.py <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Convert.py <span style='color:#111;'> 5.76KB </span>","children":null,"spread":false},{"title":"File.py <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"GltfPipeline.py <span style='color:#111;'> 930B </span>","children":null,"spread":false}],"spread":true},{"title":"__pycache__","children":[{"title":"setting.cpython-37.pyc <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"__init__.cpython-37.pyc <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":"routes.cpython-37.pyc <span style='color:#111;'> 970B </span>","children":null,"spread":false},{"title":"main.cpython-37.pyc <span style='color:#111;'> 604B </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"app.yaml <span style='color:#111;'> 317B </span>","children":null,"spread":false}],"spread":false},{"title":"background.py <span style='color:#111;'> 1010B </span>","children":null,"spread":false},{"title":"main.py <span style='color:#111;'> 426B </span>","children":null,"spread":false},{"title":"validate","children":[{"title":"Convert.py <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"Base.py <span style='color:#111;'> 574B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"assets","children":[{"title":"test.stl <span style='color:#111;'> 7.23MB </span>","children":null,"spread":false},{"title":"test.stp <span style='color:#111;'> 4.82MB </span>","children":null,"spread":false},{"title":"Samba Dancing.fbx <span style='color:#111;'> 3.51MB </span>","children":null,"spread":false},{"title":"test.igs <span style='color:#111;'> 983.79KB </span>","children":null,"spread":false},{"title":"E 45 Aircraft_obj.obj <span style='color:#111;'> 1.26MB </span>","children":null,"spread":false},{"title":"textures","children":[{"title":"E-45_REF 1.jpg <span style='color:#111;'> 40.07KB </span>","children":null,"spread":false},{"title":"E-45 _col_3.jpg <span style='color:#111;'> 4.00MB </span>","children":null,"spread":false},{"title":"E-45_col_2.jpg <span style='color:#111;'> 445.41KB </span>","children":null,"spread":false},{"title":"E-45-nor_1.jpg <span style='color:#111;'> 4.04MB </span>","children":null,"spread":false},{"title":"E-45-steel detail_2_col.jpg <span style='color:#111;'> 156.99KB </span>","children":null,"spread":false},{"title":"E-45_glass_nor_.jpg <span style='color:#111;'> 344.21KB </span>","children":null,"spread":false},{"title":"E-45 _col.jpg <span style='color:#111;'> 8.87MB </span>","children":null,"spread":false}],"spread":true},{"title":"1583754967257.png <span style='color:#111;'> 68.31KB </span>","children":null,"spread":false},{"title":"E 45 Aircraft_obj.mtl <span style='color:#111;'> 637B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"convert.sh <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 9.88KB </span>","children":null,"spread":false},{"title":"README_ZH.md <span style='color:#111;'> 9.09KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • simon_zhangss :
    还不如看博客原文自己搭
    2021-09-24
  • yanxuezhilu :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-08-12

免责申明

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