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!


GuiCommand: Name: Reinforcement BeamRebars MenuLocation: 3D/BIM , Reinforcement tools , Beam Reinforcement Workbenches: Reinforcement_Workbench, BIM_Workbench Version: 0.19 SeeAlso:

Reinforcement BeamRebars

Description

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

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


Beam Reinforcement inside a Beam Arch Structure

Usage

1. Select right face of a previously created beam Arch Structure object having length along x-axis. Or select front face of a previously created beam Arch Structure object having length along y-axis.

2. Then select Beam Reinforcement from the rebar tools.

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

:

:

Dialog Box for the Reinforcement BeamRebars tool

4. Select the desired type of beam reinforcement.

5. Give inputs for data related to stirrups.

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

:

:

Dialog Box for Top Rebars data

7. Set data for top rebars.

{{ColoredParagraph|#f8f9fa|

: To edit Number#Diameter@Offset value, click on the Edit button next to Number#Diameter@Offset label. A dialog box will pop-out as shown below.

:

: To edit Rebar Type value, click on the Edit button next to Rebar Type label. A dialog box will pop-out as shown below.

:

: To edit Hook Orientation value, click on the Edit button next to Hook Orientation label. A dialog box will pop-out as shown below.

:

: To edit Hook Extension value, click on the Edit button next to Hook Extension label. A dialog box will pop-out as shown below.

:

: To edit LRebar Rounding value, click on the Edit button next to Rounding label. A dialog box will pop-out as shown below.

:

: To edit Layer Spacing value, click on the Edit button next to Layer Spacing label. A dialog box will pop-out as shown below.

: }}

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

:

:

Dialog Box for Bottom Rebars data

9. Set data for bottom rebars similar to top rebars data.

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

:

:

Dialog Box for Left Shear Rebars data

11. Set data for left shear rebars.

{{ColoredParagraph|#f8f9fa|

: To edit Number#Diameter@Offset value, click on the Edit button next to Number#Diameter@Offset label. A dialog box will pop-out as shown below.

:

: To edit Rebar Type value, click on the Edit button next to Rebar Type label. A dialog box will pop-out as shown below.

:

: To edit Hook Orientation value, click on the Edit button next to Hook Orientation label. A dialog box will pop-out as shown below.

:

: To edit Hook Extension value, click on the Edit button next to Hook Extension label. A dialog box will pop-out as shown below.

:

: To edit LRebar Rounding value, click on the Edit button next to Rounding label. A dialog box will pop-out as shown below.

: }}

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

:

:

Dialog Box for Right Shear Rebars data

13. Set data for right shear rebars similar to left shear rebars data.

14. Click OK or Apply to generate beam reinforcement.

15. Click Cancel to exit the dialog box.

Properties

Stirrups:

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

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

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

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

  • Offset: The distance between stirrup from the selected/back face of the structure.

  • Diameter: Diameter of the stirrup.

  • Bent Angle: Bent angle defines the angle at the ends of a stirrup.

  • Extension Factor: Extension Factor defines length of end of stirrup, expressed in times the diameter.

  • Number: The number of stirrup.

  • Spacing: The distance between the axes of each stirrup.

Top/Bottom Reinforcement Rebars: Rebars present at top/bottom side of beam

  • NumberDiameterOffset: A tuple of Number#Diameter@Offset string. Each element of tuple represents reinforcement for each new layer.

  • Rebar Type: List of tuple of type of reinforcement bars.

  • Hook Orientation: List of tuple of orientation of LShaped hooks.

  • Hook Extension: List of tuple of length of hook of LShaped rebars.

  • Rounding: List of tuple of a rounding value to be applied to the corners of the LShape rebars, expressed in times the diameter.

  • Layer Spacing: List of spacing between two consecutive reinforcement layers.

Left/Right Reinforcement Rebars: Rebars present at left/right side of beam

  • NumberDiameterOffset: String of Number#Diameter@Offset set for reinforcement bars.

  • Rebar Type: List of type of reinforcement bars.

  • Hook Orientation: List of orientation of LShaped hooks.

  • Hook Extension: List of length of hook of LShaped rebars.

  • Rounding: List of a rounding value to be applied to the corners of the LShape rebars, expressed in times the diameter.

  • Rebar Spacing: Clear spacing between consecutive reinforcement bars.

