Skip to main content

Type Alias: ExportGLB()

ExportGLB = (compressionMethod?) => Promise<boolean>

Function

Exports the current product configuration as a GLB 3D model file.

This action generates a downloadable 3D model of the product with all current customizations applied. The GLB format is widely supported by modern 3D software, AR applications, and online platforms, making it ideal for virtual staging, further design work, or digital presentations.

Business value:

  • Allows customers to use configured products in their own design software
  • Enables architects and designers to integrate products into their projects
  • Supports AR experiences on mobile devices or headsets
  • Facilitates virtual staging for real estate and interior design

Parameters

compressionMethod?

Compression method to use for the exported GLB file. Options:

  • "None": No compression, resulting in larger files but faster export
  • "Draco": Google's Draco compression for significantly smaller file sizes, ideal for web sharing

"None" | "Draco"

Returns

Promise<boolean>

Promise resolving to true when the export is complete

Example

// Export with default compression (None)
window.mimeeqApp.actions.exportGlb();

// Export with Draco compression for smaller file size
window.mimeeqApp.actions.exportGlb("Draco");

Emits

mimeeq-3d-before-export-scene When the export process begins

Emits

mimeeq-3d-after-export-scene When the export is complete and file download starts