3d-model-convert-to-gltf icon indicating copy to clipboard operation
3d-model-convert-to-gltf copied to clipboard

请教

Open helei123 opened this issue 3 years ago • 2 comments

我获取了模型的树结构,怎么和gltf里面的nodes节点对应?

helei123 avatar Jun 30 '21 01:06 helei123

是什么格式的模型呢,如果是 fbx 或者 obj 的话是能对应的,STEP 和 IGES 这种通过 stl 中转的模型,由于转换压缩,会导致 nodes 丢失。

wangerzi avatar Jun 30 '21 07:06 wangerzi

catia导出的3dxml格式,我已经获取特征树的节点关系。我的思路是通过节点生成树。根据节点的直接child确定gltf里面nodes children的个数,根据节点的所有child确定gltf里面nodes children的值。叶子节点是mesh,其他节点就是children.有没有简单的方法?

------------------ 原始邮件 ------------------ 发件人: "wangerzi/3d-model-convert-to-gltf" @.>; 发送时间: 2021年6月30日(星期三) 下午3:29 @.>; @.@.>; 主题: Re: [wangerzi/3d-model-convert-to-gltf] 请教 (#7)

是什么格式的模型呢,如果是 fbx 或者 obj 的话是能对应的,STEP 和 IGES 这种通过 stl 中转的模型,由于转换压缩,会导致 nodes 丢失。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

helei123 avatar Jun 30 '21 08:06 helei123