dxf-viewer
Advanced tools
Comparing version 1.0.26 to 1.0.27
{ | ||
"name": "dxf-viewer", | ||
"version": "1.0.26", | ||
"version": "1.0.27", | ||
"description": "JavaScript DXF file viewer", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -40,3 +40,4 @@ import * as three from "three" | ||
antialias: options.antialias, | ||
depth: false | ||
depth: false, | ||
preserveDrawingBuffer: options.preserveDrawingBuffer | ||
}) | ||
@@ -689,3 +690,5 @@ } catch (e) { | ||
/** Retain the simple object representing the parsed DXF - will consume a lot of additional memory */ | ||
retainParsedDxf: false | ||
retainParsedDxf: false, | ||
/** Whether to preserve the buffers until manually cleared or overwritten */ | ||
preserveDrawingBuffer: false | ||
} | ||
@@ -692,0 +695,0 @@ |
@@ -30,3 +30,4 @@ /** See TextRenderer.DefaultOptions for default values and documentation. */ | ||
sceneOptions: DxfSceneOptions, | ||
retainParsedDxf: boolean | ||
retainParsedDxf: boolean, | ||
preserveDrawingBuffer: boolean | ||
} | ||
@@ -84,3 +85,3 @@ | ||
export class Pattern { | ||
constructor(lines: PatternLineDef[], name: string | null = null) | ||
constructor(lines: PatternLineDef[], name: string | null) | ||
@@ -90,5 +91,5 @@ static ParsePatFile(content: String): Pattern | ||
export function RegisterPattern(pattern: Pattern, isMetric: boolean = true): void | ||
export function RegisterPattern(pattern: Pattern, isMetric: boolean): void | ||
/** @return {?Pattern} */ | ||
export function LookupPattern(name: string, isMetric: boolean = true): Pattern | null | ||
export function LookupPattern(name: string, isMetric: boolean): Pattern | null |
@@ -31,3 +31,2 @@ import * as helpers from '../ParseHelpers'; | ||
break; | ||
break; | ||
case 10: // X coordinate of 'first alignment point' | ||
@@ -34,0 +33,0 @@ entity.startPoint = helpers.parsePoint(scanner); |
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
772781
18826