Reinforcement Bar Shape Cut List

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.
 * 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.