Reinforcement ColumnRebars/it: Difference between revisions

From FreeCAD Documentation
(Created page with "4. Seleziona il tipo desiderato di rinforzo della colonna. <br> 5. Fornire gli input per i dati relativi alla staffatura. <br> 6. Fare clic su Avanti per aggiornare la finestr...")
No edit summary
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{docnav/it|[[Arch_Rebar_Helical/it|Armatura elicoidale]]|[[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars/it|Rinforzo di colonna TwoTiesSixRebars]]|[[Arch_Module/it|Arch]]|IconL=Arch_Rebar_Helical.png|IconC=Workbench_Arch.svg|IconR=Arch_Rebar_ColumnReinforcement.svg}}
{{docnav/it|[[Arch_Rebar_Helical/it|Armatura elicoidale]]|[[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars/it|Rinforzo di colonna tipo due staffe sei barre]]|[[Arch_Module/it|Arch]]|IconL=Arch_Rebar_Helical.png|IconC=Workbench_Arch.svg|IconR=Arch_Rebar_ColumnReinforcement.svg}}


{{GuiCommand/it
{{GuiCommand/it
|Name=Arch Rebar ColumnReinforcement
|Name=Arch Rebar ColumnReinforcement
|Name/it=Arch Rebar ColumnReinforcement
|Name/it=Rinforzo di colonna
|MenuLocation=Arch → Strumenti armatura
|MenuLocation=Arch → Strumenti armatura
|Workbenches=[[Arch Workbench/it|Arch]], [[BIM Workbench/it|BIM]]
|Workbenches=[[Arch Workbench/it|Arch]], [[BIM Workbench/it|BIM]]
|SeeAlso=[[Arch_Rebar_Helical/it|Armatura elicoidale]], [[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars/it|Rinforzo di colonna TwoTiesSixRebars]]
|SeeAlso=[[Arch_Rebar_Helical/it|Armatura elicoidale]], [[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars/it|Rinforzo di colonna tipo due staffe sei barre]]
|Version=0.19
|Version=0.19
}}
}}
Line 22: Line 22:
== Utilizzo ==
== Utilizzo ==


1. Seleziona una faccia di un oggetto {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch Structure/it|Struttura]]}} creato precedentemente. <br>
1. Selezionare una faccia di un oggetto {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch Structure/it|Struttura]]}} creato precedentemente. <br>
2. Quindi selezionare {{Button|[[Image:Arch_Rebar_ColumnReinforcement.svg|16px]] [[Arch Rebar ColumnReinforcement/it|Rinforzo di colonna]]}} dagli strumenti armaturas. <br>
2. Quindi selezionare {{Button|[[Image:Arch_Rebar_ColumnReinforcement.svg|16px]] [[Arch Rebar ColumnReinforcement/it|Rinforzo di colonna]]}} dagli strumenti armatura. <br>
3. Sullo schermo appare una finestra di dialogo come mostrato sotto. <br>
3. Sullo schermo appare una finestra di dialogo come mostrato sotto. <br>
[[Image:ColumnReinforcementDialog_Ties.png|700px]]{{Caption|Finestra di dialogo per lo strumento Rinforzo di colonna}}
[[Image:ColumnReinforcementDialog_Ties.png|700px]]{{Caption|Finestra di dialogo per lo strumento Rinforzo di colonna}}


