Show Real-World 3D Model Dimensions in WordPress

Show Real-World 3D Model Dimensions in WordPress

The sofa is measured automatically. The watch shows what happens when a file has no real-world scale — and how Real size fixes it.

Pro

Lite viewer only

auto-measured

GlamVelvetSofa · built to real-world scale

Measured automatically, nothing typed in. The sofa file was made in metres, so the measurement is already correct: 218.8 × 78.8 × 102.3 cm.

Watch · measured automatically

The numbers are meaningless.

Same file + real size typed in

Labels now read 4.2 × 4.6 × 1.3 cm.

Real-world 3D model dimensions. The viewer measures the model on its own and draws width, height and depth lines that follow the model as it turns, so shoppers can see how big a product really is. If a file was not built to real-world scale, the Real size fields show the correct 3D model dimensions instead.

01

Measured on its own

The viewer reads the model’s size and centre when it loads — nothing to type in when the file is built to scale.

02

Lines that follow the model

Width, height and depth lines are redrawn every frame, so they keep up while the model auto-rotates.

03

Real size for off-scale files

If a file wasn’t built to real-world scale, the Real size fields put the correct numbers on the labels.

How it works

Where the dimension numbers come from

Measured from the file

The model’s size and centre, read when it loads. Correct as long as the file was made to real-world scale, like the sofa.

Real size

The watch file was exported with no real-world scale. Typing its true size replaces the numbers on the labels without changing the model itself — fill in just one side and the others scale to match.

Product dimensions

In WooCommerce, Dimensions Come From: Product dimensions uses the product’s own shipping width, height and length instead (length becomes depth).

Two limits to know

  • Dimension lines work in the Lite viewer only and are always switched off when the viewer appears in the shop’s product grid.
  • Real size only changes the labels: it never resizes the model and never changes its size in AR.

Setup

Set it up in 3 steps

1

Turn on Show dimensions

Choose Always on, or With a ruler button to let visitors switch the lines on and off.

2

Pick a unit

mm, cm, m, in or ft — the number of decimal places depends on the unit.

3

Fix off-scale files

If the automatic numbers look wrong, type the true size into the Real size fields. One side is enough; the others scale to match.

Under the hood

Settings used in this demo

SettingValue
Show dimensionsAlways on here; With a ruler button lets visitors switch the lines on and off instead (see the Configurator demo)
Unitmm · cm · m · in · ft — the number of decimal places depends on the unit
How it measuresthe model’s size and centre, read when it loads; the lines are redrawn every frame so they keep up while the model auto-rotates
Real size (optional)4.2 × 4.6 × 1.3 cm on the watch
WooCommerceDimensions Come From: Product dimensions uses the product’s own shipping width, height and length instead (length becomes depth)

FAQ

Questions about 3D model dimensions

Quick answers before you set up your own viewer.

Why are my model’s dimensions wrong?

The file was probably not built to real-world scale — like the watch, which was exported with no scale, so measuring it gives nonsense. Type its true size into the Real size fields.

Does Real size resize the model?

No. It only changes the labels: it never resizes the model and never changes its size in AR.

Can visitors turn the lines on and off?

Yes. Set Show dimensions to With a ruler button instead of Always on.

Do dimensions show in the shop’s product grid?

No. Dimension lines work in the Lite viewer only and are always switched off when the viewer appears in the product grid.

Can I use my WooCommerce product dimensions?

Yes. Dimensions Come From: Product dimensions uses the product’s own shipping width, height and length (length becomes depth).

Keep exploring

Related demos

Variants & textures

Switch a sofa between five colourways with no page reloads, all from one 3.1 MB file.

Camera & controls

Rename, resize, reorder and move all seven viewer buttons.

See all 17 live 3D Viewer demos

One feature per page, each with the exact settings behind it.

See it on a WooCommerce product page: Kavallier Oak Lounge Chair. Or browse all WooCommerce 3D product demos.

Models: GlamVelvetSofa from Khronos glTF-Sample-Assets, CC-BY 4.0, Wayfair · chronograph_watch, Sketchfab CC asset (see demo-assets/ATTRIBUTION.md).

Scroll to Top