Arch Stairs/cs: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(33 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand/cs|Name=Arch_Stairs|Workbenches=[[Arch Module|Modul architektura]]|MenuLocation=Arch → Stairs|Shortcut=S R}}

<div class="mw-translate-fuzzy">
{{docnav/cs|[[Arch_Space/cs|Space/cs]]|[[Arch_CompPanel/cs|Arch CompPanel/cs]]|[[Arch_Workbench/cs|Arch]]|IconL=Arch_Space.svg |IconC=Workbench_Arch.svg |IconR=Arch_CompPanel.png}}
</div>

<div class="mw-translate-fuzzy">
{{GuiCommand/cs
|Name=Arch_Stairs|Name/cs=Arch Schody
|Workbenches=[[Arch_Workbench/cs|Modul architektura]]
|MenuLocation=Arch → Stairs
|Shortcut={{KEY|S}} {{KEY|R}}
|SeeAlso=[[Arch Structure/cs]], [[Arch Equipment/cs]]
|Version=0.14
}}
</div>

==Description==

<div class="mw-translate-fuzzy">
==Description==
The stairs tool allows you to build automatically several types of stairs. At the moment, only straight stairs (with or without a central landing) are supported. Stairs can be built from scratch, or from a straight [[Draft Line|line]], in which case the stairs follow the line. If the line is not horizontal but has a vertical inclination, the stairs will also follow its slope.

==Popis==
==Popis==
Nástroj Schody pro vytváření a definování schodišť jakéhokoliv typu
Nástroj Schody pro vytváření a definování schodišť jakéhokoliv typu
</div>


