Reinforcement HelicalRebar: Difference between revisions
({{Button}} link) |
Renatorivo (talk | contribs) No edit summary |
||
(15 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<translate> |
<translate> |
||
⚫ | |||
{{docnav |
|||
|[[Arch_Rebar_Stirrup|Stirrup Rebar]] |
|||
|[[Arch_Rebar_Circular_ColumnReinforcement|Circular Column Reinforcement]] |
|||
|[[Arch_Module|Arch]] |
|||
|IconL=Arch_Rebar_Stirrup.svg |
|||
|IconC=Workbench_Arch.svg |
|||
|IconR=Arch_Rebar_ColumnReinforcement.svg |
|||
}} |
|||
<!--T:1--> |
<!--T:1--> |
||
{{GuiCommand |
{{GuiCommand |
||
Line 6: | Line 16: | ||
|MenuLocation=Arch → Rebar tools |
|MenuLocation=Arch → Rebar tools |
||
|Workbenches=[[Arch Workbench|Arch]], [[BIM Workbench|BIM]] |
|Workbenches=[[Arch Workbench|Arch]], [[BIM Workbench|BIM]] |
||
|SeeAlso=[[Arch_Rebar_Stirrup|Stirrup Rebar]], [[ |
|SeeAlso=[[Arch_Rebar_Stirrup|Stirrup Rebar]], [[Arch_Rebar_ColumnReinforcement|Column Reinforcement]] |
||
|Version=0.17 |
|Version=0.17 |
||
}} |
}} |
||
Line 13: | Line 23: | ||
<!--T:3--> |
<!--T:3--> |
||
The [[Arch Rebar Helical|Helical Rebar]] tool allows the user to create a continuous helical reinforcing bar inside an [[Arch Structure]] object. |
The [[Arch Rebar Helical|Helical Rebar]] tool allows the user to create a continuous helical reinforcing bar inside an [[Arch Structure|Arch Structure]] object. |
||
⚫ | |||
This command is part of the [[Reinforcement Addon]], that you can install with the [[Addon Manager]], via the menu {{MenuCommand|Tools → Addon manager → Reinforcement}}. |
This command is part of the [[Reinforcement Addon|Reinforcement Addon]], that you can install with the [[Addon Manager|Addon Manager]], via the menu {{MenuCommand|Tools → Addon manager → Reinforcement}}. |
||
</translate> |
</translate> |
||
[[Image: |
[[Image:Arch_Rebar_Helical_example.png|80px]] |
||
<translate> |
<translate> |
||
<!--T:4--> |
<!--T:4--> |
||
{{Caption|One continuous helical reinforcement bar inside an [[Arch Structure]]}} |
{{Caption|One continuous helical reinforcement bar inside an [[Arch Structure|Arch Structure]]}} |
||
== |
==Usage== <!--T:5--> |
||
<!--T:6--> |
<!--T:6--> |
||
# Select any face of a previously created {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch Structure]]}} object. |
# Select any face of a previously created {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch Structure|Arch Structure]]}} object. |
||
# Then select {{Button|[[Image:Arch_Rebar_Helical. |
# Then select {{Button|[[Image:Arch_Rebar_Helical.svg|16px]] [[Arch Rebar Helical|Helical Rebar]]}} from the rebar tools. |
||
# A task panel will pop-out on the left side of the screen as shown below. |
# A task panel will pop-out on the left side of the screen as shown below. |
||
# Select the desired orientation. |
# Select the desired orientation. |
||
Line 37: | Line 48: | ||
# Click {{Button|Cancel}} to exit the task panel. |
# Click {{Button|Cancel}} to exit the task panel. |
||
<!--T:17--> |
|||
[[Image:HelicalRebarDialog.png|250px]] |
[[Image:HelicalRebarDialog.png|250px]] |
||
{{Caption|Taskview panel for the Arch Rebar Helical tool}} |
{{Caption|Taskview panel for the Arch Rebar Helical tool}} |
||
Line 50: | Line 62: | ||
==Scripting== <!--T:9--> |
==Scripting== <!--T:9--> |
||
{{Emphasis|See also:}} [[Arch API|Arch API]], [[Reinforcement API|Reinforcement API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
|||
<!--T:10--> |
<!--T:10--> |
||
The |
The Helical Rebar tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following function: |
||
</translate> |
</translate> |
||
{{Code|code= |
{{Code|code= |
||
makeHelicalRebar( |
Rebar = makeHelicalRebar(s_cover, b_cover, diameter, t_cover, pitch, structure=None, facename=None) |
||
}} |
}} |
||
<translate> |
<translate> |
||
<!--T:11--> |
<!--T:11--> |
||
* Creates a {{incode|Rebar}} object from the given {{incode|structure}}, which is an [[Arch Structure|Arch Structure]], and {{incode|facename}}, which is a face of that structure. |
|||
* Adds a Straight reinforcing bar object to the given structural object. |
|||
* If no |
** If no {{incode|structure}} nor {{incode|facename}} are given, it will take the user selected face as input. |
||
* {{incode|s_cover}}, {{incode|b_cover}}, and {{incode|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. |
|||
* Here CoverAlong argument is having type tuple. |
|||
* {{incode|diameter}} is the diameter of the reinforcement spiral inside the structure. |
|||
* Returns the new Rebar object. |
|||
* {{incode|pitch}} is the parameter that determines how close or far apart each spiral loop is to each other. |
|||
<!--T: |
=== Example === <!--T:18--> |
||
Example: |
|||
⚫ | |||
Creating Helical rebar. |
|||
</translate> |
</translate> |
||
{{Code|code= |
{{Code|code= |
||
import |
import FreeCAD, Draft, Arch, HelicalRebar |
||
# Creating circle |
|||
Circle = Draft.makeCircle(radius=250) |
|||
pl=FreeCAD.Placement() |
|||
⚫ | |||
pl.Rotation.Q=(0.0,-0.0,-0.0,1.0) |
|||
⚫ | |||
pl.Base=FreeCAD.Vector(-1.0,-1.0,0.0) |
|||
circle = Draft.makeCircle(radius=130.107647738,placement=pl,face=True,support=None) |
|||
Draft.autogroup(circle) |
|||
# Creating Structure element from circle |
|||
⚫ | |||
⚫ | |||
FreeCAD.ActiveDocument.recompute() |
FreeCAD.ActiveDocument.recompute() |
||
# Creating Helical rebar |
|||
Rebar = HelicalRebar.makeHelicalRebar(10, 50, 8, 50, 50, structure, "Face2") |
|||
}} |
}} |
||
<translate> |
<translate> |
||
⚫ | |||
=== Edition of the rebar === <!--T:19--> |
|||
You can change the properties of the rebar with the following function |
|||
</translate> |
|||
{{Code|code= |
|||
editHelicalRebar(Rebar, s_cover, b_cover, diameter, t_cover, pitch, structure=None, facename=None) |
|||
}} |
|||
<translate> |
|||
<!--T:20--> |
|||
* {{incode|Rebar}} is a previously created {{incode|HelicalRebar}} object. |
|||
* The other parameters are the same as required by the {{incode|makeHelicalRebar()}} function. |
|||
* {{incode|structure}} and {{incode|facename}} may be omitted so that the rebar stays in the original structure. |
|||
</translate> |
</translate> |
||
{{Code|code= |
{{Code|code= |
||
import HelicalRebar |
import HelicalRebar |
||
HelicalRebar.editHelicalRebar( |
HelicalRebar.editHelicalRebar(Rebar, 20, 100, 20, 20, 100) |
||
}} |
}} |
||
<translate> |
<translate> |
||
<!--T:15--> |
<!--T:15--> |
||
{{docnav |
|||
⚫ | |||
|[[Arch_Rebar_Stirrup|Stirrup Rebar]] |
|||
⚫ | |||
[[ |
|[[Arch_Rebar_Circular_ColumnReinforcement|Circular Column Reinforcement]] |
||
|[[Arch_Module|Arch]] |
|||
|IconL=Arch_Rebar_Stirrup.svg |
|||
|IconC=Workbench_Arch.svg |
|||
|IconR=Arch_Rebar_ColumnReinforcement.svg |
|||
}} |
|||
</translate> |
</translate> |
||
⚫ | |||
⚫ | |||
[[Category:Reinforcement{{#translation:}}]] |
Revision as of 20:37, 20 February 2020
Arch Rebar Helical |
Menu location |
---|
Arch → Rebar tools |
Workbenches |
Arch, BIM |
Default shortcut |
None |
Introduced in version |
0.17 |
See also |
Stirrup Rebar, Column Reinforcement |
Description
The Helical Rebar tool allows the user to create a continuous helical reinforcing bar inside an Arch Structure object.
This command is part of the Reinforcement Addon, that you can install with the Addon Manager, via the menu Tools → Addon manager → Reinforcement.
One continuous helical reinforcement bar inside an Arch Structure
Usage
- Select any face of a previously created Arch Structure object.
- Then select Helical Rebar from the rebar tools.
- A task panel will pop-out on the left side of the screen as shown below.
- Select the desired orientation.
- Give the inputs like front cover, right side cover, left side cover, bottom cover and diameter of the rebar.
- Select the mode of distribution either amount or spacing.
- If spacing is selected, a user can also opt for custom spacing.
- Pick selected face is used to verify or change the face for rebar distribution.
- Click OK or Apply to generate the rebars.
- Click Cancel to exit the task panel.
Taskview panel for the Arch Rebar Helical tool
Properties
- DataSide Cover: The distance between rebar to the curved face.
- DataTop Cover: The distance between rebar from the top face of the structure.
- DataBottom Cover: The distance between rebar from the bottom face of the structure.
- DataPitch: The pitch of a helix is the height of one complete helix turn, measured parallel to the axis of the helix.
- DataDiameter: Diameter of the rebar.
Scripting
See also: Arch API, Reinforcement API and FreeCAD Scripting Basics.
The Helical Rebar 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)
- Creates a
Rebar
object from the givenstructure
, which is an Arch Structure, andfacename
, which is a face of that structure.- If no
structure
norfacename
are given, it will take the user selected face as input.
- If no
s_cover
,b_cover
, andt_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.
Example
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")
Edition of the rebar
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 createdHelicalRebar
object.- The other parameters are the same as required by the
makeHelicalRebar()
function. structure
andfacename
may be omitted so that the rebar stays in the original structure.
import HelicalRebar
HelicalRebar.editHelicalRebar(Rebar, 20, 100, 20, 20, 100)
Arch
- Elements: Wall, Structure, Curtain Wall, Window, Roof, Space, Stairs, Equipment, Frame, Fence, Truss, Profile, Pipe, Pipe Connector
- Reinforcements: Straight Rebar, U-Shape Rebar, L-Shape Rebar, Stirrup, Bent-Shape Rebar, Helical Rebar, Column Reinforcement, Beam Reinforcement, Slab Reinforcement, Footing Reinforcement, Custom Rebar
- Panels: Panel, Panel Cut, Panel Sheet, Nest
- Materials: Material, Multi-Material
- Organization: Building Part, Project, Site, Building, Level, External reference, Section Plane, Schedule
- Axes: Axis, Axes system, Grid
- Modification: Cut with plane, Add component, Remove component, Survey
- Utilities: Component, Clone component, Split Mesh, Mesh to Shape, Select non-manifold meshes, Remove Shape from Arch, Close Holes, Merge Walls, Check, Toggle IFC Brep flag, 3 Views from mesh, Create IFC spreadsheet, Toggle Subcomponents
- Additional: Preferences, Import Export Preferences (IFC, DAE, OBJ, JSON, 3DS, SHP), IfcOpenShell, IfcPlusPlus, Arch API
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub