Reinforcement ColumnRebars/it: Difference between revisions

From FreeCAD Documentation
(Created page with "Arch Rebar ColumnReinforcement")
 
(Updating to match new version of source page)
 
(122 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{docnav|[[Arch_Rebar_Helical|Helical Rebar]]|[[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars|ColumnReinforcement TwoTiesSixRebars]]|[[Arch_Module|Arch]]|IconL=Arch_Rebar_Helical.png|IconC=Workbench_Arch.svg|IconR=Arch_Rebar_ColumnReinforcement.svg}}


<div class="mw-translate-fuzzy">
{{GuiCommand
{{Docnav/it
|[[Arch_Rebar_Helical/it|Armatura elicoidale]]
|[[Arch_Rebar_BeamReinforcement/it|Armatura di trave]]
|[[Arch_Workbench/it|Arch]]
|IconL=Arch_Rebar_Helical.svg
|IconR=Arch_Rebar_BeamReinforcement.svg
|IconC=Workbench_Arch.svg
}}
</div>

<div class="mw-translate-fuzzy">
{{GuiCommand/it
|Name=Arch Rebar ColumnReinforcement
|Name=Arch Rebar ColumnReinforcement
|Name/it=Armatura di pilastro
|MenuLocation=Arch → Rebar tools
|MenuLocation=Arch → Strumenti armatura → Armatura pilastro<br>3BIM → 3D/BIM → Reinforcement → Armatura pilastro
|Workbenches=[[Arch Workbench|Arch]], [[BIM Workbench|BIM]]
|Workbenches=[[Arch_Workbench/it|Arch]], [[BIM_Workbench/it|BIM]]
|SeeAlso=[[Arch_Rebar_Helical|Helical Rebar]], [[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars|ColumnReinforcement TwoTiesSixRebars]]
|Version=0.19
|Version=0.19
|SeeAlso=[[Reinforcement_Workbench/it|Ambiente Rinforzi]], [[Arch_Rebar/it|Armatura]], [[Arch_Rebar_Helical/it|Armatura elicoidale]], [[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars/it|Armatura di pilastro con due staffe e sei barre]]
}}
}}
</div>


==Description==
<span id="Description"></span>
==Descrizione==


<div class="mw-translate-fuzzy">
The [[Arch Rebar ColumnReinforcement|Column Reinforcement]] tool allows the user to create reinforcing bars inside a Column [[Arch Structure]] object.
Lo strumento [[Arch Rebar ColumnReinforcement/it|Armatura di pilastro]] consente all'utente di creare delle barre di rinforzo all'interno di un oggetto [[Arch Structure/it|Struttura]] Pilastro.
</div>


<div class="mw-translate-fuzzy">
This command is part of the [[Reinforcement Addon]], that you can install with the [[Addon Manager]] via the menu {{MenuCommand|Tools → Addon manager → Reinforcement}}.
Questo comando fa parte dell'ambiente [[Reinforcement Workbench/it|Reinforcement]], un [[External workbenches/it|ambiente esterno]] che si può installare con [[Image:Std_AddonMgr.svg|24px]] [[Std_AddonMgr/it|Addon manager]], tramite il menu {{MenuCommand|Strumenti → Addon manager → Reinforcement}}.
</div>

Three usage examples are available:
* [[#Usage|Single tie rectangular column (see below)]]
* [[Reinforcement_ColumnRebars_TwoTiesSixRebars|Two ties six rebars rectangular column]]
* [[Reinforcement_ColumnRebars_Circular|Circular column]]


[[Image:Arch_Rebar_ColumnReinforcement_example.png|400px]]
[[Image:Arch_Rebar_ColumnReinforcement_example.png|400px]]
<div class="mw-translate-fuzzy">
{{Caption|Column Reinforcement inside a Column [[Arch Structure]]}}
{{Caption|Armatura di pilastro all'interno di un [[Arch Structure/it|Struttura]] pilastro}}
</div>


<span id="Usage"></span>
==How to use==
==Utilizzo==


1. Select any face of a previously created {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch Structure]]}} object. <br>
1. Select any face of a previously created {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch Structure|Arch Structure]]}} object.
2. Then select {{Button|[[Image:Arch_Rebar_ColumnReinforcement.svg|16px]] [[Arch Rebar ColumnReinforcement|Column Reinforcement]]}} from the rebar tools. <br>
3. A dialog box will pop-out on screen as shown below. <br>
[[Image:ColumnReinforcementDialog_Ties.png|700px]]{{Caption|Dialog Box for the Arch Rebar ColumnReinforcement tool}}


