A Tripo GLB imports at the wrong size. Should you rescale it or change the mesh?

Measure three Tripo GLB dimensions in millimeters and use a desktop speaker example to decide whether to resize the whole assembly or correct the mesh.

Published
On this page

Agree on what the measurements include

The desktop speaker on the product sheet is 240 mm wide. The imported model measures 400 mm across. Multiplying the whole assembly by 0.6 fixes the width. If the result still stands 20 mm too tall, another uniform resize would spoil a dimension you just got right. Two more measurements tell you where to look.

Suppose the product drawing gives a width of 240 mm, a height of 160 mm and a depth of 120 mm, including the foot. Stand the speaker upright and square it to the axes. Keep its foot in the scene and remove the turntable used for the product shot. Measuring the cabinet alone and measuring everything on the turntable would give different answers to the same question.

SmarToken’s Tripo 3D P2 page provides a starting point for generating a model from text or a reference image. Once you have a GLB, you can check the delivery file independently. The glTF specification uses meters and defines +Y as up. A mesh inherits transforms from its position in the scene hierarchy. Looking only at the cabinet’s raw vertices can miss both a scale on its parent and the foot under it.

Read three dimensions from the delivery file

This check assumes an upright, axis-aligned product in a static GLB with uncompressed mesh geometry. X measures width, Y height and Z depth in this example. A speaker turned diagonally can occupy a wider axis-aligned box. Square it up in a working copy and keep all parts of the product in their original hierarchy.

In a Python virtual environment, run python -m pip install "trimesh==4.7.4" numpy. Save the following as measure.py and run python measure.py speaker.glb. It measures the extents of the full scene and converts meters to millimeters.

pythoncode
import sys
import trimesh

scene = trimesh.load_scene(sys.argv[1])
width, height, depth = scene.extents * 1000
print(f"X {width:.1f} mm, Y {height:.1f} mm, Z {depth:.1f} mm")

When checking in Blender, its glTF importer converts Y-up to Blender’s Z-up. Identify the height axis in that scene instead of assuming the script’s Y measurement maps to Blender Y. After adjusting, export again and measure the delivery file.

Set the scale from one dimension and check the other two

We built a plain test speaker from two boxes, one for the cabinet and one for the foot. We exported and reopened all three GLBs below so that the figures reflect the files a reviewer would receive.

FileWidth XHeight YDepth ZComparison with the drawing
Starting fixture400 mm300 mm200 mmThe width gives a scale factor of 240 ÷ 400 = 0.6
Whole assembly scaled by 0.6240 mm180 mm120 mmWidth and depth match. Height is 20 mm over
Cabinet height corrected and exported again240 mm160 mm120 mmAll three outside dimensions match

The middle row narrows the search to the vertical axis. Check the thickness of the foot and the distance from the top of the cabinet to the center of the driver against a front elevation. In our fixture the cabinet needed shortening and the foot could stay as it was. Squeezing a detailed model along Y would also flatten a round speaker driver into an oval.

Check the exact file that goes on the product page

Run the measurement on the GLB from the delivery folder and keep the three readings alongside the drawing. If they match but the speaker looks huge on the website, inspect the viewer’s scene scale and camera framing. Zooming in can make a speaker fill the screen while leaving every measurement in the GLB untouched. If you know only the physical width, record height and depth as unverified until you have a second reference.

Check and apply scale safely in Blender

Save a working copy and import the GLB with File → Import → glTF 2.0. Check Units in Scene Properties, then select the product object and inspect Scale and Dimensions in the Transform sidebar. One object’s bounds do not equal the full assembly’s scene bounds: include the foot, parent transforms and other product parts.

Once dimensions are correct, use Object → Apply → Scale in Object Mode if your workflow requires it. Applying scale resets the object’s Scale while preserving its visible shape; it does not correct a wrong measurement and can affect modifiers, constraints or parenting.[5] Export again and check the delivered GLB in a clean scene or the target viewer.

