Print at Dec 20, 2025, 6:19:19 AM View all posts in this thread on one page
Posted by ajay94 at Aug 27, 2018, 2:49:43 PM
RULES FOR DEFINING 3D STRUCTURE
Hi all ,

Thanks for making sweet home 3D , i have a query as in can the code be modified enough to create rules for particular structure eg , can the rules for bedroom size , bathroom size and kitchen size be made if the total area is input by the user ?

Thank you

Ajay sahu

Posted by Puybaret at Aug 27, 2018, 5:26:39 PM
Re: RULES FOR DEFINING 3D STRUCTURE
What kind of rules do you have in mind?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by ajay94 at Aug 28, 2018, 4:29:46 AM
Re: RULES FOR DEFINING 3D STRUCTURE
Standard rules like bedroom area will be thrice of the kitchen area or bathroom area is 1/2 of the kitchen area .certain rules for standard area accoring to the BHK eg 1 BHK , 2BHK

Ajay Sahu

Posted by VeroniQ at Aug 29, 2018, 12:55:25 PM
Re: RULES FOR DEFINING 3D STRUCTURE
I would say that it depends mostly on national regulations and habits, no ?...

Posted by ajay94 at Aug 31, 2018, 9:36:03 AM
Re: RULES FOR DEFINING 3D STRUCTURE
yes , but me question was , can the code be modified to create rules , is it possible ?

Posted by Puybaret at Aug 31, 2018, 12:59:25 PM
Re: RULES FOR DEFINING 3D STRUCTURE
As with any program, you can program all the controls you want.
But the good question is when and how should be displayed the controls you want to add. If you display a popup as soon as your conditions are not verified, this may interrupt user's input. If you want to add a menu item that will check your conditions, you might not be able to force the user to modify his design.
Maybe you could try to program a plug-in for this?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator