Type Alias GlbConversionOptions

GlbConversionOptions: {
    attempts?: number;
    nameFormat?: NameFormat;
    triangleExplosionThresholds?: typeof TRIANGLE_EXPLOSION_THRESHOLDS;
    triangulate?: TriangulateOptions;
    unitScaleToMeters?: number;
}

Options for a GLB conversion attempt with retries.

Type declaration

  • Optionalattempts?: number

    Number of triangulation attempts to perform (min 1).

  • OptionalnameFormat?: NameFormat

    glTF name format used during export.

  • OptionaltriangleExplosionThresholds?: typeof TRIANGLE_EXPLOSION_THRESHOLDS

    Override triangle explosion detection thresholds.

  • Optionaltriangulate?: TriangulateOptions

    Triangulation parameters applied per attempt. relative will be forced to false.

  • OptionalunitScaleToMeters?: number

    Override input unit scale in meters (skips document unit detection).