Arch Rebar Footing Reinforcement/pl

Description
The Footing Reinforcement tool allows the user to create reinforcing bars inside a Footing Arch Structure 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 vertical face of a previously created Footing object as shown in below image.



2. Then select from the rebar tools.

3. A footing reinforcement dialog box will pop-out on screen as shown below.



4. Select the desired raber type and other input data for rabars in parallel direction of selected face in footing reinforcement mesh as show in below image.



5. Now click on Next button or select Cross Rebars in list view and fill desired data for input data for rabars in cross direction of selected face in footing reinforcement mesh as show in below image.



6. Click next or click on Columns in list view and fill desired input for columns in footing reinforcement. Here you can select to add secondary rebars in columns or not.



7. Click next or click on Ties in list view and fill desired input for Ties in columns of footing reinforcement.



8. Click next or click on Main rebars in list view and fill desired input for main rebars in columns of footing reinforcement.



Note: step 9 and 10 are required, only if secondary rebars check is enable in step 6.

9. Click next or click on XDir Secondary rebar in list view and fill desired input for secondary rebars in X direction in a column in footing reinforcement.



10. Click next or click on YDir Secondary rebar in list view and fill desired input for secondary rebars in Y direction in a column in footing reinforcement.



11. Click or  or  to generate Footing reinforcement. 12. Click to exit the dialog box.

Properties
Properties for Rebars in Parallel Direction to selected face in footing Reinforcement:


 * : It represent alignment of rebar mesh along top and/or bottom face of structure. It can have three values "Top", "Bottom" and "Both".
 * : Type of rebar for parallel rebars for footing reinforcement. It can have three values 'StraightRebar', 'LShapeRebar' and 'UShapeRebar'.
 * : The distance between parallel rebar and selected face.
 * : The distance between the left end of the parallel rebar to the left face of the structure.
 * : The distance between the right end of the parallel rebar to right face of the structure.
 * : The distance between parallel rebars from the bottom face of the structure.
 * : The distance between parallel rebars from the top face of the structure.
 * : Rear cover for footing reinforcement of parallel rebars.
 * : A rounding value to be applied to the corners of the bars, expressed in times of diameter of parallel rebars.
 * : Diameter of parallel rebars
 * : It contains count of parallel rebars.
 * : It contains spacing between parallel rebars.

Properties for Rebars in Cross Direction to selected face in footing Reinforcement:


 * : Type of rebar for cross rebars for footing reinforcement. It can have three values 'StraightRebar', 'LShapeRebar' and 'UShapeRebar'.
 * : The distance between cross rebar and cross_face (face perpendicular to selected face).
 * : The distance between the left end of the cross rebar to the left face of the structure.
 * : The distance between the right end of the cross rebar to right face of the structure.
 * : The distance between cross rebars from the bottom face of the structure.
 * : The distance between cross rebars from the top face of the structure.
 * : Rear cover for footing reinforcement of cross rebars.
 * : A rounding value to be applied to the corners of the bars, expressed in times of diameter of cross rebars.
 * : Diameter of cross rebars
 * : It contains count of cross rebars.
 * : It contains spacing between cross rebars.

Properties for Columns in footing Reinforcement:


 * : Distance between selected face and columns.
 * : Distance between left face and columns.
 * : Distance between right face and columns.
 * : Distance between rear face and columns.
 * : Width of column.
 * : Length of column.
 * : It contains count of columns in x direction. If X direction amount radio button is enabled.
 * : It contains spacing between columns in x direction. If X direction spacing radio button is enabled.
 * : It contains count of columns in y direction. If Y direction amount radio button is enabled.
 * : It contains spacing between columns in y direction. If Y direction spacing radio button is enabled.
 * : If checked add secoundary x and y direction rebars in columns.

Properties for Ties in Columns of footing Reinforcement:


 * : Top cover for ties outside footing from Main Rebars end.
 * : Bottom cover of ties from Bottom of Main Rebars in footing near mesh.
 * : Diameter of ties.
 * : Bent angle for ties.
 * : Extension factor for ties extended edge.
 * : It contains count of rebars or spacing between ties, if Number radio button is enabled.
 * : It contains the spacing between ties, if Spacing radio button is enabled.

Properties for Main Rebars in Columns of footing Reinforcement:


 * : Rebar type for main rebars of column. It takes two different inputs for 'StraightRebar', 'LShapeRebar'.
 * : Hook orientation of main rebars in columns if main rabar type is LShapeRebar. It takes eight different orientations input for L-shaped hooks i.e. 'Top Inside', 'Top Outside', 'Bottom Inside', 'Bottom Outside', 'Top Left', 'Top Right', 'Bottom Left', 'Bottom Right'.
 * : Direction of main rebar (LShapeRebar) hook. it has two option "x-axis" and "y-axis".
 * : It specifies length of hook of main rebar (LShapeRebar).
 * : A rounding value to be applied to the corners of the bars, expressed in times the Main Rebar Diameter.
 * : Top offset of main rebars in column outside footing Top face.
 * : Diameter of main rebars in columns.

Properties for X Direction Rebars in Columns of footing Reinforcement:

Rebars along x-direction except main rebars
 * : Type of x-direction rebars in a column.It has two values, 'StraightRebar' and 'LShapeRebar'.
 * : Orientation of L-Shaped rebar hooks.It takes eight different orientations input for L-shaped hooks i.e. 'Top Inside', 'Top Outside', 'Bottom Inside', 'Bottom Outside', 'Top Left', 'Top Right', 'Bottom Left', 'Bottom Right'.
 * : Length of hook of L-Shape rebars.
 * : A rounding value to be applied to the corners of the L-Shape rebars, expressed in times the diameter.
 * : The distance between rebar from the top face of the structure.
 * : Number#Diameter set of the x-direction rebars.

Properties for Y Direction Rebars in Columns of footing Reinforcement:

Rebars along y-direction except main rebars
 * : Type of y-direction rebars. It has two values, 'StraightRebar' and 'LShapeRebar'.
 * : Orientation of LShaped hooks. It takes eight different orientations input for L-shaped hooks i.e. 'Top Inside', 'Top Outside', 'Bottom Inside', 'Bottom Outside', 'Top Left', 'Top Right', 'Bottom Left', 'Bottom Right'.
 * : Length of hook of L-Shape rebars.
 * : A rounding value to be applied to the corners of the L-Shape rebars, expressed in times the diameter.
 * : The distance between rebar from the top face of the structure.
 * : Number#Diameter set of the y-direction rebars.

Scripting
Arch API, Reinforcement API and FreeCAD Scripting Basics.

The Footing Reinforcement tool can be used from the Python console by using the following function:

Create Footing Reinforcement

 * Creates a object from the given, which is a Footing Arch Structure, and , which is a face of that structure.
 * If no nor  are given, it will take the user selected face as input.

Properties for Rebars in Parallel Direction to selected face:


 * : Type of rebar for parallel rebars for footing reinforcement. It can have three values 'StraightRebar', 'LShapeRebar', 'UShapeRebar'.
 * : The distance between parallel rebar and selected face.
 * : Rear cover for footing reinforcement of parallel rebars.
 * : The distance between the left end of the parallel rebar to the left face of the structure.
 * : The distance between the right end of the parallel rebar to right face of the structure.
 * : The distance between parallel rebars from the top face of the structure.
 * : The distance between parallel rebars from the bottom face of the structure.
 * : Diameter of parallel rebars.
 * : If is set to True, then value of parallel_amount_spacing_value is used as rebars count else parallel_amount_spacing_value's value is used as spacing in parallel rebars.
 * : It contains count of rebars or spacing between parallel rebars based on value of amount_spacing_check.
 * : A rounding value to be applied to the corners of the bars, expressed in times the parallel_diameter.
 * : It represents orintation of hook of parallel L-Shape rebar if parallel_rebar_type is LShapeRebar. It can have three values "Left", "Right","Alternate"

Properties for Rebars in Cross Direction to selected face:


 * : Type of rebar for cross rebars for footing reinforcement. It can have three values 'StraightRebar', 'LShapeRebar', 'UShapeRebar'.
 * : The distance between cross rebar and cross_face (face perpendicular to selected face).
 * : Rear cover for footing reinforcement of cross rebars.
 * : The distance between the left end of the cross rebar to the left face of the structure.
 * : The distance between the right end of the rebar to right face of the structure relative to cross_face.
 * : The distance between cross rebar from the top face of the structure.
 * : The distance between cross rebar from the bottom face of the structure.
 * : Diameter of cross rebars.
 * : If is set to True, then value of cross_amount_spacing_value is used as rebars count else cross_amount_spacing_value's value is used as spacing in rebars.
 * : It contains count of rebars or spacing between rebars based on value of cross_amount_spacing_check.
 * : A rounding value to be applied to the corners of the bars, expressed in times the cross_diameter.
 * : It represents orintation of hook of cross L-Shape rebar if cross_rebar_type is LShapeRebar. It can have three values "Left", "Right", "Alternate"

Properties for Columns in footing Reinforcement:


 * : Distance between selected face and columns.
 * : Distance between left face and columns.
 * : Distance between right face and right columns.
 * : Distance between rear face and rear columns.
 * : Width of columns.
 * : Length of columns.
 * : If is set to True, then value of xdir_column_amount_spacing_value is used as columns count else xdir_column_amount_spacing_value's value is used as spacing between columns in x direction.
 * : It contains count of columns or spacing between columns in x direction based on value of xdir_column_amount_spacing_check.
 * : If is set to True, then value of ydir_column_amount_spacing_value is used as columns count else ydir_column_amount_spacing_value's value is used as spacing between columns in y direction.
 * : It contains count of columns or spacing between columns in y direction based on value of ydir_column_amount_spacing_check.
 * : If True add secondary x and y direction rebars in columns.

Properties for Ties of columns in footing Reinforcement:


 * :Top cover for ties outside footing from Main Rebars end.
 * :Bottom cover of ties from Bottom of Main Rebars in footing near mesh.
 * :Bent angle for ties.
 * :Extension factor for ties extended edge.
 * :Diameter of ties.
 * :If is set to True, then value of tie_number_spacing_value is used as ties count else tie_number_spacing_value's value is used as spacing in ties.
 * :It contains count of ties or spacing between ties based on value of tie_number_spacing_check.

Properties for Main rebar of columns in footing Reinforcement:


 * :Diameter of main rebars in columns.
 * :Top offset of main rebars in column outside footing.
 * :Direction of main rebar (LShapeRebar) hook. it has two option "x-axis" and "y-axis".
 * :A rounding value to be applied to the corners of the bars, expressed in times the column_main_rebar_diameter.
 * :It specifies length of hook of main rebar (LShapeRebar).
 * :Rebar type for main rebars of column. It takes two different inputs for 'StraightRebar', 'LShapeRebar'. Default is StraightRebar.
 * :Hook orientation of main rebars in columns if column_main_rebars_type is LShapeRebar. It takes eight different orientations input for L-shaped hooks i.e. 'Top Inside', 'Top Outside', 'Bottom Inside', 'Bottom Outside', 'Top Left', 'Top Right', 'Bottom Left', 'Bottom Right'.

Properties for Secondary X and Y direction Rebar of columns in footing Reinforcement:


 * and are tuples (xdir_rebars_t_offset, ydir_rebars_t_offset) that defines offset distances (or hight) for the secondary x-direction and y-direction rebars with respect to the top faces of the structure, respectively.
 * is a tuple (xdir_rebars_number_diameter, ydir_rebars_number_diameter) that defines number#diameter set of the secondary x-direction and y-direction rebars, respectively.
 * is a tuple (xdir_rebars_type, ydir_rebars_type) that defines the type of secondary x-direction and y-direction rebars ,respectively; it can have or  as rebar type.
 * is a tuple (xdir_hook_orientation, ydir_hook_orientation) that defines the orientation of secondary x-direction and y-direction LShaped hook; it can have, , , , , , or  as hook_orientation.
 * is a tuple (l_xdir_rebar_rounding, l_ydir_rebar_rounding) that determines the bending radius of the LShaped secondary x-direction and y-direction LShaped rebars, expressed as times the diameter of x-direction and y-direction LShaped rebars, respectively.
 * is a tuple (xdir_hook_extension, ydir_hook_extension) that defines the length of hook of secondary x-direction and y-direction LShaped rebars.

Common Properties for Footing Reinforcement:


 * : It can have three values "Top", "Bottom" and "Both". It represent alignment of rebar mesh along top and/or bottom face of structure.
 * : Arch structure object. Default is None
 * : selected face of structure. Default is None

Edition of Footing Reinforcement
You can change the properties of the Footing Reinforcement with the following function


 * is a previously created group object.
 * The other parameters are the same as required by the function.