- 전체
- HTML
- Web Design (웹디자인)
- XE 응용 개발
- wordpress plugin dev
- Javascript & JavaScript Application
- MEAN Stack : full stack javascript
- angular js & ionic framework
- bootstrap
- WebGL, Three.js and Babylon.js
- restful api design
- mobile web
- node.js 응용
- Cloud Service 응용
- 웹 어셈블리 개발 [WASM, WebAssembly]
- 마이크로서비스, MSA (microservice architecture)
- WebGL / WebGPU
- next.js 개발
- micro frontend (마이크로프론트앤드)
- 전자상거래/쇼핑몰
- 서버 클라우드 (aws, azure, google)
JavaScript Three.js로 AutoCad DXF 모델 출력 : Three-Dxf
2017.04.27 20:03
Three.js로 AutoCad DXF 모델 출력 : Three-Dxf
Three-Dxf is a javascript viewer for dxf files. It takes dxf objects produced from Dxf-Parser and renders them using three.js.
three-dxf-master.zip
Install
bower install three-dxf
For now we recommend cloning the repo, and starting with our sample. See Run Samples below.
Usage
// See index.js in the sample for more details
var parser = new window.DxfParser();
var dxf = parser.parseSync(fileReader.result);
cadCanvas = new ThreeDxf.Viewer(dxf, document.getElementById('cad-view'), 400, 400);
Run Samples
> cd sample
> bower install
> npm install -g http-server
> http-server .
# use `http-server -c-1 .` to prevent caching
After performing the steps above, you can see the example at localhost:8080. You can use the dxf file included in the sample.
Note that the sample contains some three.js extras for Text support. If you wish to view text in DXF files, you will need those extras.
Supported DXF Features
Supports:
- Header
- Most LW entities (lines, polylines, circles, etc)
- Layers
- Some support for line types
- Simple Text
- Viewport
Does not yet support:
- Attributes
- 3DSolids
- All types of Leaders
- MText
- other less common objects and entities.
Contributors
본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
댓글 0
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
|---|---|---|---|---|
| 7 | Embedding Shiny Graphics into a WordPress Post | 졸리운_곰 | 2018.11.18 | 525 |
| 6 | 간단한 워드프레스 숏코드 만드는 방법 총정리 | 졸리운_곰 | 2018.09.01 | 719 |
| 5 |
워드프레스 숏코드: 완벽 가이드
| 졸리운_곰 | 2018.09.01 | 584 |
| 4 |
워드프레스 플러그인 만들기
| 졸리운_곰 | 2018.04.29 | 674 |
| 3 |
WP (워드프레스) 플러그인 만들기
| 졸리운_곰 | 2018.02.25 | 806 |
| 2 |
워드프레스 초보자를 위한 플러그인 만들기
| 졸리운_곰 | 2016.11.20 | 516 |
| 1 | 워드프레스 플러그인 개발 | 졸리운_곰 | 2016.11.20 | 794 |


