🧱 Walls_Construction Tools /
🪟 Add 2D Window/Opening
Add 2D Window/Opening. Part of Walls _Construction Tools. This script creates a copy of a selected wall rectangle and extends it from both ends based on two user-defined points. It is ideal for creating window or opening representations along walls.
Requirements:Â
Wall rectangles must be present in the project (e.g., using the Cloud & Mesh - Create Walls )
Each rectangle must have a centerline named in the format Center_<width> (e.g., Center_0.300).Â
Steps:
Run the Script
Launch from the Walls_Construction Tools menu. The script enters loop mode.
Select Rectangle
Click on a wall rectangle to extend.
The original rectangle is highlighted in white for reference.
Specify Extension Points
Click two points in the viewport to define the new start and end positions.
Points are projected onto the rectangle’s axis to ensure alignment.
Preview Creation
A cyan preview rectangle is generated showing the extended dimensions.
A white outline highlights the preview.
Confirmation Dialog
After preview is shown, you can:
Create Final: A white rectangle is created with the new dimensions.
Reassign Points: Restart point selection.
Cancel: Exit without changes.
Notes:
Press ESC at any time to exit loop mode.
Recommended to select points from opposite ends of the rectangle for proper extension.
The rectangle direction remains unchanged.