Reinforcement HelicalRebar: Difference between revisions
(80px image) |
(API and scripting links) |
||
Line 50: | Line 50: | ||
==Scripting== <!--T:9--> |
==Scripting== <!--T:9--> |
||
{{Emphasis|See also:}} [[Arch API]], [[Reinforcement API]] and [[FreeCAD Scripting Basics]]. |
|||
<!--T:10--> |
<!--T:10--> |
||
The |
The Helical Rebar tool can be used in [[macros]] and from the [[Python]] console by using the following function: |
||
</translate> |
</translate> |
||
{{Code|code= |
{{Code|code= |
Revision as of 21:09, 28 November 2018
Arch Rebar Helical |
Menu location |
---|
Arch → Rebar tools |
Workbenches |
Arch, BIM |
Default shortcut |
None |
Introduced in version |
0.17 |
See also |
Stirrup Rebar, Arch Rebar |
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
How to use
- 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:
makeHelicalRebar(SideCover, BottomCover, Diameter, TopCover, Pitch, Structure, Facename)
- Adds a Straight reinforcing bar object to the given structural object.
- If no Structure and Facename is given, it will take user selected face as input.
- Here CoverAlong argument is having type tuple.
- Returns the new Rebar object.
Example:
Creating Helical rebar.
import Arch, Draft, HelicalRebar
# Creating circle
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
structure = Arch.makeStructure(circle)
structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
# Creating Helical rebar
rebar = HelicalRebar.makeHelicalRebar(20, 50, 8, 50, 50, structure, "Face2")
Changing properties of Helical rebar.
import HelicalRebar
HelicalRebar.editHelicalRebar(rebar, 20, 100, 12, 100, 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, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub