Example Slab Spanning in Two Directions: Difference between revisions

From FreeCAD Documentation
(Wiki code.)
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
{{TutorialInfo
{{TutorialInfo
|Topic=Example Slab Having L-Shape Rebars Reinforcement Mesh
|Topic=Example Slab Having L-Shape Rebars Reinforcement Mesh
Line 11: Line 12:
}}
}}


==Description==
==Description== <!--T:2-->


<!--T:3-->
The [[Arch_Rebar_Slab_Reinforcement|Slab Reinforcement]] tool allows the user to create reinforcing bars inside a Slab [[Arch_Structure|Arch Structure]] object.
The [[Arch_Rebar_Slab_Reinforcement|Slab Reinforcement]] tool allows the user to create reinforcing bars inside a Slab [[Arch_Structure|Arch Structure]] object.


<!--T:4-->
This command is part of the [[Reinforcement_Workbench|Reinforcement Workbench]], an [[External_workbenches|external workbench]] that can be installed with the [[Image:AddonManager.svg|24px]] [[Addon_Manager|Addon Manager]] via the {{MenuCommand|Tools → Addon manager → Reinforcement}} menu.
This command is part of the [[Reinforcement_Workbench|Reinforcement Workbench]], an [[External_workbenches|external workbench]] that can be installed with the [[Image:AddonManager.svg|24px]] [[Addon_Manager|Addon Manager]] via the {{MenuCommand|Tools → Addon manager → Reinforcement}} menu.


<!--T:5-->
In this example we will create Slab Reinforcement for Slab spanning in two directions as shown in below figure.
In this example we will create Slab Reinforcement for Slab spanning in two directions as shown in below figure.


Line 22: Line 26:
[[File:Isometric_view_of_Bent_Shape_rebars_in_parallel_and_cross_direction_with_distribution_rebars.png|800px]]
[[File:Isometric_view_of_Bent_Shape_rebars_in_parallel_and_cross_direction_with_distribution_rebars.png|800px]]
<translate>
<translate>
<!--T:6-->
{{Caption|A Example of Slab Reinforcement of spanning in two directions in Slab [[Arch_Structure|Arch Structure]]}}
{{Caption|A Example of Slab Reinforcement of spanning in two directions in Slab [[Arch_Structure|Arch Structure]]}}


Line 27: Line 32:
[[File:Right_view_of_Bent_Shape_rebars_in_parallel_and_cross_direction_with_distribution_rebars.png|800px]]
[[File:Right_view_of_Bent_Shape_rebars_in_parallel_and_cross_direction_with_distribution_rebars.png|800px]]
<translate>
<translate>
<!--T:7-->
{{Caption|Right view of the given Slab Reinforcement example}}
{{Caption|Right view of the given Slab Reinforcement example}}


Line 32: Line 38:
[[File:Front_view_of_Bent_Shape_rebars_in_parallel_and_cross_direction_with_distribution_rebars.png|800px]]
[[File:Front_view_of_Bent_Shape_rebars_in_parallel_and_cross_direction_with_distribution_rebars.png|800px]]
<translate>
<translate>
<!--T:8-->
{{Caption|Front view of the given Slab Reinforcement example}}
{{Caption|Front view of the given Slab Reinforcement example}}


==Usage==
==Usage== <!--T:9-->


<!--T:10-->
1. Select any face of a previously created Slab {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch_Structure|Arch Structure]]}} object. as shown in below image.
1. Select any face of a previously created Slab {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch_Structure|Arch Structure]]}} object. as shown in below image.


Line 41: Line 49:
[[File:Selected_face_for_Slab_Arch_Structure.png|400px]]
[[File:Selected_face_for_Slab_Arch_Structure.png|400px]]
<translate>
<translate>
<!--T:11-->
{{Caption|Selected face for Slab Arch Structure}}
{{Caption|Selected face for Slab Arch Structure}}


<!--T:12-->
2. Then select {{Button|[[Image:Arch_Rebar_Slab_Reinforcement.svg|16px]] [[Arch_Rebar_Slab_Reinforcement|Slab Reinforcement]]}} from the rebar tools.
2. Then select {{Button|[[Image:Arch_Rebar_Slab_Reinforcement.svg|16px]] [[Arch_Rebar_Slab_Reinforcement|Slab Reinforcement]]}} from the rebar tools.


