How to import furniture in Applet

This topic has been viewed 24958 times and has 23 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
santhosh.chellamani
Posts: 9
Joined: Wed Oct 21, 2015 9:12 am

Re: How to import furniture in Applet

Post by santhosh.chellamani »

Hi,

Sorry for the inconvenience, i tried all the above steps. i am not able to import the catalogs on my server.

Kindly Suggest step by step procedure.

Thanks in advance.

Regards,
Santhosh
santhosh.chellamani
Posts: 9
Joined: Wed Oct 21, 2015 9:12 am

Re: How to import furniture in Applet

Post by santhosh.chellamani »

i have downloaded the furniture.zip and textures.zip from the mentioned URL and included them in my root folder.

i also added the params in the .html file and tried to load online. the libraries did not load, only the blank template of sweet home loaded.

Regards,
Santhosh
paddygowda72
Posts: 5
Joined: Tue Aug 25, 2015 8:30 am

Re: How to import furniture in Applet

Post by paddygowda72 »

update to Santhoshs escalation

Sweethome is deployed in a folder named 3D and furniturecatalog.zip and texturecatalog.zip is in the same level of the folder, along with sweethome3dapplet.html.

the parameters are as below.....

questions are,

where are we going wrong ? and

do we have to download separate model libraries ? if Yes then should it be in the same folder as furniture catalog ?


var attributes = {codebase:".",
code:"com.eteks.sweethome3d.applet.SweetHome3DApplet",
archive:jars,
width:"100%", height:"95%",
name:"SweetHome3DOnline"};
// Complete list of available parameters described in the javadoc
// of com.eteks.sweethome3d.applet.SweetHome3DApplet class
var parameters = {jnlp_embedded:

"PD94bWwgdmVyc2lvbj0iMS4wIj8+CjwhLS0KICAgU3dlZXRIb21lM0RBcHBsZXQuam5scCAKICAgCiAgIFN3ZWV0IEhvbWUgM0QsIENvcHlyaWdodCAoYykgMjAxMyBFbW1hbnVlbCBQVVlCQVJFVCAvIGVUZWtzIDxpbmZvQGV0ZWtzLmNvbT4KICAgCiAgIFRoaXMgcHJvZ3JhbSBpcyBmcmVlIHNvZnR3YXJlOyB5b3UgY2FuIHJlZGlzdHJpYnV0ZSBpdCBhbmQvb3IgbW9kaWZ5CiAgIGl0IHV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sweethome3d.deploymentInformation=Online -Djnlp.packEnabled=false",
showMemoryStatus:"true",
userLanguage:"en",
furnitureCatalogURLs:"furnitureCatalog.zip",
texturesCatalogURLs:"texturesCatalog.zip”,

listHomesURL:"",
readHomeURL:"",
writeHomeURL:"",

javaDisabled:'"><p align="center" style="margin:30px"><font color="#FF0000">Enable Java in the preferences of your browser<br>and/or install <a href="http://java.com">Java</a> to run Sweet Home 3D Online.</font></p><dummy att="'};
santhosh.chellamani
Posts: 9
Joined: Wed Oct 21, 2015 9:12 am

Re: How to import furniture in Applet

Post by santhosh.chellamani »

Hi,

Can Somebody help me please i am stuck at this point and not able to proceed with this.

Thanks & Regards,
Santhosh C
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to import furniture in Applet

Post by Puybaret »

Did you deploy your own furnitureCatalog.zip and texturecatalog.zip files or the ones available on sweethome3d.com? Did you set the furnitureResourcesURLBase and texturesResourcesURLBase attributes and deployed the furniture icons and models on your server? Or maybe you want to show your own models/textures?

You ask quick support but don't tell us anything about your project. It would be nice to give some details about what you want to achieve... [:(]
By the way, pay attention that applets are a dying technology: not available under iOS and Android, not available under Chrome and Edge browsers, difficult to use under Safari. Among the main browsers, only IE and Firefox still support them with the only requirement that the user must install a JRE and accept applet certificate at launch. For how long???
Emmanuel Puybaret, Sweet Home 3D creator
santhosh.chellamani
Posts: 9
Joined: Wed Oct 21, 2015 9:12 am

Re: How to import furniture in Applet

Post by santhosh.chellamani »

Hi,

Thanks for replying.

I want to embed sweet home 3d on my website as a online version.

I was successful in launching it online in my server.

However there is no furnitures on it, i want to include the furniture catalog in my server, i would like use the one available on sweet home website itself.

I have not created my own furniture, i will use the one available on web itself.

Kindly suggest.


Regards,
Santhosh C
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to import furniture in Applet

Post by Puybaret »

Be sure to read all the comments at the beginning of this thread, and upload the models you want on your server.
By the way, don't expect more support on the Online version, because I prefer to spend more time on the future features of Sweet Home 3D.
Emmanuel Puybaret, Sweet Home 3D creator
santhosh.chellamani
Posts: 9
Joined: Wed Oct 21, 2015 9:12 am

Re: How to import furniture in Applet

Post by santhosh.chellamani »

Hi,

Sorry to bother you again, Can we get paid support on this ?

If yes, how much we should pay ? what kind of support do we get ? whom to contact ?

Because everything is working fine on the server except the libraries and this is very crucial for our project.

Hence requesting your support.

Regards,
Santhosh C
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to import furniture in Applet

Post by Puybaret »

Sorry, I don't provide paid support for cloning the Online version.
But all the information required to deploy the libraries on your server is available in this thread and other ones on this forum. Just read it closely.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to import furniture in Applet

Post by Puybaret »

In case you missed it, Mozilla announced also that they will stop supporting plug-ins in Firefox by the end of 2016. But as shown in the surprise of the birthday page of Sweet Home 3D, this doesn't necessarily mean the death of the Online version of Sweet Home 3D. More about this in the coming weeks...
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest