Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help  | 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: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1329 times and has 1 reply Next Thread
WenFai
Newbie
Member's Avatar

CN
Joined: Jul 7, 2017
Post Count: 14
Status: Offline
Reply to this Post  Reply with Quote 
confused how to decide outside walls

Another question :
we want to select the outside walls of a house.
As we want to build a community with several top buildings, we draw each building with just one level,then the plugin extend it to a building. we don't need the walls inside the building, we just use the outside walls to build it.It could help to reduce the stress for the program to show the home view.
But the walls is not just a line, it could be a circular arc with a property named arcExtent.
Is there any method can help with it in API? or any other ideas?

Thanks
[Aug 1, 2017 11:07:20 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 5837
Status: Offline
Reply to this Post  Reply with Quote 
Re: how to decide outside walls

There's no method in the program to detect outside walls.
Maybe you could reuse wallsAreaCache handled in PlanController to get its exterior path(s) using getAreaPoints in Object3DBranch. The exterior walls should be the ones that intersect with this exterior path, but that won't work if an interior wall touches the border of an exterior wall.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 1, 2017 12:52:41 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [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 2006-2017 eTeks - All rights reserved