See the [http://en.wikipedia.org/wiki/Stairs Stairs entry in wikipedia] for a definition of the different terms used to describe parts of stairs.
See the [https://en.wikipedia.org/wiki/Stairs Stairs entry in wikipedia] for a definition of the different terms used to describe parts of stairs.


[[Image:Arch Stairs example.jpg|640px]]
[[Image:Arch_Stairs_example.jpg|600px]]
<div class="mw-translate-fuzzy">
''Na obrázku nahoře jsou vytvořena dvě schodiště, jedno s plnou strukturou a podestou a druhé s jednotlivými stupni.''
</div>


==Options==
Na obrázku nahoře jsou vytvořena dvě schodiště, jedno s plnou strukturou a podestou a druhé s jednotlivými stupni.


* Stairs share the common properties and behaviors of all [[Arch_Component|Arch Components]]

==Usage==

<div class="mw-translate-fuzzy">
==Použití==
==Použití==
Stiskněte tlačítko {{KEY|[[Image:Arch_Stairs.png|32px]] Schody}} nebo klávesy {{KEY|S}}, {{KEY|R}}
Stiskněte tlačítko {{KEY|[[Image:Arch_Stairs.png|32px]] Schody}} nebo klávesy {{KEY|S}}, {{KEY|R}}
# Nastavte požadované vlastnosti. Některé z části schodiště, jako je struktura, se nemusí projevit okamžitě, pokud je to u některých vlastností nemožné, jako je třeba tloušťka struktury nastavená na nulu.
# Nastavte požadované vlastnosti. Některé z části schodiště, jako je struktura, se nemusí projevit okamžitě, pokud je to u některých vlastností nemožné, jako je třeba tloušťka struktury nastavená na nulu.
</div>


[[Image:Arch_Stairs_Complex_Example.png|600px]]
{{Caption|Complex stairs based on a selection of lines and wired as shown on the left.<br>
In red the wires used for the landings at Z&equals;1500mm, Z&equals;3000mm and Z&equals;4500mm.<br>
In black the lines connecting them used for the flights.
}}

<span id="Properties"></span>
==Vlastnosti==
==Vlastnosti==


===Data===
Základ


{{TitleProperty|Segment and Parts}}
* {{PropertyData|Align}}: The alignment of these stairs on their baseline, if applicable.
* {{PropertyData|Base}}: The baseline of these stairs, if any.
* {{PropertyData|Height}}: The total height of these stairs, if not based on a baseline, or the baseline is horizontal.
* {{PropertyData|Length}}: The total length of these stairs if no baseline is defined.
* {{PropertyData|Width}}: The width of these stairs.


* {{PropertyData|Abs Top|Vector}}: (read-only) The absolute top level the stairs lead to.
Steps
* {{PropertyData|Last Segment|Link}}: Last segment (flight or landing) of an Arch Stairs connecting to this segment. The start level of the stairs will be the end level of this last segment.
* {{PropertyData|Outline Left|VectorList}}: The left outline of the stairs.
* {{PropertyData|Outline Left All|VectorList}}: The left outline of all segments of the stairs.
* {{PropertyData|Outline Right|VectorList}}: The right outline of the stairs.
* {{PropertyData|Outline Right All|VectorList}}: The right outline of all segments of the stairs.
* {{PropertyData|Railing Height Left|Length}}: Height of the left railing of the stairs or landing.
* {{PropertyData|Railing Height Right|Length}}: Height of the right railing of the stairs or landing.
* {{PropertyData|Railing Left|LinkHidden}}: The left railing object. {{Version|0.20}}: Property type updated from {{Incode|String}} to {{Incode|LinkHidden}}.
* {{PropertyData|Railing Offset Left|Length}}: Offset of the left railing from the edge of the stairs or landing.
* {{PropertyData|Railing Offset Right|Length}}: Offset of the right railing from the edge of the stairs or landing.
* {{PropertyData|Railing Right|LinkHidden}}: The right railing object. {{Version|0.20}}: Property type updated from {{Incode|String}} to {{Incode|LinkHidden}}.


{{TitleProperty|Stairs}}
* {{PropertyData|Nosing}}: The size of the nosing.
* {{PropertyData|Number of Steps}}: The numbers of steps (risers) in these stairs.
* {{PropertyData|Riser Height}}: The height of the risers.
* {{PropertyData|Tread Depth}}: The depth of the treads.
* {{PropertyData|Tread Thickness}}: The thickness of the treads.


* {{PropertyData|Align|Enumeration}}: The alignment of the stairs on the baseline. Only used if a baseline is defined. Can be {{value|Left}}, {{value|Right}} or {{value|Center}}.
Structure
* {{PropertyData|Height|Length}}: The total height of the stairs. Only used if no baseline is defined, or if the baseline is horizontal. Ignored if {{PropertyData|Riser Height Enforce}} is non-zero.
* {{PropertyData|Length|Length}}: The total length of the stairs if no baseline is defined. Ignored if {{PropertyData|Tread Depth Enforce}} is non-zero.
* {{PropertyData|Width|Length}}: The width of the stairs.
* {{PropertyData|Width of Landing|FloatList}}: If the {{PropertyData|Number Of Steps}} is 1, the stairs object acts as a landing. When this is the case and the baseline is multi-segment, the width of first segment of the landing follows the {{PropertyData|Width}}, the widths of subsequent segments follow the list set here.


{{TitleProperty|Steps}}
* {{PropertyData|Landings}}: The type of landings.

* {{PropertyData|Stringer Offset}}: The offset between the border of the stairs and the structure.
* {{PropertyData|Blondel Ratio|Float}}: (read-only) The calculated Blondel ratio. This ratio indicates comfortable stairs and should be between 62 and 64cm or 24.5 and 25.5in.
* {{PropertyData|Stringer Width}}: The width of the stringers.
* {{PropertyData|Structure}}: The type of structure of these stairs.
* {{PropertyData|Landing Depth|Length}}: The depth of the landing of the flight, if enabled in {{PropertyData|Landings}}. Defaults to the {{PropertyData|Width}} if 0.
* {{PropertyData|Structure Thickness}}: The thickness of the structure.
* {{PropertyData|Nosing|Length}}: The size of the nosing.
* {{PropertyData|Number Of Steps|Integer}}: The numbers of steps (risers). Must be at least 2 for a single flight, and at least 4 for a stairs with a central landing.
* {{PropertyData|Winders}}: The type of winders.
* {{PropertyData|Riser Height|Length}}: (read-only) The height of the risers. If {{PropertyData|Riser Height Enforce}} is 0 it is calculated ({{PropertyData|Height}} / {{PropertyData|Number of Steps}}). Else it is the same as {{PropertyData|Riser Height Enforce}}.
* {{PropertyData|Riser Height Enforce|Length}}: The enforced height of the risers.
* {{PropertyData|Riser Thickness|Length}}: The thickness of the risers.
* {{PropertyData|Tread Depth|Length}}: (read-only) The depth of the treads. If {{PropertyData|Tread Depth Enforce}} is 0 it is calculated ({{PropertyData|Length}} / {{PropertyData|Number of Steps}}). Else it is the same as {{PropertyData|Tread Depth Enforce}}.
* {{PropertyData|Tread Depth Enforce|Length}}: The enforced depth of the treads.
* {{PropertyData|Tread Thickness|Length}}: The thickness of the treads.

{{TitleProperty|Structure}}

* {{PropertyData|Connection Down Start Stairs|Enumeration}}: The type of connection between the lower floor slab and the start of the stairs. Can be {{value|HorizontalCut}}, {{value|VerticalCut}} or {{value|HorizontalVerticalCut}}.
* {{PropertyData|Connection End Stairs Up|Enumeration}}: The type of connection between the end of the stairs and the upper floor slab. Can be {{value|toFlightThickness}} or {{value|toSlabThickness}}.
* {{PropertyData|Down Slab Thickness|Length}}: The thickness of the lower floor slab.
* {{PropertyData|Flight|Enumeration}}: The direction of the flight after the landing. Can be {{value|Straight}}, {{value|HalfTurnLeft}} or {{value|HalfTurnRight}}.
* {{PropertyData|Landings|Enumeration}}: The type of landings. Can be {{value|None}} or {{value|At center}} ({{value|At each corner}} not implemented yet).
* {{PropertyData|Stringer Overlap|Length}}: The overlap of the stringers above the bottom of the treads.
* {{PropertyData|Stringer Width|Length}}: The width of the stringers.
* {{PropertyData|Structure|Enumeration}}: The structure type of the stairs. Can be {{value|None}}, {{value|Massive}}, {{value|One stringer}} or {{value|Two stringers}}.
* {{PropertyData|Structure Offset|Length}}: The offset between the border of the stairs and the structure.
* {{PropertyData|Structure Thickness|Length}}: The thickness of the structure.
* {{PropertyData|Up Slab Thickness|Length}}: The thickness of the upper floor slab.
* {{PropertyData|Winders|Enumeration}}: The type of winders. Not implemented.

==Limitations==

<div class="mw-translate-fuzzy">
==Omezení==
* Nejsou dostupné před verzí FreeCAD 0.14
* V současnosti jsou dostupné pouze přímé schody
* Podívejte se na [http://forum.freecadweb.org/viewtopic.php?f=23&t=6534 forum zdroj] na kruhové schody.
* Podívejte se na následující [http://forum.freecadweb.org/viewtopic.php?f=9&t=4564 forum oznámení].
</div>


== Scripting ==
== Scripting ==


{{Emphasis|See also:}} [[Arch_API|Arch API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
Stairs can be created from python scripts and [[macros]] by using the following function:


The Stairs tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following function:
<syntaxhighlight>
{{Code|code=
makeStairs([base], [length], [width], [height], [steps])
Stairs = makeStairs(baseobj=None, length=None, width=None, height=None, steps=None, name="Stairs")
</syntaxhighlight>
}}


* Creates a stairs object with the given attributes.
* Creates a {{incode|Stairs}} object from the given {{incode|baseobj}}.
* If {{incode|baseobj}} is not given, it will use {{incode|length}}, {{incode|width}}, {{incode|height}}, and {{incode|steps}}, to build a solid object.
* Returns the new stairs object.


Example:
Example:
{{Code|code=
import Arch


Stairs = Arch.makeStairs(length=5000, width=1200, height=3000, steps=14)
<syntaxhighlight>
}}
import Arch
makeStairs(length=5, width=1.2, height=3, steps=14)
</syntaxhighlight>


==Omezení==
* Nejsou dostupné před verzí FreeCAD 0.14
* V současnosti jsou dostupné pouze přímé schody
* Podívejte se na následující [http://forum.freecadweb.org/viewtopic.php?f=9&t=4564 forum zdroj].


<div class="mw-translate-fuzzy">
{{clear}}
{{docnav/cs|[[Arch_Space/cs|Space/cs]]|[[Arch_CompPanel/cs|Arch CompPanel/cs]]|[[Arch_Workbench/cs|Arch]]|IconL=Arch_Space.svg |IconC=Workbench_Arch.svg |IconR=Arch_CompPanel.png}}
</div>


{{Arch Tools navi{{#translation:}}}}
<languages/>
{{Userdocnavi{{#translation:}}}}

Latest revision as of 17:50, 23 February 2023

Arch Schody

Umístění Menu
Arch → Stairs
Pracovní stoly
Modul architektura
Výchozí zástupce
S R
Představen ve verzi
0.14
Viz také
Arch Structure/cs, Arch Equipment/cs

Description

Description

The stairs tool allows you to build automatically several types of stairs. At the moment, only straight stairs (with or without a central landing) are supported. Stairs can be built from scratch, or from a straight line, in which case the stairs follow the line. If the line is not horizontal but has a vertical inclination, the stairs will also follow its slope.

Popis

Nástroj Schody pro vytváření a definování schodišť jakéhokoliv typu

See the Stairs entry in wikipedia for a definition of the different terms used to describe parts of stairs.

Na obrázku nahoře jsou vytvořena dvě schodiště, jedno s plnou strukturou a podestou a druhé s jednotlivými stupni.

Options

Usage

Použití

Stiskněte tlačítko Schody nebo klávesy S, R

  1. Nastavte požadované vlastnosti. Některé z části schodiště, jako je struktura, se nemusí projevit okamžitě, pokud je to u některých vlastností nemožné, jako je třeba tloušťka struktury nastavená na nulu.

Complex stairs based on a selection of lines and wired as shown on the left.
In red the wires used for the landings at Z=1500mm, Z=3000mm and Z=4500mm.
In black the lines connecting them used for the flights.

Vlastnosti

Data

Segment and Parts

  • ÚdajeAbs Top (Vector): (read-only) The absolute top level the stairs lead to.
  • ÚdajeLast Segment (Link): Last segment (flight or landing) of an Arch Stairs connecting to this segment. The start level of the stairs will be the end level of this last segment.
  • ÚdajeOutline Left (VectorList): The left outline of the stairs.
  • ÚdajeOutline Left All (VectorList): The left outline of all segments of the stairs.
  • ÚdajeOutline Right (VectorList): The right outline of the stairs.
  • ÚdajeOutline Right All (VectorList): The right outline of all segments of the stairs.
  • ÚdajeRailing Height Left (Length): Height of the left railing of the stairs or landing.
  • ÚdajeRailing Height Right (Length): Height of the right railing of the stairs or landing.
  • ÚdajeRailing Left (LinkHidden): The left railing object. introduced in version 0.20: Property type updated from String to LinkHidden.
  • ÚdajeRailing Offset Left (Length): Offset of the left railing from the edge of the stairs or landing.
  • ÚdajeRailing Offset Right (Length): Offset of the right railing from the edge of the stairs or landing.
  • ÚdajeRailing Right (LinkHidden): The right railing object. introduced in version 0.20: Property type updated from String to LinkHidden.

Stairs

  • ÚdajeAlign (Enumeration): The alignment of the stairs on the baseline. Only used if a baseline is defined. Can be Left, Right or Center.
  • ÚdajeHeight (Length): The total height of the stairs. Only used if no baseline is defined, or if the baseline is horizontal. Ignored if ÚdajeRiser Height Enforce is non-zero.
  • ÚdajeLength (Length): The total length of the stairs if no baseline is defined. Ignored if ÚdajeTread Depth Enforce is non-zero.
  • ÚdajeWidth (Length): The width of the stairs.
  • ÚdajeWidth of Landing (FloatList): If the ÚdajeNumber Of Steps is 1, the stairs object acts as a landing. When this is the case and the baseline is multi-segment, the width of first segment of the landing follows the ÚdajeWidth, the widths of subsequent segments follow the list set here.

Steps

  • ÚdajeBlondel Ratio (Float): (read-only) The calculated Blondel ratio. This ratio indicates comfortable stairs and should be between 62 and 64cm or 24.5 and 25.5in.
  • ÚdajeLanding Depth (Length): The depth of the landing of the flight, if enabled in ÚdajeLandings. Defaults to the ÚdajeWidth if 0.
  • ÚdajeNosing (Length): The size of the nosing.
  • ÚdajeNumber Of Steps (Integer): The numbers of steps (risers). Must be at least 2 for a single flight, and at least 4 for a stairs with a central landing.
  • ÚdajeRiser Height (Length): (read-only) The height of the risers. If ÚdajeRiser Height Enforce is 0 it is calculated (ÚdajeHeight / ÚdajeNumber of Steps). Else it is the same as ÚdajeRiser Height Enforce.
  • ÚdajeRiser Height Enforce (Length): The enforced height of the risers.
  • ÚdajeRiser Thickness (Length): The thickness of the risers.
  • ÚdajeTread Depth (Length): (read-only) The depth of the treads. If ÚdajeTread Depth Enforce is 0 it is calculated (ÚdajeLength / ÚdajeNumber of Steps). Else it is the same as ÚdajeTread Depth Enforce.
  • ÚdajeTread Depth Enforce (Length): The enforced depth of the treads.
  • ÚdajeTread Thickness (Length): The thickness of the treads.

Structure

  • ÚdajeConnection Down Start Stairs (Enumeration): The type of connection between the lower floor slab and the start of the stairs. Can be HorizontalCut, VerticalCut or HorizontalVerticalCut.
  • ÚdajeConnection End Stairs Up (Enumeration): The type of connection between the end of the stairs and the upper floor slab. Can be toFlightThickness or toSlabThickness.
  • ÚdajeDown Slab Thickness (Length): The thickness of the lower floor slab.
  • ÚdajeFlight (Enumeration): The direction of the flight after the landing. Can be Straight, HalfTurnLeft or HalfTurnRight.
  • ÚdajeLandings (Enumeration): The type of landings. Can be None or At center (At each corner not implemented yet).
  • ÚdajeStringer Overlap (Length): The overlap of the stringers above the bottom of the treads.
  • ÚdajeStringer Width (Length): The width of the stringers.
  • ÚdajeStructure (Enumeration): The structure type of the stairs. Can be None, Massive, One stringer or Two stringers.
  • ÚdajeStructure Offset (Length): The offset between the border of the stairs and the structure.
  • ÚdajeStructure Thickness (Length): The thickness of the structure.
  • ÚdajeUp Slab Thickness (Length): The thickness of the upper floor slab.
  • ÚdajeWinders (Enumeration): The type of winders. Not implemented.

Limitations

Omezení

  • Nejsou dostupné před verzí FreeCAD 0.14
  • V současnosti jsou dostupné pouze přímé schody
  • Podívejte se na forum zdroj na kruhové schody.
  • Podívejte se na následující forum oznámení.

Scripting

See also: Arch API and FreeCAD Scripting Basics.

The Stairs tool can be used in macros and from the Python console by using the following function:

Stairs = makeStairs(baseobj=None, length=None, width=None, height=None, steps=None, name="Stairs")
  • Creates a Stairs object from the given baseobj.
  • If baseobj is not given, it will use length, width, height, and steps, to build a solid object.

Example:

import Arch

Stairs = Arch.makeStairs(length=5000, width=1200, height=3000, steps=14)