<!--T:13-->
3. A dialog box will pop-out on screen as shown below.
3. A dialog box will pop-out on screen as shown below.


Line 50: Line 61:
[[File:Slab_Reinforcement_input_dialog_box.png]]
[[File:Slab_Reinforcement_input_dialog_box.png]]
<translate>
<translate>
<!--T:14-->
{{Caption|Dialog Box for the Slab Reinforcement}}
{{Caption|Dialog Box for the Slab Reinforcement}}


<!--T:15-->
4. Select the desired type of cover of reinforcement mesh (Top or Bottom) In example Bottom is selected.
4. Select the desired type of cover of reinforcement mesh (Top or Bottom) In example Bottom is selected.


<!--T:16-->
5. Select the BentShapeRebar rebar type and other input data for rebars in parallel direction of selected face as show in below image.
5. Select the BentShapeRebar rebar type and other input data for rebars in parallel direction of selected face as show in below image.


Line 59: Line 73:
[[File:Bent_Shape_rebars_in_parallel_with_distribution_rebars_inputs_for_Slab_Reinforcement.png]]
[[File:Bent_Shape_rebars_in_parallel_with_distribution_rebars_inputs_for_Slab_Reinforcement.png]]
<translate>
<translate>
<!--T:17-->
{{Caption|Dialog Box for Slab Reinforcement of the Rebars in parallel direction of selected face}}
{{Caption|Dialog Box for Slab Reinforcement of the Rebars in parallel direction of selected face}}


<!--T:18-->
6. Now click on {{Button|Next}} button or select Cross Rebars in list view.
6. Now click on {{Button|Next}} button or select Cross Rebars in list view.


<!--T:19-->
7. Now also select BentShapeRebar rebar type and other desired data for input data for rebars in cross direction of selected face as show in below image.
7. Now also select BentShapeRebar rebar type and other desired data for input data for rebars in cross direction of selected face as show in below image.


Line 68: Line 85:
[[File:Bent_Shape_rebars_in_cross_direction_with_distribution_rebars.png]]
[[File:Bent_Shape_rebars_in_cross_direction_with_distribution_rebars.png]]
<translate>
<translate>
<!--T:20-->
{{Caption|Dialog Box for Slab Reinforcement of the Rebars in cross direction of selected face}}
{{Caption|Dialog Box for Slab Reinforcement of the Rebars in cross direction of selected face}}


<!--T:21-->
8. Click {{Button|OK}} or {{Button|Apply}} or {{Button|Finish}} to generate Slab reinforcement.
8. Click {{Button|OK}} or {{Button|Apply}} or {{Button|Finish}} to generate Slab reinforcement.


<!--T:22-->
9. Click {{Button|Cancel}} to exit the dialog box.
9. Click {{Button|Cancel}} to exit the dialog box.


==Properties==
==Properties== <!--T:23-->


<!--T:24-->
'''Properties for Rebars in Parallel Direction to selected face:'''
'''Properties for Rebars in Parallel Direction to selected face:'''


<!--T:25-->
* {{ PropertyData|Mesh Cover Along}}: It represent alignment of rebar mesh along top or bottom face of structure. It can have two values "Top" and "Bottom".
* {{ PropertyData|Mesh Cover Along}}: It represent alignment of rebar mesh along top or bottom face of structure. It can have two values "Top" and "Bottom".
* {{ PropertyData|Rebar Type}}: Type of rebar for parallel rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
* {{ PropertyData|Rebar Type}}: Type of rebar for parallel rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
Line 93: Line 115:
* {{ PropertyData|Spacing}}: It contains spacing between parallel rebars.
* {{ PropertyData|Spacing}}: It contains spacing between parallel rebars.


<!--T:26-->
'''Properties of Distribution Rebars for bent shape rebars in parallel Direction to selected face:'''
'''Properties of Distribution Rebars for bent shape rebars in parallel Direction to selected face:'''


