FreeCAD Logo FreeCAD 1.0
  • English Afrikaans Arabic Belarusian Catalan Czech German Greek Spanish Spanish Basque Finnish Filipino French Galician Croatian Hungarian Indonesian Italian Japanese Kabyle Korean Lithuanian Dutch Norwegian Bokmal Polish Portuguese Portuguese Romanian Russian Slovak Slovenian Serbian Swedish Turkish Ukrainian Valencian Vietnamese Chinese Chinese
  • Features
  • Download
  • Blog
  • Documentation
    Documentation index Getting started Users documentation The FreeCAD manual Workbenches documentation Python coding documentation C++ coding documentation Tutorials Frequently asked questions Privacy policy About FreeCAD
  • Contribute
    How to help Sponsor Report a bug Make a pull request Jobs and funding Contribution guidelines Developers handbook Translations
  • Community
    Code of conduct Forum The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Calendar
  • ♥ Donate

Donate

$
SEPA Information
Please set up your SEPA bank transfer to:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Bank agency: BNP Paribas Fortis
Address: Rue de la Station 64, 1360 Perwez, Belgium

While Stripe doesn't support monthly donations, you can still become a sponsor! Simply make a one-time donation equivalent to 12 months of support, and you'll gain access to the corresponding sponsoring tier. It's an easy and flexible way to contribute.

If you are not sure or not able to commit to a regular donation, but still want to help the project, you can do a one-time donation, of any amount.

Choose freely the amount you wish to donate one time only.

You can support FreeCAD by sponsoring it as an individual or organization through various platforms. Sponsorship provides a steady income for developers, allowing the FPA to plan ahead and enabling greater investment in FreeCAD. To encourage sponsorship, we offer different tiers, and unless you choose to remain anonymous, your name or company logo will be featured on our website accordingly.

from 1 USD / 1 EUR per month. You will not have your name displayed here, but you will have helped the project a lot anyway. Together, normal sponsors maintain the project on its feet as much as the bigger sponsors.

from 25 USD / 25 EUR per month. Your name or company name is displayed on this page.

from 100 USD / 100 EUR per month. Your name or company name is displayed on this page, with a link to your website, and a one-line description text.

from 200 USD / 200 EUR per month. Your name or company name and logo displayed on this page, with a link to your website and a custom description text. Companies that have helped FreeCAD early on also appear under Gold sponsors.

Instead of donating each month, you might find it more comfortable to make a one-time donation that, when divided by twelve, would give you right to enter a sponsoring tier. Don't hesitate to do so!

Choose freely the amount you wish to donate each month.

Please inform your forum name or twitter handle as a notein your transfer, or reach to us, so we can give you proper credits!


TutorialInfo: Topic: Example Slab Having L-Shape Rebars Reinforcement Mesh Level: Intermediate Time: Author: Shiv Charan FCVersion: 0.20 Files:

Example Slab Spanning in Two Directions

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 two directions as shown in below figure.

