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: 26
Posts: 26   Pages: 3   [ Previous Page | 1 2 3 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 22803 times and has 25 replies Next Thread
unrazzle
Newbie




Joined: Jul 31, 2011
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Plugin - Creating Objects with other Properties

Byron,
thanks for your reply. i spent a lot more time with your code since i posted and i was able to figure out the parts of sh3d that you changed, also thanks to help from sicodelicos2003.

you're right, making these changes prevents updates to sh3d, so it isn't the best approach. also, i need to add a much larger list of properties and i need the properties to vary by object, so your approach won't work for that reason as well.

i emailed emmanuel with the details of what i need. if he feels it's worth it to discuss those details here, i would have no objection.
[Aug 1, 2011, 6:45:40 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Byron
Newbie




Joined: Apr 16, 2011
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Re: Plugin - Creating Objects with other Properties

So I have written a document about
"How to extent an objects functionality"
It is some sort of short manual.
Is there a possibility to upload it here?
[Aug 5, 2011, 10:49:01 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Plugin - Creating Objects with other Properties

I just allowed you to attach some documents to your posts (max size 2 MB).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Aug 6, 2011, 9:29:36 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Byron
Newbie




Joined: Apr 16, 2011
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Re: Plugin - Creating Objects with other Properties

So here the Manual as PDF and Word Document.
I hope it will be helpful and there might be some parts
missing especially for the case (2).

Emanuel, do you know a way how to make this process easier?
----------------------------------------
Attachment How to extent an Object in SweetHome3D.pdf (10488 bytes) (Download count: 451) (PDF Manual for extending the standard object classes with new properties or by creating new classes by inheritance from the standard class.)

----------------------------------------
Attachment How to extent an Object in SweetHome3D.doc (35840 bytes) (Download count: 391) (Word Manual for extending the standard object classes with new properties or by creating new classes by inheritance from the standard class)

[Aug 6, 2011, 11:10:41 AM] 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Plugin - Creating Objects with other Properties

Sorry if my answer comes late, but for your information, in version 3.4, furniture instantiation will be centralized in the createHomePieceOfFurniture method of the FurnitureController class, and you'll be able to override it in a derived version if you need to instantiate furniture classes of yours.

Expect more documentation about how to create a derived version of Sweet Home 3D in the coming weeks...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Oct 1, 2011, 12:40:03 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
anandunadkat
Newbie




Joined: Jan 15, 2013
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
Re: Plugin - Creating Objects with other Properties

Hi Bryon,
is it possible for you to share the code for how to create new catalog elements. I have to do something similar where i have to create new catalog entries, basically a new library that will be there when sweethome 3d starts.

Thanks a lot
[Jan 23, 2013, 4:23:27 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 26   Pages: 3   [ Previous Page | 1 2 3 ]
[ 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