<!--T:27-->
* {{ PropertyData|Amount}}: It contains count of Distribution Rebars for Bent shape rebars in parallel Direction.
* {{ PropertyData|Amount}}: It contains count of Distribution Rebars for Bent shape rebars in parallel Direction.
* {{ PropertyData|Spacing}}: It contains spacing between Distribution Rebars for Bent shape rebars in parallel Direction.
* {{ PropertyData|Spacing}}: It contains spacing between Distribution Rebars for Bent shape rebars in parallel Direction.


<!--T:28-->
'''Properties for Rebars in Cross Direction to selected face:'''
'''Properties for Rebars in Cross Direction to selected face:'''


<!--T:29-->
* {{ PropertyData|Rebar Type}}: Type of rebar for cross rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
* {{ PropertyData|Rebar Type}}: Type of rebar for cross rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
* {{ PropertyData|Front Cover}}: The distance between cross rebar and selected face.
* {{ PropertyData|Front Cover}}: The distance between cross rebar and selected face.
Line 114: Line 140:
* {{ PropertyData|Spacing}}: It contains spacing between cross rebars.
* {{ PropertyData|Spacing}}: It contains spacing between cross rebars.


<!--T:30-->
'''Properties of Distribution Rebars for bent shape rebars in cross Direction to selected face:'''
'''Properties of Distribution Rebars for bent shape rebars in cross Direction to selected face:'''


<!--T:31-->
* {{ PropertyData|Amount}}: It contains count of Distribution Rebars for Bent shape rebars in cross Direction.
* {{ PropertyData|Amount}}: It contains count of Distribution Rebars for Bent shape rebars in cross Direction.
* {{ PropertyData|Spacing}}: It contains spacing between Distribution Rebars for Bent shape rebars in cross Direction.
* {{ PropertyData|Spacing}}: It contains spacing between Distribution Rebars for Bent shape rebars in cross Direction.


==Scripting==
==Scripting== <!--T:32-->


<!--T:33-->
{{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]].


<!--T:34-->
The Slab Reinforcement tool can be used from the [[Python|Python]] console by using the following function:
The Slab Reinforcement tool can be used from the [[Python|Python]] console by using the following function:


=== Create Slab Reinforcementof Slab Spanning in Two directions ===
=== Create Slab Reinforcementof Slab Spanning in Two directions === <!--T:35-->


<!--T:36-->
To create Slab reinforcement spanning two direction as shown in above figures you can use makeSlabReinforcement function as follows:
To create Slab reinforcement spanning two direction as shown in above figures you can use makeSlabReinforcement function as follows:


Line 174: Line 205:
<translate>
<translate>


<!--T:37-->
* Creates a {{incode|SlabReinforcementGroup}} object for slab spanning in two direction from the given {{incode|structure}}, which is a Slab [[Arch_Structure|Arch Structure]], and {{incode|facename}}, which is a face of that structure.
* Creates a {{incode|SlabReinforcementGroup}} object for slab spanning in two direction from the given {{incode|structure}}, which is a Slab [[Arch_Structure|Arch Structure]], and {{incode|facename}}, which is a face of that structure.
** If no {{incode|structure}} nor {{incode|facename}} are given, it will take the user selected face as input.
** If no {{incode|structure}} nor {{incode|facename}} are given, it will take the user selected face as input.


<!--T:38-->
''' Properties used for slab spanning in two direction for scripting'''
''' Properties used for slab spanning in two direction for scripting'''


<!--T:39-->
'''Properties for Rebars in Parallel Direction to selected face:'''
'''Properties for Rebars in Parallel Direction to selected face:'''


<!--T:40-->
* {{PropertyData|parallel_rebar_type}}: Type of rebar for parallel rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
* {{PropertyData|parallel_rebar_type}}: Type of rebar for parallel rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
* {{PropertyData|parallel_front_cover}}: The distance between parallel rebar and selected face.
* {{PropertyData|parallel_front_cover}}: The distance between parallel rebar and selected face.
Line 199: Line 234:
* {{PropertyData|parallel_distribution_rebars_amount_spacing_value}}: It contains count or spacing between distribution rebars for one side of parallel bent shape rebars based on value of parallel_distribution_rebars_check. Default is 2.
* {{PropertyData|parallel_distribution_rebars_amount_spacing_value}}: It contains count or spacing between distribution rebars for one side of parallel bent shape rebars based on value of parallel_distribution_rebars_check. Default is 2.


