Arch Rebar Straight/en

Description
The tool allows user to create a straight reinforcing bar in the structural element.



How to use

 * 1) Create a structure element
 * 2) Select any face of the structure
 * 3) Then select   from the rebar tools
 * 4) A task panel will pop-out on the left side of the screen as shown below [[Image:StraightRebarDialog.png|250px]]
 * 5) Select the desired orientation
 * 6) Give the inputs like front cover, right side cover, left side cover, bottom cover and diameter of the rebar
 * 7) Select the mode of distribution either amount or spacing
 * 8) If spacing is selected, a user can also opt for custom spacing
 * 9) Pick selected face is used to verify or change the face for rebar distribution
 * 10) Click  or  to generate the rebars
 * 11) 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
The tool can by 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.