Print at Dec 19, 2025, 7:01:20 PM View all posts in this thread on one page
Posted by vignesh4303 at Dec 12, 2013, 4:26:46 AM
I wish to embed sweethome 3d in my website
HI all

I am currently developing an web application and i plan to integrate sweethome 3d tool inside my web application as a plugins,

Is it there any way to integrate within a website?if yes could anyone link me with the short descriptive guide,

thanks in advance


waiting for reply from other members...

Thanks and regards
C.vignesh

Posted by okh at Dec 12, 2013, 7:39:00 AM
Re: I wish to embed sweethome 3d in my website
Are you aware of the Sweet Home 3D viewer?

The download comes with a text manual which explains how to install (basic html understanding needed). For optimal performance, pay attention to sh3d file sizes (compress and remove unnecessary elements - and as a matter of personal opinion, let the users know the download file sizes).

If you use it, it would be good if you share the link in the forum.

But maybe you had something else in mind?

ok

Posted by Chathuranga at Dec 22, 2013, 10:05:26 AM
smile   Re: I wish to embed sweethome 3d in my website
Hi okh,

A Quick Question, Is there any simple way to display 2D layout instead of 3D model in Applet?

Alternatively does the applet provide advanced configuration options such as space bar control. Currently the space bar allows to toggle between Virtual visitor mode and 3D mode. Can I reconfigure it to toggle between 2D mode and 3D mode?

/Chathuranga

Posted by Puybaret at Dec 22, 2013, 4:10:04 PM
Re: I wish to embed sweethome 3d in my website
Is there any simple way to display 2D layout instead of 3D model in Applet?
Why using an applet for this? Just export the plan to SVG, and use it directly (from this document, all browsers support this format now).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Chathuranga at Dec 23, 2013, 6:30:52 AM
smile   Re: I wish to embed sweethome 3d in my website
Hi Puybaret,

The requirement is something like this. Suppose I need to change a property of an object based on an external value. Say you need to make the floor Red or White based on a value from the server/web service.

In order the achieve this I can simply modify the rendering algorithm in viewer and read from server before drawing the component. If the server says red then the floor is drawn in red instead of the property specified in SH3D.

I think I have to go to some image manipulation technique to achieve this then.

/Chathuranga