<!--T:41-->
'''Properties for Rebars in Cross Direction to selected face:'''
'''Properties for Rebars in Cross Direction to selected face:'''


<!--T:42-->
* {{PropertyData|cross_rebar_type}}: Type of rebar for cross rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
* {{PropertyData|cross_rebar_type}}: Type of rebar for cross rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
* {{PropertyData|cross_front_cover}}: The distance between cross rebar and cross_face (face perpendicular to selected face).
* {{PropertyData|cross_front_cover}}: The distance between cross rebar and cross_face (face perpendicular to selected face).
Line 219: Line 256:
* {{PropertyData|cross_distribution_rebars_amount_spacing_value}}: It contains count or spacing between distribution rebars for one side of cross bent shape rebars based on value of cross_distribution_rebars_check. Default is 2.
* {{PropertyData|cross_distribution_rebars_amount_spacing_value}}: It contains count or spacing between distribution rebars for one side of cross bent shape rebars based on value of cross_distribution_rebars_check. Default is 2.


<!--T:43-->
'''Common Properties for Parallel and Cross Rebars:'''
'''Common Properties for Parallel and Cross Rebars:'''


<!--T:44-->
* {{PropertyData|mesh_cover_along}}: It can have two values "Top" and "Bottom". It represent alignment of rebar mesh along top or bottom face of structure.
* {{PropertyData|mesh_cover_along}}: It can have two values "Top" and "Bottom". It represent alignment of rebar mesh along top or bottom face of structure.
* {{PropertyData|structure}}: Arch structure object. Default is None
* {{PropertyData|structure}}: Arch structure object. Default is None
* {{PropertyData|facename}}: selected face of structure. Default is None
* {{PropertyData|facename}}: selected face of structure. Default is None


=== Edition of Slab Reinforcement of Slab Spanning in Two directions ===
=== Edition of Slab Reinforcement of Slab Spanning in Two directions === <!--T:45-->


<!--T:46-->
You can change the properties of the Slab Reinforcement for slab spanning in two direction by using editSlabReinforcement function as follows
You can change the properties of the Slab Reinforcement for slab spanning in two direction by using editSlabReinforcement function as follows


Line 275: Line 315:
<translate>
<translate>


<!--T:47-->
* {{incode|slabReinforcementGroup}} is a previously created {{incode|Slab Reinforcement}} group object.
* {{incode|slabReinforcementGroup}} is a previously created {{incode|Slab Reinforcement}} group object.
* The other parameters are the same as required by the {{incode|makeSingleTieFourRebars()}} function.
* The other parameters are the same as required by the {{incode|makeSingleTieFourRebars()}} function.


<!--T:48-->
Here we are editing count of rebars in parallel and cross. But you can change any property to edit Slab Reinforcement.
Here we are editing count of rebars in parallel and cross. But you can change any property to edit Slab Reinforcement.



Revision as of 20:06, 28 September 2021

Other languages:
Tutorial
Topic
Example Slab Having L-Shape Rebars Reinforcement Mesh
Level
Intermediate
Time to complete
Authors
Shiv Charan
FreeCAD version
0.20
Example files
See also
None

Description

The Slab Reinforcement tool allows the user to create reinforcing bars inside a Slab Arch Structure object.

This command is part of the Reinforcement Workbench, an external workbench that can be installed with the Addon Manager via the Tools → Addon manager → Reinforcement menu.

In this example we will create Slab Reinforcement for Slab spanning in two directions as shown in below figure.

A Example of Slab Reinforcement of spanning in two directions in Slab Arch Structure

Right view of the given Slab Reinforcement example

Front view of the given Slab Reinforcement example

Usage

1. Select any face of a previously created Slab Arch Structure object. as shown in below image.

Selected face for Slab Arch Structure

2. Then select Slab Reinforcement from the rebar tools.

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

Dialog Box for the Slab Reinforcement