2. Then select {{Button|[[Image:Reinforcement_ColumnRebars.svg|16px]] [[Reinforcement_ColumnRebars|Column Reinforcement]]}} from the rebar tools.
4. Select the desired type of column reinforcement. <br>
5. Give inputs for data related to ties. <br>
6. Click next and dialog box will be updated as shown below. <br>
[[Image:ColumnReinforcementDialog_MainRebars.png|700px]]{{Caption|Dialog Box for Main Rebars data}}


3. A dialog box will pop-out on screen as shown below.
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>
[[Image:ColumnReinforcementDialog_XDirRebars.png|700px]]{{Caption|Dialog Box for XDirection Rebars data}}


: [[Image:ColumnReinforcementDialog_Ties.png|700px]]
9. Select desired rebar type and fill data for xdirection rebars. <br>
<div class="mw-translate-fuzzy">
10. Click next and dialog box will be updated as shown below. <br>
{{Caption|Finestra di dialogo per lo strumento Armatura di pilastro}}
[[Image:ColumnReinforcementDialog_YDirRebars.png|700px]]{{Caption|Dialog Box for YDirection Rebars data}}
</div>


11. Select desired rebar type and fill data for ydirection rebars. <br>
4. Select the desired type of column reinforcement.
12. Click {{Button|OK}} or {{Button|Apply}} to generate column reinforcement. <br>
13. Click {{Button|Cancel}} to exit the dialog box. <br>


5. Give inputs for data related to ties.


6. Click {{Button|Next}} and the dialog box will be updated as shown below.
==Properties==

