Reinforcement BentShapeRebar: Difference between revisions
(400px image) |
(API and scripting links) |
||
Line 55: | Line 55: | ||
==Scripting== <!--T:9--> |
==Scripting== <!--T:9--> |
||
{{Emphasis|See also:}} [[Arch API]], [[Reinforcement API]] and [[FreeCAD Scripting Basics]]. |
|||
<!--T:10--> |
<!--T:10--> |
||
The |
The BentShape 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:05, 28 November 2018
Arch Rebar BentShape |
Menu location |
---|
Arch → Rebar tools |
Workbenches |
Arch, BIM |
Default shortcut |
None |
Introduced in version |
0.17 |
See also |
Stirrup Rebar, Arch Rebar |
Description
The BentShape Rebar tool allows the user to create a set of bent reinforcing bars 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.
Two sets of bent reinforcement bars inside an Arch Structure
How to use
- Select any face of a previously created Arch Structure object.
- Then select BentShape 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, left cover, right cover, bottom cover, top cover, anchor length, bent angle, rounding 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 BentShape tool
Properties
- DataOrientation: It decides the orientation of the rebar (like a bottom, top, right and left).
- DataFront Cover: The distance between rebar and selected face.
- DataLeft Cover: The distance between the left end of the rebar to the left face of the structure.
- DataRight Cover: The distance between the right end of the rebar to right face of the structure.
- DataBottom Cover: The distance between rebar from the bottom face of the structure.
- DataTop Cover: The distance between rebar from the top face of the structure.
- DataAnchor Length: It is the arm's length of bent shape rebar.
- DataBent Angle: It decides angle in bent shape rebar.
- DataAmount: The amount of rebars.
- DataSpacing: The distance between the axes of each bar.
Scripting
See also: Arch API, Reinforcement API and FreeCAD Scripting Basics.
The BentShape Rebar tool can be used in macros and from the Python console by using the following function:
makeBentShapeRebar(FrontCover, BottomCover, LeftCover, RightCover, Diameter, TopCover, BentLength, BentAngle, Rounding, AmountSpacingCheck, AmountSpacingValue, Orientation, Structure, Facename)
- The Bent Shape Rebar have four different orientations:
- Bottom
- Top
- Left
- Right
- Adds a Bent Shape 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 Bent Shape rebar.
import Arch, BentShapeRebar
structure = Arch.makeStructure(length=1000.0, width=1000.0, height=100.0)
structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
rebar = BentShapeRebar.makeBentShapeRebar(20, 20, 20, 20, 8, 20, 100, 135, 2, True, 10, "Bottom", structure, "Face1")
Changing properties of Bent Shape rebar.
import BentShapeRebar
BentShapeRebar.editBentShapeRebar(rebar, 50, 50, 50, 50, 12, 20, 100, 135, 2, True, 10, "Top")
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