This project aims to facilitate flexible implementation and usage of Rebaring in FreeCAD. The Reinforcement workbench provides tools for Reinforcement Generation and Detailing. This workbench provides an interface and presets for the creation of common rebar types. And tools to generate rebars bill of material, rebar shape cut list, bar bending schedule, and rebars drawing and dimension.
Contents: Installation | Features | Documentation | Contributing | Showcase | Extras
- FreeCAD (version >= 0.19): Installation guide
- Pillow: Required for generating BillOfMaterial when working in pure console mode without any gui element
Reinforcement workbench is available through the FreeCAD Addon Manager (menu Tools → Addon manager). It is called Reinforcement in the Addon Repository.
Like any other FreeCAD workbench, you can manually clone or download all the files from this repository in a "Reinforcement" folder inside your FreeCAD Mod directory as described here.
Straight Rebar: Creates a Straight reinforcement bar in a selected structural element
UShape Rebar: Creates a UShape reinforcement bar in a selected structural element
LShape Rebar: Creates a LShape reinforcement bar in a selected structural element
BentShape Rebar: Creates a Bent Shape reinforcement bar in a selected structural element
Stirrup Rebar: Creates a Stirrup reinforcement bar in a selected structural element
Helical Rebar: Creates a Helical reinforcement bar in a selected structural element
Circular ColumnReinforcement: Creates reinforcing bars in a selected circular column structural element
ColumnReinforcement: Creates reinforcing bars in a selected rectangular column structural element
ColumnReinforcement TwoTiesSixRebars: Creates reinforcing bars in a selected rectangular column structural element
BeamReinforcement: Creates reinforcing bars in a selected beam structural element
SlabReinforcement: Creates reinforcing bars in a selected slab structural element
FootingReinforcement: Creates reinforcing bars inside a Footing Arch Structure object
Rebar: Creates a custom reinforcement bar in a selected structural element using a sketch
Bill Of Material: Creates bill of material of reinforcing bars
Rebar Shape Cut List: Creates rebar shape cut list of reinforcing bars
Reinforcement Bar Bending Schedule: Creates bar bending schedule of reinforcing bars
Reinforcement Drawing Dimensioning: Creates drawing and dimensioning of reinforcing bars
The documentation of this workbench is hosted on FreeCAD wiki pages and can be found here: https://wiki.freecadweb.org/Reinforcement_Workbench
Each rebar shape tool has two files, one is a python
(AKA .py
) file and the second is its respective UI
(AKA .ui
) file. For example: StraightRebar.py
and StraightRebar.ui
.
Let's continue with the straight rebar shape tool as the example. In the StraightRebar.py
file, there are two functions:
- The
makeStraightRebar()
function, this function creates straight rebar and adds new properties to the defaultRebar
object. - The
editStraightRebar()
function, this function is used when we want to change new properties of the rebar object to take aRebar
object as input (which is created bymakeStraightRebar
function).
Within the StraightRebar.py
file we find the _StraightRebarTaskPanel
class present. This class loads the UI (within the StriaghtRebar.ui
file) in to a FreeCAD task panel. When a user clicks on the Apply
or the Ok
button, the makeStraightRebar
function is executed and after that when the user wants to change the properties of Straight rebar then the editStraightRebar()
function is executed.
We love contributions! We have collected notes on how to contribute to this project in CONTRIBUTING.md
This endeavor started as a Google Summer of Code (GSOC 2017) project