biggrin new plugin ready to use - duplicate style plugin

This topic has been viewed 55497 times and has 11 replies
Thread status: Active
Test the features and bug fixes of future versions [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
white0demon
Posts: 13
Joined: Fri Aug 20, 2010 11:06 am

new plugin ready to use - duplicate style plugin

Post by white0demon »

I have created the duplicate style plug-in

https://sourceforge.net/tracker/?func=d ... id=1127349

[:)]

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

[:)]
User avatar
fhoofman
Posts: 87
Joined: Thu Oct 15, 2009 3:49 am

Re: new plugin ready to use - duplicate style plugin

Post by fhoofman »

what does it do?
and how to activate it?
white0demon
Posts: 13
Joined: Fri Aug 20, 2010 11:06 am

Re: new plugin ready to use - duplicate style plugin

Post by white0demon »

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 [:)]
User avatar
fhoofman
Posts: 87
Joined: Thu Oct 15, 2009 3:49 am

Re: new plugin ready to use - duplicate style plugin

Post by fhoofman »

ow, I see. what if I want to use the original colour / texture and then apply to the new item?
white0demon
Posts: 13
Joined: Fri Aug 20, 2010 11:06 am

Re: new plugin ready to use - duplicate style plugin

Post by white0demon »

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.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: new plugin ready to use - duplicate style plugin

Post by Puybaret »

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
white0demon
Posts: 13
Joined: Fri Aug 20, 2010 11:06 am

Re: new plugin ready to use - duplicate style plugin

Post by white0demon »

I added version 3 with undo and redo included :)
maker
Posts: 50
Joined: Fri Jul 16, 2010 2:29 pm

Re: new plugin ready to use - duplicate style plugin

Post by maker »

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.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: new plugin ready to use - duplicate style plugin

Post by Puybaret »

maker, isn't the Plan > Reverse walls direction menu item enough?
Emmanuel Puybaret, Sweet Home 3D creator
maker
Posts: 50
Joined: Fri Jul 16, 2010 2:29 pm

Re: new plugin ready to use - duplicate style plugin

Post by maker »

Not for me [:D] (on Win XP Pro)
Does it work that way in Linux/Mac?
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest