Arch Window/cs: Difference between revisions

From FreeCAD Documentation
(Created page with "Category:Arch/cs")
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">
{{GuiCommand/cs|Name=Arch Window|Name/cs=Arch Okno|Workbenches=[[Arch Module/cs|Arch]]|MenuLocation=Arch → Window|Shortcut=W I|SeeAlso=[[Arch Wall/cs|Arch Wall]]}}
{{GuiCommand/cs|Name=Arch Window|Name/cs=Arch Okno|Workbenches=[[Arch Module/cs|Arch]]|MenuLocation=Arch → Window|Shortcut=W I|SeeAlso=[[Arch Wall/cs|Arch Wall]]}}
</div>


==Popis==
==Popis==
Line 13: Line 15:


The Window tool features several '''presets'''; this allows the user to create common types of windows and doors with certain editable parameters, without the need for the user to create the base 2D objects and components manually.
The Window tool features several '''presets'''; this allows the user to create common types of windows and doors with certain editable parameters, without the need for the user to create the base 2D objects and components manually.

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


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

<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
[[Image:Arch Window example.jpg|600px]]
Na obrázku výše je okno zkonstruováno na [[Draft Rectangle|Nakresleném obdélníku]], potom vloženo do [[Arch Wall|Zdi]]. [[Arch Add|Přidání]] okna do zdi automaticky vyseká odpovídající otvor v hostující zdi.
</div>
</div>