Reproduce the measurement with a public GLB

On December 1, 2026, we checked the Box GLB from the Khronos sample assets using trimesh 4.7.4. Its scene bounds measured 1,000 mm on each axis; after uniform scaling by 0.25, export, and reload, each axis measured 250 mm. Box is a public Cesium sample under CC BY 4.0, not a Tripo-generated model. We then imported the same file using a Blender 4.5.11 background script, scaled it by 0.25 and applied scale. Blender reported dimensions of 250 mm on each axis and object scale of 1; trimesh reloaded the Blender-exported GLB at approximately 250 mm on each axis. Scaling and export were scripted. We then opened the saved scene in Blender: its interface displayed 0.25 m on all three axes and object scale 1. The interface screenshot is shown below. We then exported the scene as a separate GLB through the Blender interface; trimesh reloaded it at approximately 250 mm on all three axes. We then reimported that GLB through the Blender interface. Selecting the imported mesh showed 0.25 m on X, Y and Z. This check covers this public cube file only.

Blender transform panel showing 0.25 m on each axis and scale 1
Dimensions of the script-scaled public Box sample in Blender; this is not a Tripo-generated model.

Reproduce the two-mesh hierarchy

The speaker above is a constructed test fixture, not a Tripo output. It has two meshes, a cabinet and a foot, under an assembly parent whose scale affects both. Save the code below as fixture.py. In the Python environment above, run mkdir fixtures and python fixture.py fixtures, then measure each generated GLB with measure.py.

pythoncode
from pathlib import Path
import sys

import numpy as np
import trimesh

out = Path(sys.argv[1])
for name, body_height, scale in [
    ("speaker", 0.28, 1),
    ("speaker-scaled", 0.28, 0.6),
    ("speaker-approved", (0.16 / 0.6) - 0.02, 0.6),
]:
    scene = trimesh.Scene()
    scene.graph.update(frame_to="assembly", matrix=np.diag([scale, scale, scale, 1]))
    for part, dims, y in [
        ("foot", [0.32, 0.02, 0.18], 0.01),
        ("cabinet", [0.4, body_height, 0.2], 0.02 + body_height / 2),
    ]:
        translation = np.eye(4)
        translation[1, 3] = y
        scene.add_geometry(trimesh.creation.box(extents=dims), node_name=part,
                           parent_node_name="assembly", transform=translation)
    scene.export(out / (name + ".glb"))

In our rerun, speaker.glb measured X 400, Y 300, Z 200 mm; speaker-scaled.glb measured 240, 180, 120 mm; speaker-approved.glb measured 240, 160, 120 mm. Both later files retain a parent scale of 0.6; the last also changes cabinet height. This tests these static, uncompressed meshes, not animated, skinned or other assets.

To distinguish local mesh bounds from scene dimensions, run the script below on speaker-scaled.glb. The cabinet mesh is 400 × 280 × 200 mm locally and the foot is 320 × 20 × 180 mm; their scene transforms include the parent’s 0.6 scale. With both parts and their transforms included, the full scene measures 240 × 180 × 120 mm. Translation components in the matrices are in meters. A single mesh’s local dimensions are not the delivered dimensions of the whole product.

pythoncode
import sys
import trimesh

scene = trimesh.load_scene(sys.argv[1])
for node in sorted(scene.graph.nodes_geometry):
    transform, geometry_name = scene.graph[node]
    mesh = scene.geometry[geometry_name]
    print(node, "local mesh mm:", (mesh.extents * 1000).round(1))
    print("scene transform:\n", transform.round(3))
print("whole scene mm:", (scene.extents * 1000).round(1))

Sources

  1. Khronos glTF 2.0 specification
  2. Tripo’s Blender export guide
  3. Trimesh scene dimensions
  4. Tripo 3D P2 on SmarToken
  5. Blender Manual · Apply transforms
  6. Khronos Box sample and license
  7. Dimensions of the script-scaled public Box sample in Blender; this is not a Tripo-generated model.