Reinforcement LShapeRebar/it: Difference between revisions
mNo edit summary |
(Updating to match new version of source page) |
||
Line 40: | Line 40: | ||
makeLShapeRebar(FrontCover, BottomCover, LeftCover, RightCover, Diameter, TopCover, Rounding, AmountSpacingCheck, AmountSpacingValue, orientation, Structure, Facename) |
makeLShapeRebar(FrontCover, BottomCover, LeftCover, RightCover, Diameter, TopCover, Rounding, AmountSpacingCheck, AmountSpacingValue, orientation, Structure, Facename) |
||
}} |
}} |
||
* The LShape Rebar have four different orientations: |
|||
* L'armatura a L può avere quattro diversi orientamenti: |
|||
** Bottom Right |
** Bottom Right |
||
** Bottom Left |
** Bottom Left |
||
** Top Right |
** Top Right |
||
** Top Left |
** Top Left |
||
* Adds a LShape reinforcing bar object to the given structural object. |
|||
* Aggiunge un oggetto armatura UShape all'oggetto strutturale specificato. |
|||
* |
* If no Structure and Facename is given, it will take user selected face as input. |
||
* Here CoverAlong argument is having type tuple. |
* Here CoverAlong argument is having type tuple. |
||
* |
* Returns the new Rebar object. |
||
Example: |
|||
Creating LShape rebar. |
|||
Esempio: |
|||
Creare una armatura a L (LShape). |
|||
{{Code|code= |
{{Code|code= |
||
import Arch, LShapeRebar |
import Arch, LShapeRebar |
||
Line 59: | Line 58: | ||
rebar = LShapeRebar.makeLShapeRebar(20, 20, 20, 20, 8, 20, 2, True, 10, "Bottom Left", structure, "Face1") |
rebar = LShapeRebar.makeLShapeRebar(20, 20, 20, 20, 8, 20, 2, True, 10, "Bottom Left", structure, "Face1") |
||
}} |
}} |
||
Changing properties of LShape rebar. |
|||
Cambiare le proprietà di una armatura LShape. |
|||
{{Code|code= |
{{Code|code= |
||
import LShapeRebar |
import LShapeRebar |
||
LShapeRebar.editLShapeRebar(50, 50, 20, 20, 8, 20, 2, True, 5, "Top Left") |
LShapeRebar.editLShapeRebar(50, 50, 20, 20, 8, 20, 2, True, 5, "Top Left") |
||
}} |
}} |
||
{{clear}} |
{{clear}} |
Revision as of 16:44, 20 May 2018
Armatura a L |
Posizione nel menu |
---|
Arch → Strumenti armatura |
Ambienti |
Arch |
Avvio veloce |
None |
Vedere anche |
Armatura, Armatura dritta, Armatura a U, Armatura sagomata, Staffe armatura, Armatura elicoidale |
Questo comando fa parte del Addon Reinforcement, che è possibile installare tramite il menu Strumenti → Addons Manager |
Descrizione
Lo strumento Armatura a L consente all'utente di creare una barra di rinforzo piegata a L (un gancio) nell'elemento strutturale.
Utilizzo
- Creare un elemento Struttura
- Selezionare una qualsiasi faccia della struttura
- Selezionare Armatura a L dagli strumenti Armatura
- Sul lato sinistro dello schermo appare un pannello delle azioni come il seguente
- Selezionare l'orientamento desiderato
- Fornire i dati per front cover, right side cover, left side cover, bottom cover, top cover, rounding factor and diameter of the rebar
- Selezionare la modalità di distribuzione per la quantità e per la spaziatura
- Se la spaziatura è selezionata, l'utente può anche optare per una spaziatura personalizzata
- Cliccare sulla faccia selezionata serve per verificare o modificare la faccia per la distribuzione dell'armatura
- Cliccare OK o Apply per generare l'armatura
- Cliccare Cancel per uscire dal pannello delle azioni
Proprietà
- DatiOrientation: Decide l'orientamento dell'armatura (es. verso il basso, verso l'alto, a destra o a sinistra).
- DatiFront Cover: La distanza tra l'armatura e la faccia selezionata. Copriferro anteriore
- DatiRight Cover: La distanza tra l'estremità destra della barra di destra e la faccia destra della struttura. Copriferro destro
- DatiLeft Cover: La distanza tra l'estremità sinistra della barra di sinistra e la faccia sinistra della struttura. Copriferro sinistro
- DatiBottom Cover: La distanza tra l'armatura e la parte inferiore della struttura. Copriferro inferiore
- DatiTop Cover: La distanza tra l'armatura e la parte superiore della struttura. Copriferro superiore
- DatiRounding: Il raggio di curvatura da applicare agli angoli delle barre, espresso quantità di diametro delle barre.
- DatiAmount: La quantità di barre.
- DatiSpacing: La distanza tra gli assi di ogni barra.
Script
Lo strumento Armatura a L può essere usato nelle macro e dalla console python utilizzando la seguente funzione:
makeLShapeRebar(FrontCover, BottomCover, LeftCover, RightCover, Diameter, TopCover, Rounding, AmountSpacingCheck, AmountSpacingValue, orientation, Structure, Facename)
- The LShape Rebar have four different orientations:
- Bottom Right
- Bottom Left
- Top Right
- Top Left
- Adds a LShape reinforcing bar object to the given structural object.
- If no Structure and Facename is given, it will take user selected face as input.
- Here CoverAlong argument is having type tuple.
- Returns the new Rebar object.
Example: Creating LShape rebar.
import Arch, LShapeRebar
structure = Arch.makeStructure(length=1000.0, width=1000.0, height=400.0)
structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
rebar = LShapeRebar.makeLShapeRebar(20, 20, 20, 20, 8, 20, 2, True, 10, "Bottom Left", structure, "Face1")
Changing properties of LShape rebar.
import LShapeRebar
LShapeRebar.editLShapeRebar(50, 50, 20, 20, 8, 20, 2, True, 5, "Top Left")