Hello, I've been working on a procedural wooden house frame HDA, and have run into an issue. I'm trying to create a random floor plan, and have been stumped on how to move forward. Up until now, I've done like in the attached image, and drawn curves manually to create the walls from.
I just found the Lot Subdivision gamedev tool, and it seems like something that should get me really close to what I'm looking for. But I can't figure out how to remove the surrounding edges from the grid. I can split the ground plane, but the “Group by Unshared Edges” leaves me some central edges.
If anyone could help point in the right direction, it'd be really appreciated.
I'm sure there's a more elegant way to do this, but if it's always going to be a flat plane, the first thing that comes to mind is that you can use PolyExpand2D and PolyExtrude to create a volume from your original outline and use that to group the points along the outer edge. Then convert that point group to edges with only the fully contained elements to get your outer edge group. Lastly, use a GroupCombine to group all edges but your border edges. This should at least let you keep moving forward for now.