Trying to cut holes for doors/windows in a line 2d

Godot Version

v4.6.3.stable.official

Question

I’m making a simple floor plan (hopefully out of line 2ds) I’d like to be able to draw a line then add a scene with a door image and a hole (polygon 2d?) defined and have it cut the hole out of the line. I’m really struggling to find a way to do this that is intuitive and easy to work with. I could really use some pointing in the right direction.

If I could create some sort of reverse clipping mask it’d be easy… make a polygon composed of all my holes and set the clip to inverse… but godot doesn’t do that. My attempts at cutting a base polygon into pieces using geometry2d.clip_polygons has been … frustrating.

I’d love advice on how this might be accomplished. Thank you so much for your consideration of my problem.

Render a black-and-white mask into a sub-viewport.