Options
All
  • Public
  • Public/Protected
  • All
Menu

Dxf model config

Hierarchy

Index

Properties

ignorePaperSpace?: boolean

If to ignore anything of paper space. There are some scenarios to ignore paper space by default, includes:

  • Dxf overlay, aka, loading more than one dxf files into a viewer. We'll only load model space for the first file.
  • Dxf compare. Since we'll only compare model space, it won't load paper space at all.

This option is useful when user want to explicitly ignore paper space.

default

false

matrix?: number[]

A float array of length 16, definds model's position, rotation and scale

modelId?: string

Unique id of the model

name?: string

Model name

overrideColor?: number[]

Applies this color to everything in this model. This allows user to show a drawing with a pure color (black, white, etc.). Color value is between 0 and 1, e.g., [1, 0, 0] means 'red'.

src: string

Source url of the model

Generated using TypeDoc