4. Select the desired type of cover of reinforcement mesh (Top or Bottom) In example Bottom is selected.

5. Select the BentShapeRebar rebar type and other input data for rebars in parallel direction of selected face as show in below image.

Dialog Box for Slab Reinforcement of the Rebars in parallel direction of selected face

6. Now click on Next button or select Cross Rebars in list view.

7. Now also select BentShapeRebar rebar type and other desired data for input data for rebars in cross direction of selected face as show in below image.

Dialog Box for Slab Reinforcement of the Rebars in cross direction of selected face

8. Click OK or Apply or Finish to generate Slab reinforcement.

9. Click Cancel to exit the dialog box.

Properties

Properties for Rebars in Parallel Direction to selected face:

  • DataMesh Cover Along: It represent alignment of rebar mesh along top or bottom face of structure. It can have two values "Top" and "Bottom".
  • DataRebar Type: Type of rebar for parallel rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
  • DataFront Cover: The distance between parallel rebar and selected face.
  • DataLeft Cover: The distance between the left end of the parallel rebar to the left face of the structure.
  • DataRight Cover: The distance between the right end of the parallel rebar to right face of the structure.
  • DataBottom Cover: The distance between parallel rebars from the bottom face of the structure.
  • DataTop Cover: The distance between parallel rebars from the top face of the structure.
  • DataRear Cover: Rear cover for slab reinforcement of parallel rebars.
  • DataAnchor Length: It represents arm's length of bent shape parallel rebar when parallel rebar type is BentShapeRebar.
  • DataBent Angle: It represents angle for bent shape parallel rebar when parallel rebar type is BentShapeRebar.
  • DataRounding: A rounding value to be applied to the corners of the bars, expressed in times of diameter of parallel rebars.
  • DataDiameter: Diameter of parallel rebars
  • DataAmount: It contains count of parallel rebars.
  • DataSpacing: It contains spacing between parallel rebars.

Properties of Distribution Rebars for bent shape rebars in parallel Direction to selected face:

  • DataAmount: It contains count of Distribution Rebars for Bent shape rebars in parallel Direction.
  • DataSpacing: It contains spacing between Distribution Rebars for Bent shape rebars in parallel Direction.

Properties for Rebars in Cross Direction to selected face:

  • DataRebar Type: Type of rebar for cross rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
  • DataFront Cover: The distance between cross rebar and selected face.
  • DataLeft Cover: The distance between the left end of the cross rebar to the left face of the structure.
  • DataRight Cover: The distance between the right end of the cross rebar to right face of the structure.
  • DataBottom Cover: The distance between cross rebars from the bottom face of the structure.
  • DataTop Cover: The distance between cross rebars from the top face of the structure.
  • DataRear Cover: Rear cover for slab reinforcement of cross rebars.
  • DataAnchor Length: It represents arm's length of bent shape cross rebar when cross rebar type is BentShapeRebar.
  • DataBent Angle: It represents angle for bent shape cross rebar when cross rebar type is BentShapeRebar.
  • DataRounding: A rounding value to be applied to the corners of the bars, expressed in times of diameter of cross rebars.
  • DataDiameter: Diameter of cross rebars
  • DataAmount: It contains count of cross rebars.
  • DataSpacing: It contains spacing between cross rebars.

Properties of Distribution Rebars for bent shape rebars in cross Direction to selected face:

  • DataAmount: It contains count of Distribution Rebars for Bent shape rebars in cross Direction.
  • DataSpacing: It contains spacing between Distribution Rebars for Bent shape rebars in cross Direction.

Scripting

See also: Arch API, Reinforcement API and FreeCAD Scripting Basics.

The Slab Reinforcement tool can be used from the Python console by using the following function:

Create Slab Reinforcementof Slab Spanning in Two directions

To create Slab reinforcement spanning two direction as shown in above figures you can use makeSlabReinforcement function as follows:

