# Iges importer for THREE.js
## Hello fellow interweb dwellers!
I've been an open source lurker and taker for years, this is my first real attempt to give something back. I've been working on some THREE.Js projects lately and have found the need to import some iges (sometiemes igs) data into my applications. The .iges (sometimes .igs, or .IGS if you are on windows 95) file format has been around forever. IGES stands for Initial Graphics Exchange Specification. I must be losing my googlefoo because I haven't been able to find any libraries that can take a raw iges file and generate the relevant THREE.Js elements. There are some libraries available in Python and C++, but I figured I'd start from scratch. In case you are intersted the latest spec (5.3) was released in 1996, it can be found here. It's only 650 pages!
https://shocksolution.files.wordpress.com/2017/12/iges5-3_fordownload.pdf
If you haven't used THREE.Js you are really missing out, it makes you look like a super hero by creating seriously professional 3D graphics without having to get to close to the metal.
https://threejs.org/
Also have to plug an awesome THREE.Js course available here. It is WELL worth the price of admission! Thanks, Bruno ;)
https://threejs-journey.xyz/
There are newer formats like stp (STEP), but they often require a special license to export (at least from Catia). For fairly simple wireframe geometry iges is the ticket. It is well supported among almost all CadCam systems, so it is still a format of choice when interoperating between systems.
Here's a picture of my dogs just to keep y'all interested:
![](https://lh3.googleusercontent.com/K9qUpP65-bqOZCJS4MGsAaHkU9YPvkWNvK3Ed02Vz7N6gKQ001xlaVJVRN3B5ZxhSLYMtlve-oolKaf6jA3pN_OxKU6KktRq9EaDPzw4RnRcw8cy5TYjHFTz77iqHt8oFQz1iyhyRtnWtIgDxiW2Wrx3i5yTGOnekHfStjAgpBVQ1ZbcC3N4sxk7msRw8EAmalDe6SyI6XF6XH0Tuqi48aX9mL5GvgYZR_ifpEgIFGtz0hHO5L_yHY24Yz_PMeybkzyiU6o6fdpq9Uf2p8VOPutaZfJ0tupMB8uD7sMsaVMU6COQGWTScEBDI2igo7TqNbhQWR30w4DRlhIcs7__xtB3OYFu1eeKeA8qXrDQBQSPTdaMdFGh-eUNK7jsoJ1AZzlhkjIMMEgCmJT-bu7TqZJzD6zsM5hyYSTS27W3jzHgKXOyGt6H64ACOyOLcmPPRcVVyj1etK-mcWkLUXdnjbP2CJpeJ2Ds7G3iJv0cI5dC6D_xXOtEmeVuUuznJUDtG7ZGQpqB8a9I31aKT2X1EaJgxBXlP43rYAPZ8i3VkJSXjw12fa82BFoa3oYs5oG8H-brzuRt5qFVLGhOqVOXUK1GP_-tDy8vPf6_mgAMTzqE-ZVZM0iBMo6JAxxm_NXCY_t5zhO2qCqup2Og-O3DuCPIG1Y37FvLfmfUtvtBId2LgTLyegGOvB6sUPPp-0MLDhVDM2_7aSc1oJjKUsoNyss4=w2279-h1283-no?authuser=0)
and can't leave out my chickens:
![](https://lh3.googleusercontent.com/pw/ACtC-3fEEYVj_h58QbfUbn3gb59iVlxqGMNnAW448wZk5rAgwMVtcMsOvvhXYq03XiuTTlpeb-hxcCEAWhHr1XoTkkzvCOblInYz0pCJPvTWVMRppmH3JkO-p3IHpWD_3n1g2K_WZheH7n-eCTPj-Corn4CRQA=w2273-h1944-no)
# built on Vite and Typescript
Vite is just awesome, you can't beat the minimalist configuration (check out the size of the vite.config file).
Haha, did you go looking for it? There isn't one, sweet defaults ftw! Not that I actually know anything, but the node_modules directory seems much lighter than other build tools/frameworks. How long did that npm install take? If you think that was cool, wait till you see how fast the initial dev build is! The hot reloads are equally life altering.
## Setup
```bash
# Install dependencies (only the first time)
npm install
# Run the local server at localhost:3400
npm run dev
# Build for production
npm run build
```
# Stay Tuned!
Famouse last words, I'm sure. As of this writing, I'm just gettig through the parsing phase. I will most likely only have the basic wireframe entities working anytime soon.
没有合适的资源?快使用搜索试试~ 我知道了~
iges-three:用于THREE.js的IGES导入器(正在开发中)
共16个文件
ts:6个
json:3个
gitignore:1个
5星 · 超过95%的资源 需积分: 50 5 下载量 157 浏览量
2021-03-28
05:47:25
上传
评论 1
收藏 15KB ZIP 举报
温馨提示
用于THREE.js的Iges进口商 网友们大家好! 我多年来一直是开源潜行者和接受者,这是我第一次真正尝试回馈。 我最近一直在进行一些TH.Js项目,发现需要将一些iges(sometiemes igs)数据导入到我的应用程序中。 .iges(有时是.igs,如果您使用的是Windows 95,则是.IGS)文件格式已经存在很长时间了。 IGES代表“初始图形交换规范”。 我一定会迷失googlefoo,因为我找不到任何可以提取原始iges文件并生成相关THREE.Js元素的库。 有一些可用的Python和C ++库,但我认为我将从头开始。 如果您对1996年发布的最新规范(5.3)感兴趣,可以在这里找到。 只有650页! 如果您还没有使用过3J,那么您真的会迷失方向,它通过创建认真的专业3D图形而不用接近金属来使您看起来像超级英雄。 还必须插入一个很棒的THREE.Js课程。 非
资源详情
资源评论
资源推荐
收起资源包目录
iges-three-master.zip (16个子文件)
iges-three-master
main.ts 425B
index.html 918B
src
iges-spec.ts 6KB
ui.ts 2KB
iges-record.ts 3KB
iges-entity.ts 2KB
iges-main.ts 2KB
favicon.svg 1KB
tsconfig.json 334B
LICENSE 1KB
.prettierrc 204B
.gitignore 44B
readme.md 3KB
package-lock.json 13KB
style.css 3KB
package.json 360B
共 16 条
- 1
马克维
- 粉丝: 33
- 资源: 4643
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1