A block that embeds Sweet Home 3D (.sh3d) home designs as an interactive 3D view visitors can walk through, using the bundled Sweet Home 3D JS Viewer. It suits architects, interior designers, estate agents, or anyone who designs homes in Sweet Home 3D.
Adding a model: pick a .sh3d from the media library, upload one, or embed one from another site’s URL. The editor shows a summary card, and a “Show 3D preview” button opens the real viewer inside the editor.
Kind to visitors:
- Click to load: by default nothing heavy loads until the visitor clicks “Load 3D view”, and the button says how much will download (for example “Loads the 3D viewer (1.8 MB) and this home (3.0 MB)”).
- Files from other sites: these can require the visitor’s consent before their browser contacts the other site.
- Light pages: the viewer’s own files load only when a viewer actually starts, so pages without one stay light.
Navigation and view:
- Controls: on-screen controls, a “Back to the starting view” button, built-in “How to move around” help, keyboard and space-bar camera switching, and full screen.
- Auto-rotation: optional, 0 to 10 turns per minute.
- Starting view: the starting level and point of view, and which levels and points of view visitors can choose from, are picked from lists read directly from the file.
- Height: adjustable from 200 to 1,200 px.
Accessibility:
- Description: a text description linked to the 3D view, shown on the page or kept for screen readers only.
- Fallback image: shown when 3D isn’t available, which can also act as the preview behind the load button. You’re warned if it has no alt text.
Safety:
- Nothing unpacked on the server: WordPress stores and serves the files; the plugin never unpacks or parses them on the server.
- Upload checks: every uploaded .sh3d is checked before it’s stored: it must be a real Sweet Home 3D archive, and files that would expand to an enormous size are refused.
- In the browser: the viewer refuses oversized or suspicious files, and won’t fetch outside content referenced inside a file.
Site settings (Settings → SH3D Viewer):
- Defaults: default values for every block, including blocks already placed.
- Uploads: which roles may upload .sh3d files, and the maximum size a file may unpack to.
- Other sites: whether files from other sites are allowed, and which hosts are trusted.
- Credits for Sweet Home 3D.
- Per block: optional extras are a download link for the file and a credit line under the viewer.