Print at Dec 15, 2025, 7:20:06 PM
Posts: 12   Pages: 2   [ 1 2 | Next Page ]
View all posts in this thread on one page
Posted by white0demon at Sep 5, 2010, 3:53:31 PM
biggrin   new plugin ready to use - duplicate style plugin
I have created the duplicate style plug-in

https://sourceforge.net/tracker/?func=detail&...d=152568&atid=1127349

smile

If you have any suggestions or if there are any bugs please let me know

smile

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 smile

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 biggrin (on Win XP Pro)
Does it work that way in Linux/Mac?

Posts: 12   Pages: 2   [ 1 2 | Next Page ]