Arch Window/cs: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 55: Line 55:
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:
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:


* '''Jméno''': Jméno komponenty
* '''Name''': A name for the component
* '''Typ''': Typ komponenty. Může být "Frame" (Rám), "Glass panel" (Skleněný panel) nebo "Solid panel"(Pevný panel)
* '''Type''': The type of component. Can be "Frame", "Glass panel", "Solid panel" or "Louvres"
* '''Wires''': A comma-separated list of wires the component is based on
* '''Dráty''': Čárkami oddělený seznam drátů, na kterých je komponenta založena
* '''Thickness''': The extrusion thickness of the component
* '''Tloušťka''': Tloušťka vysunutí komponenty
* '''Offset''': The distance between the component and its base 2D wire(s)
* '''Odsazení''': Vzdálenost mezi komponentou a její základovou 2D lomenou čárou(čárami)


[[Image:Arch Window options.jpg|600px]]
[[Image:Arch Window options.jpg|600px]]
Line 69: Line 69:
* 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.
* 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.
* When using presets, it is often convenient to turn the "Near" [[Draft Snap]] on, so you can snap your window to an existing face.
* When using presets, it is often convenient to turn the "Near" [[Draft Snap]] on, so you can snap your window to an existing face.
* The hole created by a window in its host object is determined by two properties: '''Hole Depth''' and '''Hole Wire''' ({{Version0.17}}). The Hole Wire number can be picked in the 3D view from the window's task panel available when double-clicking the window in the tree view


==Dveře==
==Dveře==
Line 78: Line 79:
==Vlastnosti==
==Vlastnosti==


* {{PropertyData|Height}}: The height of this window
* {{PropertyData|Části okna}}: Seznam textových řetězců (5 řetězců na každou komponentu, nastavuje vlastnosti komponent jak jsou uvedeny výše)
* {{PropertyData|Width}}: The width of this window
* {{PropertyData|Hole Depth}}: The depth of the hole created by this window in its host object
* {{PropertyData|Hole Wire}}: The number of the wire from the base object that is used to create a hole in the host object of this window. This value can be set graphically when double-clicking the window in the tree view. Setting a value of 0 will make the window automatically pick its biggest wire for the hole.
* {{PropertyData|Window Parts}}: A list of strings (5 strings per component, setting the component options above)
* {{PropertyData|Louvre Width}}: If any of the components is set to "Louvres", this property defines the size of the louvre elements
* {{PropertyData|Louvre Spacing}}: If any of the components is set to "Louvres", this property defines the spacing between the louvre elements


==Skriptování==
==Skriptování==

Revision as of 19:23, 16 April 2017

Arch Okno

Umístění Menu
Arch → Window
Pracovní stoly
Arch
Výchozí zástupce
W I
Představen ve verzi
-
Viz také
Arch Wall

Popis

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.

Na obrázku výše je okno zkonstruováno na Nakresleném obdélníku, potom vloženo do Zdi. Přidání okna do zdi automaticky vyseká odpovídající otvor v hostující zdi.

Obrázek výše ukazuje mnohem komplexnější okno zkonstruované na náčrtu. Když přejdete do editačního módu, můžete vytvářet různé komponenty, nastavovat jejich tloušťku a vybírat a přiřazovat do nich lomené čáry z náčrtu.

Použití

Použití předvoleb

  1. Optionally, select an Arch object. If no object is selected, the window will be inserted in the object under the mouse when placing the window.
  2. Press the Arch Window button, or press W then I keys
  3. Select one of the presets in the list
  4. Fill out the desired parameters
  5. Press the OK button

Creating from scratch

  1. Optionally, select a face on the Arch object where you want the window to be incuded
  2. Switch to the Sketcher Workbench
  3. Create a new sketch
  4. Draw one or more closed wires
  5. Close the sketch
  6. Switch back to the Arch Workbench
  7. Press the Arch Window button, or press W then I keys
  8. Enter Edit mode by double-clicking the window in the tree view, to adjust the window components

Presets

The following presets are available:

Konstrukce komponent

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:

  • Name: A name for the component
  • Type: The type of component. Can be "Frame", "Glass panel", "Solid panel" or "Louvres"
  • 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)

Volby

  • If the Auto-includecheckbox on the Window creation task panel is unchecked, the window won't be inserted into any host object on creation.
  • Add a selected window to a wall by selecting both, then pressing the Arch Add button.
  • Remove a selected window from a wall by selecting the window, then pressing the Arch Remove 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.
  • The hole created by a window in its host object is determined by two properties: Hole Depth and Hole Wire (Template:Version0.17). The Hole Wire number can be picked in the 3D view from the window's task panel available when double-clicking the window in the tree view

Dveře

Dveře mohou být snadno vytvořeny pomocí nástroje Okno, jenom musíte nakreslit základovou vnitřní lomenou čáru tak, aby se dotýkala venkovní lomené čáry jak je na obrázku níže.

Door

Vlastnosti

  • ÚdajeHeight: The height of this window
  • ÚdajeWidth: The width of this window
  • ÚdajeHole Depth: The depth of the hole created by this window in its host object
  • ÚdajeHole Wire: The number of the wire from the base object that is used to create a hole in the host object of this window. This value can be set graphically when double-clicking the window in the tree view. Setting a value of 0 will make the window automatically pick its biggest wire for the hole.
  • ÚdajeWindow Parts: A list of strings (5 strings per component, setting the component options above)
  • ÚdajeLouvre Width: If any of the components is set to "Louvres", this property defines the size of the louvre elements
  • ÚdajeLouvre Spacing: If any of the components is set to "Louvres", this property defines the spacing between the louvre elements

Skriptování

Nástroj Okno může být využit v makrech a z konzoly Pythonu použitím následující funkce:

makeWindow (obj,[name])
vytvoří okno založené na zadaném objektu

Příklad:

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