from SlabReinforcement.SlabReinforcement import makeSlabReinforcement
SlabReinforcementGroup = makeSlabReinforcement(
    parallel_rebar_type="BentShapeRebar",
    parallel_front_cover=20,
    parallel_rear_cover=20,
    parallel_left_cover=10,
    parallel_right_cover=10,
    parallel_top_cover=30,
    parallel_bottom_cover=20,
    parallel_diameter=8,
    parallel_amount_spacing_check=True,
    parallel_amount_spacing_value=10,
    cross_rebar_type="BentShapeRebar",
    cross_front_cover=20,
    cross_rear_cover=20,
    cross_left_cover=10,
    cross_right_cover=10,
    cross_top_cover=29,
    cross_bottom_cover=20,
    cross_diameter=8,
    cross_amount_spacing_check=True,
    cross_amount_spacing_value=10,
    cross_rounding=2,
    cross_bent_bar_length=150,
    cross_bent_bar_angle=135,
    cross_distribution_rebars_check = True,
    cross_distribution_rebars_diameter = 8,
    cross_distribution_rebars_amount_spacing_check = True,
    cross_distribution_rebars_amount_spacing_value = 4,
    parallel_rounding=2,
    parallel_bent_bar_length=150,
    parallel_bent_bar_angle=135,
    parallel_distribution_rebars_check = True,
    parallel_distribution_rebars_diameter = 8,
    parallel_distribution_rebars_amount_spacing_check = True,
    parallel_distribution_rebars_amount_spacing_value = 4,
    mesh_cover_along = "Bottom",
    structure=App.getDocument("slab").getObject("Beam"),
    facename='Face4',
)
  • Creates a SlabReinforcementGroup object for slab spanning in two direction from the given structure, which is a Slab 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.

Properties used for slab spanning in two direction for scripting

Properties for Rebars in Parallel Direction to selected face:

  • Dataparallel_rebar_type: Type of rebar for parallel rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
  • Dataparallel_front_cover: The distance between parallel rebar and selected face.
  • Dataparallel_rear_cover: Rear cover for slab reinforcement of parallel rebars.
  • Dataparallel_left_cover: The distance between the left end of the parallel rebar to the left face of the structure.
  • Dataparallel_right_cover: The distance between the right end of the parallel rebar to right face of the structure.
  • Dataparallel_top_cover: The distance between parallel rebars from the top face of the structure.
  • Dataparallel_bottom_cover: The distance between parallel rebars from the bottom face of the structure.
  • Dataparallel_diameter: Diameter of parallel rebars.
  • Dataparallel_amount_spacing_check: If is set to True, then value of parallel_amount_spacing_value is used as rebars count else parallel_amount_spacing_value's value is used as spacing in parallel rebars.
  • Dataparallel_amount_spacing_value: It contains count of rebars or spacing between parallel rebars based on value of amount_spacing_check.
  • Dataparallel_rounding: A rounding value to be applied to the corners of the bars, expressed in times the parallel_diameter.
  • Dataparallel_bent_bar_length: It represents arm's length of bent shape parallel rebar when parallel_rebar_type is BentShapeRebar
  • Dataparallel_bent_bar_angle: It represents angle for bent shape parallel rebar when parallel_rebar_type is BentShapeRebar
  • Dataparallel_distribution_rebars_check: If True add distribution rebars for parallel bent shape rebars. Default is False.
  • Dataparallel_distribution_rebars_diameter: Diameter of distribution rebars for parallel bent shape rebars.
  • Dataparallel_distribution_rebars_amount_spacing_check: If is set to True, then value of parallel_distribution_rebars_amount_spacing_value is used as rebars count else parallel_distribution_rebars_amount_spacing_value's value is used as spacing in parallel_distribution_rebars. Default is True.
  • Dataparallel_distribution_rebars_amount_spacing_value: It contains count or spacing between distribution rebars for one side of parallel bent shape rebars based on value of parallel_distribution_rebars_check. Default is 2.

