Reinforcement ColumnRebars/ru: Difference between revisions
(Created page with "==Описание==") |
(Updating to match new version of source page) |
||
(27 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{docnav/ru |
|||
<div class="mw-translate-fuzzy"> |
|||
|[[Arch_Rebar_Circular_ColumnReinforcement/ru|Circular Column Reinforcement]] |
|||
{{Docnav/ru |
|||
|[[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars/ru|ColumnReinforcement TwoTiesSixRebars]] |
|||
|[[Arch_Rebar_Helical/ru|Спиральная арматура]] |
|||
|[[Arch_Module/ru|Arch]] |
|||
|[[Arch_Rebar_BeamReinforcement/ru|Армировать балку]] |
|||
|IconL=Arch_Rebar_ColumnReinforcement.svg |
|||
|[[Arch_Workbench/ru|Архитектурный верстак "Arch"]] |
|||
|IconL=Arch_Rebar_Helical.svg |
|||
|IconR=Arch_Rebar_BeamReinforcement.svg |
|||
|IconC=Workbench_Arch.svg |
|IconC=Workbench_Arch.svg |
||
|IconR=Arch_Rebar_ColumnReinforcement.svg |
|||
}} |
}} |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
|Name/ru=Армировать колонну |
|||
|Name=Arch Rebar ColumnReinforcement |
|||
|Name=Arch_Rebar_ColumnReinforcement |
|||
|Name/ru=Arch Rebar ColumnReinforcement |
|||
|MenuLocation=Arch → Rebar tools |
|MenuLocation=Arch → Rebar tools → Column Reinforcement<br>3D/BIM → Reinforcement tools → Column Reinforcement |
||
|Workbenches=[[ |
|Workbenches=[[Arch_Workbench/ru|Arch]], [[BIM_Workbench/ru|BIM]] |
||
|SeeAlso=[[Arch_Rebar_Helical/ru|Helical Rebar]], [[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars/ru|ColumnReinforcement TwoTiesSixRebars]] |
|||
|Version=0.19 |
|Version=0.19 |
||
|SeeAlso=[[Reinforcement_Workbench/ru|Reinforcement]], [[Arch_Rebar/ru|Арматура по эскизу]], [[Arch_Rebar_Helical/ru|Спиральная арматура]], [[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars/ru|Arch ColumnReinforcement TwoTiesSixRebars]] |
|||
}} |
}} |
||
</div> |
|||
<span id="Description"></span> |
|||
==Описание== |
==Описание== |
||
The [[ |
The [[Reinforcement_ColumnRebars|Reinforcement ColumnRebars]] tool allows the user to create reinforcing bars inside a Column [[Arch Structure|Arch Structure]] object. |
||
This |
This tool is part of the [[Reinforcement_Workbench|Reinforcement Workbench]], an [[External_workbenches|external workbench]] that can be installed with the [[Image:Std_AddonMgr.svg|24px]] [[Std_AddonMgr|Addon Manager]]. |
||
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]] |
||
{{Caption| |
{{Caption|Single tie reinforcement inside a [[Arch_Structure|column]]}} |
||
= |
<span id="Usage"></span> |
||
==Применение== |
|||
1. Select any face of a previously created {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch Structure|Arch Structure]]}} object. |
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> |
|||
: {{Caption|Dialog Box for the Arch Rebar ColumnReinforcement tool}} |
|||
10. Click next and dialog box will be updated as shown below. <br> |
|||
[[Image:ColumnReinforcementDialog_YDirRebars.png|700px]]{{Caption|Dialog Box for YDirection Rebars data}} |
|||
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]] |
|||
: {{Caption|Dialog Box for Main Rebars data}} |
|||
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]] |
|||
: {{Caption|Dialog Box for XDirection Rebars data}} |
|||
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]] |
|||
: {{Caption|Dialog Box for YDirection Rebars data}} |
|||
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> |
|||
==Свойства== |
|||
'''Ties:''' |
'''Ties:''' |
||
* {{PropertyData|Left Cover}}: The distance between the left end of the tie to the left face of the structure. |
* {{PropertyData|Left Cover}}: The distance between the left end of the tie to the left face of the structure. |
||
* {{PropertyData|Right Cover}}: The distance between the right end of the tie to right face of the structure. |
* {{PropertyData|Right Cover}}: The distance between the right end of the tie to right face of the structure. |
||
Line 67: | Line 96: | ||
'''Main Rebars:''' Rebars present at corners of tie |
'''Main Rebars:''' Rebars present at corners of tie |
||
* {{PropertyData|Rebar Type}}: Type of main rebars. |
* {{PropertyData|Rebar Type}}: Type of main rebars. |
||
* {{PropertyData|Hook Orientation}}: Orientation of LShaped hooks. |
* {{PropertyData|Hook Orientation}}: Orientation of LShaped hooks. |
||
Line 77: | Line 107: | ||
'''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. |
* {{PropertyData|Rebar Type}}: Type of x-direction rebars. |
||
* {{PropertyData|Hook Orientation}}: Orientation of LShaped hooks. |
* {{PropertyData|Hook Orientation}}: Orientation of LShaped hooks. |
||
Line 86: | Line 117: | ||
'''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|Rebar Type}}: Type of y-direction rebars. |
||
* {{PropertyData|Hook Orientation}}: Orientation of LShaped hooks. |
* {{PropertyData|Hook Orientation}}: Orientation of LShaped hooks. |
||
Line 94: | Line 126: | ||
* {{PropertyData|Number#Diameter}}: Number#Diameter set of the y-direction rebars. |
* {{PropertyData|Number#Diameter}}: Number#Diameter set of the y-direction rebars. |
||
<span id="Scripting"></span> |
|||
==Программирование== |
|||
==Scripting== |
|||
{{Emphasis|See also:}} [[Arch API|Arch API]], [[Reinforcement API|Reinforcement API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
{{Emphasis|See also:}} [[Arch API|Arch API]], [[Reinforcement API|Reinforcement API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
||
The |
The Reinforcement ColumnRebars tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following function: |
||
=== Create Single Tie Four Rebars === |
=== Create Single Tie Four Rebars === |
||
Line 126: | Line 158: | ||
facename=None, |
facename=None, |
||
).rebar_group |
).rebar_group |
||
}} |
}} |
||
Line 145: | Line 176: | ||
* {{incode|hook_extension}} is the length of hook of LShaped rebars. |
* {{incode|hook_extension}} is the length of hook of LShaped rebars. |
||
= |
<span id="Example"></span> |
||
==== Пример ==== |
|||
{{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 232: | Line 265: | ||
facename="Face6", |
facename="Face6", |
||
).rebar_group |
).rebar_group |
||
}} |
}} |
||
=== Create Single Tie Multiple Rebars === |
|||
=== Create Single Tie Multiple Rebars === |
|||
{{Code|code= |
{{Code|code= |
||
RebarGroup = makeSingleTieMultipleRebars( |
RebarGroup = makeSingleTieMultipleRebars( |
||
Line 267: | Line 299: | ||
facename=None, |
facename=None, |
||
) |
) |
||
}} |
}} |
||
Line 292: | Line 323: | ||
* {{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. |
||
= |
<span id="Example"></span> |
||
==== Пример ==== |
|||
{{Code|code= |
{{Code|code= |
||
Line 335: | Line 367: | ||
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 |
|||
You can change the properties of the ties and rebars with the following function: |
|||
{{Code|code= |
{{Code|code= |
||
Line 365: | Line 397: | ||
facename=None, |
facename=None, |
||
) |
) |
||
}} |
}} |
||
Line 372: | Line 403: | ||
* {{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. |
||
= |
<span id="Example"></span> |
||
==== Пример ==== |
|||
{{Code|code= |
{{Code|code= |
||
Line 400: | Line 432: | ||
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 |
|||
You can change the properties of the ties and rebars with the following function: |
|||
{{Code|code= |
{{Code|code= |
||
Line 437: | Line 469: | ||
facename=None, |
facename=None, |
||
) |
) |
||
}} |
}} |
||
Line 444: | Line 475: | ||
* {{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. |
||
= |
<span id="Example"></span> |
||
==== Пример ==== |
|||
{{Code|code= |
{{Code|code= |
||
Line 479: | Line 511: | ||
facename=None, |
facename=None, |
||
) |
) |
||
}} |
}} |
||
{{docnav |
|||
<div class="mw-translate-fuzzy"> |
|||
|[[Arch_Rebar_Circular_ColumnReinforcement|Circular Column Reinforcement]] |
|||
{{Docnav/ru |
|||
|[[Arch_Rebar_ColumnReinforcement_TwoTiesSixRebars|ColumnReinforcement TwoTiesSixRebars]] |
|||
|[[Arch_Rebar_Helical/ru|Спиральная арматура]] |
|||
|[[Arch_Module|Arch]] |
|||
|[[Arch_Rebar_BeamReinforcement/ru|Армировать балку]] |
|||
|IconL=Arch_Rebar_ColumnReinforcement.svg |
|||
|[[Arch_Workbench/ru|Архитектурный верстак "Arch"]] |
|||
|IconL=Arch_Rebar_Helical.svg |
|||
|IconR=Arch_Rebar_BeamReinforcement.svg |
|||
|IconC=Workbench_Arch.svg |
|IconC=Workbench_Arch.svg |
||
|IconR=Arch_Rebar_ColumnReinforcement.svg |
|||
}} |
}} |
||
</div> |
|||
[[Category:External_Command_Reference{{#translation:}}]] |
|||
[[Category:Reinforcement{{#translation:}}]] |
|||
{{Arch_Tools_navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
[[Category:Reinforcement{{#translation:}}]] |
Latest revision as of 23:18, 9 March 2024
Армировать колонну |
Системное название |
---|
Arch_Rebar_ColumnReinforcement |
Расположение в меню |
Arch → Rebar tools → Column Reinforcement 3D/BIM → Reinforcement tools → Column Reinforcement |
Верстаки |
Arch, BIM |
Быстрые клавиши |
Нет |
Представлено в версии |
0.19 |
См. также |
Reinforcement, Арматура по эскизу, Спиральная арматура, Arch ColumnReinforcement TwoTiesSixRebars |
Описание
The Reinforcement ColumnRebars tool allows the user to create reinforcing bars inside a Column Arch Structure object.
This tool is part of the Reinforcement Workbench, an external workbench that can be installed with the Addon Manager.
Three usage examples are available:
Single tie reinforcement inside a column
Применение
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.
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.
7. Select desired rebar type and fill data for main rebars.
8. Click Next and the dialog box will be updated as shown below.
9. Select desired rebar type and fill data for xdirection rebars.
10. Click Next and the dialog box will be updated as shown below.
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.
Свойства
Ties:
- ДанныеLeft Cover: The distance between the left end of the tie to the left face of the structure.
- ДанныеRight Cover: The distance between the right end of the tie to right face of the structure.
- ДанныеTop Cover: The distance between tie from the top face of the structure.
- ДанныеBottom Cover: The distance between tie from the bottom face of the structure.
- ДанныеOffset: The distance between tie from the top/bottom face of the structure.
- ДанныеDiameter: Diameter of the tie.
- ДанныеBent Angle: Bent angle defines the angle at the ends of a tie.
- ДанныеExtension Factor: Extension Factor defines length of end of tie, expressed in times the diameter.
- ДанныеNumber: The number of ties.
- ДанныеSpacing: The distance between the axes of each tie.
Main Rebars: Rebars present at corners of tie
- ДанныеRebar Type: Type of main rebars.
- ДанныеHook Orientation: Orientation of LShaped hooks.
- ДанныеHook Extend Along: Direction for hook extension.
- ДанныеHook Extension: Length of hook of LShape rebars.
- ДанныеRounding: A rounding value to be applied to the corners of the LShape rebars, expressed in times the diameter.
- ДанныеTop Offset: The distance between rebar from the top face of the structure.
- ДанныеBottom Offset: The distance between rebar from the bottom face of the structure.
- ДанныеDiameter: Diameter of the main rebars.
XDir Secondary Rebars: Rebars along x-direction except main rebars
- ДанныеRebar Type: Type of x-direction rebars.
- ДанныеHook Orientation: Orientation of LShaped hooks.
- ДанныеHook Extension: Length of hook of LShape rebars.
- ДанныеRounding: A rounding value to be applied to the corners of the LShape rebars, expressed in times the diameter.
- ДанныеTop Offset: The distance between rebar from the top face of the structure.
- ДанныеBottom Offset: The distance between rebar from the bottom face of the structure.
- ДанныеNumber#Diameter: Number#Diameter set of the x-direction rebars.
YDir Secondary Rebars: Rebars along y-direction except main rebars
- ДанныеRebar Type: Type of y-direction rebars.
- ДанныеHook Orientation: Orientation of LShaped hooks.
- ДанныеHook Extension: Length of hook of LShape rebars.
- ДанныеRounding: A rounding value to be applied to the corners of the LShape rebars, expressed in times the diameter.
- ДанныеTop Offset: The distance between rebar from the top face of the structure.
- ДанныеBottom Offset: The distance between rebar from the bottom face of the structure.
- ДанныеNumber#Diameter: Number#Diameter set of the y-direction rebars.
Программирование
See also: Arch API, Reinforcement API and FreeCAD Scripting Basics.
The Reinforcement ColumnRebars tool can be used in macros and from the Python console by using the following function:
Create Single Tie Four Rebars
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 givenstructure
, which is an Arch Structure, andfacename
, which is a face of that structure.- If no
structure
norfacename
are given, it will take the user selected face as input.
- If no
l_cover_of_tie
,r_cover_of_tie
,t_cover_of_tie
,b_cover_of_tie
andoffset_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 isTrue
it will create as many ties as given bynumber_spacing_value
; if it isFalse
it will create ties separated by the numerical value ofnumber_spacing_value
.number_spacing_value
specifies the number of ties, or the value of the separation between them, depending onnumber_spacing_check
.dia_of_rebars
is the diameter of the main rebars.t_offset_of_rebars
andb_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.
Пример
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
Create Single Tie Multiple Rebars
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 givenstructure
, which is an Arch Structure, andfacename
, which is a face of that structure.- If no
structure
norfacename
are given, it will take the user selected face as input.
- If no
l_cover_of_tie
,r_cover_of_tie
,t_cover_of_tie
,b_cover_of_tie
andoffset_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 isTrue
it will create as many ties as given bynumber_spacing_value
; if it isFalse
it will create ties separated by the numerical value ofnumber_spacing_value
.number_spacing_value
specifies the number of ties, or the value of the separation between them, depending onnumber_spacing_check
.dia_of_main_rebars
is the diameter of the main rebars.main_rebars_t_offset
andmain_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
andsec_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.
Пример
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
You can change the properties of the ties and rebars with the following function:
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 createdColumnReinforcement
group object.- The other parameters are the same as required by the
makeSingleTieFourRebars()
function. structure
andfacename
may be omitted so that the rebar stays in the original structure.
Пример
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
You can change the properties of the ties and rebars with the following function:
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 createdColumnReinforcement
group object.- The other parameters are the same as required by the
makeSingleTieMultipleRebars()
function. structure
andfacename
may be omitted so that the reinforcement stays in the original structure.
Пример
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,
)
- Elements: Wall, Structure, Curtain Wall, Window, Roof, Space, Stairs, Equipment, Frame, Fence, Truss, Profile, Pipe, Pipe Connector
- Reinforcements: Straight Rebar, U-Shape Rebar, L-Shape Rebar, Stirrup, Bent-Shape Rebar, Helical Rebar, Column Reinforcement, Beam Reinforcement, Slab Reinforcement, Footing Reinforcement, Custom Rebar
- Panels: Panel, Panel Cut, Panel Sheet, Nest
- Materials: Material, Multi-Material
- Organization: Building Part, Project, Site, Building, Level, External reference, Section Plane, Schedule
- Axes: Axis, Axes system, Grid
- Modification: Cut with plane, Add component, Remove component, Survey
- Utilities: Component, Clone component, Split Mesh, Mesh to Shape, Select non-manifold meshes, Remove Shape from Arch, Close Holes, Merge Walls, Check, Toggle IFC Brep flag, 3 Views from mesh, Create IFC spreadsheet, Toggle Subcomponents
- Additional: Preferences, Import Export Preferences (IFC, DAE, OBJ, JSON, 3DS, SHP), IfcOpenShell, IfcPlusPlus, Arch API
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework