Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3133 times and has 2 replies Next Thread
tsionik
Newbie




Joined: Sep 29, 2011
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Change the first position of furnitures in the plan

Dear SH3D community,

when I choose more than one furnitures of the catalog and click on the "Add catalog selected furniture to home" button, all of them are putted together in the same possition(the one inside the other). Is it possible to change this, and put every furniture near the other? If yes, is that simple or it is something difficult? In which class I have to focus?

My first thought was to see in the PlanComponent Class but I didn't manage to find something..

Thank you for your help!
[Mar 2, 2012, 11:18:57 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: Change the first position of furnitures in the plan

Modifications of the model instances are all done by the classes of the com.eteks.sweethome3d.viewcontroller package. Among these classes, have a look to FurnitureController class. As this class controls how furniture is added and aligned, it shouldn't be too difficult to program this modification.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Mar 3, 2012, 9:14:20 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
tsionik
Newbie




Joined: Sep 29, 2011
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: Change the first position of furnitures in the plan

Thank you very much for your help!
[Mar 3, 2012, 4:49:23 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved