Arch Rebar LShape

Description
The LShape Rebar tool allows the user to create a set of L-shaped 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 front cover, left side cover, right side cover, bottom cover, top cover, 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

 * : 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 LShape 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, left, right, 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 True it will create as many reinforcement bars as given by amount_spacing_value; if it is False it will create reinforcement bars separated by the numerical value of amount_spacing_value.
 * specifies the number of reinforcement bars, or the value of the separation between them, depending on amount_spacing_check.
 * 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.