Arch Rebar Straight

Description
The Straight Rebar tool allows the user to create a set of straight 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, right side cover, left side cover, bottom cover 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.
 * : These property facilities the user to specify either top or bottom cover.
 * : The distance between rebar from the bottom face of the structure.
 * : The distance between rebar from the top face of the structure.
 * : The amount of rebars.
 * : The distance between the axes of each bar.

Scripting
Arch API, Reinforcement API and FreeCAD Scripting Basics.

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

1. When orientation of straight rebar is horizontal:

Note: For eg. and
 * Type of CoverAlong argument is a tuple. Syntax: . Here we have horizontal orientation so we can pass and  to  arguments.

2. When orientation of straight rebar is vertical:

Note: For eg. and
 * Type of CoverAlong argument is a tuple. Syntax: . Here we have vertical orientation so we can pass and  to  arguments.


 * Adds a Straight reinforcing bar object to the given structural object.
 * If no Structure and Facename is given, it will take user selected face as input.
 * Here CoverAlong argument is having type tuple.
 * Returns the new Rebar object.

Example: Creating Straight rebar.

Changing properties of Straight rebar.