Download

Online

Gallery

Blog

  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: 18
Posts: 18   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 13088 times and has 17 replies Next Thread
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3948
Status: Offline
Reply to this Post  Reply with Quote 
Re: Rename furniture

Thanks, Enko, works perfectly!
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Sep 22, 2018, 8:11:56 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
bdfd
Advanced Member
Member's Avatar

Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status: Offline
Reply to this Post  Reply with Quote 
Re: Rename furniture

Version 1.4
Improved treatment.
Excellent into a house but just a remark :

Why does the tool include objects outside buildings ?

Garden, trees, sidewalks,...
It's not necessary. biggrin
.
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
[Sep 22, 2018, 12:14:24 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
bdfd
Advanced Member
Member's Avatar

Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status: Offline
Reply to this Post  Reply with Quote 
Re: Rename furniture

Update : it was only on exterior Walls (gutters, windows, doors,...). biggrin

.
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
[Sep 22, 2018, 12:23:10 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Rename furniture

@bdfd
Why does the tool include objects outside buildings ?
Garden, trees, sidewalks,...

Update : it was only on exterior Walls (gutters, windows, doors,...).

The plug-in adds to the name of a piece of furniture only the name of a room in which the center of the furniture is located and one of its corners with a margin of 1cm.
This therefore depends on the position of the furniture in relation to a room, regardless of its type of environment (indoor or outdoor).
----------------------------------------
EnkoNyito
----------------------------------------
[Edit 1 times, last edit by enkonyito at Sep 26, 2018, 1:56:30 AM]
[Sep 23, 2018, 5:05:46 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
bdfd
Advanced Member
Member's Avatar

Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status: Offline
Reply to this Post  Reply with Quote 
confused Re: Rename furniture

@bdfd
Why does the tool include objects outside buildings ?
Garden, trees, sidewalks,...

Update : it was only on exterior Walls (gutters, windows, doors,...).

The plug-in adds to the name of a piece of furniture only the name of a room in which the center of the furniture is located and one of its corners with a margin of 1cm.
This therefore depends on the position of the furniture in relation to a room, regardless of its type of environment (indoor or outdoor).
Ok for these explanations. smile

But I didn't understand for these... confused



I used plugin v1.4

Case 1
The room has a name : 'Master bathroom'
But the window has no name and NO named group ???
=> all furniture below in the list are in same case…

Case 2
The room has a name : 'Bedroom 2'
But the window has no name and without named group ???

Case 3
The next room, nearest of previous anomaly has a name : 'Bedroom 3'
It equipped of the same window.
The window has a name like the room ! wink

Can you explain us which is different ?

Regards,
bdfd.

confused
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
[Sep 25, 2018, 7:08:24 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Rename furniture

Illustration with the Studio demo file.

before


after


As you can see, the 4 doors or windows in bold do not have their centers inside a room so they have not been renamed.
----------------------------------------
EnkoNyito
[Sep 26, 2018, 2:02:10 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Rename furniture

As shown in the user's guide , a selected piece of furniture has a rectangular outline (1 center and 4 corners).

Which translates into coding:
getX
public float getX()
// Returns the abscissa of the center of this piece of furniture.

getY
public float getY()
// Returns the ordinate of the center of this piece of furniture.

getPoints
public float[][] getPoints()
// Returns the points of each corner of a piece.


So just change the outline of the room to take into account the renaming of the piece of furniture (in bold).

----------------------------------------
EnkoNyito
[Sep 28, 2018, 5:17:31 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
bdfd
Advanced Member
Member's Avatar

Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status: Offline
Reply to this Post  Reply with Quote 
smile Re: Rename furniture

...So just change the outline of the room to take into account the renaming of the piece of furniture (in bold).
Yes, good tip !
.
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
[Sep 28, 2018, 5:28:49 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: 18   Pages: 2   [ Previous Page | 1 2 ]
[ 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 2006-2024 eTeks - All rights reserved