|
Menu location |
---|
3D/BIM → Reinforcement tools → Helical Rebar |
Workbenches |
Reinforcement, BIM |
Default shortcut |
None |
Introduced in version |
0.17 |
See also |
None |
The Reinforcement HelicalRebar tool allows the user to create a continuous helical reinforcing bar inside an Arch Structure object.
This tool is part of the Reinforcement Workbench, an external workbench that can be installed with the Addon Manager.
One continuous helical reinforcement bar inside an Arch Structure
Task panel for the tool
See also: Arch API, Reinforcement API and FreeCAD Scripting Basics.
The Reinforcement HelicalRebar tool can be used in macros and from the Python console by using the following function:
Rebar = makeHelicalRebar(s_cover, b_cover, diameter, t_cover, pitch, structure=None, facename=None)
Rebar
object from the given structure
, which is an Arch Structure, and facename
, which is a face of that structure.
structure
nor facename
are given, it will take the user selected face as input.s_cover
, b_cover
, and t_cover
are inner offset distances for the rebar with respect to the faces of the structure. They are respectively the side, bottom, and top offsets.diameter
is the diameter of the reinforcement spiral inside the structure.pitch
is the parameter that determines how close or far apart each spiral loop is to each other.import FreeCAD, Draft, Arch, HelicalRebar
Circle = Draft.makeCircle(radius=250)
Structure = Arch.makeStructure(Circle)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
Rebar = HelicalRebar.makeHelicalRebar(10, 50, 8, 50, 50, structure, "Face2")
You can change the properties of the rebar with the following function
editHelicalRebar(Rebar, s_cover, b_cover, diameter, t_cover, pitch, structure=None, facename=None)
Rebar
is a previously created HelicalRebar
object.makeHelicalRebar()
function.structure
and facename
may be omitted so that the rebar stays in the original structure.import HelicalRebar
HelicalRebar.editHelicalRebar(Rebar, 20, 100, 20, 20, 100)