|Arch → Window|
The Window is a base object for all kinds of "embeddable" objects, such as windows, doors, etc... It is designed to be either independent, or "hosted" inside another component such as a wall. It has its own geometry, that can be made of several solid components (the window frame, or inner panels for example), and also defines a volume to be subtracted to host objects, in order to create an opening.
Window objects are based on closed 2D objects, such as Draft Rectangles or Sketches, that are used to define their inner components. The base 2D object must therefore contain several closed wires, that can be combined to form filled panels (one wire) or frames (several wires).
The window tool features several presets, that allow to create full doors or windows from a list of parameters, without the need to create the base 2D objects and components manually. But windows can also be created fro scratch, by drawing a base 2D object first.
The above image shows a more complex window being constructed on top of a sketch. When entering the window's edit mode, you can create different components, set their thickness, and select and assign wires from the sketch to them.
The following presets are available:
Windows can include 2 types of components: panels and frames. Panels are made from one closed wire, which gets extruded, while frames are made from 2 or more closed wire, where each one is extruded, then the smaller ones are subtracted from the biggest one. You can access, create, modify and delete components of a window in edit mode (double-click the window in the Tree view). The components have the following properties:
Doors can be made easily with the window tool, you only need to draw the base of the inner wire touching the exterior wire like in the image below.
The Window tool can by used in macros and from the python console by using the following function:
import Draft, Arch rect = Draft.makeRectangle(length=2,height=4) Arch.makeWindow(rect)