Arch Rebar UShape/en

Description
The tool allows the user to create a set of U-shaped reinforcing bars inside an  object.

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:UShapeDialog.png|250px]]

Properties

 * : It decides the orientation of the rebar (like a bottom, top, right and left).
 * : 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.
 * : A rounding value to be applied to the corners of the bars, expressed in times the diameter.
 * : The amount of rebars.
 * : The distance between the axes of each bar.

Scripting
Arch API, Reinforcement API and FreeCAD Scripting Basics.

The UShape 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 front, bottom, right, left, and top offsets.
 * is the diameter of the reinforcement bars inside the structure.
 * is the parameter that determines the bending radius of the reinforcement bars.
 * if it is it will create as many reinforcement bars as given by ; if it is  it will create reinforcement bars separated by the numerical value of.
 * specifies the number of reinforcement bars, or the value of the separation between them, depending on.
 * specifies the orientation of the rebar; it can be, , , or.

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.