Arch Rebar Stirrup

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

This command is part of the Reinforcement Addon, that you can install with the Addon Manager, via the menu.



How to use

 * 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) Give the inputs like left cover, right cover, top cover, bottom, 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) Pick selected face 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.



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.