Rebar Addon for FreeCAD
This project is aimed at easing up the process of rebaring in FreeCAD. In this project, list of rebars will be provided to user under Rebar tools in the form of dropdown. This project covers six different rebar shapes as given below:
Straight Rebar: wiki
UShape Rebar: wiki
LShape Rebar: wiki
BentShpae Rebar: wiki
Stirrup Rebar: wiki
Helical Rebar: wiki
- FreeCAD (version >= 0.17): Installation guide
Steps to install Rebar Addon in FreeCAD
- Open the FreeCAD Addon Manager (
Tool -> Addon manager).
- When an addon manager will open, select
Reinforcementfrom a list of workbenches shown by an addon manager.
- After selecting, click on
- Restart FreeCAD.
- Now you will see different rebars in a drop-down list of rebar tools (
Arch -> Rebar tools -> Different rebars).
How it works
Each rebar tool has two files, one is
Python file and second is there respective name
UI file like
StraightRebar.ui file). Let's take a straight rebar tool. In
StraightRebar.py file, there are two functions. One is
makeStraightRebar() function. This function creates straight rebar and adds new properties to the default
Rebar object. Second function is
editStraightRebar. This function is used when we want to change a new properties(which is created by
makeStraightRebar function) of the rebar object and it will take
Rebar object as input which is created by
makeStraightRebar function. In
_StraightRebarTaskPanel class is present. This class loads UI(present in
StriaghtRebar.ui file) in the task panel of FreeCAD. First time when a user clicks on
Ok button, then
makeStraightRebar function is executed and after that when user want to change the properties of Straight rebar then
editStraightRebar function is excuted.