|
Sweet Home 3D Forum » List all forums » » Forum: New versions » » » Thread: new plugin ready to use - duplicate style plugin |
|
| Print at Dec 16, 2025, 9:29:47 AM | |
| Posted by white0demon at Sep 5, 2010, 3:53:31 PM |
new plugin ready to use - duplicate style pluginI have created the duplicate style plug-in https://sourceforge.net/tracker/?func=detail&...d=152568&atid=1127349 If you have any suggestions or if there are any bugs please let me know ![]() |
| Posted by fhoofman at Sep 5, 2010, 6:34:21 PM |
|
Re: new plugin ready to use - duplicate style plugin what does it do? and how to activate it? |
| Posted by white0demon at Sep 5, 2010, 8:21:36 PM |
|
Re: new plugin ready to use - duplicate style plugin This is how to use it: http://www.sweethome3d.com/userGuide.jsp It's right in the end of the page. As the description says in the link in my previous post, it copies the colour or texture you have set to an item to other items you have selected. For example it can copy the texture of the sink to the bathtub and the toilet. Let me know if it doesn't cover your questions ![]() |
| Posted by fhoofman at Sep 6, 2010, 5:14:10 AM |
|
Re: new plugin ready to use - duplicate style plugin ow, I see. what if I want to use the original colour / texture and then apply to the new item? |
| Posted by white0demon at Sep 6, 2010, 9:11:00 PM |
|
Re: new plugin ready to use - duplicate style plugin What do you mean? If I understand correctly you double click to the item and select the radio button "Default colors and textures" and then do the duplicate style process. |
| Posted by Puybaret at Sep 15, 2010, 4:07:27 PM |
|
Re: new plugin ready to use - duplicate style plugin As it modifies the selection, your plug-in should handle undo/redo too with the UndoableEditSupport object returned by getUndoableEditSupport. Look at other plug-ins or at PlanController class for many examples. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by white0demon at Sep 15, 2010, 8:11:32 PM |
|
Re: new plugin ready to use - duplicate style plugin I added version 3 with undo and redo included :) |
| Posted by maker at Sep 16, 2010, 1:21:44 PM |
|
Re: new plugin ready to use - duplicate style plugin Works very well, thanks. I wonder if it could be extended to "reverse" right and left face colours. That way it can be used as a fast way to give all "inner" walls of a room one colour. Or for giving a brick texture to all outer walls of a house -- and the inside coloured. Thanks. |
| Posted by Puybaret at Sep 18, 2010, 10:00:24 AM |
|
Re: new plugin ready to use - duplicate style plugin maker, isn't the Plan > Reverse walls direction menu item enough? ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by maker at Sep 18, 2010, 1:56:50 PM |
|
Re: new plugin ready to use - duplicate style plugin Not for me (on Win XP Pro)Does it work that way in Linux/Mac? |
| Posted by white0demon at Sep 21, 2010, 8:18:29 AM |
|
Re: new plugin ready to use - duplicate style plugin Not for me (on Win XP Pro) Does it work that way in Linux/Mac? Hello maker, You are right it doesn't work for me either (Windows 7), so you could just report it as a bug (if not already). But either way when this is fixed the extension of the plug-in would be useless so I don't think I should extend it in that direction. I'm glad it works very well for you ![]() |
| Posted by maker at Sep 22, 2010, 6:38:40 AM |
|
Re: new plugin ready to use - duplicate style plugin Actually, on thinking it over, I disagree with you on both points It would be awkward if I had a sloping wall (with a colour on one side) sloping the wrong way. And, if, using "Reverse Walls", it was flipped on both X and Y axes. Of course, it would be nice if "Reverse Walls" had the option of which axis to flip it in. Thanks anyway. It's nice seeing so many talented people writing plugins here. And even the base SH3D is getting more and more solid every time. ![]() |
|
|
Current timezone is GMT Dec 16, 2025, 9:29:47 AM |