[[Image:Arch Window example2.jpg|600px]]
[[Image:Arch Window example2.jpg|600px]]
{{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">
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.
</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).


==Použití==
==Použití==
Line 33: Line 31:


# 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.
# 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.
# Press the {{KEY|[[Image:Arch Window.png|16px]] [[Arch Window]]}} button, or press {{KEY|W}} then {{KEY|I}} keys
# Press the {{Button|[[Image:Arch Window.svg|16px]] [[Arch Window]]}} button, or press {{KEY|W}} then {{KEY|I}} keys.
# Select one of the presets in the list
# Select one of the presets in the list.
# Fill out the desired parameters
# Fill out the desired parameters.
# Press the '''OK''' button
# Press the {{Button|OK}} button.


===Creating from scratch===
===Creating from scratch===


# Optionally, select a face on the Arch object where you want the window to be incuded
# Optionally, select a face on the Arch object where you want the window to be included.
# Switch to the [[Sketcher Module|Sketcher Workbench]]
# Switch to the [[Sketcher Module|Sketcher Workbench]].
# Create a new sketch
# Create a new sketch.
# Draw one or more closed wires
# Draw one or more closed wires.
# Close the sketch
# Close the sketch.
# Switch back to the [[Arch Module|Arch Workbench]]
# Switch back to the [[Arch Module|Arch Workbench]].
# Press the {{KEY|[[Image:Arch Window.png|16px]] [[Arch Window]]}} button, or press {{KEY|W}} then {{KEY|I}} keys
# Press the {{Button|[[Image:Arch Window.svg|16px]] [[Arch Window]]}} button, or press {{KEY|W}} then {{KEY|I}} keys.
# Enter Edit mode by double-clicking the window in the tree view, to adjust the window components
# Enter Edit mode by double-clicking the window in the tree view, to adjust the window components.


==Presets==
==Presets==
Line 86: Line 84:
* Při využití předvoleb je často výhodné zapnout "Blízký" [[Draft Snap|Kreslení Přichytit]], takže můžete přichytit okno na existující plochu.
* Při využití předvoleb je často výhodné zapnout "Blízký" [[Draft Snap|Kreslení Přichytit]], takže můžete přichytit okno na existující plochu.
</div>
</div>

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

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


==Openings==
==Openings==


{{Emphasis|See also:}} [[Tutorial for open windows]]
Doors and windows can appear partially or fully open in the 3D model, or can display opening symbols both in plan and/or elevation. Consequently, these will also appear in extracted 2D views generated by [[Draft Shape2DView]] or [[TechDraw Workbench]] or [[Drawing Workbench]]. To obtain this, at least one of the window components must have a hinge and an opening mode defined (see the [[#Building components]] above). Then, using the '''Opening''', '''Symbol Plan''' or '''Symbol Elevation''' properties, you can configure the appearance of the window:


Doors and windows can appear partially or fully open in the 3D model, or can display opening symbols both in plan and/or elevation. Consequently, these will also appear in extracted 2D views generated by [[Draft Shape2DView]] or [[TechDraw Workbench]] or [[Drawing Workbench]]. To obtain this, at least one of the window components must have a hinge and an opening mode defined (see the [[#Building components]] above). Then, using the {{PropertyData|Opening}}, {{PropertyData|Symbol Plan}} or {{PropertyData|Symbol Elevation}} properties, you can configure the appearance of the window:
[[Image:Arch window openings.png|600px|A door showing from left to right the Symbol Plan, Symbol Elevation and Opening properties at work]]


[[Image:Arch window openings.png|600px]]
See also: [[Tutorial for open windows]]
{{Caption|A door showing the symbol plan, symbol elevation and opening properties at work}}


==Vlastnosti==
==Vlastnosti==
Line 107: Line 100:
</div>
</div>


<div class="mw-translate-fuzzy">
==Skriptování==
==Skriptování==
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 121: Line 116:
Příklad:
Příklad:
{{Code|code=
{{Code|code=
import Draft, Arch
import FreeCAD, Draft, Arch


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


You can also create a Window from a preset.
{{Code|code=
Window = makeWindowPreset(windowtype, width, height, h1, h2, h3, w1, w2, o1, o2, placement=None)
}}
<div class="mw-translate-fuzzy">
[[Image:Arch Window example2.jpg|600px]]
</div>

Example:
{{Code|code=
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)
}}

<div class="mw-translate-fuzzy">
[[Category:Arch/cs]]
[[Category:Arch/cs]]
</div>

Revision as of 18:33, 30 January 2019

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

Okno je základní objekt pro všechny druhy "vestavěných" objektů, jako jsou okna, dveře, atd... Je konstruované tak aby bylo buď nezávislé nebo "hostováno" uvnitř jiné komponenty jako je zeď. Má svoji vlastní konfiguraci, která může být vytvořena z několika komponent (např. rám okna) a také definuje objem, který bude ubrán z hostitelského objektu při vytvoření otvoru.

Okna jsou založena na uzavřených 2D objektech jako jsou Kreslení obdélníků nebo Náčrty, které jsou využity k definování jejich vnitřních komponent. Základní 2D objekt proto může obsahovat několik uzavřených lomených čar, které mohou být kombinovány tak aby utvořily vyplněné křídlo (jedna lomená čára) nebo rámy (několik lomených čar). Jestliže byl 2D objekt nakreslen na podpůrném objektu a je-li tento podpůrný objekt zeď, je okno automaticky včleněno do zdi.

The Window tool features several presets; this allows the user to create common types of windows and doors with certain editable parameters, without the need for the user to create the base 2D objects and components manually.

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.

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

Okna mohou obsahovat 2 typy komponent: křídla a rámy. Křídla jsou vytvořena z jedné uzavřené lomené čáry, která se vysune, zatímco rámy jsou udělány ze 2 nebo více uzavřených lomených čar, z nichž každá je samostatně vysunuta, potom ty menší jsou odebrány z těch větších. Na komponenty okna můžete přistupovat, měnit a mazat je v editačním módu (dvojklikem na okno v pohledu stromu). Komponenty mají následující vlastnosti:

  • Jméno: Jméno komponenty
  • Typ: Typ komponenty. Může být "Frame" (Rám), "Glass panel" (Skleněný panel) nebo "Solid panel"(Pevný panel)
  • Dráty: Čárkami oddělený seznam drátů, na kterých je komponenta založena
  • Tloušťka: Tloušťka vysunutí komponenty
  • Odsazení: Vzdálenost mezi komponentou a její základovou 2D lomenou čárou(čárami)

Volby

  • Můžete teké vytvořit uzavřený 2D profil (např. pomocí Kreslicí plochy nebo Náčrtové plochy), potom s tímto vybraným 2D profilem stisknete tlačítko Okno.
  • Přidejte vybrané okno do zdi vybráním obou (zdi i okna), potom stisknutím tlačítka Přidat.
  • Odebrání vybraného okna ze zdi vybráním okna a potom stisknutím tlačítka Odebrat.
  • Při využití předvoleb je často výhodné zapnout "Blízký" Kreslení Přichytit, takže můžete přichytit okno na existující plochu.

Openings

See also: Tutorial for open windows

Doors and windows can appear partially or fully open in the 3D model, or can display opening symbols both in plan and/or elevation. Consequently, these will also appear in extracted 2D views generated by Draft Shape2DView or TechDraw Workbench or Drawing Workbench. To obtain this, at least one of the window components must have a hinge and an opening mode defined (see the #Building components above). Then, using the ÚdajeOpening, ÚdajeSymbol Plan or ÚdajeSymbol Elevation properties, you can configure the appearance of the window:

A door showing the symbol plan, symbol elevation and opening properties at work

Vlastnosti

  • ÚdajeČásti okna: Seznam textových řetězců (5 řetězců na každou komponentu, nastavuje vlastnosti komponent jak jsou uvedeny výše)

Skriptování

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

Window = makeWindow(baseobj=None, width=None, height=None, parts=None, name="Window")
vytvoří okno založené na zadaném objektu

Příklad:

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)