Talos docs

AuthorImportSettings

Since 0.6

How a model is brought in: asset.import's settings.

Plain text

Signature

export interface AuthorImportSettings {
  /** Multiplies the file's units into metres. */
  unitScale?: number;
  /** The file's up axis. */
  upAxis?: "Y" | "Z" | "-Y" | "-Z" | "X" | "-X";
  /** The file's forward axis. */
  forwardAxis?: "Y" | "Z" | "-Y" | "-Z" | "X" | "-X";
  /** Scale the model so its largest side is this many metres. */
  targetSizeM?: number;
  /** Move the origin to the centre of the model's base. */
  baseCenter?: boolean;
}

Import: import type { AuthorImportSettings } from "@argus/api"

Members

MemberSignatureDescription
unitScaleunitScale?: numberMultiplies the file's units into metres.
upAxisupAxis?: "Y" | "Z" | "-Y" | "-Z" | "X" | "-X"The file's up axis.
forwardAxisforwardAxis?: "Y" | "Z" | "-Y" | "-Z" | "X" | "-X"The file's forward axis.
targetSizeMtargetSizeM?: numberScale the model so its largest side is this many metres.
baseCenterbaseCenter?: booleanMove the origin to the centre of the model's base.