Skip to content

shinobushiva/dxf-tiip-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Three-Dxf-TIIP

Three-Dxf-TIIP is a javascript viewer for dxf-tiip files. It takes dxf objects produced from Dxf-Parser and renders them using three.js.

For now we recommend cloning the repo, and starting with our sample. See Run Samples below.

Example of the viewer

Usage

<button id="open-dxf-tiip-view" url="dxf/sample.dxf">クリックして別ウィンドウでファイルを見る</button>
// See index.js in the sample for more details
<script src="dxf-tiip-view.js"></script>
<script>
DxfTiipView.set('#open-dxf-tiip-view', "dxf-tiip-view.html");
</script>

Run Samples

> cd sample
> bower install
> python -m http.server

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.

Contributors

stagesp1@gmail.com

About

DXF-TIIP View

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published