Volume Plugin

This topic has been viewed 8019 times and has 15 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
k005
Posts: 60
Joined: Sat Aug 06, 2022 1:23 pm
Country: TURKEY

Volume Plugin

Post by k005 »

Hello everyone

I saved the sample volume plugin as jar extension and copied it to the Plug-in folder. But it doesn't show up in Tools.

where am i doing wrong?

Thank you.
k005
Posts: 60
Joined: Sat Aug 06, 2022 1:23 pm
Country: TURKEY

Re: Volume Plugin

Post by k005 »

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

Re: Volume Plugin

Post by Puybaret »

Did you add a ApplicationPlugin.properties file in your JAR file?
Emmanuel Puybaret, Sweet Home 3D creator
k005
Posts: 60
Joined: Sat Aug 06, 2022 1:23 pm
Country: TURKEY

Re: Volume Plugin

Post by k005 »

I guess I didn't add it. (I am new to Java.)

How can I do it ?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Volume Plugin

Post by Puybaret »

What wasn't clear about it in the Plug-in developer's guide?
Emmanuel Puybaret, Sweet Home 3D creator
k005
Posts: 60
Joined: Sat Aug 06, 2022 1:23 pm
Country: TURKEY

Re: Volume Plugin

Post by k005 »

Is it this way?

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

Re: Volume Plugin

Post by Puybaret »

Yes, just have to follow the next step to get a working plug-in.
Emmanuel Puybaret, Sweet Home 3D creator
k005
Posts: 60
Joined: Sat Aug 06, 2022 1:23 pm
Country: TURKEY

Re: Volume Plugin

Post by k005 »

When I export the jar file, it doesn't look like your picture-5... I guess I'm making the mistake in this part..?


Image
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Volume Plugin

Post by Daniels118 »

The fully qualified class name (package+class name) must match the class parameter in ApplicationPlugin.properties.Move the VolumePlugin.java into the com/eteks folder.
k005
Posts: 60
Joined: Sat Aug 06, 2022 1:23 pm
Country: TURKEY

Re: Volume Plugin

Post by k005 »

I'll start again step by step...

Thank you.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest