High priority I wish to embed sweethome 3d in my website

This topic has been viewed 8155 times and has 4 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
vignesh4303
Posts: 1
Joined: Thu Dec 12, 2013 4:21 am
Country: India

I wish to embed sweethome 3d in my website

Post by vignesh4303 »

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
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: I wish to embed sweethome 3d in my website

Post by okh »

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
Chathuranga
Posts: 2
Joined: Sun Dec 22, 2013 10:00 am

Re: I wish to embed sweethome 3d in my website

Post by Chathuranga »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: I wish to embed sweethome 3d in my website

Post by Puybaret »

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
Chathuranga
Posts: 2
Joined: Sun Dec 22, 2013 10:00 am

Re: I wish to embed sweethome 3d in my website

Post by Chathuranga »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest