Arch Rebar Stirrup/en

Description
The Stirrup Rebar tool allows the user to create a set of stirrup reinforcing bars inside an Arch Structure object.

The Stirrup Rebar tool is also integrated into BIM Workbench.

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



Usage

 * 1) Select any face of a previously created  object.
 * 2) Then select  from the rebar tools.
 * 3) A task panel will pop-out on the left side of the screen as shown below.
 * 4) Select the desired orientation.
 * 5) Populate the inputs like 'Left Cover', Right Cover, Top Cover, 'Bottom Cover', 'Front Cover', 'Bent Angle', 'Bent Factor', 'Rounding' and 'Diameter' of the rebar.
 * 6) Select the mode of distribution either 'Amount' or 'Spacing'.
 * 7) * If 'Spacing' is selected, a user can also opt for custom spacing.
 * 8)  is used to verify or change the face for rebar distribution.
 * 9) Click  or  to generate the rebars.
 * 10) Click  to exit the task panel.


 * [[Image:StirrupDialog.png|250px]]

Properties

 * : The distance between rebar and selected face.
 * : The distance between the right end of the rebar to right face of the structure.
 * : The distance between the left end of the rebar to the left face of the structure.
 * : The distance between rebar from the bottom face of the structure.
 * : The distance between rebar from the top face of the structure.
 * : Bent angle defines the angle at the ends of a stirrup.
 * : Bent Factor defines length of stirrup end.
 * : The amount of rebars.
 * : The distance between the axes of each bar.

Scripting
Arch API, Reinforcement API and FreeCAD Scripting Basics.

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


 * Creates a object from the given, which is an Arch Structure, and , which is a face of that structure.
 * If no nor  are given, it will take the user selected face as input.
 * ,, , , and are inner offset distances for the rebar elements with respect to the faces of the structure. They are respectively the left, right, top, bottom, and front offsets.
 * is the diameter of the reinforcement bars inside the structure.
 * is the parameter that determines the bending radius of the reinforcement bars as they make a loop.
 * and define the length and angle of the tip of the reinforcement loop.
 * if it is it will create as many reinforcement loops as given by ; if it is  it will create reinforcement loops separated by the numerical value of.
 * specifies the number of reinforcement loops, or the value of the separation between them, depending on.

Edition of the rebar
You can change the properties of the rebar with the following function


 * is a previously created object.
 * The other parameters are the same as required by the function.
 * and may be omitted so that the rebar stays in the original structure.