*A Example of Slab Reinforcement of spanning in two directions in Slab [Arch Structure](wiki-test2.php?gitpage=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:

  • Mesh Cover Along: It represent alignment of rebar mesh along top or bottom face of structure. It can have two values \"Top\" and \"Bottom\".

  • Rebar Type: Type of rebar for parallel rebars for slab reinforcement. It can have four values \'StraightRebar\', \'LShapeRebar\', \'UShapeRebar\', \'BentShapeRebar\'.

  • Front Cover: The distance between parallel rebar and selected face.

  • Left Cover: The distance between the left end of the parallel rebar to the left face of the structure.

  • Right Cover: The distance between the right end of the parallel rebar to right face of the structure.

  • Bottom Cover: The distance between parallel rebars from the bottom face of the structure.

  • Top Cover: The distance between parallel rebars from the top face of the structure.

  • Rear Cover: Rear cover for slab reinforcement of parallel rebars.

  • Anchor Length: It represents arm\'s length of bent shape parallel rebar when parallel rebar type is BentShapeRebar.

  • Bent Angle: It represents angle for bent shape parallel rebar when parallel rebar type is BentShapeRebar.

  • Rounding: A rounding value to be applied to the corners of the bars, expressed in times of diameter of parallel rebars.

  • Diameter: Diameter of parallel rebars

  • Amount: It contains count of parallel rebars.

  • Spacing: It contains spacing between parallel rebars.

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

  • Amount: It contains count of Distribution Rebars for Bent shape rebars in parallel Direction.

  • Spacing: It contains spacing between Distribution Rebars for Bent shape rebars in parallel Direction.

Properties for Rebars in Cross Direction to selected face:

  • Rebar Type: Type of rebar for cross rebars for slab reinforcement. It can have four values \'StraightRebar\', \'LShapeRebar\', \'UShapeRebar\', \'BentShapeRebar\'.

  • Front Cover: The distance between cross rebar and selected face.

  • Left Cover: The distance between the left end of the cross rebar to the left face of the structure.

  • Right Cover: The distance between the right end of the cross rebar to right face of the structure.

  • Bottom Cover: The distance between cross rebars from the bottom face of the structure.

  • Top Cover: The distance between cross rebars from the top face of the structure.

  • Rear Cover: Rear cover for slab reinforcement of cross rebars.

  • Anchor Length: It represents arm\'s length of bent shape cross rebar when cross rebar type is BentShapeRebar.

  • Bent Angle: It represents angle for bent shape cross rebar when cross rebar type is BentShapeRebar.

  • Rounding: A rounding value to be applied to the corners of the bars, expressed in times of diameter of cross rebars.

  • Diameter: Diameter of cross rebars

  • Amount: It contains count of cross rebars.

  • Spacing: It contains spacing between cross rebars.

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

  • Amount: It contains count of Distribution Rebars for Bent shape rebars in cross Direction.

  • Spacing: 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:

  • parallel_rebar_type: Type of rebar for parallel rebars for slab reinforcement. It can have four values \'StraightRebar\', \'LShapeRebar\', \'UShapeRebar\', \'BentShapeRebar\'.

  • parallel_front_cover: The distance between parallel rebar and selected face.

  • parallel_rear_cover: Rear cover for slab reinforcement of parallel rebars.

  • parallel_left_cover: The distance between the left end of the parallel rebar to the left face of the structure.

  • parallel_right_cover: The distance between the right end of the parallel rebar to right face of the structure.

  • parallel_top_cover: The distance between parallel rebars from the top face of the structure.

  • parallel_bottom_cover: The distance between parallel rebars from the bottom face of the structure.

  • parallel_diameter: Diameter of parallel rebars.

  • parallel_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.

  • parallel_amount_spacing_value: It contains count of rebars or spacing between parallel rebars based on value of amount_spacing_check.

  • parallel_rounding: A rounding value to be applied to the corners of the bars, expressed in times the parallel_diameter.

  • parallel_bent_bar_length: It represents arm\'s length of bent shape parallel rebar when parallel_rebar_type is BentShapeRebar

  • parallel_bent_bar_angle: It represents angle for bent shape parallel rebar when parallel_rebar_type is BentShapeRebar

  • parallel_distribution_rebars_check: If True add distribution rebars for parallel bent shape rebars. Default is False.

  • parallel_distribution_rebars_diameter: Diameter of distribution rebars for parallel bent shape rebars.

  • parallel_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.

  • 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.

Properties for Rebars in Cross Direction to selected face:

  • cross_rebar_type: Type of rebar for cross rebars for slab reinforcement. It can have four values \'StraightRebar\', \'LShapeRebar\', \'UShapeRebar\', \'BentShapeRebar\'.

  • cross_front_cover: The distance between cross rebar and cross_face (face perpendicular to selected face).

  • cross_rear_cover: Rear cover for slab reinforcement of cross rebars.

  • cross_left_cover: The distance between the left end of the cross rebar to the left face of the structure.

  • cross_right_cover: The distance between the right end of the rebar to right face of the structure relative to cross_face.

  • cross_top_cover: The distance between cross rebar from the top face of the structure.

  • cross_bottom_cover: The distance between cross rebar from the bottom face of the structure.

  • cross_diameter: Diameter of cross rebars.

  • cross_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.

  • cross_amount_spacing_value: It contains count of rebars or spacing between rebars based on value of cross_amount_spacing_check.

  • cross_rounding: A rounding value to be applied to the corners of the bars, expressed in times the cross_diameter.

  • cross_bent_bar_length: It represents arm\'s length of bent shape cross rebar when cross_rebar_type is BentShapeRebar

  • cross_bent_bar_angle: It represents angle for bent shape cross rebar when cross_rebar_type is BentShapeRebar

  • cross_distribution_rebars_check: If True add distribution rebars for cross bent shape rebars. Default is False.

  • cross_distribution_rebars_diameter: Diameter for distribution rebars for cross bent shape rebars.

  • cross_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.

  • 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.

Common Properties for Parallel and Cross Rebars:

  • mesh_cover_along: It can have two values \"Top\" and \"Bottom\". It represent alignment of rebar mesh along top or bottom face of structure.

  • structure: Arch structure object. Default is None

  • facename: 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',
)
  • slabReinforcementGroupis 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.


??? documentation index > External_Command_Reference > Reinforcement > Example Slab Spanning in Two Directions

This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Example_Slab_Spanning_in_Two_Directions.md

Get in touch!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

© The FreeCAD Team. Homepage image credits (top to bottom): ppemawm, r-frank, epileftric, regis, rider_mortagnais, bejant.

This project is supported by: , KiCad Services Corp. and other sponsors

GitHubImprove this page on GitHub