Reinforcement Bar Shape Cut List/en

Description
The Rebar Shape Cut List tool allows the user to create rebar shape cut list of reinforcing bars.

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 and Rebar2 objects you want to include in Rebar Shape Cut List. Or select objects to include  and Rebar2 objects hosted by that into Rebar Shape Cut List. If nothing is selected, then Bill Of Material will be generated for all and Rebar2 objects present in model.

2. Then select from the rebar tools.

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



4. Modify data to suit your requirements.

5. Click or  to generate Rebar Shape Cut List for rebars.

6. Click to exit the dialog box.

Properties
General:
 * : The offset of extended end edges of stirrup, so that end edges of stirrup with 90 degree bent angle do not overlap with stirrup edges.
 * : The stroke-width of rebars in rebar shape cut list.
 * : The color style of rebars.
 * : The height of each row of rebar shape in rebar shape cut list.
 * : The width of each column of rebar shape in rebar shape cut list.
 * : The number of columns in rebar shape cut list.
 * : The padding on each side of rebar shape.
 * : If True, then rebar shape will be made horizontal by rotating max length edge of rebar shape.
 * : If it is set to True, then rebar.Mark will be included for each rebar shape in rebar shape cut list.
 * : The output file to write generated rebar shape cut list svg.

Dimension Data:
 * : If True, then each rebar edge dimensions and bent angle dimensions will be included in rebar shape cut list.
 * : If it is True, then rebar edge length units will be shown in dimension label.
 * : The units to be used for rebar edge length dimensions.
 * : The number of decimals that should be shown for rebar edge length as dimension label.
 * : The font-family of dimension text.
 * : The font-size of dimension text.
 * : The list of bent angles to not include their dimensions.
 * : The format of helical rebar dimension label. e.g. "%L,r=%R,pitch=%P" where %L -> Length of helical rebar, %R -> Helix radius of helical rebar, %P -> Helix pitch of helical rebar.

Scripting
Arch API, Reinforcement API and FreeCAD Scripting Basics.

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

Create Rebar Shape SVG
%L -> Length of helical rebar %R -> Helix radius of helical rebar %P -> Helix pitch of helical rebar
 * Generates and return a rebar shape svg element for given object.
 * object can be of type  or , to generate its shape svg.
 * specifies the view point direction for rebar shape. It can be of type or  though  is preferred.
 * specifies if rebar.Mark is to be included in rebar shape svg or not.
 * is the offset of extended end edges of stirrup, so that end edges of stirrup with 90 degree bent angle do not overlap with stirrup edges.
 * specifies the stroke-width of rebar in svg.
 * specifies the color style of rebar. It can be "shape color" or "color_name or hex_value_of_color". "shape color" means select color of rebar shape.
 * specifies if each rebar edge dimensions and bent angle dimensions is to be included in rebar shape svg.
 * specifies the units to be used for rebar length dimensions.
 * specifies the number of decimals that should be shown for rebar length as dimension label. Set it to None to use user preferred unit precision from FreeCAD unit preferences.
 * specifies if rebar length units is to be shown in dimension label.
 * specifies the list of bent angles to not include their dimensions.
 * specifies the font-family of dimension text.
 * specifies the font-size of dimension text.
 * specifies the format of helical rebar dimension label. E.g. "%L,r=%R,pitch=%P" where:
 * specifies the scale value to scale rebar svg. The scale parameter helps to scale down rebar_stroke_width and dimension_font_size to make them resolution independent. If max_height or max_width is set to non-zero value, then scale parameter will be ignored.
 * specifies the maximum height of rebar shape svg. Set it to 0 to have rebar shape svg height based on scale parameter.
 * specifies the maximum width of rebar shape svg. Set it to 0 to have rebar shape svg width based on scale parameter.
 * specifies the padding on each side of rebar shape.
 * specifies if rebar shape is to be made horizontal by rotating max length edge of rebar shape.

Create Rebar Shape Cut List SVG
%L -> Length of helical rebar %R -> Helix radius of helical rebar %P -> Helix pitch of helical rebar
 * Generate and return rebar shape cut list svg element for given.
 * is a list of  or  objects, to generate their RebarShape cut list. If not provided, then all ArchRebars and rebar2.BaseRebar objects with unique Mark from ActiveDocument will be selected and rebars with no Mark assigned will be ignored.
 * is a list of view point directions for each rebar shape. It can be either of type or  OR their list. Keep it  to automatically choose view_directions.
 * specifies if rebar.Mark is to be included for each rebar shape in rebar shape cut list svg or not.
 * specifies the offset of extended end edges of stirrup, so that end edges of stirrup with 90 degree bent angle do not overlap with stirrup edges.
 * specifies the stroke-width of rebars in rebar shape cut list svg.
 * specifies the color style of rebars. It can be "shape color" or "color_name or hex_value_of_color". "shape color" means select color of rebar shape.
 * specifies if each rebar edge dimensions and bent angle dimensions is to be included in rebar shape cut list.
 * specifies the units to be used for rebar edge length dimensions.
 * specifies the number of decimals that should be shown for rebar length as dimension label. Set it to None to use user preferred unit precision from FreeCAD unit preferences.
 * specifies if rebars edge length units is to be shown in dimension label.
 * specifies the list of bent angles to not include their dimensions.
 * specifies the font-family of dimension text.
 * specifies the font-size of dimension text.
 * specifies the format of helical rebar dimension label. E.g. "%L,r=%R,pitch=%P" where:
 * specifies the height of each row of rebar shape in rebar shape cut list.
 * specifies the width of each row of rebar shape in rebar shape cut list.
 * specifies the number of columns in rebar shape cut list. Set it to "row_count" to have column_count <= row_count
 * specifies the padding on each side of rebar shape in rebar shape cut list.
 * specifies if rebar shape is to be made horizontal by rotating max length edge of rebar shape.
 * specifies the output file to write generated rebar shape cut list svg.