{"repo":"ieskudero/three-dxf-viewer","free":true,"listed":false,"github":"https://github.com/ieskudero/three-dxf-viewer","clone":"git clone https://github.com/ieskudero/three-dxf-viewer.git","description":"DXF viewer using ThreeJS","language":"JavaScript","stars":158,"topics":["cad","dxf","three","three-js","threejs","viewer"],"license":"MIT","category":"game-templates","readme_excerpt":"DXF Viewer DXF viewer made using dxf parser, threejs and rtf.js. It generates a threejs object that can be used in any scene. It also has some utility classes: Select Hover Snap Merger Try Online You can try it here Installation Example To use it just initialize the main class and launch getFromFile or getFromPath methods. More examples can be found in the example folder on github. Properties The viewer has some properties that can be used to customize the scene: Layer It shows the layers of the DXF file. It can be used to hide or show layers in the scene. For more information check the layer example in the example folder. Unit It shows the system unit of the DXF file. It can be compared with the UNITS object to obtain a descriptive name. Default Text Height It sets the default text height fro text entities that doesn't have height specified. Default Text Scale It sets the default text scale for the DXF file (Default 1). It changes all the texts heights in the DXF file. Cache The viewer doesn't cache geometries by default, but this can be changed to cache it and reuse geometry the second time a model is loaded Controls The class CADControls can be used to add controls to the scene, instead of Select and Hover classes. Utilities There are 4 utilities that can be used optionally with the viewer: Merger By default the viewer will merge Block entities. however, it is possible to merge all entities to optimize drawing big DXF files. Selection The select class can be used to select","default_branch":null,"files":null,"tree":[],"storefront":"/r/ieskudero","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ieskudero/three-dxf-viewer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}