Scripting

See also:

Arch API, Reinforcement API and FreeCAD Scripting Basics.

The Reinforcement BeamRebars tool can be used in macros and from the Python console by using the following function:

Create Two Legged Stirrups

RebarGroup = makeReinforcement(
    l_cover_of_stirrup,
    r_cover_of_stirrup,
    t_cover_of_stirrup,
    b_cover_of_stirrup,
    offset_of_stirrup,
    bent_angle,
    extension_factor,
    dia_of_stirrup,
    number_spacing_check,
    number_spacing_value,
    top_reinforcement_number_diameter_offset,
    top_reinforcement_rebar_type,
    top_reinforcement_layer_spacing,
    bottom_reinforcement_number_diameter_offset,
    bottom_reinforcement_rebar_type,
    bottom_reinforcement_layer_spacing,
    left_rebars_number_diameter_offset,
    left_rebars_type,
    left_rebars_spacing,
    right_rebars_number_diameter_offset,
    right_rebars_type,
    right_rebars_spacing,
    top_reinforcement_l_rebar_rounding=2,
    top_reinforcement_hook_extension=40,
    top_reinforcement_hook_orientation="Front Inside",
    bottom_reinforcement_l_rebar_rounding=2,
    bottom_reinforcement_hook_extension=40,
    bottom_reinforcement_hook_orientation="Front Inside",
    left_l_rebar_rounding=2,
    left_rebars_hook_extension=40,
    left_rebars_hook_orientation="Front Inside",
    right_l_rebar_rounding=2,
    right_rebars_hook_extension=40,
    right_rebars_hook_orientation="Front Inside",
    structure=None,
    facename=None,
)
  • Creates a RebarGroup object from the given structure, which is an 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.
  • l_cover_of_stirrup, r_cover_of_stirrup, t_cover_of_stirrup, b_cover_of_stirrup and offset_of_stirrup are inner offset distances for the stirrup elements with respect to the faces of the structure. They are respectively the left, right, top, bottom and front/rear offsets.

  • bent_angledefine the angle of the tip of the reinforcement loop of stirrup.

  • extension_factordefine the length of the tip of the reinforcement loop of stirrup, expressed in times the diameter.

  • dia_of_stirrupis the diameter of the stirrup.

  • number_spacing_checkif it is True it will create as many stirrup as given by number_spacing_value; if it is False it will create stirrup separated by the numerical value of number_spacing_value.

  • number_spacing_valuespecifies the number of stirrups, or the value of the separation between them, depending on number_spacing_check.

  • top_reinforcement_number_diameter_offsetand bottom_reinforcement_number_diameter_offset are tuple of number_diameter_offset string. Each element of tuple represents reinforcement for each new layer.

   Syntax: (                "number1#diameter1@offset1+number2#diameter2@offset2+...",                "number3#diameter3@offset3+number4#diameter4@offset4+...",                ...,            )

  • top_reinforcement_rebar_typeand bottom_reinforcement_rebar_type specifies type of top/bottom reinforcement bars.

   Possible values:    1. 'StraightRebar' or 'LShapeRebar' ', ...) and number of elements of tuple must be equal to number of reinforcement       layers.    3. [ ', ...), ', ...),           ...,       ]       each element of list is a tuple, which specifies rebar type of each reinforcement layer. And each element of       tuple represents rabar_type for each set of rebars.    4. [ , ', ...),           ...,       ]

  • top_reinforcement_layer_spacingand bottom_reinforcement_layer_spacing is the spacing between two consecutive reinforcement layers.

   Possible values:

