Arch Window/es

Descripción
Las Ventanas son un objeto base para todo tipo de objetos "embebidos", como ventanas, puertas, etc. Esta definido tanto para ser independiente, o para estar "alojado" dentro de otro componente como un muro. Tiene su geometría propia (el marco de la ventana, por ejemplo), y también define un volumen a ser sustraído del objeto en el que se aloja, para crear una apertura.

De modo que, puedes dibujar una ventana sobre un perfil base, como un contorno cerrado, y especificar un espesor de extrusión. El volumen de sustracción es calculado automáticamente.

The window tool also 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.



En la imagen superior, una ventana es construida a partir de un Rectángulo, luego insertada en un Muro.



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.

Using a preset

 * 1) Deselect everything. If a face is selected you will enter the "creating from scratch" mode automatically
 * 2) Press the  button, or press  then  keys
 * 3) Select one of the presets in the list
 * 4) Fill out the desired parameters

Creating from scratch

 * 1) If you are going to draw your window directly on a wall, select one face of a wall
 * 2) Press the  button, or press  then  keys
 * 3) A new sketch will be created (on the selected wall face if applicable). Draw one or more closed wires
 * 4) Press the  button in the task panel to create the window
 * 5) Enter Edit mode by double-clicking the window in the tree view, to adjust the window components

Presets
The following presets are available :

Building components
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 extrudes, 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:


 * Name: A name for the component
 * Type: The type of component. Can be "Frame", "Glass panel" or "Solid panel"
 * Wires: A comma-separated list of wires the component is based on
 * Thickness: The extrusion thickness of the component
 * Offset: The distance between the component and its base 2D wire(s)



Options

 * You can also create a closed 2D profile (for example with the Draft Workbench or Sketcher Workbench), then, with that 2D object selected, press the button.
 * Add a selected window to a wall by selecting both, then pressing the button.
 * Remove a selected window from a wall by selecting the window, then pressing the button.
 * When using presets, it is often convenient to turn the "Near" Draft Snap on, so you can snap your window to an existing face.

Doors
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.



Properties

 * : A list of strings (5 strings per component, setting the component options above)

Scripting
The Window tool can by used in macros and from the python console by using the following function:
 * creates a window based on the given object

Example: