Title: Embed-SweetHome3D
Author: stevecohenfr
Published: <strong>7 Janaayo, 2019</strong>
Last modified: 6 Luulyo, 2026

---

Raadi kaabayaal

![](https://ps.w.org/embed-sweethome3d/assets/banner-772x250.png?rev=3597874)

![](https://ps.w.org/embed-sweethome3d/assets/icon-256x256.png?rev=3597874)

# Embed-SweetHome3D

 Qore [stevecohenfr](https://profiles.wordpress.org/stevecohenfr/)

[Soo Rog](https://downloads.wordpress.org/plugin/embed-sweethome3d.2.0.1.zip)

 * [Faahfaahin](https://so.wordpress.org/plugins/embed-sweethome3d/#description)
 * [Dibu-eegisyo](https://so.wordpress.org/plugins/embed-sweethome3d/#reviews)
 *  [Rakibaad](https://so.wordpress.org/plugins/embed-sweethome3d/#installation)
 * [Horumarinta](https://so.wordpress.org/plugins/embed-sweethome3d/#developers)

 [Taageero](https://wordpress.org/support/plugin/embed-sweethome3d/)

## Sharraxaad

This plugin lets you embed a house designed in [SweetHome3D](http://www.sweethome3d.com)
as an interactive HTML5/WebGL model, directly inside your WordPress posts and pages.

You can insert a model either with the **SweetHome3D block** in the block editor,
or with the classic **[sh3d]** shortcode.

Features:

 * Gutenberg block with a live preview and a model picker
 * `[sh3d id=1]` shortcode (fully backwards compatible with 1.0.x)
 * Configurable size (max width) and aspect ratio (4:3, 16:9, 3:2, 1:1)
 * Optional auto-rotation and navigation panel
 * Several models on the same page
 * Uploaded archives are validated (a valid SweetHome3D model must contain a `Home.
   xml` entry)

How to use:

 * In SweetHome3D, export your house with the [Export to HTML5](http://www.sweethome3d.com/blog/2016/05/05/export_to_html5_plug_in.html)
   plug-in (menu Tools -> Export to HTML5)
 * Unzip the generated file. It contains a `lib/` folder, `viewHome.html`, `viewHomeInOverlay.
   html` and **your_house.zip** — that inner ZIP is the file you need
 * In your WordPress admin, open the **SweetHome3D** menu and upload `your_house.
   zip`
 * Insert the **SweetHome3D block**, or copy the generated `[sh3d id=X]` shortcode
   into your content

Disclaimer: This plugin is not part of the SweetHome3D project and is not affiliated
with its developer(s).

## Xayndaabyo

Kaabahani wuxuu bixinaya 1 xayndaab.

 *   SweetHome3D Model Embed an interactive SweetHome3D house exported to HTML5.

## Rakibaad

 1. Upload the plugin files to `/wp-content/plugins/embed-sweethome3d`, or install 
    it through the WordPress plugins screen.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. A new **SweetHome3D** entry appears in the left admin menu.
 4. Upload your `house.zip` there (see the [Description](https://so.wordpress.org/plugins/embed-sweethome3d/?output_format=md#description)
    section).

Requirements: PHP 8.1+ and the PHP `zip` extension (used to validate uploaded models).

## SBI

### I get the error `Error: No Home.xml entry in […]`

Your ZIP file is not a valid SweetHome3D model. Upload the inner `your_house.zip`(
the one contained inside the HTML5 export), not the exported archive itself. Since
version 2.0.0 the plugin validates this at upload time.

### How do I change the viewer size?

In the block, use the “Max width” and “Aspect ratio” settings. With the shortcode,
use the attributes, e.g. `[sh3d id=1 width=800 ratio=16:9]`.

### Which shortcode attributes are available?

id (required), `width` (max width in px, 0 = responsive), `ratio` (4:3, 16:9, 3:
2, 1:1), `rotation` (auto-rotation in rounds per minute, 0 = off) and `nav` (none
or default).

### How do I remove the background?

Edit the scenery of your 3D view in SweetHome3D. See [this article](http://www.sweethome3d.com/blog/2016/01/01/how_to_add_a_scenery_around_your_home.html).

## Dibu-eegisyo

Ma jiraan wax dibu-eegis ah oo ku saabsan kaabahan.

## Ka-qaybgalayaasha & Horumariyayaasha

“Embed-SweetHome3D” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay
kaabahan.

Ka-qaybgalayaasha

 *   [ stevecohenfr ](https://profiles.wordpress.org/stevecohenfr/)

[Ku tarjun “Embed-SweetHome3D” luqaddaada.](https://translate.wordpress.org/projects/wp-plugins/embed-sweethome3d)

### Ma xiisaynaysaa horumarinta?

[Baadh koodka](https://plugins.trac.wordpress.org/browser/embed-sweethome3d/), fiiri
[bakhaarka SVN](https://plugins.svn.wordpress.org/embed-sweethome3d/), ama iska 
qor [diiwaanka horumarinta](https://plugins.trac.wordpress.org/log/embed-sweethome3d/)
adigoo adeegsanaya [RSS](https://plugins.trac.wordpress.org/log/embed-sweethome3d/?limit=100&mode=stop_on_copy&format=rss).

## Isbeddellada

#### 2.0.1

 * Added bundled translations: French, Spanish, German, Italian and Brazilian Portuguese(
   admin screen, block editor and front-end messages).

#### 2.0.0

 * Full rewrite for modern WordPress (requires WP 6.4+ and PHP 8.1+).
 * New: Gutenberg block with live preview.
 * New: configurable size, aspect ratio, auto-rotation and navigation panel.
 * New: support for multiple models on the same page.
 * New: uploaded archives are validated (Home.xml check).
 * Security: fixed SQL injection vectors, added capability and nonce checks throughout.
 * Assets are now only loaded on pages that actually display a model.
 * Existing `[sh3d id=X]` shortcodes and stored models keep working.

#### 1.0.1

 * Minor fixes.

#### 1.0.0

 * First release.

## Meta

 *  Version **2.0.1**
 *  Last updated **2 todobaad kahor**
 *  Active installations **10+**
 *  WordPress version ** 6.4 ama ka sareeya **
 *  Tested up to **6.8.6**
 *  PHP version ** 8.1 ama ka sareeya **
 *  Language
 * [English (US)](https://wordpress.org/plugins/embed-sweethome3d/)
 * Tags
 * [3d](https://so.wordpress.org/plugins/tags/3d/)[house](https://so.wordpress.org/plugins/tags/house/)
   [viewer](https://so.wordpress.org/plugins/tags/viewer/)
 *  [Aragti Sare](https://so.wordpress.org/plugins/embed-sweethome3d/advanced/)

## Qiimeynta

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/embed-sweethome3d/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/embed-sweethome3d/reviews/)

## Ka-qaybgalayaasha

 *   [ stevecohenfr ](https://profiles.wordpress.org/stevecohenfr/)

## Taageero

Ma heysaa waxaad dhahdo? Caawimaad ma u baahan tahay?

 [Eeg madasha taageerada](https://wordpress.org/support/plugin/embed-sweethome3d/)

## Ku deeq

Ma jeclaan lahayd inaad taageerto horumarinta kaabahan?

 [ Ugu deeq kaabahan ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=cohensteve@hotmail.fr&lc=FR&item_name=SweetHome3D-Embed%20for%20Wordpress&no_note=0&cn=&currency_code=EUR&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted)