Global change color plugin
An interior design application to draw house plans & arrange furniture
Brought to you by:
puybaret,
space-mushrooms
I've added a screenshot. I should also add that undo has not been implemented, so backup your model before using this plugin.
I fixed the code that changes the colors for furniture materials set to their default colors.
I also set the opacity of buttons to attempt to fix the lack of fill-color in Colors-in-use swatches on Windows 10 (but don't have a Windows box to test it on).
Updated with a revised user interface that lists where the selected color is used.
Fixed cases where the plugin attempted to change colors when textures were already defined.
Latest screen shot for v0.3
Implemented undo/redo and bumped the version number to 1.0.
Fixed alpha (transparency) handling bug that made items invisible when moving to version 5.2 of SH3D. Added a feature where changing a color to itself fixes the invisible items created by this bug (the alpha is set to the alpha of the new color). In all other cases the old/existing alpha of the item color being changed is always preserved.
Fixed an issue where the plugin would not respect that a texture had been set and the color should therefore remain unchanged.
Hi,
Please, I don't find a .sh3p file into the pack "ChangeColorPlugin-1.1.jar"
How can I install it?
Thanks.
A .sh3p is actually a jar file. So you install the ChangeColorPlugin-1.1.jar into the same place you would put the .sh3p file.
Ok. but I copy the .jar file into the folder
C:\Program Files\Sweet Home 3D\jre8\lib\ext
or into the folder
C:\Program Files\Sweet Home 3D\lib
both folders have .jar files
Thanks.
Copy the jar to eteks/sweethome3d/plugins folder.
On Windows this might be:
C:\Users\user\AppData\Roaming\eTeks\Sweet Home 3D\plugins
or
C:\Documents and Settings\user\Application Data\eTeks\Sweet Home 3D\plugins
On Linux:
~/.eteks/sweethome3d/plugins
Or if you rename the ChangeColorPlugin-1.1.jar to ChangeColorPlugin-1.1.sh3p, then on Windows and Mac double clicking might install it automatically.
See: http://www.sweethome3d.com/pluginsUserGuide.pdf for further details.
I forgot to change the type to .sh3p because I'm a Linux user and it makes little difference what it's called on the Linux platform (because on Linux it needs to be manually installed anyway).
It is definitely easier to rename the .jar file to .sh3p and make double-click on it.
Thank you very much for your fast help. This software is exceptional.
Fixed a index out of bounds error if the array of materials in a model is shorter than the array of default materials (seem to happen after I deleted lots of objects from a home).
I have fixed the version number within the plugin file and changed the extension to sh3p.
Thanks.
Daniele, you seem to have been a busy, busy, boy! :-)
seems like a useful PI
I've attached a new version of the ChangeColorPlugin with a ApplicationPlugin_fr.properties and changed the code to lookup the name of the menu in the properties file.
I've created a SH3D-ChangeColorPlugin repository at github to better document and track the source code.
I used google to produce some translations, so the French might be mangled. Feel free to review and suggest amendments to the ApplicationPlugin_fr.properties (github.com) file.
As well as here at sourceforge, I'll also tag and release at github, the current release is now v1.3 Outils (github.com)