|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: how to decide outside walls |
|
| Print at Dec 15, 2025, 5:00:57 PM | View all posts in this thread on one page |
| Posted by WenFai at Aug 1, 2017, 1:07:20 PM |
how to decide outside wallsAnother 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 |
| Posted by Puybaret at Aug 1, 2017, 2:52:41 PM |
|
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 creator |
|
|
Current timezone is GMT Dec 15, 2025, 5:00:57 PM |