Title: Embed-SweetHome3D
Author: stevecohenfr
Published: <strong>2019(&#101;)k&#111; urtarrila&#114;&#101;&#110; 7(&#97;)</strong>
Last modified: 2026(&#101;)k&#111; uztaila&#114;&#101;&#110; 6(&#97;)

---

Bilatu pluginak

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

Plugin hau **ez da probatu WordPressen azken 3 bertsio garrantzitsuenekin**. Baliteke,
jada, mantentze edo euskarririk ez izatea, eta, WordPressen bertsio berriagoekin
erabiltzen denean, bateragarritasun arazoak izan ditzake.

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

# Embed-SweetHome3D

 [stevecohenfr](https://profiles.wordpress.org/stevecohenfr/)-(r)en eskutik

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

 * [Xehetasunak](https://eu.wordpress.org/plugins/embed-sweethome3d/#description)
 * [Berrikuspenak](https://eu.wordpress.org/plugins/embed-sweethome3d/#reviews)
 *  [Instalazioa](https://eu.wordpress.org/plugins/embed-sweethome3d/#installation)
 * [Garapena](https://eu.wordpress.org/plugins/embed-sweethome3d/#developers)

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

## Deskripzioa

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).

## Blokeak

Plugin honek 1 blokea hornitzen du.

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

## Instalazioa

 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://eu.wordpress.org/plugins/embed-sweethome3d/?output_format=md#description)
    section).

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

## MEG

### 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).

## Berrikuspenak

Ez dago berrikuspenik plugin honentzat.

## Laguntzaileak eta Garatzaileak

“Embed-SweetHome3D” software librea da. Ondoko pertsonek egin dizkiote ekarpenak
plugin honi.

Laguntzaileak

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

[Itzul zaitez Embed-SweetHome3D zure hizkuntzara.](https://translate.wordpress.org/projects/wp-plugins/embed-sweethome3d)

### Garapena interesatzen zaizu?

[Araka kodea](https://plugins.trac.wordpress.org/browser/embed-sweethome3d/), begiratu
[SVN biltegia](https://plugins.svn.wordpress.org/embed-sweethome3d/) edo harpidetu
[garapen erregistrora](https://plugins.trac.wordpress.org/log/embed-sweethome3d/)
[RSS](https://plugins.trac.wordpress.org/log/embed-sweethome3d/?limit=100&mode=stop_on_copy&format=rss)
bidez.

## Aldaketen loga

#### 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**
 *  Azken eguneraketa **duela 2 hilabete**
 *  Instalazio aktiboak **10+**
 *  WordPress bertsioa ** 6.4 edo handiagoa **
 *  **6.8.8** (e)raino probatuta.
 *  PHP bertsioa ** 8.1 edo handiagoa **
 *  Language
 * [English (US)](https://wordpress.org/plugins/embed-sweethome3d/)
 * Etiketak
 * [3d](https://eu.wordpress.org/plugins/tags/3d/)[house](https://eu.wordpress.org/plugins/tags/house/)
   [viewer](https://eu.wordpress.org/plugins/tags/viewer/)
 *  [Ikuspegi aurreratua](https://eu.wordpress.org/plugins/embed-sweethome3d/advanced/)

## Balorazioak

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/)

## Laguntzaileak

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

## Laguntza

Zerbait duzu esateko? Laguntza behar?

 [Ikusi laguntza foroa](https://wordpress.org/support/plugin/embed-sweethome3d/)

## Egizu eskaintza

Plugin honen aurrerabidearen euskarri izan nahi duzu?

 [ Egiozu eskaintza plugin honi ](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)