GLB Analyzer icon

GLB Analyzer

Analyze GLB files and calculate detailed geometry properties for building elements

Overview

This node analyzes GLB (GL Transmission Format) files to calculate detailed geometry properties of building elements. It is useful for extracting and summarizing 3D model data such as volumes, face areas, perimeters, orientations, dimensions, and metadata from GLB files. Practical applications include architectural analysis, 3D model inspection, and automated reporting of 3D asset properties.

Use Case Examples

  1. Analyzing a GLB file to get a detailed report of each mesh's volume, face areas, and dimensions.
  2. Generating a summary of a GLB file's geometry properties for quick inspection.
  3. Extracting only mesh-specific data from a GLB file for further processing.

Properties

Name Meaning
GLB File Field containing the GLB file data (as ArrayBuffer or base64 string) to be analyzed.
Analysis Options Options to customize the analysis, including whether to include volume, face areas, perimeters, object orientations, dimensions, metadata, and the precision of decimal places for calculations.
Output Format Choose what to include in the output: detailed (individual meshes plus summary), summary only, or meshes only.

Output

JSON

  • summary - Summary of the analyzed GLB file geometry properties.
  • metadata - Additional metadata such as vertex count and material information.
  • meshes - Detailed analysis results for individual meshes within the GLB file.

Dependencies

  • An external geometry analysis utility (GeometryAnalyzer) used to process and analyze the GLB file data.

Troubleshooting

  • Error 'GLB data not found in field': Ensure the specified field contains valid GLB data in ArrayBuffer, base64 string, or Buffer format.
  • Error 'Failed to decode base64 GLB data': Verify the base64 string is correctly encoded and complete.
  • Error 'Unsupported GLB data format': Confirm the input data is in one of the supported formats (ArrayBuffer, base64 string, or Buffer object).
  • If the node fails on a particular item, enabling 'Continue On Fail' allows processing to continue for other items while reporting errors for failed ones.

Discussion