dxf-viewer
Advanced tools
Comparing version 1.0.18 to 1.0.19
{ | ||
"name": "dxf-viewer", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "JavaScript DXF file viewer", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -5,4 +5,4 @@ # DXF viewer | ||
This package provides DXF 2D viewer component written in JavaScript. It renders drawings using WebGL | ||
(via [three.js](https://threejs.org) library). It was carefully crafted with performance in mind, | ||
This package provides DXF 2D viewer component written in JavaScript. It renders drawings using WebGL | ||
(via [three.js](https://threejs.org) library). It was carefully crafted with performance in mind, | ||
intended for drawing huge real-world files without performance problems. | ||
@@ -17,3 +17,3 @@ | ||
*The viewer was initially published in the | ||
[corporate repository](https://github.com/ugcs/ugcs-dxf-viewer) (mostly dead now) and is used in | ||
[corporate repository](https://github.com/ugcs/ugcs-dxf-viewer) (mostly dead now) and is used in | ||
production in [Atlas](https://atlas.ugcs.com) project.* | ||
@@ -32,3 +32,3 @@ | ||
does not affect UI responsiveness. The example above demonstrates this technique. | ||
* Geometry batching - minimal number of rendering batches is created during file processing, thus | ||
* Geometry batching - minimal number of rendering batches is created during file processing, thus | ||
minimizing total required number of draw calls. | ||
@@ -38,10 +38,10 @@ * Instanced rendering - features which are rendered multiple times with different transforms (e.g. | ||
* Multiple fonts support. List of fonts can be specified for text rendering. Raw TTF files are | ||
supported. Fonts are lazy-loaded, once a character encountered which glyph is not yet available | ||
supported. Fonts are lazy-loaded, once a character encountered which glyph is not yet available | ||
through already loaded fonts, next font is fetched and checked for the necessary glyph. | ||
* Layers - layers are taken into account when creating rendering batches so that they can be easily | ||
hidden/shown. | ||
## Incomplete features | ||
There are still many incomplete features. I will try to implement some of them when I have some | ||
There are still many incomplete features. I will try to implement some of them when I have some | ||
time. Anything useful implemented in the corporate repository will be merged here as well. | ||
@@ -55,3 +55,2 @@ | ||
DXF style and font attributes are ignored. Text glyphs are always rendered infilled. | ||
* [Special characters](https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/AutoCAD-Core/files/GUID-518E1A9D-398C-4A8A-AC32-2D85590CDBE1-htm.html) in text. | ||
* Advanced formatting support for MTEXT (fonts, coloring, stacking). | ||
@@ -66,4 +65,2 @@ * Line patterns - all lines are rendered in continuous style for now. I am going to use 1-D texture | ||
* Hatching | ||
* Infilled polygons - everything is drawn with outlines now. | ||
* Projected 3D mesh rendering (3DFACE entities). | ||
* Block instancing in a grid. Grid attributes are ignored now. | ||
@@ -74,3 +71,3 @@ * Dimensions | ||
parameter is ignored. | ||
* Full OCS support. Currently, it is assumed that entity extrusion direction is either +Z or -Z | ||
* Full OCS support. Currently, it is assumed that entity extrusion direction is either +Z or -Z | ||
(which is commonly used for features mirroring in CAD). Arbitrary directions is not properly | ||
@@ -77,0 +74,0 @@ processed. |
Sorry, the diff of this file is too big to display
286580
7443
71