plugins primer

This topic has been viewed 3698 times and has 3 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
mucous_biscuit
Posts: 2
Joined: Wed Sep 01, 2010 11:15 am
Country: Indiana

plugins primer

Post by mucous_biscuit »

I am beginning to learn about plugins. Is the "plugins" folder already included in the program, or am I supposed to create the folder [in XP - documents and settings/user/application data/eteks/sweethome3d]?
I downloaded ExportToSH3F and I am getting an error "Cant open home". I've read a lot of the information but I'm missing something.
Appreciate any help.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: plugins primer

Post by Puybaret »

The plugins folder is created only in case of need.
If you get a Can't open home error, it's probably because your browser replaced the sh3p extension by sh3d. Change it manually and double click again on the file.
What browser did you use?
Emmanuel Puybaret, Sweet Home 3D creator
mucous_biscuit
Posts: 2
Joined: Wed Sep 01, 2010 11:15 am
Country: Indiana

Re: plugins primer

Post by mucous_biscuit »

In Firefox 4 - I used 'open with SweetHome3D'...therein was my problem.
After I tried saving it to desktop and double clicking from there, it installed perfectly and created the plugins folder.
(the extension was okay)
How do I view the source code -as an example of Plug-in classes architecture?

Thank you for your help. This is a very fine program.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: plugins primer

Post by Puybaret »

As explained in the Plug-ins developer guide, a .sh3p file is just a zip file.
As they are not so big, I (and other developers too) generally include their source code with it.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 4 guests