, ...) and number of elements of tuple must be       equal to one less than number of layers.

  • left_rebars_number_diameter_offsetand right_rebars_number_diameter_offset are string of number_diameter_offset.

   Syntax: "number1#diameter1@offset1+number2#diameter2@offset2+..."

  • left_rebars_typeand right_rebars_type specifies type of left/right reinforcement bars.

   Possible values:    1. 'StraightRebar' or 'LShapeRebar' ', ...) and each element of tuple represents rabar_type for each set of rebars.

  • left_rebars_spacingand right_rebars_spacing is clear spacing between consecutive reinforcement bars.

  • top_reinforcement_l_rebar_roundingand bottom_reinforcement_l_rebar_rounding is the parameter that determines the bending radius of the LShaped top/bottom rebars, expressed as times the diameter. Possible syntax are similar to as discussed above for top_reinforcement_rebar_type / bottom_reinforcement_rebar_type.

  • top_reinforcement_hook_extensionand bottom_reinforcement_hook_extension is the length of hook of LShaped rebars. Possible syntax are similar to as discussed above for top_reinforcement_rebar_type / bottom_reinforcement_rebar_type.

  • top_reinforcement_hook_orientationand bottom_reinforcement_hook_orientation specifies the orientation of LShaped hook; it can be "Front Inside", "Front Outside", "Rear Inside" or "Rear Outside". Possible syntax are similar to as discussed above for top_reinforcement_rebar_type / bottom_reinforcement_rebar_type.

  • left_l_rebar_roundingand right_l_rebar_rounding is the parameter that determines the bending radius of the LShaped left/right rebars, expressed as times the diameter. Possible syntax are similar to as discussed above for left_rebars_type / right_rebars_type.

  • left_rebars_hook_extensionand right_rebars_hook_extension is the length of hook of LShaped rebars. Possible syntax are similar to as discussed above for left_rebars_type / right_rebars_type.

  • left_rebars_hook_orientationand right_rebars_hook_orientation specifies the orientation of LShaped hook; it can be "Front Inside", "Front Outside", "Rear Inside" or "Rear Outside". Possible syntax are similar to as discussed above for left_rebars_type / right_rebars_type.

Example

import FreeCAD, Arch
from BeamReinforcement import TwoLeggedBeam

Structure = Arch.makeStructure(length=3000.0,width=200.0,height=400.0)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()

RebarGroup = TwoLeggedBeam.makeReinforcement(
    l_cover_of_stirrup=20,
    r_cover_of_stirrup=20,
    t_cover_of_stirrup=20,
    b_cover_of_stirrup=20,
    offset_of_stirrup=100,
    bent_angle=135,
    extension_factor=4,
    dia_of_stirrup=8,
    number_spacing_check=False,
    number_spacing_value=200,
    top_reinforcement_number_diameter_offset=("1#20@-60+2#16@-60+1#20@-60", "3#16@-100"),
    top_reinforcement_rebar_type="LShapeRebar",
    top_reinforcement_layer_spacing=30,
    bottom_reinforcement_number_diameter_offset=("1#20@-60+2#16@-60+1#20@-60", "3#16@-100"),
    bottom_reinforcement_rebar_type="LShapeRebar",
    bottom_reinforcement_layer_spacing=30,
    left_rebars_number_diameter_offset="1#16@-100+1#16@-100+1#16@-100",
    left_rebars_type="LShapeRebar",
    left_rebars_spacing=30,
    right_rebars_number_diameter_offset="1#16@-100+1#16@-100+1#16@-100",
    right_rebars_type="LShapeRebar",
    right_rebars_spacing=30,
    top_reinforcement_l_rebar_rounding=2,
    top_reinforcement_hook_extension=100,
    top_reinforcement_hook_orientation="Rear Outside",
    bottom_reinforcement_l_rebar_rounding=2,
    bottom_reinforcement_hook_extension=100,
    bottom_reinforcement_hook_orientation="Rear Outside",
    left_l_rebar_rounding=2,
    left_rebars_hook_extension=80,
    left_rebars_hook_orientation=("Rear Inside", "Front Inside", "Rear Inside"),
    right_l_rebar_rounding=2,
    right_rebars_hook_extension=80,
    right_rebars_hook_orientation=("Front Inside", "Rear Inside", "Front Inside"),
    structure=Structure,
    facename="Face6",
)

⏵ documentation index > External_Command_Reference > Reinforcement > BIM > Reinforcement BeamRebars

This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Reinforcement_BeamRebars.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