: [[Image:ColumnReinforcementDialog_MainRebars.png|700px]]
<div class="mw-translate-fuzzy">
{{Caption|Finestra di dialogo per i dati dell'armatura principale}}
</div>

7. Select desired rebar type and fill data for main rebars.

8. Click {{Button|Next}} and the dialog box will be updated as shown below.

: [[Image:ColumnReinforcementDialog_XDirRebars.png|700px]]
<div class="mw-translate-fuzzy">
{{Caption|Finestra di dialogo per i dati Armature di direzione X.}}
</div>

9. Select desired rebar type and fill data for xdirection rebars.

10. Click {{Button|Next}} and the dialog box will be updated as shown below.

: [[Image:ColumnReinforcementDialog_YDirRebars.png|700px]]
<div class="mw-translate-fuzzy">
{{Caption|Finestra di dialogo per i dati Armature di direzione Y.}}
</div>

11. Select desired rebar type and fill data for ydirection rebars.

12. Click {{Button|OK}} or {{Button|Apply}} to generate column reinforcement.

13. Click {{Button|Cancel}} to exit the dialog box.

<span id="Properties"></span>
== Proprietà ==


'''Ties:'''
'''Ties:'''

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


'''Main Rebars:''' Rebars present at corners of tie
'''Main Rebars:''' Rebars present at corners of tie

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


'''XDir Secondary Rebars:''' Rebars along x-direction except main rebars
'''XDir Secondary Rebars:''' Rebars along x-direction except main rebars

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


'''YDir Secondary Rebars:''' Rebars along y-direction except main rebars
'''YDir Secondary Rebars:''' Rebars along y-direction except main rebars
* {{PropertyData|Rebar Type}}: Type of y-direction rebars.
* {{PropertyData|Hook Orientation}}: Orientation of LShaped hooks.
* {{PropertyData|Hook Extension}}: Length of hook of LShape rebars.
* {{PropertyData|Rounding}}: A rounding value to be applied to the corners of the LShape rebars, expressed in times the diameter.
* {{PropertyData|Top Offset}}: The distance between rebar from the top face of the structure.
* {{PropertyData|Bottom Offset}}: The distance between rebar from the bottom face of the structure.
* {{PropertyData|Number#Diameter}}: Number#Diameter set of the y-direction rebars.


<div class="mw-translate-fuzzy">
'''YDir Secondary Rebars:''' Armatura lungo la direzione y esclusa l'armatura principale.
* {{PropertyData|Rebar Type}}: Tipo di armatura in direzione y.
* {{PropertyData|Hook Orientation}}: Orientamento dei ganci a forma di L.
* {{PropertyData|Hook Extension}}: Lunghezza del gancio delle armature a forma di L.
* {{PropertyData|Rounding}}: Un valore di arrotondamento da applicare agli angoli delle armature a forma di L, espresso in volte il diametro.
* {{PropertyData|Top Offset}}: La distanza tra l'armatura e la faccia superiore della struttura.
* {{PropertyData|Bottom Offset}}: La distanza tra l'armatura e la faccia inferiore della struttura.
* {{PropertyData|Number#Diameter}}: Numero#Diametro del gruppo di armature in direzione y.
</div>

<span id="Scripting"></span>
== Script ==


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


<div class="mw-translate-fuzzy">
{{Emphasis|See also:}} [[Arch API]], [[Reinforcement API]] and [[FreeCAD Scripting Basics]].
Lo strumento Armatura di pilastro può essere utilizzato nelle [[Macros/it|macro]] e dalla console [[Python/it|Python]] tramite la seguente funzione:
</div>


<span id="Create_Single_Tie_Four_Rebars"></span>
The ColumnReinforcement tool can be used in [[macros]] and from the [[Python]] console by using the following function:
=== Creare una singola staffa e quattro barre ===


=== Create Single Tie Four Rebars ===
{{Code|code=
{{Code|code=
RebarGroup = makeSingleTieFourRebars(
RebarGroup = makeSingleTieFourRebars(
Line 117: Line 187:
facename=None,
facename=None,
).rebar_group
).rebar_group

}}
}}


* Creates a {{incode|RebarGroup}} object from the given {{incode|structure}}, which is an [[Arch Structure]], and {{incode|facename}}, which is a face of that structure.
* Crea un oggetto {{incode|RebarGroup}} dalla {{incode|structure}} specificata, che è una [[Arch Structure/it|Struttura]], e dalla {{incode|facename}}, che è una faccia di quella struttura.
** If no {{incode|structure}} nor {{incode|facename}} are given, it will take the user selected face as input.
** Se non vengono forniti {{incode|structure}} {{incode|facename}}, verrà utilizzata la faccia selezionata dall'utente come input.
* {{incode|l_cover_of_tie}}, {{incode|r_cover_of_tie}}, {{incode|t_cover_of_tie}}, {{incode|b_cover_of_tie}} and {{incode|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.
* {{incode|l_cover_of_tie}}, {{incode|r_cover_of_tie}}, {{incode|t_cover_of_tie}}, {{incode|b_cover_of_tie}} e {{incode|offset_of_tie}} sono le distanze di offset interne degli elementi di trazione rispetto alle facce della struttura. Sono rispettivamente gli offset sinistro, destro, superiore, inferiore e anteriore/posteriore.
* {{incode|bent_angle}} define the angle of the tip of the reinforcement loop.
* {{incode|bent_angle}} definisce l'angolo della punta del gancio di rinforzo.
* {{incode|extension_factor}} define the length of the tip of the reinforcement loop, expressed in times the diameter.
* {{incode|extension_factor}} definisce la lunghezza della punta dell'anello di rinforzo, espressa in numero di volte il diametro.
* {{incode|dia_of_tie}} is the diameter of the ties.
* {{incode|dia_of_tie}} è il diametro delle legature.
* {{incode|number_spacing_check}} if it is {{incode|True}} it will create as many ties as given by {{incode|number_spacing_value}}; if it is {{incode|False}} it will create ties separated by the numerical value of {{incode|number_spacing_value}}.
* se {{incode|number_spacing_check}} è {{incode|True}} creerà tante legature quante sono indicate da {{incode|number_spacing_value}}; se è {{incode|False}} creerà un numero di legature diverso dal valore numerico di {{incode|number_spacing_value}}.
* {{incode|number_spacing_value}} specifies the number of ties, or the value of the separation between them, depending on {{incode|number_spacing_check}}.
* {{incode|number_spacing_value}} specifica il numero di legature di un dato valore, o il valore della distanza tra loro, a seconda di {{incode|number_spacing_check}}.
* {{incode|dia_of_rebars}} is the diameter of the main rebars.
* {{incode|dia_of_rebars}} è il diametro delle armature principali.
* {{incode|t_offset_of_rebars}} and {{incode|b_offset_of_rebars}} are inner offset distances for the main rebars with respect to the top and bottom faces of the structure, respectively.
* {{incode|t_offset_of_rebars}} e {{incode|b_offset_of_rebars}} sono le distanze di offset interne per le armature principali rispetto alle facce superiore e inferiore della struttura, rispettivamente.
* {{incode|rebar_type}} is the type of the main rebars; it can be {{incode|"StraightRebar"}} or {{incode|"LShapeRebar"}}.
* {{incode|rebar_type}} è il tipo delle armature principali; può essere {{incode|"StraightRebar"}} o {{incode|"LShapeRebar"}}.
* {{incode|hook_orientation}} specifies the orientation of LShaped hook; it can be: {{incode|"Top Inside"}}, {{incode|"Top Outside"}}, {{incode|"Bottom Inside"}}, {{incode|"Bottom Outside"}}, {{incode|"Top Right"}}, {{incode|"Top Left"}}, {{incode|"Bottom Right"}} or {{incode|"Bottom Left"}}.
* {{incode|hook_orientation}} specifica l'orientamento del gancio a forma di L; può essere: {{incode|"Top Inside"}}, {{incode|"Top Outside"}}, {{incode|"Bottom Inside"}}, {{incode|"Bottom Outside"}}, {{ incode|"Top Right"}}, {{incode|"Top Left"}}, {{incode|"Bottom Right"}} o {{incode|"Bottom Left"}}.
* {{incode|hook_extend_along}} specifies direction for hook extension; it can be {{incode|"x-axis"}} or {{incode|"y-axis"}}.
* {{incode|hook_extend_along}} specifica la direzione per l'estensione del gancio; può essere {{incode|"asse x"}} o {{incode|"asse y"}}.
* {{incode|l_rebar_rounding}} is the parameter that determines the bending radius of the LShaped main rebars, expressed as times the diameter.
* {{incode|l_rebar_rounding}} è il parametro che determina il raggio di curvatura delle armature principali a forma di L, espresso come multipli del diametro.
* {{incode|hook_extension}} is the length of hook of LShaped rebars.
* {{incode|hook_extension}} è la lunghezza del gancio delle armature a forma di L.

<span id="Example"></span>
==== Esempio ====


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


# It doesn't work if the structure is not based on a face
# 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 221:


# For Straight Rebars
# For Straight Rebars

RebarGroup = SingleTie.makeSingleTieFourRebars(
RebarGroup = SingleTie.makeSingleTieFourRebars(
l_cover_of_tie=40,
l_cover_of_tie=40,
Line 174: Line 246:


# For LShaped Rebars with hook along x-axis
# 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 271:


# For LShaped Rebars with hook along y-axis
# 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 220: Line 294:
facename="Face6",
facename="Face6",
).rebar_group
).rebar_group

}}
}}


<span id="Create_Single_Tie_Multiple_Rebars"></span>
=== Creare una singola staffa e multiple barre ===


=== Create Single Tie Multiple Rebars ===
{{Code|code=
{{Code|code=
RebarGroup = makeSingleTieMultipleRebars(
RebarGroup = makeSingleTieMultipleRebars(
Line 255: Line 329:
facename=None,
facename=None,
)
)

}}
}}


* Creates a {{incode|RebarGroup}} object from the given {{incode|structure}}, which is an [[Arch Structure]], and {{incode|facename}}, which is a face of that structure.
* Crea un oggetto {{incode|RebarGroup}} dalla {{incode|structure}} specificata, che è una [[Arch Structure/it|Struttura]], e dalla {{incode|facename}}, che è una faccia di quella struttura.
** If no {{incode|structure}} nor {{incode|facename}} are given, it will take the user selected face as input.
** Se non vengono forniti {{incode|structure}} {{incode|facename}}, verrà utilizzata la faccia selezionata dall'utente come input.
* {{incode|l_cover_of_tie}}, {{incode|r_cover_of_tie}}, {{incode|t_cover_of_tie}}, {{incode|b_cover_of_tie}} and {{incode|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.
* {{incode|l_cover_of_tie}}, {{incode|r_cover_of_tie}}, {{incode|t_cover_of_tie}}, {{incode|b_cover_of_tie}} e {{incode|offset_of_tie}} sono le distanze di offset interne degli elementi di tiraggio rispetto alle facce della struttura. Sono rispettivamente gli offset sinistro, destro, superiore, inferiore e anteriore/posteriore.
* {{incode|bent_angle}} define the angle of the tip of the reinforcement loop.
* {{incode|bent_angle}} definisce l'angolo della punta del gancio di rinforzo.
* {{incode|extension_factor}} define the length of the tip of the reinforcement loop, expressed in times the diameter.
* {{incode|extension_factor}} definisce la lunghezza della punta dell'anello di rinforzo, espressa in numero di volte il diametro.
* {{incode|dia_of_tie}} is the diameter of the ties.
* {{incode|dia_of_tie}} è il diametro delle legature.
* {{incode|number_spacing_check}} if it is {{incode|True}} it will create as many ties as given by {{incode|number_spacing_value}}; if it is {{incode|False}} it will create ties separated by the numerical value of {{incode|number_spacing_value}}.
* Se {{incode|number_spacing_check}} è {{incode|True}} creerà tante legature quante sono indicate da {{incode|number_spacing_value}}; se è {{incode|False}} creerà un numero di legature diverso dal valore numerico di {{incode|number_spacing_value}}.
* {{incode|number_spacing_value}} specifies the number of ties, or the value of the separation between them, depending on {{incode|number_spacing_check}}.
* {{incode|number_spacing_value}} specifica il numero di legature di un dato valore, o il valore della distanza tra loro, a seconda di {{incode|number_spacing_check}}.
* {{incode|dia_of_main_rebars}} is the diameter of the main rebars.
* {{incode|dia_of_main_rebars}} è il diametro delle armature principali.
* {{incode|main_rebars_t_offset}} and {{incode|main_rebars_b_offset}} are inner offset distances for the main rebars with respect to the top and bottom faces of the structure, respectively.
* {{incode|main_rebars_t_offset}} e {{incode|main_rebars_b_offset}} sono le distanze di offset interne per le armature principali rispetto alle facce superiore e inferiore della struttura, rispettivamente.
* {{incode|main_rebars_type}} is the type of the main rebars; it can be {{incode|"StraightRebar"}} or {{incode|"LShapeRebar"}}.
* {{incode|main_rebars_type}} è il tipo delle armature principali; può essere {{incode|"StraightRebar"}} o {{incode|"LShapeRebar"}}.
* {{incode|main_hook_orientation}} specifies the orientation of main LShaped hook; it can be: {{incode|"Top Inside"}}, {{incode|"Top Outside"}}, {{incode|"Bottom Inside"}}, {{incode|"Bottom Outside"}}, {{incode|"Top Right"}}, {{incode|"Top Left"}}, {{incode|"Bottom Right"}} or {{incode|"Bottom Left"}}.
* {{incode|main_hook_orientation}} specifica l'orientamento del gancio a forma di L; può essere: {{incode|"Top Inside"}}, {{incode|"Top Outside"}}, {{incode|"Bottom Inside"}}, {{incode|"Bottom Outside"}}, {{incode|"Top Right"}}, {{incode|"Top Left"}}, {{incode|"Bottom Right"}} o {{incode|"Bottom Left"}}.
* {{incode|main_hook_extend_along}} specifies direction for main hook extension; it can be {{incode|"x-axis"}} or {{incode|"y-axis"}}.
* {{incode|main_hook_extend_along}} specifica la direzione per l'estensione del gancio; può essere {{incode|"x-axis"}} o {{incode|"y-axis"}}.
* {{incode|l_main_rebar_rounding}} is the parameter that determines the bending radius of the LShaped main rebars, expressed as times the diameter.
* {{incode|l_main_rebar_rounding}} è il parametro che determina il raggio di curvatura delle armature principali a forma di L, espresso come multipli del diametro.
* {{incode|main_hook_extension}} is the length of hook of main LShaped rebars.
* {{incode|main_hook_extension}} è la lunghezza del gancio delle armature a forma di L.
* {{incode|sec_rebars_t_offset}} and {{incode|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.
* {{incode|sec_rebars_t_offset}} e {{incode|sec_rebars_b_offset}} sono tuple (xdir_rebars_t_offset, ydir_rebars_t_offset) e (xdir_rebars_b_offset, ydir_rebars_b_offset) rispettivamente, che definiscono le distanze di offset interne per le barre secondarie in direzione x e y secondo rispettivamente le facce superiore e inferiore della struttura.
* {{incode|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.
* {{incode|sec_rebars_number_diameter}} è una tupla (xdir_rebars_number_diameter, ydir_rebars_number_diameter) che definisce l'insieme numero#diametro delle armature secondarie nella direzione x e nella direzione y, rispettivamente.
* {{incode|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 {{incode|"StraightRebar"}} or {{incode|"LShapeRebar"}} as rebar type.
* {{incode|sec_rebars_type}} è una tupla (xdir_rebars_type, ydir_rebars_type) che definisce rispettivamente il tipo di armature secondarie nella direzione x e nella direzione y; può avere {{incode|"StraightRebar"}} o {{incode|"LShapeRebar"}} come tipo di armatura.
* {{incode|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 {{incode|"Top Inside"}}, {{incode|"Top Outside"}}, {{incode|"Bottom Inside"}}, {{incode|"Bottom Outside"}}, {{incode|"Top Right"}}, {{incode|"Top Left"}}, {{incode|"Bottom Right"}} or {{incode|"Bottom Left"}} as hook_orientation.
* {{incode|sec_hook_orientation}} è una tupla (xdir_hook_orientation, ydir_hook_orientation) che definisce l'orientamento del gancio a forma di L della direzione x secondaria e della direzione y; può avere {{incode|"Top Inside"}}, {{incode|"Top Outside"}}, {{incode|"Bottom Inside"}}, {{incode|"Bottom Outside"}}, {{incode |"Top Right"}}, {{incode|"Top Left"}}, {{incode|"Bottom Right"}} o {{incode|"Bottom Left"}} come orientamento del gancio.
* {{incode|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.
* {{incode|l_sec_rebar_rounding}} è una tupla (l_xdir_rebar_rounding, l_ydir_rebar_rounding) che determina il raggio di piegatura delle barre d'armatura secondarie a forma di L nella direzione x e nella direzione y, espresso come multiplo del diametro delle barre d'armatura a forma di L nella direzione x e nella direzione y, rispettivamente.
* {{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}} è una tupla (xdir_hook_extension, ydir_hook_extension) che definisce la lunghezza del gancio delle armature secondarie a forma di L nella direzione x e nella direzione y.

<span id="Example"></span>
====Esempio====


==== Example ====
{{Code|code=
{{Code|code=
import FreeCAD, Draft, Arch
import FreeCAD, Draft, Arch
Line 322: Line 397:
facename="Face6",
facename="Face6",
)
)

}}
}}


=== Edition of Single Tie Four Rebars ===
=== Edition of Single Tie Four Rebars ===

You can change the properties of the ties and rebars with the following function
<div class="mw-translate-fuzzy">
=== Modifica di una singola staffa e quattro barre ===
È possibile modificare le proprietà della staffa e delle barre con la seguente funzione:
</div>

{{Code|code=
{{Code|code=
rebar_group = editSingleTieFourRebars(
rebar_group = editSingleTieFourRebars(
Line 351: Line 430:
facename=None,
facename=None,
)
)

}}
}}


* {{incode|rebar_group}} is a previously created {{incode|ColumnReinforcement}} group object.
* {{incode|rebar_group}} è il gruppo di oggetti {{incode|ColumnReinforcement}} creato in precedenza..
* The other parameters are the same as required by the {{incode|makeSingleTieFourRebars()}} function.
* Gli altri parametri sono gli stessi richiesti dalla funzione {{incode|makeSingleTieFourRebars()}}.
* {{incode|structure}} and {{incode|facename}} may be omitted so that the rebar stays in the original structure.
* {{incode|structure}} e {{incode|facename}} possono essere omesse in modo che l'armatura rimanga nella struttura originale..

<span id="Example"></span>
====Esempio====


==== Example ====
{{Code|code=
{{Code|code=
from ColumnReinforcement import SingleTie
from ColumnReinforcement import SingleTie
Line 385: Line 465:
facename=None,
facename=None,
)
)

}}
}}


=== Edition of Single Tie Multiple Rebars ===
=== Edition of Single Tie Multiple Rebars ===

You can change the properties of the ties and rebars with the following function
<div class="mw-translate-fuzzy">
=== Modifica di una singola staffa e multiple barre ===
È possibile modificare le proprietà della staffa e delle barre con la seguente funzione:
</div>

{{Code|code=
{{Code|code=
rebar_group = editSingleTieMultipleRebars(
rebar_group = editSingleTieMultipleRebars(
Line 421: Line 505:
facename=None,
facename=None,
)
)

}}
}}


* {{incode|rebar_group}} is a previously created {{incode|ColumnReinforcement}} group object.
* {{incode|rebar_group}} è il gruppo di oggetti {{incode|ColumnReinforcement}} creato in precedenza.
* The other parameters are the same as required by the {{incode|makeSingleTieMultipleRebars()}} function.
* Gli altri parametri sono gli stessi richiesti dalla funzione {{incode|makeSingleTieMultipleRebars()}}.
* {{incode|structure}} and {{incode|facename}} may be omitted so that the reinforcement stays in the original structure.
* {{incode|structure}} e {{incode|facename}} possono essere omesse in modo che l'armatura rimanga nella struttura originale.

<span id="Example"></span>
====Esempio====


==== Example ====
{{Code|code=
{{Code|code=
from ColumnReinforcement import SingleTieMultipleRebars
from ColumnReinforcement import SingleTieMultipleRebars
Line 462: Line 547:
facename=None,
facename=None,
)
)

}}
}}


{{docnav|[[Arch_Rebar_Helical|Helical Rebar]]|[[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars|ColumnReinforcement TwoTiesSixRebars]]|[[Arch_Module|Arch]]|IconL=Arch_Rebar_Helical.png|IconC=Workbench_Arch.svg|IconR=Arch_Rebar_ColumnReinforcement.svg}}


<div class="mw-translate-fuzzy">
{{Arch Tools navi}}
{{Docnav/it

|[[Arch_Rebar_Helical/it|Armatura elicoidale]]
{{Userdocnavi}}
|[[Arch_Rebar_BeamReinforcement/it|Armatura di trave]]
|[[Arch_Workbench/it|Arch]]
|IconL=Arch_Rebar_Helical.svg
|IconR=Arch_Rebar_BeamReinforcement.svg
|IconC=Workbench_Arch.svg
}}
</div>


[[Category:Reinforcement]]
[[Category:External_Command_Reference{{#translation:}}]]
[[Category:Reinforcement{{#translation:}}]]
{{Arch_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 23:18, 9 March 2024

Armatura di pilastro

Posizione nel menu
Arch → Strumenti armatura → Armatura pilastro
3BIM → 3D/BIM → Reinforcement → Armatura pilastro
Ambiente
Arch, BIM
Avvio veloce
Nessuno
Introdotto nella versione
0.19
Vedere anche
Ambiente Rinforzi, Armatura, Armatura elicoidale, Armatura di pilastro con due staffe e sei barre

Descrizione

Lo strumento Armatura di pilastro consente all'utente di creare delle barre di rinforzo all'interno di un oggetto Struttura Pilastro.

Questo comando fa parte dell'ambiente Reinforcement, un ambiente esterno che si può installare con Addon manager, tramite il menu Strumenti → Addon manager → Reinforcement.

Three usage examples are available:

Armatura di pilastro all'interno di un Struttura pilastro

Utilizzo

1. Select any face of a previously created Arch Structure object.

2. Then select Column Reinforcement from the rebar tools.

3. A dialog box will pop-out on screen as shown below.

Finestra di dialogo per lo strumento Armatura di pilastro

4. Select the desired type of column reinforcement.

5. Give inputs for data related to ties.

6. Click Next and the dialog box will be updated as shown below.

Finestra di dialogo per i dati dell'armatura principale

7. Select desired rebar type and fill data for main rebars.

8. Click Next and the dialog box will be updated as shown below.

Finestra di dialogo per i dati Armature di direzione X.

9. Select desired rebar type and fill data for xdirection rebars.

10. Click Next and the dialog box will be updated as shown below.

Finestra di dialogo per i dati Armature di direzione Y.

11. Select desired rebar type and fill data for ydirection rebars.

12. Click OK or Apply to generate column reinforcement.

13. Click Cancel to exit the dialog box.

Proprietà

Ties:

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: Rebars present at corners of tie

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: Rebars along x-direction except main rebars

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: Rebars along y-direction except main rebars

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 Armatura di pilastro 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
  • Crea un oggetto RebarGroup dalla structure specificata, che è una Struttura, e dalla facename, che è una faccia di quella struttura.
    • Se non vengono forniti structurefacename, verrà utilizzata la faccia selezionata dall'utente come input.
  • l_cover_of_tie, r_cover_of_tie, t_cover_of_tie, b_cover_of_tie e offset_of_tie sono le distanze di offset interne degli elementi di trazione rispetto alle facce della struttura. Sono rispettivamente gli offset sinistro, destro, superiore, inferiore e anteriore/posteriore.
  • bent_angle definisce l'angolo della punta del gancio di rinforzo.
  • extension_factor definisce la lunghezza della punta dell'anello di rinforzo, espressa in numero di volte il diametro.
  • dia_of_tie è il diametro delle legature.
  • se number_spacing_check è True creerà tante legature quante sono indicate da number_spacing_value; se è False creerà un numero di legature diverso dal valore numerico di number_spacing_value.
  • number_spacing_value specifica il numero di legature di un dato valore, o il valore della distanza tra loro, a seconda di number_spacing_check.
  • dia_of_rebars è il diametro delle armature principali.
  • t_offset_of_rebars e b_offset_of_rebars sono le distanze di offset interne per le armature principali rispetto alle facce superiore e inferiore della struttura, rispettivamente.
  • rebar_type è il tipo delle armature principali; può essere "StraightRebar" o "LShapeRebar".
  • hook_orientation specifica l'orientamento del gancio a forma di L; può essere: "Top Inside", "Top Outside", "Bottom Inside", "Bottom Outside", "Top Right", "Top Left", "Bottom Right" o "Bottom Left".
  • hook_extend_along specifica la direzione per l'estensione del gancio; può essere "asse x" o "asse y".
  • l_rebar_rounding è il parametro che determina il raggio di curvatura delle armature principali a forma di L, espresso come multipli del diametro.
  • hook_extension è la lunghezza del gancio delle armature a forma di L.

Esempio

import FreeCAD, Draft, Arch
from ColumnReinforcement import SingleTie

# It doesn't work if the structure is not based on a face.
# 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()

# For Straight Rebars

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

# For LShaped Rebars with hook along x-axis

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

# For LShaped Rebars with hook along y-axis

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,
)
  • Crea un oggetto RebarGroup dalla structure specificata, che è una Struttura, e dalla facename, che è una faccia di quella struttura.
    • Se non vengono forniti structurefacename, verrà utilizzata la faccia selezionata dall'utente come input.
  • l_cover_of_tie, r_cover_of_tie, t_cover_of_tie, b_cover_of_tie e offset_of_tie sono le distanze di offset interne degli elementi di tiraggio rispetto alle facce della struttura. Sono rispettivamente gli offset sinistro, destro, superiore, inferiore e anteriore/posteriore.
  • bent_angle definisce l'angolo della punta del gancio di rinforzo.
  • extension_factor definisce la lunghezza della punta dell'anello di rinforzo, espressa in numero di volte il diametro.
  • dia_of_tie è il diametro delle legature.
  • Se number_spacing_check è True creerà tante legature quante sono indicate da number_spacing_value; se è False creerà un numero di legature diverso dal valore numerico di number_spacing_value.
  • number_spacing_value specifica il numero di legature di un dato valore, o il valore della distanza tra loro, a seconda di number_spacing_check.
  • dia_of_main_rebars è il diametro delle armature principali.
  • main_rebars_t_offset e main_rebars_b_offset sono le distanze di offset interne per le armature principali rispetto alle facce superiore e inferiore della struttura, rispettivamente.
  • main_rebars_type è il tipo delle armature principali; può essere "StraightRebar" o "LShapeRebar".
  • main_hook_orientation specifica l'orientamento del gancio a forma di L; può essere: "Top Inside", "Top Outside", "Bottom Inside", "Bottom Outside", "Top Right", "Top Left", "Bottom Right" o "Bottom Left".
  • main_hook_extend_along specifica la direzione per l'estensione del gancio; può essere "x-axis" o "y-axis".
  • l_main_rebar_rounding è il parametro che determina il raggio di curvatura delle armature principali a forma di L, espresso come multipli del diametro.
  • main_hook_extension è la lunghezza del gancio delle armature a forma di L.
  • sec_rebars_t_offset e sec_rebars_b_offset sono tuple (xdir_rebars_t_offset, ydir_rebars_t_offset) e (xdir_rebars_b_offset, ydir_rebars_b_offset) rispettivamente, che definiscono le distanze di offset interne per le barre secondarie in direzione x e y secondo rispettivamente le facce superiore e inferiore della struttura.
  • sec_rebars_number_diameter è una tupla (xdir_rebars_number_diameter, ydir_rebars_number_diameter) che definisce l'insieme numero#diametro delle armature secondarie nella direzione x e nella direzione y, rispettivamente.
  • sec_rebars_type è una tupla (xdir_rebars_type, ydir_rebars_type) che definisce rispettivamente il tipo di armature secondarie nella direzione x e nella direzione y; può avere "StraightRebar" o "LShapeRebar" come tipo di armatura.
  • sec_hook_orientation è una tupla (xdir_hook_orientation, ydir_hook_orientation) che definisce l'orientamento del gancio a forma di L della direzione x secondaria e della direzione y; può avere "Top Inside", "Top Outside", "Bottom Inside", "Bottom Outside", "Top Right", "Top Left", "Bottom Right" o "Bottom Left" come orientamento del gancio.
  • l_sec_rebar_rounding è una tupla (l_xdir_rebar_rounding, l_ydir_rebar_rounding) che determina il raggio di piegatura delle barre d'armatura secondarie a forma di L nella direzione x e nella direzione y, espresso come multiplo del diametro delle barre d'armatura a forma di L nella direzione x e nella direzione y, rispettivamente.
  • sec_hook_extension è una tupla (xdir_hook_extension, ydir_hook_extension) che definisce la lunghezza del gancio delle armature secondarie a forma di L nella direzione x e nella direzione y.

Esempio

import FreeCAD, Draft, Arch
from ColumnReinforcement import SingleTieMultipleRebars

# It doesn't work if the structure is not based on a face
# 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",
)

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:

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 è il gruppo di oggetti ColumnReinforcement creato in precedenza..
  • Gli altri parametri sono gli stessi richiesti dalla funzione makeSingleTieFourRebars().
  • structure e facename possono essere omesse in modo che l'armatura rimanga nella struttura originale..

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

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:

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 è il gruppo di oggetti ColumnReinforcement creato in precedenza.
  • Gli altri parametri sono gli stessi richiesti dalla funzione makeSingleTieMultipleRebars().
  • structure e facename possono essere omesse in modo che l'armatura rimanga nella struttura originale.

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