dxf-viewer
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "dxf-viewer", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "JavaScript DXF file viewer", | ||
@@ -18,3 +18,3 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"three": "^0.125.1", | ||
"three": "^0.125.2", | ||
"loglevel": "^1.7.1", | ||
@@ -21,0 +21,0 @@ "opentype.js": "^1.3.3" |
@@ -51,8 +51,9 @@ import {DynamicBuffer, NativeType} from "./DynamicBuffer" | ||
async Build(dxf, fontFetchers) { | ||
const header = dxf.header || {} | ||
/* 0 - CCW, 1 - CW */ | ||
this.angBase = dxf.header["$ANGBASE"] || 0 | ||
this.angBase = header["$ANGBASE"] || 0 | ||
/* Zero angle direction, 0 is +X */ | ||
this.angDir = dxf.header["$ANGDIR"] || 0 | ||
this.pdMode = dxf.header["$PDMODE"] || 0 | ||
this.pdSize = dxf.header["$PDSIZE"] || 0 | ||
this.angDir = header["$ANGDIR"] || 0 | ||
this.pdMode = header["$PDMODE"] || 0 | ||
this.pdSize = header["$PDSIZE"] || 0 | ||
@@ -59,0 +60,0 @@ if(dxf.tables && dxf.tables.layer) { |
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
8017148
6447
Updatedthree@^0.125.2