Print at Dec 16, 2025, 3:56:42 AM
Posts: 312   Pages: 32   [ Previous Page | 5 6 7 8 9 10 11 12 13 14 | Next Page ]
View all posts in this thread on one page
Posted by sjb007 at Nov 23, 2022, 1:09:33 PM
Re: Generate roof plugin
623 KB (638,192 bytes)
SHA256: E97BB8647D61BC78D8F48DBE2EC9A5ADD9EF92CC57C18EB20A558042F758380B

I've tried removing all my other plugins to see if it is a conflict, but it still didn't work.
I've tried both MediaFire and SourceForge versions. Still didn't work.

Only thing I can think of that is left is my SH3D is version: 7.0j (a patched version from Emmanual as I recall) on Windows 10.

Posted by sjb007 at Nov 23, 2022, 1:11:17 PM
Re: Generate roof plugin
Ah. I see I'm a couple of patch releases behind. I'll update and report back.

Posted by sjb007 at Nov 23, 2022, 1:24:37 PM
Re: Generate roof plugin
Nope. I'm now on the newest 7.0.2. No plugins apart from the roof generator. I have no Tools menu at all, and the libraries in the about dialog is not showing anything.

Posted by Puybaret at Nov 23, 2022, 1:45:16 PM
Re: Generate roof plugin
Sorry Dorin, but it doesn't work on my side too, with the log reporting this:
Invalid plug-in jar:file:/Users/manu/Library/Application%20Support/eTeks/Sweet%20Home%203D/plugins/GenerateRoof.sh3p!/generateroof%2FApplicationPlugin.properties:
Can't find resource for bundle java.util.PropertyResourceBundle, key name

Probably, an issue in a properties file (if you don't use English, it may not happen).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by sjb007 at Nov 23, 2022, 3:28:11 PM
Re: Generate roof plugin
I'll post a theory. In the previous version all the properties were in a default unlocalised poperty file. In this version many of the values were moved into an en_US property file. I'm a Brit, so my localisation is en_GB. Usually applications fall back to en_US, but it seems you are not doing this, so for anyone not using en_US, fr, it, or zh_CN, the plugin will not work. Another option would be to rename the property file to just be en, not en_US.

Posted by sjb007 at Nov 23, 2022, 3:32:44 PM
Re: Generate roof plugin
Confirmed!

I copied the en_US to an en file rezipped and it started working. I strongly advise you to have a fallback to en_US in the code.

Posted by dorin at Nov 23, 2022, 5:35:12 PM
Re: Generate roof plugin
OK!
New version 3.1.1

Try to fix a bug which prevent loading plugin on some OS with global language settings other than en_US.
Hope this time will work for everyone.

Also on Source Forge
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law

Posted by Puybaret at Nov 23, 2022, 6:20:24 PM
Re: Generate roof plugin
Thanks, it works now.
The ApplicationPlugin.properties file is the default properties file for all languages and should contain all the properties you may use in the plug-in.
If you want to specify some different values for some properties like translation or special values for the English in the USA for example, you can create additional properties files with other suffixes like _fr or en_US, but you should not add new properties in these files.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by sjb007 at Nov 23, 2022, 7:48:38 PM
Re: Generate roof plugin
Yup. For me too.

Posted by KelvinUceta at Nov 27, 2022, 10:18:23 AM
Re: Generate roof plugin
Wow Dorin,

Didn't tried it yet but will use it for sure!

Great.
----------------------------------------
Dubito, ergo sum

Mobo: ASUS TUF GAMING Z690-PLUS
CPU: Core i9-12900K
RAM: 32 GB DDR4 3200 Ghz
GPU: MSI GeForce GTX 1660 SUPER 6G
OS: Win 11 Pro
3D: SH3D 6.6.1 and Blender

Posts: 312   Pages: 32   [ Previous Page | 5 6 7 8 9 10 11 12 13 14 | Next Page ]