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.27 to 1.0.28

2

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

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

@@ -348,3 +348,3 @@ import * as three from "three"

/** @return {Camera} three.js camera for the viewer. */
/** @return {OrthographicCamera} three.js camera for the viewer. */
GetCamera() {

@@ -351,0 +351,0 @@ return this.camera

@@ -56,3 +56,3 @@ /** See TextRenderer.DefaultOptions for default values and documentation. */

FitView(minX: number, maxX: number, minY: number, maxY: number, padding: number): void
GetCamera(): THREE.Camera
GetCamera(): THREE.OrthographicCamera
GetCanvas(): HTMLCanvasElement

@@ -59,0 +59,0 @@ GetLayers(): Iterable<LayerInfo>

@@ -330,2 +330,3 @@ import * as helpers from '../ParseHelpers'

}
break;
default:

@@ -332,0 +333,0 @@ scanner.rewind();

@@ -15,6 +15,10 @@ import { Vector2 } from "three"

* @param {PatternLineDef[]} lines
* @param {boolean} offsetInLineSpace Line offset is defined in line space when true, in pattern
* space when false. Pattern space offset is the observed behavior of AutoDesk viewer for
* patterns defined in hatch entity itself.
*/
constructor(lines, name = null) {
constructor(lines, name = null, offsetInLineSpace = true) {
this.lines = lines
this.name = name
this.offsetInLineSpace = offsetInLineSpace
}

@@ -21,0 +25,0 @@

Sorry, the diff of this file is too big to display

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