Arch Window/es: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Docnav
|[[Arch_Reference|Reference]]
|[[Arch_SectionPlane|Section Plane]]
|[[Arch_Module|Arch]]
|IconL=Arch_Reference.svg
|IconR=Arch_SectionPlane.svg
|IconC=Workbench_Arch.svg
}}

<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand/es|Name=Arch Window|Name/es=Arch Ventana|Workbenches=[[Arch Module/es|Entorno de Arquitectura]]|MenuLocation=Arquitectura → Ventana|Shortcut=W I|SeeAlso=[[Arch Wall/es|Arch Muro]]}}
{{GuiCommand/es|Name=Arch Window|Name/es=Arch Ventana|Workbenches=[[Arch Module/es|Entorno de Arquitectura]]|MenuLocation=Arquitectura → Ventana|Shortcut=W I|SeeAlso=[[Arch Wall/es|Arch Muro]]}}
Line 18: Line 27:
</div>
</div>


All information applicable to an [[Arch Window]] also applies to an [[Arch Door]], as it's the same underlying object. The main difference between a Window and a Door is that the Door has an internal panel that is shown opaque (the door itself), while the Window has a panel that is partially transparent (the glass).
All information applicable to an [[Arch Window|Arch Window]] also applies to an [[Arch Door|Arch Door]], as it's the same underlying object. The main difference between a Window and a Door is that the Door has an internal panel that is shown opaque (the door itself), while the Window has a panel that is partially transparent (the glass).


