Socket
Socket
Sign inDemoInstall

dxf-viewer

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dxf-viewer - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

2

package.json
{
"name": "dxf-viewer",
"version": "1.0.10",
"version": "1.0.11",
"description": "JavaScript DXF file viewer",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -61,2 +61,3 @@ # DXF viewer

* Infilled polygons - everything is drawn with outlines now.
* Projected 3D mesh rendering (3DFACE entities).
* Block instancing in a grid. Grid attributes are ignored now.

@@ -63,0 +64,0 @@ * Dimensions

@@ -1465,9 +1465,9 @@ import {DynamicBuffer, NativeType} from "./DynamicBuffer"

const mInsert = new Matrix3().translate(-this.origin.x, -this.origin.y)
let yScale = entity.yScale || 1
const xScale = entity.xScale || 1
const yScale = entity.yScale || 1
let xScale = entity.xScale || 1
const rotation = -(entity.rotation || 0) * Math.PI / 180
let x = entity.position.x
const y = entity.position.y
if (entity.zScale < 0) {
yScale = -yScale
let y = entity.position.y
if (entity.extrusionDirection && entity.extrusionDirection.z < 0) {
xScale = -xScale
x = -x

@@ -1474,0 +1474,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc