Arch Window/it: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Updating to match new version of source page)
Line 1: Line 1:
{{GuiCommand|Name=Arch Window|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch -> Window|Shortcut=W I|SeeAlso=[[Arch Wall]]}}
== Arch: Finestra ==


==Description==
{{GuiCommand/it|Name=Arch Window|Name/it=Finestra|Workbenches=[[Arch Module/it|Architettura]]|MenuLocation=Arch Finestra|Shortcut=W I|SeeAlso=[[Arch Wall/it|Muro]]}}


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 components (the window frame, for example), and also defines a volume to be subtracted to host objects, in order to create an opening.
L'oggetto Finestra è l'oggetto di base per tutti i tipi di oggetti "incorporabili", quali le finestre, le porte, ecc..<br>È progettato per essere un elemento indipendente, oppure "ospitato" all'interno di un altro componente come ad esempio in un muro.<br>
Ha una propria geometria (ad esempio, il telaio della finestra), e definisce anche il volume che deve essere sottratto per creare un'apertura negli oggetti che lo ospitano.<br>
È possibile disegnare una finestra su un profilo di base, come un contorno chiuso, e specificare lo spessore di estrusione. Il volume da sottrarre viene calcolato automaticamente.<br>
Le finestre sono basate su oggetti 2D chiusi, quali ad esempio, dei rettangoli di [[Draft Rectangle/it| Draft]] o di [[Sketcher_Workbench/it|Schizzo]], ambienti che sono utilizzati anche per definire i componenti interni.<br>L'oggetto 2D di base può contenere diversi contorni chiusi, che possono essere combinati per formare dei pannelli pieni (richiedono un contorno) o delle cornici (richiedono più contorni).<br>Se l'oggetto di base 2D è stato elaborato su un oggetto di supporto, e l'oggetto di supporto è un muro, la finestra viene automaticamente inclusa in quel muro.


Windows are based on closed 2D objects, such as [[Draft Rectangle|Draft Rectangles]] or [[Sketcher Module|Sketches]], that are used to define their inner components. The base 2D object can therefore contain several closed wires, that can be combined to form filled panels (one wire) or frames (several wires). If the base 2D object was drawn on a support object, and that support object is a wall, then the window gets automatically included in that wall.


[[Image:Arch Window example.jpg|600px]]
[[Image:Arch Window example.jpg|600px]]


In the above image, a window is constructed on top of a [[Draft Rectangle]], then inserted into a [[Arch Wall|Wall]]. [[Arch Add|Adding]] a window to a wall automatically cuts a correct opening in the host wall.
Nell'immagine precedente, la finestra viene prima costruita sulla base di un rettangolo di [[Draft Rectangle/it|Draft]], quindi viene inserita in un [[Arch Wall/it|muro]].

L'operazione {{KEY/it|[[Image:Arch_Add.png|16px]] [[Arch_Add/it|Aggiungi]]}} una finestra a un {{KEY/it|[[Image:Arch_Wall.png|16px]] [[Arch_Wall/it|muro]]}} intaglia automaticamente una apertura corretta nel muro che la ospita.<br><br>


[[Image:Arch Window example2.jpg|600px]]
[[Image:Arch Window example2.jpg|600px]]


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.
L'immagine sopra mostra le fasi di costruzione di una finestra più complessa e basata su uno schizzo.<br>Quando si entra nella modalità di modifica della finestra, è possibile creare i diversi componenti, impostare il loro spessore, quindi selezionarli e assegnare loro dei contorni con gli strumenti di Schizzo.


=== Utilizzo ===
==How to use==


# If you are going to draw your window directly on a wall, select one face of a wall
* Per disegnare una finestra direttamente su una parete, selezionare una faccia di un muro
* Premere il pulsante {{KEY/it|[[Image:Arch Window.png|16px]] Finestra}}, oppure i tasti {{KEY/it| W }} e {{KEY/it| I }}
# Press the {{KEY|[[Image:Arch Window.png|16px]] [[Arch Window]]}} button, or press {{KEY|W}} then {{KEY|I}} keys
# A new sketch will be created (on the selected wall face if applicable). Draw one or more closed wires
* Viene creato un nuovo schizzo (sulla faccia del muro selezionato se applicabile). Disegnare uno o più contorni chiusi
# Press the {{KEY|CLose}} button in the task panel to create the window
* Premere il pulsante {{KEY/it| Chiudi }} nel pannello Azioni per creare la finestra
# Enter Edit mode by double-clicking the window in the tree view, to adjust the window components
* Attivare la modalità '''Trasforma''' facendo doppio clic nella finestra della vista ad albero, per regolare i componenti della finestra


==Building components==
=== Creare i componenti ===


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:
La finestra può includere 2 tipi di componenti: i pannelli e le cornici.


* '''Name''': A name for the component
I pannelli sono costituiti da un contorno chiuso che viene estruso. Le cornici sono formate da 2 o più contorni chiusi, entrambi estrusi, e quello più piccolo viene {{KEY/it|[[Image:Arch_Remove.png|16px]] [[ Arch_Remove/it|sottratto]]}} al più grande.
* '''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)


[[Image:Arch Window options.jpg|600px]]
È possibile accedere, creare, modificare ed eliminare i componenti di una finestra in modalità di modifica (doppio clic sull'oggetto finestra nella struttura ad albero).


==Options==
I componenti hanno le seguenti proprietà:


* 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 {{KEY|[[Image:Arch Window.png|16px]] [[Arch Window]]}} button.
* '''Name''' : Un nome per il componente
* Add a selected window to a [[Arch Wall|wall]] by selecting both, then pressing the {{KEY|[[Image:Arch Add.png|16px]] [[Arch Add]]}} button.
* '''Wires''' : Un elenco, separato da virgole, dei contorni su cui si basa il componente
* Remove a selected window from a [[Arch Wall|wall]] by selecting the window, then pressing the {{KEY|[[Image:Arch Remove.png|16px]] [[Arch Remove]]}} button.
* '''Thickness''' : Lo spessore di estrusione del componente
* '''Offset''' : La distanza tra il componente e la sua linea di base 2D


==Doors==
[[Image:Arch Window options.jpg|left|600px]]
{{clear}}
=== Opzioni ===


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.
* È anche possibile creare un profilo 2D chiuso, per esempio con il modulo [[Draft Module/it|Draft]] o con [[Sketcher Workbench/it|Schizzo]] poi, con l'oggetto 2D selezionato, cliccare sul pulsante {{KEY/it|[[Image:Arch Window.png|16px]] Finestra}}.
* Per inserire la finestra selezionata in un [[Arch_Wall/it|muro]], selezionare entrambi, poi premere il pulsante {{KEY/it|[[Image:Arch_Add.png|16px]] [[Arch_Add/it|Aggiungi]]}}.
* Per rimuovere la finestra selezionata da un muro selezionare la finestra, poi premere il pulsante {{KEY/it|[[Image:Arch_Remove.png|16px]] [[ Arch_Remove/it|Sottrai]]}}.

=== Porte ===

Le porte possono essere costruite con lo strumento Finestra, è sufficiente che nel disegno la base del contorno interno (porta) coincida con la base del contorno esterno (telaio), come nella seguente immagine:


[[Image:Arch door.jpg|600px|Door]]
[[Image:Arch door.jpg|600px|Door]]


=== Proprietà ===
==Properties==

* {{ProprietaDati|Window Parts}} : Una lista di stringhe (5 stringhe per ogni componente, che stabiliscono le opzioni dei componenti di cui sopra, la stringa 2 attualmente non è utilizzata).

=== Script ===

Lo strumento Window può essere utilizzato nelle [[macros/it|macro]] e dalla console python utilizzando la seguente funzione:

'''makeWindow (obj,[name])'''

* Crea una finestra sull'oggetto indicato


* {{PropertyData|Window Parts}}: A list of strings (5 strings per component, setting the component options above, string 2 currently not used)
Esempio:


==Scripting==
import Draft, Arch
rect = Draft.makeRectangle(length=2,height=4)
Arch.makeWindow(rect)


The Window tool can by used in [[macros]] and from the python console by using the following function:
{{clear}}
<syntaxhighlight>
<br>
makeWindow (obj,[name])
</syntaxhighlight>
creates a window based on the given object


Example:
{{languages/it | {{en|Arch_Window}} {{de|Arch_Window/de}} {{es|Arch_Window/es}} {{fr|Arch_Window/fr}} {{jp|Arch_Window/jp}} }}
<syntaxhighlight>
import Draft, Arch
rect = Draft.makeRectangle(length=2,height=4)
Arch.makeWindow(rect)
</syntaxhighlight>
<languages/>

Revision as of 12:51, 29 November 2013

Arch Window

Menu location
Arch -> Window
Workbenches
Arch
Default shortcut
W I
Introduced in version
-
See also
Arch Wall

Description

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 components (the window frame, for example), and also defines a volume to be subtracted to host objects, in order to create an opening.

Windows are based on closed 2D objects, such as Draft Rectangles or Sketches, that are used to define their inner components. The base 2D object can therefore contain several closed wires, that can be combined to form filled panels (one wire) or frames (several wires). If the base 2D object was drawn on a support object, and that support object is a wall, then the window gets automatically included in that wall.

In the above image, a window is constructed on top of a Draft Rectangle, then inserted into a Wall. Adding a window to a wall automatically cuts a correct opening in the host wall.

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.

How to use

  1. If you are going to draw your window directly on a wall, select one face of a wall
  2. Press the Arch Window button, or press W then I keys
  3. A new sketch will be created (on the selected wall face if applicable). Draw one or more closed wires
  4. Press the CLose 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

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
  • 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

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.

Door

Properties

  • DatiWindow Parts: A list of strings (5 strings per component, setting the component options above, string 2 currently not used)

Scripting

The Window tool can by used in macros and from the python console by using the following function:

makeWindow (obj,[name])

creates a window based on the given object

Example:

import Draft, Arch
rect = Draft.makeRectangle(length=2,height=4)
Arch.makeWindow(rect)