[[Image:Arch Window example.jpg|600px]]
[[Image:Arch Window example.jpg|600px]]
Line 28: Line 37:
{{Caption|Complex window being constructed on top of a [[Sketcher Workbench|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.}}
{{Caption|Complex window being constructed on top of a [[Sketcher Workbench|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.}}


<div class="mw-translate-fuzzy">
==Utilización==
==Utilización==
</div>


===Usando un predefinido===
===Usando un predefinido===
Line 39: Line 50:
# Presione el botón '''Ok'''
# Presione el botón '''Ok'''
</div>
</div>

{{Emphasis|Note:}} if you install the "Parts Library" from the [[AddonManager|AddonManager]], the window tool will search this library for additional presets. These presets are FreeCAD files containing a single window based on a parametric sketch that has named constrains. You may place additional presets in the {{incode|parts_library}} directory so that they are found by the window tool.

{{Code|code=
$ROOT_DIR/Mod/parts_library/Architectural\ Parts/Doors/Custom/
$ROOT_DIR/Mod/parts_library/Architectural\ Parts/Windows/Custom/
}}

The {{incode|$ROOT_DIR}} is the user's directory where FreeCAD configuration, macros, and external workbenches are stored.
* On Linux it is usually {{incode|/home/username/.FreeCAD/}}
* On Windows it is usually {{incode|C:\Users\username\Application Data\FreeCAD\}}
* On Mac OSX it is usually {{incode|/Users/username/Library/Preferences/FreeCAD/}}


===Creando desde cero===
===Creando desde cero===
Line 52: Line 75:
# Ingrese al modo Editar haciendo doble clic en la ventana en la vista de árbol, para ajustar los componentes de la ventana
# Ingrese al modo Editar haciendo doble clic en la ventana en la vista de árbol, para ajustar los componentes de la ventana
</div>
</div>

{{Emphasis|Note:}} when creating the sketch, pay close attention to the creation order of the loops; the numbering of the "wires" in the [[task panel|task panel]] ("Window elements") depends on this.


==Predefinidos==
==Predefinidos==
Line 94: Line 119:
==Aberturas==
==Aberturas==


{{Emphasis|See also:}} [[Tutorial for open windows]]
{{Emphasis|See also:}} [[Tutorial for open windows|Tutorial for open windows]]


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 104: Line 129:
[[Image:Arch window openings.png|600px|Una puerta que muestra de izquierda a derecha el plan de símbolos, la elevación del símbolo y las propiedades de apertura en el trabajo]]
[[Image:Arch window openings.png|600px|Una puerta que muestra de izquierda a derecha el plan de símbolos, la elevación del símbolo y las propiedades de apertura en el trabajo]]
</div>
</div>

==Defining window types==

Windows can also take advantage of other tools, specifically [[PartDesign Workbench|PartDesign]] workflows, to define a type. A type is an object that defines the shape of the window. This is specially well suited to work with [[App Part|App Parts]]:

[[Image:Arch window type example.png|800px]]

[https://github.com/FreeCAD/Examples/blob/master/Arch_Example_Files/Window_Type.FCStd Download the example file shown above]

===Example workflow===

* Create a window frame object, a glass panel, and any other window component you need, using [[Part|Part Workbench]] or [[PartDesign Workbench|PartDesign]] tools.
* For example, create a base rectangular sketch for your window, then a profile sketch for the frame, and create a [[Part Sweep]] to sweep the profile around the base sketch. Create a [[Part Offset2D]] from the base sketch, then a [[Part Extrude]] to create the glass panel
* Make sure all these pieces have a unique, menaingful name (for example, "Frame" or "Glass Panel")
* Create an [[App Part]], and place all your subcomponents in it
* Create a volume to be subtracted from the wall, for example by extruding the base sketch. Add this volume to the App Part. Make sure the volume is turned off
* If using FreeCAD version 0.19 or later, you can add 3 properties to your App Part, by right-clicking its properties view, and check "Show All". Add the following properties (all of them are optional, the group doesn't matter):
** '''Height''' as a PropertyLength and link it, for example, to a vertical constraint of your base sketch
** '''Width''' as a PropertyLength and link it, for example, to a horizontal constraint of your base sketch
** '''Subvolume''' as a PropertyLink and link it to the volume to be subtracted that we created above
** '''Tag''' as a PropertyString

===Materials===

Our window type is now ready. We can create window objects from it, simply by selecting the App Part and pressing the window button. The "Height", "Width", "Subvolume" and "Tag" properties of the window will be linked to the corresponding property of the App Part, if existing.

To build a material for type-based windows:
* Create a [[Arch MultiMaterial|multi-material]]
* Create one entry in the multi-material for each component of your App Part. For example, one "Frame", one "Glass panel" as we used above. Make sure to use the exact same name.
* Attribute that multi-material to each of the windows derived from the same type


You can use any other kind of workflow than the one described above, the important points to remember are:
* The type object must be one object, no matter the type (App Part, PartDesign Body, Part Compound, or even another Arch Window)
* The type object must have a "Subvolume" property (linked to the window's Subvolume property) for openings in host objects to work
* The type object must have a "Group" property with different children with same names as multi-material items for multi-materials to work


==Propiedades==
==Propiedades==
Line 166: Line 227:
[[Category:Arch/es]]
[[Category:Arch/es]]
</div>
</div>

{{Arch Tools navi{{#translation:}}}}

{{Userdocnavi{{#translation:}}}}

Revision as of 13:18, 1 December 2020

Arch Ventana

Ubicación en el Menú
Arquitectura → Ventana
Entornos de trabajo
Entorno de Arquitectura
Atajo de teclado por defecto
W I
Introducido en versión
-
Ver también
Arch Muro

Descripción

La ventana es un objeto base para todo tipo de objetos "incrustables", como ventanas, puertas, etc. Está diseñado para ser independiente o estar "alojado" dentro de otro componente, como una pared. Tiene su propia geometría, que puede estar compuesta por varios componentes sólidos (el marco de la ventana o los paneles internos, por ejemplo), y también define un volumen que se restará a los objetos anfitriones, para crear una apertura.

Los objetos de ventana se basan en objetos 2D cerrados, como Draft Rectangles o Sketches, que se utilizan para definir sus componentes internos. Por lo tanto, el objeto base 2D debe contener varias lineas cerradas, que se pueden combinar para formar paneles rellenos (una linea) o marcos (varias lineas).

La herramienta de ventana presenta varios predefinidos, que permiten crear puertas o ventanas completas a partir de una lista de parámetros, sin la necesidad de crear manualmente los objetos y componentes 2D básicos. Pero también se pueden crear ventanas desde cero, dibujando primero un objeto base en 2D.

All information applicable to an Arch Window also applies to an Arch Door, as it's the same underlying object. The main difference between a Window and a Door is that the Door has an internal panel that is shown opaque (the door itself), while the Window has a panel that is partially transparent (the glass).

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.

Utilización

Usando un predefinido

  1. Opcionalmente, seleccione un objeto Arch. Si no se selecciona ningún objeto, la ventana se insertará en el objeto debajo del mouse al colocar la ventana.
  2. Presione el botón Arch Window, o presione W luego la tecla I
  3. Seleccione uno de los predefinidos en la lista
  4. Completa los parámetros deseados
  5. Presione el botón Ok

Note: if you install the "Parts Library" from the AddonManager, the window tool will search this library for additional presets. These presets are FreeCAD files containing a single window based on a parametric sketch that has named constrains. You may place additional presets in the parts_library directory so that they are found by the window tool.

$ROOT_DIR/Mod/parts_library/Architectural\ Parts/Doors/Custom/
$ROOT_DIR/Mod/parts_library/Architectural\ Parts/Windows/Custom/

The $ROOT_DIR is the user's directory where FreeCAD configuration, macros, and external workbenches are stored.

  • On Linux it is usually /home/username/.FreeCAD/
  • On Windows it is usually C:\Users\username\Application Data\FreeCAD\
  • On Mac OSX it is usually /Users/username/Library/Preferences/FreeCAD/

Creando desde cero

  1. Opcionalmente, seleccione una cara en el objeto Arch donde desee que se incluya la ventana
  2. Cambie al Sketcher Workbench
  3. Crea un nuevo boceto
  4. Dibuja uno o más lineas cerradas
  5. Cerrar el boceto
  6. Vuelva al Arch Workbench
  7. Presione el botón Arch Window, o presione W luego la tecla I
  8. Ingrese al modo Editar haciendo doble clic en la ventana en la vista de árbol, para ajustar los componentes de la ventana

Note: when creating the sketch, pay close attention to the creation order of the loops; the numbering of the "wires" in the task panel ("Window elements") depends on this.

Predefinidos

Los siguientes predefinidos están disponibles:

Componentes constructivos

Windows puede incluir 3 tipos de componentes: paneles, marcos y louvres. Los paneles y las louvres están hechos de una linea cerrada, que se extruye, mientras que los marcos están hechos de 2 o más lineas cerradas, donde cada uno se extruye, luego los más pequeños se restan del más grande. Puede acceder, crear, modificar y eliminar componentes de una ventana en el modo de edición (haga doble clic en la ventana en la vista de árbol). Los componentes tienen las siguientes propiedades:

  • Nombre: un nombre para el componente
  • Tipo: el tipo de componente. Puede ser "Marco", "Panel de vidrio", "Panel sólido" o "Louvres"
  • Wires: una lista de lineas separadas por comas en la que el componente se basa
  • Grosor: el espesor de extrusión del componente
  • Z Offset: la distancia entre el componente y su base 2D linea(s)
  • Bisagra: Esto le permite seleccionar un borde del objeto base 2D, luego establecer ese borde como una bisagra para este componente y los siguientes en la lista
  • Modo de apertura: si definió una bisagra en este componente o en cualquier otro anterior de la lista, establecer el modo de apertura permitirá que la ventana parezca abierta o que muestren símbolos de apertura 2D en planta o alzado.

Opciones

  • Windows comparte las propiedades y comportamientos comunes de todos Arch Components
  • Si la casilla Autoincluir en el panel de tareas de creación de ventanas está desmarcada, la ventana no se insertará en ningún objeto Anfitrion al momento de la creación.
  • Agregue una ventana seleccionada a Muro seleccionando ambos, luego presione el botón Arch Add.
  • Eliminar una ventana seleccionada de un muro seleccionando la ventana, luego presionando el botón Arch Remove.
  • Cuando se usan predefinidos, a menudo es conveniente activar el "Near" Draft Snap, para que pueda ajustar su ventana a una cara existente.
  • El agujero creado por una ventana en su objeto anfitrión está determinado por dos propiedades: Profundidad del agujero y Hole Wire (introduced in version 0.17). El número de Hole Wire se puede seleccionar en la vista 3D desde el panel de tareas de la ventana disponible al hacer doble clic en la ventana en la vista de árbol
  • Windows puede hacer uso de Multi-Materiales. La ventana buscará en el Multi-Material adjunto capas de material con el mismo nombre para cada uno de sus componentes de ventana, y lo usará si encuentra alguno. Por ejemplo, un componente llamado "OuterFrame" buscará en el Multi-Material adjunto, para una capa de material llamada "OuterFrame". Si se encuentra dicha capa de material, su material se atribuirá al componente OuterFrame. El valor de espesor de la capa de material no se tiene en cuenta.

Aberturas

See also: Tutorial for open windows

Las puertas y ventanas pueden aparecer parcial o totalmente abiertas en el modelo 3D, o pueden mostrar símbolos de apertura tanto en plano como en elevación. En consecuencia, estos también aparecerán en las vistas 2D extraídas generadas por Draft Shape2DView/es o TechDraw Workbench/es o Drawing Workbench/es. Para obtener esto, al menos uno de los componentes de la ventana debe tener una bisagra y un modo de apertura definido (consulte la sección "Componentes de la construcción" más arriba). Luego, usando las propiedades Apertura, Plan de símbolos o Elevación de símbolos, puede configurar el aspecto de la ventana:

Una puerta que muestra de izquierda a derecha el plan de símbolos, la elevación del símbolo y las propiedades de apertura en el trabajo

Defining window types

Windows can also take advantage of other tools, specifically PartDesign workflows, to define a type. A type is an object that defines the shape of the window. This is specially well suited to work with App Parts:

Download the example file shown above

Example workflow

  • Create a window frame object, a glass panel, and any other window component you need, using Part Workbench or PartDesign tools.
  • For example, create a base rectangular sketch for your window, then a profile sketch for the frame, and create a Part Sweep to sweep the profile around the base sketch. Create a Part Offset2D from the base sketch, then a Part Extrude to create the glass panel
  • Make sure all these pieces have a unique, menaingful name (for example, "Frame" or "Glass Panel")
  • Create an App Part, and place all your subcomponents in it
  • Create a volume to be subtracted from the wall, for example by extruding the base sketch. Add this volume to the App Part. Make sure the volume is turned off
  • If using FreeCAD version 0.19 or later, you can add 3 properties to your App Part, by right-clicking its properties view, and check "Show All". Add the following properties (all of them are optional, the group doesn't matter):
    • Height as a PropertyLength and link it, for example, to a vertical constraint of your base sketch
    • Width as a PropertyLength and link it, for example, to a horizontal constraint of your base sketch
    • Subvolume as a PropertyLink and link it to the volume to be subtracted that we created above
    • Tag as a PropertyString

Materials

Our window type is now ready. We can create window objects from it, simply by selecting the App Part and pressing the window button. The "Height", "Width", "Subvolume" and "Tag" properties of the window will be linked to the corresponding property of the App Part, if existing.

To build a material for type-based windows:

  • Create a multi-material
  • Create one entry in the multi-material for each component of your App Part. For example, one "Frame", one "Glass panel" as we used above. Make sure to use the exact same name.
  • Attribute that multi-material to each of the windows derived from the same type


You can use any other kind of workflow than the one described above, the important points to remember are:

  • The type object must be one object, no matter the type (App Part, PartDesign Body, Part Compound, or even another Arch Window)
  • The type object must have a "Subvolume" property (linked to the window's Subvolume property) for openings in host objects to work
  • The type object must have a "Group" property with different children with same names as multi-material items for multi-materials to work

Propiedades

  • DATOS Height: El alto de esta ventana
  • DATOS Width: El ancho de esta ventana
  • DATOS Hole Depth: La profundidad del agujero creado por esta ventana en su objeto anfitrión
  • DATOS Hole Wire: el número de linea del objeto base que se usa para crear un agujero en el objeto anfitrión de esta ventana. Este valor puede establecerse gráficamente al hacer doble clic en la ventana en la vista de árbol. Establecer un valor de 0 hará que la ventana seleccione automáticamente su linea más grande para el agujero.
  • DATOS Window Parts: una lista de cadenas (5 cadenas por componente, configurando las opciones de componentes anteriores)
  • DATOS Louvre Width: si alguno de los componentes está configurado en "Louvres", esta propiedad define el tamaño de los elementos del louvre
  • DATOS Louvre Spacing: si alguno de los componentes está configurado en "Louvres", esta propiedad define el espacio entre los elementos del Louvre
  • DATOS Opening: todos los componentes que tienen su modo de apertura establecido, y siempre que se haya definido una bisagra en ellos o en un componente anterior de la lista, aparecerán abiertos en un porcentaje definido por este valor
  • DATOS Symbol Plan: muestra el símbolo de apertura 2D en el plan
  • DATOS Elevación de símbolo: muestra el símbolo de apertura 2D en alzado

Programación

La herramienta Ventana puede usarse en macros y desde la consola de Python utilizando la siguiente función:

Window = makeWindow(baseobj=None, width=None, height=None, parts=None, name="Window")
crea una ventana basada en el objeto dado

Ejemplo:

import FreeCAD, Draft, Arch

Rect1 = Draft.makeRectangle(length=900, height=3000)
Window = Arch.makeWindow(Rect1)
FreeCAD.ActiveDocument.recompute()

You can also create a Window from a preset.

Window = makeWindowPreset(windowtype, width, height, h1, h2, h3, w1, w2, o1, o2, placement=None)

Example:

import FreeCAD, Arch

base = FreeCAD.Vector(2000, 0, 0)
Axis = FreeCAD.Vector(1, 0, 0)
place=FreeCAD.Placement(base, FreeCAD.Rotation(Axis, 90))

Door = Arch.makeWindowPreset("Simple door",
                             width=900, height=2000,
                             h1=100, h2=100, h3=100, w1=200, w2=100, o1=0, o2=100,
                             placement=place)