Properties for Rebars in Cross Direction to selected face:

  • Datacross_rebar_type: Type of rebar for cross rebars for slab reinforcement. It can have four values 'StraightRebar', 'LShapeRebar', 'UShapeRebar', 'BentShapeRebar'.
  • Datacross_front_cover: The distance between cross rebar and cross_face (face perpendicular to selected face).
  • Datacross_rear_cover: Rear cover for slab reinforcement of cross rebars.
  • Datacross_left_cover: The distance between the left end of the cross rebar to the left face of the structure.
  • Datacross_right_cover: The distance between the right end of the rebar to right face of the structure relative to cross_face.
  • Datacross_top_cover: The distance between cross rebar from the top face of the structure.
  • Datacross_bottom_cover: The distance between cross rebar from the bottom face of the structure.
  • Datacross_diameter: Diameter of cross rebars.
  • Datacross_amount_spacing_check: If is set to True, then value of cross_amount_spacing_value is used as rebars count else cross_amount_spacing_value's value is used as spacing in rebars.
  • Datacross_amount_spacing_value: It contains count of rebars or spacing between rebars based on value of cross_amount_spacing_check.
  • Datacross_rounding: A rounding value to be applied to the corners of the bars, expressed in times the cross_diameter.
  • Datacross_bent_bar_length: It represents arm's length of bent shape cross rebar when cross_rebar_type is BentShapeRebar
  • Datacross_bent_bar_angle: It represents angle for bent shape cross rebar when cross_rebar_type is BentShapeRebar
  • Datacross_distribution_rebars_check: If True add distribution rebars for cross bent shape rebars. Default is False.
  • Datacross_distribution_rebars_diameter: Diameter for distribution rebars for cross bent shape rebars.
  • Datacross_distribution_rebars_amount_spacing_check: If is set to True, then value of cross_distribution_rebars_amount_spacing_value is used as rebars count else cross_distribution_rebars_amount_spacing_value's value is used as spacing in cross_distribution_rebars. Default is True.
  • Datacross_distribution_rebars_amount_spacing_value: It contains count or spacing between distribution rebars for one side of cross bent shape rebars based on value of cross_distribution_rebars_check. Default is 2.

Common Properties for Parallel and Cross Rebars:

  • Datamesh_cover_along: It can have two values "Top" and "Bottom". It represent alignment of rebar mesh along top or bottom face of structure.
  • Datastructure: Arch structure object. Default is None
  • Datafacename: selected face of structure. Default is None

Edition of Slab Reinforcement of Slab Spanning in Two directions

You can change the properties of the Slab Reinforcement for slab spanning in two direction by using editSlabReinforcement function as follows

from SlabReinforcement.SlabReinforcement import editSlabReinforcement
SlabReinforcementGroup = editSlabReinforcement(
    SlabReinforcementGroup,
    parallel_rebar_type="BentShapeRebar",
    parallel_front_cover=20,
    parallel_rear_cover=20,
    parallel_left_cover=10,
    parallel_right_cover=10,
    parallel_top_cover=30,
    parallel_bottom_cover=20,
    parallel_diameter=8,
    parallel_amount_spacing_check=True,
    parallel_amount_spacing_value=15,
    cross_rebar_type="BentShapeRebar",
    cross_front_cover=20,
    cross_rear_cover=20,
    cross_left_cover=10,
    cross_right_cover=10,
    cross_top_cover=29,
    cross_bottom_cover=20,
    cross_diameter=8,
    cross_amount_spacing_check=True,
    cross_amount_spacing_value=15,
    cross_rounding=2,
    cross_bent_bar_length=150,
    cross_bent_bar_angle=135,
    cross_distribution_rebars_check = True,
    cross_distribution_rebars_diameter = 8,
    cross_distribution_rebars_amount_spacing_check = True,
    cross_distribution_rebars_amount_spacing_value = 4,
    parallel_rounding=2,
    parallel_bent_bar_length=150,
    parallel_bent_bar_angle=135,
    parallel_distribution_rebars_check = True,
    parallel_distribution_rebars_diameter = 8,
    parallel_distribution_rebars_amount_spacing_check = True,
    parallel_distribution_rebars_amount_spacing_value = 4,
    mesh_cover_along = "Bottom",
    structure=App.getDocument("slab").getObject("Beam"),
    facename='Face4',
)
  • slabReinforcementGroup is a previously created Slab Reinforcement group object.
  • The other parameters are the same as required by the makeSingleTieFourRebars() function.

Here we are editing count of rebars in parallel and cross. But you can change any property to edit Slab Reinforcement.