Example Slab Spanning in One Direction

Other languages:
Tutorial
Topic
Example Slab Spanning in One Direction
Level
Intermediate
Time to complete
Authors
Shiv Charan
FreeCAD version
0.20
Example files
See also
None

Description

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

This tool is part of the Reinforcement Workbench, an external workbench that can be installed with the Addon Manager.

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

A Example of Slab Reinforcement of spanning in one direction 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 StraightRebar 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 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 Used for Slab Spanning in One direction

Properties for Rebars in Parallel Direction to selected face:

Properties for Rebars in Cross Direction to selected face:

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

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 One direction

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

from SlabReinforcement.SlabReinforcement import makeSlabReinforcement
SlabReinforcementGroup = makeSlabReinforcement(
    parallel_rebar_type="StraightRebar",
    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=False,
    parallel_amount_spacing_value=50,
    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,
    mesh_cover_along = "Bottom",
    structure=App.getDocument("slab").getObject("Beam"),
    facename='Face4',
)

Properties used for slab spanning in one direction for scripting reinforcement

Properties for Rebars in Parallel Direction to selected face:

Properties for Rebars in Cross Direction to selected face:

Common Properties for Parallel and Cross Rebars:

Edition of Slab Reinforcement of Slab Spanning in one direction

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

from SlabReinforcement.SlabReinforcement import editSlabReinforcement
SlabReinforcementGroup = editSlabReinforcement(
    SlabReinforcementGroup,
    parallel_rebar_type="StraightRebar",
    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=20,
    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,
    mesh_cover_along = "Bottom",
    structure=App.getDocument("slab").getObject("Beam"),
    facename='Face4',
)

you can change any property to edit Slab Reinforcement.