4. Seleziona il tipo desiderato di rinforzo della colonna. <br>
4. Selezionare il tipo di rinforzo della colonna. <br>
5. Fornire gli input per i dati relativi alla staffatura. <br>
5. Fornire gli input per i dati relativi alla staffatura. <br>
6. Fare clic su Avanti per aggiornare la finestra di dialogo come quella mostrata sotto. <br>
6. Fare clic su Avanti per passare alla finestra di dialogo successiva. <br>
[[Image:ColumnReinforcementDialog_MainRebars.png|700px]]{{Caption|Dialog Box for Main Rebars data}}
[[Image:ColumnReinforcementDialog_MainRebars.png|700px]]{{Caption|Finestra di dialogo per i dati dell'armatura principale}}


7. Selezionare il tipo di armatura desiderata e riempire i dati per le armature principali. <br>
7. Select desired rebar type and fill data for main rebars. <br>
8. Click next and dialog box will be updated as shown below. <br>
8. Fare clic su Avanti per passare alla finestra di dialogo successiva. <br>
[[Image:ColumnReinforcementDialog_XDirRebars.png|700px]]{{Caption|Dialog Box for XDirection Rebars data}}
[[Image:ColumnReinforcementDialog_XDirRebars.png|700px]]{{Caption|Finestra di dialogo per i dati Armature di direzione X.}}


9. Selezionare il tipo di armatura desiderata e compilare i dati per le armature in direzione x. <br>
9. Select desired rebar type and fill data for xdirection rebars. <br>
10. Click next and dialog box will be updated as shown below. <br>
10. Fare clic su Avanti per passare alla finestra di dialogo successiva. <br>
[[Image:ColumnReinforcementDialog_YDirRebars.png|700px]]{{Caption|Dialog Box for YDirection Rebars data}}
[[Image:ColumnReinforcementDialog_YDirRebars.png|700px]]{{Caption|Finestra di dialogo per i dati Armature di direzione Y.}}


11. Selezionare il tipo di armatura desiderata e compilare i dati per le armature in direzione y. <br>
11. Select desired rebar type and fill data for ydirection rebars. <br>
12. Click {{Button|OK}} or {{Button|Apply}} to generate column reinforcement. <br>
12. Cliccare su {{Button|OK}} o su {{Button|Applica}} per generare il rinforzo della colonna. <br>
13. Click {{Button|Cancel}} to exit the dialog box. <br>
13. Cliccare su {{Button|Cancella}} per uscire dalla finestra di dialogo. <br>




==Properties==
== Proprietà ==


'''Ties:'''
'''Staffe:'''
* {{PropertyData|Left Cover}}: The distance between the left end of the tie to the left face of the structure.
* {{PropertyData|Left Cover}}: La distanza tra l'estremità sinistra della staffa e la faccia sinistra della struttura - copriferro sul lato sinistro.
* {{PropertyData|Right Cover}}: The distance between the right end of the tie to right face of the structure.
* {{PropertyData|Right Cover}}: La distanza tra l'estremità destra della staffa e la faccia destra della struttura - copriferro sul lato destro.
* {{PropertyData|Top Cover}}: The distance between tie from the top face of the structure.
* {{PropertyData|Top Cover}}: La distanza tra la staffa e la faccia posteriore della struttura.
* {{PropertyData|Bottom Cover}}: The distance between tie from the bottom face of the structure.
* {{PropertyData|Bottom Cover}}: La distanza tra la staffa e la faccia anteriore della struttura.
* {{PropertyData|Offset}}: The distance between tie from the top/bottom face of the structure.
* {{PropertyData|Offset}}: La distanza tra la staffa e la faccia superiore e inferiore della struttura.
* {{PropertyData|Diameter}}: Diameter of the tie.
* {{PropertyData|Diameter}}: Diametro del tondino della staffa.
* {{PropertyData|Bent Angle}}: Bent angle defines the angle at the ends of a tie.
* {{PropertyData|Bent Angle}}: L'angolo di piega definisce l'angolo alle estremità della staffa.
* {{PropertyData|Extension Factor}}: Extension Factor defines length of end of tie, expressed in times the diameter.
* {{PropertyData|Extension Factor}}: Il fattore di estensione definisce la lunghezza dell'estremità della staffa, espressa in volte il diametro.
* {{PropertyData|Number}}: The number of ties.
* {{PropertyData|Number}}: Numero di staffe.
* {{PropertyData|Spacing}}: The distance between the axes of each tie.
* {{PropertyData|Spacing}}: La distanza tra gli assi di ciascuna staffa.


'''Main Rebars:''' Rebars present at corners of tie
'''Main Rebars:''' Tondini per cemento armato posizionati negli angoli della staffa
* {{PropertyData|Rebar Type}}: Type of main rebars.
* {{PropertyData|Rebar Type}}: Tipo di armatura principale.
* {{PropertyData|Hook Orientation}}: Orientation of LShaped hooks.
* {{PropertyData|Hook Orientation}}: Orientamento dei ganci a forma di L.
* {{PropertyData|Hook Extend Along}}: Direction for hook extension.
* {{PropertyData|Hook Extend Along}}: Direzione per l'estensione del gancio.
* {{PropertyData|Hook Extension}}: Length of hook of LShape rebars.
* {{PropertyData|Hook Extension}}: Lunghezza del gancio delle armature a forma di L.
* {{PropertyData|Rounding}}: A rounding value to be applied to the corners of the LShape rebars, expressed in times the diameter.
* {{PropertyData|Rounding}}: Un valore di arrotondamento da applicare agli angoli delle armature a forma di L, espresso in volte il diametro.
* {{PropertyData|Top Offset}}: The distance between rebar from the top face of the structure.
* {{PropertyData|Top Offset}}: La distanza tra l'armatura e la faccia superiore della struttura.
* {{PropertyData|Bottom Offset}}: The distance between rebar from the bottom face of the structure.
* {{PropertyData|Bottom Offset}}: La distanza tra l'armatura e la faccia inferiore della struttura.
* {{PropertyData|Diameter}}: Diameter of the main rebars.
* {{PropertyData|Diameter}}: Diametro delle armature principali.


'''XDir Secondary Rebars:''' Rebars along x-direction except main rebars
'''XDir Secondary Rebars:''' Armatura lungo la direzione x esclusa l'armatura principale.
* {{PropertyData|Rebar Type}}: Type of x-direction rebars.
* {{PropertyData|Rebar Type}}: Tipo di armatura in direzione x.
* {{PropertyData|Hook Orientation}}: Orientation of LShaped hooks.
* {{PropertyData|Hook Orientation}}: Orientamento dei ganci a forma di L.
* {{PropertyData|Hook Extension}}: Length of hook of LShape rebars.
* {{PropertyData|Hook Extension}}: Lunghezza del gancio delle armature a forma di L.
* {{PropertyData|Rounding}}: A rounding value to be applied to the corners of the LShape rebars, expressed in times the diameter.
* {{PropertyData|Rounding}}: Un valore di arrotondamento da applicare agli angoli delle armature a forma di L, espresso in volte il diametro.
* {{PropertyData|Top Offset}}: The distance between rebar from the top face of the structure.
* {{PropertyData|Top Offset}}: La distanza tra l'armatura e la faccia superiore della struttura.
* {{PropertyData|Bottom Offset}}: The distance between rebar from the bottom face of the structure.
* {{PropertyData|Bottom Offset}}: La distanza tra l'armatura e la faccia inferiore della struttura.
* {{PropertyData|Number#Diameter}}: Number#Diameter set of the x-direction rebars.
* {{PropertyData|Number#Diameter}}: Numero#Diametro del gruppo di armature in direzione x.


'''YDir Secondary Rebars:''' Rebars along y-direction except main rebars
'''YDir Secondary Rebars:''' Armatura lungo la direzione y esclusa l'armatura principale.
* {{PropertyData|Rebar Type}}: Type of y-direction rebars.
* {{PropertyData|Rebar Type}}: Tipo di armatura in direzione y.
* {{PropertyData|Hook Orientation}}: Orientation of LShaped hooks.
* {{PropertyData|Hook Orientation}}: Orientamento dei ganci a forma di L.
* {{PropertyData|Hook Extension}}: Length of hook of LShape rebars.
* {{PropertyData|Hook Extension}}: Lunghezza del gancio delle armature a forma di L.
* {{PropertyData|Rounding}}: A rounding value to be applied to the corners of the LShape rebars, expressed in times the diameter.
* {{PropertyData|Rounding}}: Un valore di arrotondamento da applicare agli angoli delle armature a forma di L, espresso in volte il diametro.
* {{PropertyData|Top Offset}}: The distance between rebar from the top face of the structure.
* {{PropertyData|Top Offset}}: La distanza tra l'armatura e la faccia superiore della struttura.
* {{PropertyData|Bottom Offset}}: The distance between rebar from the bottom face of the structure.
* {{PropertyData|Bottom Offset}}: La distanza tra l'armatura e la faccia inferiore della struttura.
* {{PropertyData|Number#Diameter}}: Number#Diameter set of the y-direction rebars.
* {{PropertyData|Number#Diameter}}: Numero#Diametro del gruppo di armature in direzione y.




==Scripting==
== Script ==


{{Emphasis|See also:}} [[Arch API]], [[Reinforcement API]] and [[FreeCAD Scripting Basics]].
{{Emphasis|Vedere anche:}} [[Arch API/it|API Arch]], [[Reinforcement API/it|API Reinforcement]] e [[FreeCAD Scripting Basics/it|Script di base per FreeCAD]].


The ColumnReinforcement tool can be used in [[macros]] and from the [[Python]] console by using the following function:
Lo strumento Rinforzo di colonna può essere utilizzato nelle [[macros/it|macro]] e dalla console [[Python/it|Python]] tramite la seguente funzione:


=== Create Single Tie Four Rebars ===
=== Creare una singola staffa e quattro barre ===
{{Code|code=
{{Code|code=
RebarGroup = makeSingleTieFourRebars(
RebarGroup = makeSingleTieFourRebars(
Line 137: Line 137:
* {{incode|hook_extension}} is the length of hook of LShaped rebars.
* {{incode|hook_extension}} is the length of hook of LShaped rebars.


==== Example ====
====Esempio====
{{Code|code=
{{Code|code=
import FreeCAD, Draft, Arch
import FreeCAD, Draft, Arch
from ColumnReinforcement import SingleTie
from ColumnReinforcement import SingleTie


# Non funziona se la struttura non si basa su una faccia
# It doesn't work if the structure is not based on a face
# Structure = Arch.makeStructure(length=1000, width=400, height=400)
# Structure = Arch.makeStructure(length=1000, width=400, height=400)


Line 150: Line 150:
FreeCAD.ActiveDocument.recompute()
FreeCAD.ActiveDocument.recompute()


# Per armature diritte
# For Straight Rebars
RebarGroup = SingleTie.makeSingleTieFourRebars(
RebarGroup = SingleTie.makeSingleTieFourRebars(
l_cover_of_tie=40,
l_cover_of_tie=40,
Line 174: Line 174:
).rebar_group
).rebar_group


# Per barre a forma di L con gancio lungo l'asse x
# For LShaped Rebars with hook along x-axis
RebarGroup = SingleTie.makeSingleTieFourRebars(
RebarGroup = SingleTie.makeSingleTieFourRebars(
l_cover_of_tie=40,
l_cover_of_tie=40,
Line 198: Line 198:
).rebar_group
).rebar_group


# Per barre a forma di L con gancio lungo l'asse y
# For LShaped Rebars with hook along y-axis
RebarGroup = SingleTie.makeSingleTieFourRebars(
RebarGroup = SingleTie.makeSingleTieFourRebars(
l_cover_of_tie=40,
l_cover_of_tie=40,
Line 225: Line 225:




=== Create Single Tie Multiple Rebars ===
=== Creare una singola staffa e multiple barre ===
{{Code|code=
{{Code|code=
RebarGroup = makeSingleTieMultipleRebars(
RebarGroup = makeSingleTieMultipleRebars(
Line 281: Line 281:
* {{incode|sec_hook_extension}} is a tuple (xdir_hook_extension, ydir_hook_extension) that defines the length of hook of secondary x-direction and y-direction LShaped rebars.
* {{incode|sec_hook_extension}} is a tuple (xdir_hook_extension, ydir_hook_extension) that defines the length of hook of secondary x-direction and y-direction LShaped rebars.


==== Example ====
====Esempio====
{{Code|code=
{{Code|code=
import FreeCAD, Draft, Arch
import FreeCAD, Draft, Arch
from ColumnReinforcement import SingleTieMultipleRebars
from ColumnReinforcement import SingleTieMultipleRebars


# Non funziona se la struttura non si basa su una faccia
# It doesn't work if the structure is not based on a face
# Structure = Arch.makeStructure(length=1000, width=400, height=400)
# Structure = Arch.makeStructure(length=1000, width=400, height=400)


Line 326: Line 326:
}}
}}


=== Edition of Single Tie Four Rebars ===
=== Modifica di una singola staffa e quattro barre ===
È possibile modificare le proprietà della staffa e delle barre con la seguente funzione:
You can change the properties of the ties and rebars with the following function
{{Code|code=
{{Code|code=
rebar_group = editSingleTieFourRebars(
rebar_group = editSingleTieFourRebars(
Line 359: Line 359:
* {{incode|structure}} and {{incode|facename}} may be omitted so that the rebar stays in the original structure.
* {{incode|structure}} and {{incode|facename}} may be omitted so that the rebar stays in the original structure.


==== Example ====
====Esempio====
{{Code|code=
{{Code|code=
from ColumnReinforcement import SingleTie
from ColumnReinforcement import SingleTie
Line 389: Line 389:
}}
}}


=== Edition of Single Tie Multiple Rebars ===
=== Modifica di una singola staffa e multiple barre ===
È possibile modificare le proprietà della staffa e delle barre con la seguente funzione:
You can change the properties of the ties and rebars with the following function
{{Code|code=
{{Code|code=
rebar_group = editSingleTieMultipleRebars(
rebar_group = editSingleTieMultipleRebars(
Line 429: Line 429:
* {{incode|structure}} and {{incode|facename}} may be omitted so that the reinforcement stays in the original structure.
* {{incode|structure}} and {{incode|facename}} may be omitted so that the reinforcement stays in the original structure.


==== Example ====
====Esempio====
{{Code|code=
{{Code|code=
from ColumnReinforcement import SingleTieMultipleRebars
from ColumnReinforcement import SingleTieMultipleRebars
Line 466: Line 466:
}}
}}


{{docnav/it|[[Arch_Rebar_Helical/it|Armatura elicoidale]]|[[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars/it|Rinforzo di colonna TwoTiesSixRebars]]|[[Arch_Module/it|Arch]]|IconL=Arch_Rebar_Helical.png|IconC=Workbench_Arch.svg|IconR=Arch_Rebar_ColumnReinforcement.svg}}
{{docnav/it|[[Arch_Rebar_Helical/it|Armatura elicoidale]]|[[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars/it|Rinforzo di colonna tipo due staffe sei barre]]|[[Arch_Module/it|Arch]]|IconL=Arch_Rebar_Helical.png|IconC=Workbench_Arch.svg|IconR=Arch_Rebar_ColumnReinforcement.svg}}


{{Arch Tools navi/it}}
{{Arch Tools navi/it}}

Revision as of 21:39, 13 October 2019

Rinforzo di colonna

Posizione nel menu
Arch → Strumenti armatura
Ambiente
Arch, BIM
Avvio veloce
Nessuno
Introdotto nella versione
0.19
Vedere anche
Armatura elicoidale, Rinforzo di colonna tipo due staffe sei barre

Descrizione

Lo strumento Rinforzo di colonna consente all'utente di creare delle barre di rinforzo all'interno di un oggetto Struttura Colonna.

Questo comando fa parte del addon Reinforcement, che si può installare con Addon manager, tramite il menu Strumenti → Addon manager → Reinforcement.

Rinforzo di colonna all'interno di una Struttura colonna

Utilizzo

1. Selezionare una faccia di un oggetto Struttura creato precedentemente.
2. Quindi selezionare Rinforzo di colonna dagli strumenti armatura.
3. Sullo schermo appare una finestra di dialogo come mostrato sotto.

Finestra di dialogo per lo strumento Rinforzo di colonna

4. Selezionare il tipo di rinforzo della colonna.
5. Fornire gli input per i dati relativi alla staffatura.
6. Fare clic su Avanti per passare alla finestra di dialogo successiva.

Finestra di dialogo per i dati dell'armatura principale

7. Selezionare il tipo di armatura desiderata e riempire i dati per le armature principali.
8. Fare clic su Avanti per passare alla finestra di dialogo successiva.

Finestra di dialogo per i dati Armature di direzione X.

9. Selezionare il tipo di armatura desiderata e compilare i dati per le armature in direzione x.
10. Fare clic su Avanti per passare alla finestra di dialogo successiva.

Finestra di dialogo per i dati Armature di direzione Y.

11. Selezionare il tipo di armatura desiderata e compilare i dati per le armature in direzione y.
12. Cliccare su OK o su Applica per generare il rinforzo della colonna.
13. Cliccare su Cancella per uscire dalla finestra di dialogo.


Proprietà

Staffe:

  • DatiLeft Cover: La distanza tra l'estremità sinistra della staffa e la faccia sinistra della struttura - copriferro sul lato sinistro.
  • DatiRight Cover: La distanza tra l'estremità destra della staffa e la faccia destra della struttura - copriferro sul lato destro.
  • DatiTop Cover: La distanza tra la staffa e la faccia posteriore della struttura.
  • DatiBottom Cover: La distanza tra la staffa e la faccia anteriore della struttura.
  • DatiOffset: La distanza tra la staffa e la faccia superiore e inferiore della struttura.
  • DatiDiameter: Diametro del tondino della staffa.
  • DatiBent Angle: L'angolo di piega definisce l'angolo alle estremità della staffa.
  • DatiExtension Factor: Il fattore di estensione definisce la lunghezza dell'estremità della staffa, espressa in volte il diametro.
  • DatiNumber: Numero di staffe.
  • DatiSpacing: La distanza tra gli assi di ciascuna staffa.

Main Rebars: Tondini per cemento armato posizionati negli angoli della staffa

  • DatiRebar Type: Tipo di armatura principale.
  • DatiHook Orientation: Orientamento dei ganci a forma di L.
  • DatiHook Extend Along: Direzione per l'estensione del gancio.
  • DatiHook Extension: Lunghezza del gancio delle armature a forma di L.
  • DatiRounding: Un valore di arrotondamento da applicare agli angoli delle armature a forma di L, espresso in volte il diametro.
  • DatiTop Offset: La distanza tra l'armatura e la faccia superiore della struttura.
  • DatiBottom Offset: La distanza tra l'armatura e la faccia inferiore della struttura.
  • DatiDiameter: Diametro delle armature principali.

XDir Secondary Rebars: Armatura lungo la direzione x esclusa l'armatura principale.

  • DatiRebar Type: Tipo di armatura in direzione x.
  • DatiHook Orientation: Orientamento dei ganci a forma di L.
  • DatiHook Extension: Lunghezza del gancio delle armature a forma di L.
  • DatiRounding: Un valore di arrotondamento da applicare agli angoli delle armature a forma di L, espresso in volte il diametro.
  • DatiTop Offset: La distanza tra l'armatura e la faccia superiore della struttura.
  • DatiBottom Offset: La distanza tra l'armatura e la faccia inferiore della struttura.
  • DatiNumber#Diameter: Numero#Diametro del gruppo di armature in direzione x.

YDir Secondary Rebars: Armatura lungo la direzione y esclusa l'armatura principale.

  • DatiRebar Type: Tipo di armatura in direzione y.
  • DatiHook Orientation: Orientamento dei ganci a forma di L.
  • DatiHook Extension: Lunghezza del gancio delle armature a forma di L.
  • DatiRounding: Un valore di arrotondamento da applicare agli angoli delle armature a forma di L, espresso in volte il diametro.
  • DatiTop Offset: La distanza tra l'armatura e la faccia superiore della struttura.
  • DatiBottom Offset: La distanza tra l'armatura e la faccia inferiore della struttura.
  • DatiNumber#Diameter: Numero#Diametro del gruppo di armature in direzione y.


Script

Vedere anche: API Arch, API Reinforcement e Script di base per FreeCAD.

Lo strumento Rinforzo di colonna può essere utilizzato nelle macro e dalla console Python tramite la seguente funzione:

Creare una singola staffa e quattro barre

RebarGroup = makeSingleTieFourRebars(
    l_cover_of_tie,
    r_cover_of_tie,
    t_cover_of_tie,
    b_cover_of_tie,
    offset_of_tie,
    bent_angle,
    extension_factor,
    dia_of_tie,
    number_spacing_check,
    number_spacing_value,
    dia_of_rebars,
    t_offset_of_rebars,
    b_offset_of_rebars,
    rebar_type="StraightRebar",
    hook_orientation="Top Inside",
    hook_extend_along="x-axis",
    l_rebar_rounding=None,
    hook_extension=None,
    structure=None,
    facename=None,
).rebar_group
  • Creates a RebarGroup object from the given structure, which is an Arch Structure, and facename, which is a face of that structure.
    • If no structure nor facename are given, it will take the user selected face as input.
  • l_cover_of_tie, r_cover_of_tie, t_cover_of_tie, b_cover_of_tie and offset_of_tie are inner offset distances for the tie elements with respect to the faces of the structure. They are respectively the left, right, top, bottom and front/rear offsets.
  • bent_angle define the angle of the tip of the reinforcement loop.
  • extension_factor define the length of the tip of the reinforcement loop, expressed in times the diameter.
  • dia_of_tie is the diameter of the ties.
  • number_spacing_check if it is True it will create as many ties as given by number_spacing_value; if it is False it will create ties separated by the numerical value of number_spacing_value.
  • number_spacing_value specifies the number of ties, or the value of the separation between them, depending on number_spacing_check.
  • dia_of_rebars is the diameter of the main rebars.
  • t_offset_of_rebars and b_offset_of_rebars are inner offset distances for the main rebars with respect to the top and bottom faces of the structure, respectively.
  • rebar_type is the type of the main rebars; it can be "StraightRebar" or "LShapeRebar".
  • hook_orientation specifies the orientation of LShaped hook; it can be: "Top Inside", "Top Outside", "Bottom Inside", "Bottom Outside", "Top Right", "Top Left", "Bottom Right" or "Bottom Left".
  • hook_extend_along specifies direction for hook extension; it can be "x-axis" or "y-axis".
  • l_rebar_rounding is the parameter that determines the bending radius of the LShaped main rebars, expressed as times the diameter.
  • hook_extension is the length of hook of LShaped rebars.

Esempio

import FreeCAD, Draft, Arch
from ColumnReinforcement import SingleTie

# Non funziona se la struttura non si basa su una faccia
# Structure = Arch.makeStructure(length=1000, width=400, height=400)

Rect = Draft.makeRectangle(400, 400)
Structure = Arch.makeStructure(Rect, height=1600)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()

# Per armature diritte
RebarGroup = SingleTie.makeSingleTieFourRebars(
    l_cover_of_tie=40,        
    r_cover_of_tie=40,
    t_cover_of_tie=40,
    b_cover_of_tie=40,
    offset_of_tie=100,
    bent_angle=135,
    extension_factor=2,
    dia_of_tie=8,
    number_spacing_check=True,
    number_spacing_value=10,
    dia_of_rebars=16,
    t_offset_of_rebars=40,
    b_offset_of_rebars=40,
    rebar_type="StraightRebar",
    hook_orientation="Top Inside",
    hook_extend_along="x-axis",
    l_rebar_rounding=None,
    hook_extension=None,
    structure=Structure,
    facename="Face6",
).rebar_group

# Per barre a forma di L con gancio lungo l'asse x
RebarGroup = SingleTie.makeSingleTieFourRebars(
    l_cover_of_tie=40,        
    r_cover_of_tie=40,
    t_cover_of_tie=40,
    b_cover_of_tie=40,
    offset_of_tie=100,
    bent_angle=135,
    extension_factor=2,
    dia_of_tie=8,
    number_spacing_check=True,
    number_spacing_value=10,
    dia_of_rebars=16,
    t_offset_of_rebars=-40,
    b_offset_of_rebars=-40,
    rebar_type="LShapeRebar",
    hook_orientation="Top Outside",
    hook_extend_along="x-axis",
    l_rebar_rounding=2,
    hook_extension=40,
    structure=Structure,
    facename="Face6",
).rebar_group

# Per barre a forma di L con gancio lungo l'asse y
RebarGroup = SingleTie.makeSingleTieFourRebars(
    l_cover_of_tie=40,        
    r_cover_of_tie=40,
    t_cover_of_tie=40,
    b_cover_of_tie=40,
    offset_of_tie=100,
    bent_angle=135,
    extension_factor=2,
    dia_of_tie=8,
    number_spacing_check=True,
    number_spacing_value=10,
    dia_of_rebars=16,
    t_offset_of_rebars=-40,
    b_offset_of_rebars=-40,
    rebar_type="LShapeRebar",
    hook_orientation="Top Outside",
    hook_extend_along="y-axis",
    l_rebar_rounding=2,
    hook_extension=40,
    structure=Structure,
    facename="Face6",
).rebar_group


Creare una singola staffa e multiple barre

RebarGroup = makeSingleTieMultipleRebars(
    l_cover_of_tie,
    r_cover_of_tie,
    t_cover_of_tie,           
    b_cover_of_tie,                      
    offset_of_tie,                       
    bent_angle,                          
    extension_factor,
    dia_of_tie,     
    number_spacing_check,
    number_spacing_value,
    dia_of_main_rebars,
    main_rebars_t_offset,
    main_rebars_b_offset,
    main_rebars_type="StraightRebar",
    main_hook_orientation="Top Inside",
    main_hook_extend_along="x-axis",
    l_main_rebar_rounding=None,
    main_hook_extension=None,
    sec_rebars_t_offset=None,
    sec_rebars_b_offset=None,
    sec_rebars_number_diameter=None,
    sec_rebars_type=("StraightRebar", "StraightRebar"),
    sec_hook_orientation=("Top Inside", "Top Inside"),
    l_sec_rebar_rounding=None,
    sec_hook_extension=None,
    structure=None,
    facename=None,
)
  • Creates a RebarGroup object from the given structure, which is an Arch Structure, and facename, which is a face of that structure.
    • If no structure nor facename are given, it will take the user selected face as input.
  • l_cover_of_tie, r_cover_of_tie, t_cover_of_tie, b_cover_of_tie and offset_of_tie are inner offset distances for the tie elements with respect to the faces of the structure. They are respectively the left, right, top, bottom and front/rear offsets.
  • bent_angle define the angle of the tip of the reinforcement loop.
  • extension_factor define the length of the tip of the reinforcement loop, expressed in times the diameter.
  • dia_of_tie is the diameter of the ties.
  • number_spacing_check if it is True it will create as many ties as given by number_spacing_value; if it is False it will create ties separated by the numerical value of number_spacing_value.
  • number_spacing_value specifies the number of ties, or the value of the separation between them, depending on number_spacing_check.
  • dia_of_main_rebars is the diameter of the main rebars.
  • main_rebars_t_offset and main_rebars_b_offset are inner offset distances for the main rebars with respect to the top and bottom faces of the structure, respectively.
  • main_rebars_type is the type of the main rebars; it can be "StraightRebar" or "LShapeRebar".
  • main_hook_orientation specifies the orientation of main LShaped hook; it can be: "Top Inside", "Top Outside", "Bottom Inside", "Bottom Outside", "Top Right", "Top Left", "Bottom Right" or "Bottom Left".
  • main_hook_extend_along specifies direction for main hook extension; it can be "x-axis" or "y-axis".
  • l_main_rebar_rounding is the parameter that determines the bending radius of the LShaped main rebars, expressed as times the diameter.
  • main_hook_extension is the length of hook of main LShaped rebars.
  • sec_rebars_t_offset and sec_rebars_b_offset are tuples (xdir_rebars_t_offset, ydir_rebars_t_offset) and (xdir_rebars_b_offset, ydir_rebars_b_offset) respectively, that defines inner offset distances for the secondary x-direction and y-direction rebars with respect to the top and bottom faces of the structure, respectively.
  • sec_rebars_number_diameter is a tuple (xdir_rebars_number_diameter, ydir_rebars_number_diameter) that defines number#diameter set of the secondary x-direction and y-direction rebars, respectively.
  • sec_rebars_type is a tuple (xdir_rebars_type, ydir_rebars_type) that defines the type of secondary x-direction and y-direction rebars ,respectively; it can have "StraightRebar" or "LShapeRebar" as rebar type.
  • sec_hook_orientation is a tuple (xdir_hook_orientation, ydir_hook_orientation) that defines the orientation of secondary x-direction and y-direction LShaped hook; it can have "Top Inside", "Top Outside", "Bottom Inside", "Bottom Outside", "Top Right", "Top Left", "Bottom Right" or "Bottom Left" as hook_orientation.
  • l_sec_rebar_rounding is a tuple (l_xdir_rebar_rounding, l_ydir_rebar_rounding) that determines the bending radius of the LShaped secondary x-direction and y-direction LShaped rebars, expressed as times the diameter of x-direction and y-direction LShaped rebars, respectively.
  • sec_hook_extension is a tuple (xdir_hook_extension, ydir_hook_extension) that defines the length of hook of secondary x-direction and y-direction LShaped rebars.

Esempio

import FreeCAD, Draft, Arch
from ColumnReinforcement import SingleTieMultipleRebars

# Non funziona se la struttura non si basa su una faccia
# Structure = Arch.makeStructure(length=1000, width=400, height=400)

Rect = Draft.makeRectangle(400, 400)
Structure = Arch.makeStructure(Rect, height=1600)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()

RebarGroup = SingleTieMultipleRebars.makeSingleTieMultipleRebars(
    l_cover_of_tie=40,        
    r_cover_of_tie=40,
    t_cover_of_tie=40,
    b_cover_of_tie=40,
    offset_of_tie=100,
    bent_angle=135,
    extension_factor=2,
    dia_of_tie=8,
    number_spacing_check=True,
    number_spacing_value=10,
    dia_of_main_rebars=16,
    main_rebars_t_offset=-40,
    main_rebars_b_offset=-40,
    main_rebars_type="LShapeRebar",
    main_hook_orientation="Top Outside",
    main_hook_extend_along="x-axis",
    l_main_rebar_rounding=2,
    main_hook_extension=40,
    sec_rebars_t_offset=(-40, -40),
    sec_rebars_b_offset=(-40, -40),
    sec_rebars_number_diameter=("2#20mm+1#16mm+2#20mm", "1#20mm+1#16mm+1#20mm"),
    sec_rebars_type=("LShapeRebar", "LShapeRebar"),
    sec_hook_orientation=("Top Outside", "Top Outside"),
    l_sec_rebar_rounding=(2, 2),
    sec_hook_extension=(40, 40),
    structure=Structure,
    facename="Face6",
)

Modifica di una singola staffa e quattro barre

È possibile modificare le proprietà della staffa e delle barre con la seguente funzione:

rebar_group = editSingleTieFourRebars(
    rebar_group,
    l_cover_of_tie,
    r_cover_of_tie,    
    t_cover_of_tie,           
    b_cover_of_tie,
    offset_of_tie,
    bent_angle,
    extension_factor,
    dia_of_tie,
    number_spacing_check,
    number_spacing_value,
    dia_of_rebars,
    t_offset_of_rebars,
    b_offset_of_rebars,
    rebar_type="StraightRebar",
    hook_orientation="Top Inside",
    hook_extend_along="x-axis",
    l_rebar_rounding=None,
    hook_extension=None,
    structure=None,
    facename=None,
)
  • rebar_group is a previously created ColumnReinforcement group object.
  • The other parameters are the same as required by the makeSingleTieFourRebars() function.
  • structure and facename may be omitted so that the rebar stays in the original structure.

Esempio

from ColumnReinforcement import SingleTie

rebar_group = SingleTie.editSingleTieFourRebars(
    rebar_group,                                
    l_cover_of_tie=40,        
    r_cover_of_tie=40,
    t_cover_of_tie=40,
    b_cover_of_tie=40,
    offset_of_tie=100,
    bent_angle=135,
    extension_factor=2,
    dia_of_tie=8,
    number_spacing_check=True,
    number_spacing_value=10,
    dia_of_rebars=16,
    t_offset_of_rebars=-40,
    b_offset_of_rebars=-40,
    rebar_type="LShapeRebar",
    hook_orientation="Top Outside",
    hook_extend_along="x-axis",
    l_rebar_rounding=2,
    hook_extension=40,
    structure=None,
    facename=None,
)

Modifica di una singola staffa e multiple barre

È possibile modificare le proprietà della staffa e delle barre con la seguente funzione:

rebar_group = editSingleTieMultipleRebars(
    rebar_group,
    l_cover_of_tie,      
    r_cover_of_tie,       
    t_cover_of_tie,                       
    b_cover_of_tie,                       
    offset_of_tie,                        
    bent_angle,
    extension_factor,
    dia_of_tie,
    number_spacing_check,
    number_spacing_value,
    dia_of_main_rebars,
    main_rebars_t_offset,
    main_rebars_b_offset,
    main_rebars_type="StraightRebar",
    main_hook_orientation="Top Inside",
    main_hook_extend_along="x-axis",
    l_main_rebar_rounding=None,
    main_hook_extension=None,
    sec_rebars_t_offset=None,
    sec_rebars_b_offset=None,
    sec_rebars_number_diameter=None,
    sec_rebars_type=("StraightRebar", "StraightRebar"),
    sec_hook_orientation=("Top Inside", "Top Inside"),
    l_sec_rebar_rounding=None,
    sec_hook_extension=None,
    structure=None,
    facename=None,
)
  • rebar_group is a previously created ColumnReinforcement group object.
  • The other parameters are the same as required by the makeSingleTieMultipleRebars() function.
  • structure and facename may be omitted so that the reinforcement stays in the original structure.

Esempio

from ColumnReinforcement import SingleTieMultipleRebars

rebar_group = SingleTieMultipleRebars.editSingleTieMultipleRebars(
    rebar_group,                                
    l_cover_of_tie=40,        
    r_cover_of_tie=40,
    t_cover_of_tie=40,
    b_cover_of_tie=40,
    offset_of_tie=100,
    bent_angle=135,
    extension_factor=2,
    dia_of_tie=8,
    number_spacing_check=True,
    number_spacing_value=10,
    dia_of_main_rebars=16,
    main_rebars_t_offset=-40,
    main_rebars_b_offset=-40,
    main_rebars_type="LShapeRebar",
    main_hook_orientation="Top Outside",
    main_hook_extend_along="x-axis",
    l_main_rebar_rounding=2,
    main_hook_extension=40,
    sec_rebars_t_offset=(-40, -40),
    sec_rebars_b_offset=(-40, -40),
    sec_rebars_number_diameter=("2#20mm+1#16mm+2#20mm", "1#20mm+1#16mm+1#20mm"),
    sec_rebars_type=("StraightRebar", "StraightRebar"),
    sec_hook_orientation=None,
    l_sec_rebar_rounding=None,
    sec_hook_extension=None,
    structure=None,
    facename=None,
)