使用three.js导入.step文件 [英] import .step file with three.js

查看:168
本文介绍了使用three.js导入.step文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想导入一个文件.step"以便与 Three.js 一起使用,但我不知道该怎么做

我没有找到任何主题,只有第一步,第二步"

有人可以帮我吗?

解决方案

node-occ 不是一个可行的选择,因为它缺少 OCE-0.13.你必须下载 OCE-0.14 并构建它真的不是一个好的选择.OpenCascade 很好,但需要你用 C++ 构建一个 .NET 库,这不是很好的文档,因为他们想尝试向你出售他们的.我没有尝试过 PythonOCC,因为它是 Python,使用 .NET 设置可能有点困难

I would like to import a file ".step" to use it with Three.js but I don't know how to do it

I didn't found any topic, only "first step, second step "

Any one could help me please ?

解决方案

node-occ is not a viable option as it is missing OCE-0.13. You have to download OCE-0.14 and build it really not a good option. OpenCascade is good but requires you build an .NET Library in C++ this is not well documented as they want to try and sell you theirs. I have not tried PythonOCC as it is python and can be a bit hard to set up using .NET I am looking for more resources but have not found any your best bet is to build your own using the STEP reading technology.

这篇关于使用three.js导入.step文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