dxf-viewer
Advanced tools
Comparing version 1.0.22 to 1.0.23
{ | ||
"name": "dxf-viewer", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"description": "JavaScript DXF file viewer", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -1,2 +0,2 @@ | ||
# DXF viewer | ||
# DXF viewer [![npm](https://img.shields.io/npm/v/dxf-viewer)](https://www.npmjs.com/package/dxf-viewer) | ||
@@ -13,8 +13,2 @@ *If you just need to view your DXF, [click here](https://vagran.github.io/dxf-viewer-example/).* | ||
The package is released under the Mozilla Public License 2.0. | ||
*The viewer was initially published in the | ||
[corporate repository](https://github.com/ugcs/ugcs-dxf-viewer) (mostly dead now) and is used in | ||
production in [Atlas](https://atlas.ugcs.com) project.* | ||
## Install | ||
@@ -70,2 +64,3 @@ | ||
processed. | ||
* Paper space, layouts (sheets), viewports. | ||
* Many less commonly used DXF features. | ||
@@ -85,1 +80,10 @@ | ||
issue report with sample files rather than a pull request. | ||
## License | ||
This project is licensed under the terms of the | ||
[Mozilla Public License 2.0](https://choosealicense.com/licenses/mpl-2.0/). | ||
## Donations | ||
Want to say thanks to the project maintainer? Here is the link: [![Donate](https://img.shields.io/static/v1?label=Donate&message=PayPal&color=orange&logo=paypal)](https://www.paypal.com/donate?business=artyom.lebedev@gmail.com&no_recurring=0&item_name=To+support+`dxf-viewer`+project+maintenance.+Thank+you!¤cy_code=EUR) |
@@ -43,12 +43,12 @@ | ||
case 71: // polyface mesh vertex index | ||
entity.faceA = curr.value; | ||
entity.faces = [curr.value]; | ||
break; | ||
case 72: // polyface mesh vertex index | ||
entity.faceB = curr.value; | ||
entity.faces[1] = curr.value; | ||
break; | ||
case 73: // polyface mesh vertex index | ||
entity.faceC = curr.value; | ||
entity.faces[2] = curr.value; | ||
break; | ||
case 74: // polyface mesh vertex index | ||
entity.faceD = curr.value; | ||
entity.faces[3] = curr.value; | ||
break; | ||
@@ -55,0 +55,0 @@ default: |
@@ -65,3 +65,3 @@ import {DxfScene, Entity} from "./DxfScene" | ||
this.options = Object.create(DxfScene.DefaultOptions) | ||
this.options = Object.create(TextRenderer.DefaultOptions) | ||
if (options) { | ||
@@ -68,0 +68,0 @@ Object.assign(this.options, options) |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
318016
8284
87