x3d_scene_stats
Get node counts, type distribution, and component groupings for an X3D scene to quickly assess its structure and complexity.
Instructions
Get statistics about an X3D scene: node counts by type and component.
Returns total node count, DEF'd vs anonymous nodes, node type breakdown,
and grouping by X3D component (Geometry3D, Lighting, Shape, etc.).
Use this for a quick overview before diving deeper.
Args:
x3d_source: Either an absolute file path to a .x3d file, or a complete
X3D XML document string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x3d_source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |