Keet
Advanced Member
Netherlands
Joined: Apr 8, 2022
Post Count: 1787
Status:
Offline
|
|
|
Re: Material Selector Plugin
|
Looks very good but you should make use of the already available features in Sweet Home 3D.
The preview is good but it should be placed next to the current color/texture. Sometimes a material has an unrecognizable name so seeing what the current color/texture is when selected in the tree clears up what you have selected.
The browse dialog to select an image is missing the image preview. The default File Open dialog probably has a preview property that can be set to display an image in the selection dialog. Currently you don't see the image until you have selected it.
I set a texture to a side but it appeared upside down. So I started the plugin again with the same furniture and selected the same face. The set texture was gone (or at least is seemed so because there is no display of the current texture), so I had to browse again to the same image and now set the rotation to 180°. The previously set texture should have been preserved, after Apply and close. It also didn't remember the last used directory so I had to click through the whole path again.
Take a look at the Modify dialog for materials in the Modify furniture dialog. Textures are shown in the material list. Of course this is for a single furniture object but you get the idea.
Also important are the "Recent colors" and "Recent textures" lists displayed at the bottom when you change a color or texture. You can get these from the Preferences.xml file in the hidden Sweet Home 3D data directory. (recent* items, a .pref file is just an image.) This list of the last 10-20 used colors or textures makes it easier to select a previously used one. Much faster than having to browse to a new texture file. If the user added a new texture image or color it should be added to the recent list so it also appears in Sweet Home 3D. Same for a newly used color. Sweet Home 3D should have functions to do this, both for retrieving the most recent list and for storing a new color/texture. If these are not public you can maybe use a get/set around it or as a last resort copy the code from the source and use that.
In itself it's a good plugin but it is missing essential integration with Sweet Home 3D and ease-of-use. Display what is current and what is new, also show when a texture is scaled, shifted, or rotated. The user can only work with what he can see.
----------------------------------------
Dodecagon.nl 1300+ 3D models, manuals, and projects
|
[Apr 13, 2026, 4:40:03 PM]
|
|
[Link]
|
|