Arch Rebar

Description
The Arch Rebar tool allows you to place reinforcing bars inside Arch Structure objects.

Rebar objects are based on 2D profiles such as Draft objects and Sketches, that must be drawn on a face of the structural object. After creation you can adjust the properties of the rebar, including the number and diameter of the bars, and the offset distance between them and the faces of the structural element.



Extension available
The Rebar tool is enhanced by the Reinforcement Addon, which is installed by the Addon Manager. The additional rebar types available with the addon are:
 * [[Image:Arch_Rebar_Straight.svg|32px]] Straight Rebar
 * [[Image:Arch_Rebar_UShape.svg|32px]] UShape Rebar
 * [[Image:Arch_Rebar_LShape.svg|32px]] LShape Rebar
 * [[Image:Arch_Rebar_BentShape.svg|32px]] Bent Shape Rebar
 * [[Image:Arch_Rebar_Stirrup.svg|32px]] Stirrup Rebar
 * [[Image:Arch_Rebar_Helical.svg|32px]] Helical Rebar

How to use

 * 1) Create an  element.
 * 2) Switch to the Sketcher Workbench.
 * 3) Select one face of the structural element.
 * 4) Press the  button to start a new sketch on the selected face.
 * 5) Draw the diagram of your bar.
 * 6) Press the  button to finish.
 * 7) Switch back to the Arch Workbench.
 * 8) Select the sketch you just drew.
 * 9) Press the  button, or press  then  keys.
 * 10) Adjust the desired properties (your rebar might not appear immediately, if some of the properties create an impossible situation, such as the bar diameter being 0, or the offset distances being bigger than the length of the structural element).

Options

 * Rebars share the common properties and behaviours of all Arch Components
 * The rounding value is expressed in times the diameter. If your bar has a diameter of 5mm, a rounding value of 3 will create rounding at angles with a radius of 15mm.
 * Default values for new rebars can be set in the Arch preferences settings.
 * If a direction vector is not specified, the direction and distance along which the bars will spread is calculated automatically from the host structural object, by taking the normal direction of the base sketch, and taking its intersection with the structural object. If you specify a direction vector, the length of that vector will also be taken into account.
 * The spacing value is calculated from the current amount of bars, and represents the distance between the axes of each bar. You must therefore subtract the bar diameter to obtain the size of the free space between bars.

Properties

 * : The amount of bars.
 * : The diameter of the bars.
 * : The direction (and length) along which the bars must spread. If the value is (0,0,0), the direction is calculated automatically from the host structural object.
 * : The offset distance between the border of the structural object and the first bar.
 * : The offset distance between the border of the structural object and the last bar.
 * : A rounding value to be applied to the corners of the bars, expressed in times the diameter.
 * : The distance between the axes of each bar.

Scripting
Arch API and FreeCAD Scripting Basics.

The 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 a  as profile.
 * ,, and are used to define the characteristics of the bars.
 * If no, , or values are given, the default values from the Arch Preferences are used.

Example: