Reinforcement UShapeRebar: Difference between revisions
No edit summary |
|||
(71 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
{{GuiCommand|Name=Arch Rebar UShape|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch → Rebar tools|Shortcut=None|SeeAlso=[[Arch_Rebar_LShape|LShape Rebar]]}} |
|||
<translate> |
|||
<!--T:1--> |
|||
==Description== |
|||
{{Docnav |
|||
The {{KEY|[[Image:UShapeRebar.png|16px]] UShape Rebar}} tool allows user to create a UShape reinforcing bar in the structural element. |
|||
|[[Reinforcement_StraightRebar|StraightRebar]] |
|||
|[[Reinforcement_LShapeRebar|LShapeRebar]] |
|||
|[[Reinforcement_Workbench|Reinforcement]] |
|||
|IconL=Reinforcement_StraightRebar.svg |
|||
|IconR=Reinforcement_LShapeRebar.svg |
|||
|IconC=Reinforcement_Workbench.svg |
|||
}} |
|||
<!--T:25--> |
|||
[[Image:Footing UShapeRebar.png]] |
|||
{{GuiCommand |
|||
|Name=Reinforcement UShapeRebar |
|||
|MenuLocation=Arch → Rebar tools → U-Shape Rebar<br>3D/BIM → Reinforcement tools → U-Shape Rebar |
|||
|Workbenches=[[Reinforcement_Workbench|Reinforcement]], [[Arch_Workbench|Arch]], [[BIM_Workbench|BIM]] |
|||
|Version=0.17 |
|||
|SeeAlso= |
|||
}} |
|||
==Description== <!--T:2--> |
|||
==How to use== |
|||
<!--T:3--> |
|||
# Create a [[Arch Structure|structure]] element |
|||
The [[Reinforcement_UShapeRebar|Reinforcement UShapeRebar]] tool allows the user to create a set of U-shaped reinforcing bars inside an [[Arch_Structure|Arch Structure]] object. |
|||
# Select any face of the structure |
|||
# Then select {{KEY|[[Image:UShapeRebar.png|16px]] UShape Rebar}} from the rebar tools |
|||
# A task panel will pop-out on the left side of the screen as shown below [[Image:UShapeDialog.png]] |
|||
# Select the desired orientation |
|||
# Give the inputs like front cover, right side cover, left side cover, bottom cover, top cover, rounding factor 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|custom spacing]] |
|||
# Pick selected face is used to verify or change the face for rebar distribution |
|||
# Click {{KEY|OK}} or {{KEY|Apply}} to generate the rebars |
|||
# Click {{KEY|Cancel}} to exit the task panel |
|||
<!--T:16--> |
|||
==Properties== |
|||
This tool is part of the [[Reinforcement_Workbench|Reinforcement Workbench]], an [[External_workbenches|external workbench]] that can be installed with the [[Image:Std_AddonMgr.svg|24px]] [[Std_AddonMgr|Addon Manager]]. |
|||
</translate> |
|||
[[Image:Arch_Rebar_UShape_example.png|400px]] |
|||
<translate> |
|||
<!--T:4--> |
|||
{{Caption|Two sets of U-shaped reinforcement bars inside an [[Arch_Structure|Arch Structure]]}} |
|||
==Usage== <!--T:5--> |
|||
<!--T:6--> |
|||
# Select any face of a previously created {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch_Structure|Arch Structure]]}} object. |
|||
# Then select {{Button|[[Image:Reinforcement_UShapeRebar.svg|16px]] [[Reinforcement UShapeRebar|U-Shape Rebar]]}} from the rebar tools. |
|||
# A [[Task_panel|task panel]] will pop-out on the left side of the screen as shown below. |
|||
# Select the desired orientation. |
|||
# Populate the inputs like 'Left Cover', 'Right Cover', 'Top Cover', 'Bottom Cover', 'Front Cover', 'Bent Angle', 'Bent Factor', '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 [[Reinforcement_Custom_Spacing|custom spacing]]. |
|||
# {{Button|Pick Selected Face}} is used to verify or change the face for rebar distribution. |
|||
# Click {{Button|OK}} or {{Button|Apply}} to generate the rebars. |
|||
# Click {{Button|Cancel}} to exit the task panel. |
|||
</translate> |
|||
[[Image:UShapeDialog.png|250px]] |
|||
<translate> |
|||
<!--T:17--> |
|||
{{Caption|Task panel for the tool}} |
|||
==Properties== <!--T:7--> |
|||
<!--T:8--> |
|||
* {{PropertyData|Orientation}}: It decides the orientation of the rebar (like a bottom, top, right and left). |
* {{PropertyData|Orientation}}: It decides the orientation of the rebar (like a bottom, top, right and left). |
||
* {{PropertyData|Front Cover}}: The distance between rebar and selected face. |
* {{PropertyData|Front Cover}}: The distance between rebar and selected face. |
||
Line 32: | Line 68: | ||
* {{PropertyData|Spacing}}: The distance between the axes of each bar. |
* {{PropertyData|Spacing}}: The distance between the axes of each bar. |
||
==Scripting== |
==Scripting== <!--T:27--> |
||
<!--T:9--> |
|||
The {{KEY|[[Image:UShapeRebar.png|16px]] UShape Rebar}} tool can by used in [[macros]] and from the python console by using the following function: |
|||
{{Emphasis|See also:}} [[Arch_API|Arch API]], [[Reinforcement_API|Reinforcement API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
<!--T:10--> |
|||
The Reinforcement UShapeRebar tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following function: |
|||
</translate> |
|||
{{Code|code= |
{{Code|code= |
||
Rebar = makeUShapeRebar(f_cover, b_cover, r_cover, l_cover, |
|||
makeUShapeRebar(FrontCover, BottomCover, RightCover, LeftCover, Diameter, Topcover, Rounding, AmountSpacingCheck, AmountSpacingValue, Orientation, Structure, Facename) |
|||
diameter, t_cover, rounding, amount_spacing_check, amount_spacing_value, orientation="Bottom", |
|||
structure=None, facename=None) |
|||
}} |
}} |
||
<translate> |
|||
* The UShape Rebar have four different orientations: |
|||
** Bottom |
|||
<!--T:14--> |
|||
** Top |
|||
* 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. |
|||
** Right |
|||
** If no {{incode|structure}} nor {{incode|facename}} are given, it will take the user selected face as input. |
|||
** Left |
|||
* {{incode|f_cover}}, {{incode|b_cover}}, {{incode|r_cover}}, {{incode|l_cover}}, and {{incode|t_cover}} are inner offset distances for the rebar elements with respect to the faces of the structure. They are respectively the front, bottom, right, left, and top offsets. |
|||
* Adds a UShape reinforcing bar object to the given structural object. |
|||
* {{incode|diameter}} is the diameter of the reinforcement bars inside the structure. |
|||
* If no Structure and Facename is given, it will take user selected face as input. |
|||
* {{incode|rounding}} is the parameter that determines the bending radius of the reinforcement bars. |
|||
* Returns the new Rebar object. |
|||
* {{incode|amount_spacing_check}} if it is {{incode|True}} it will create as many reinforcement bars as given by {{incode|amount_spacing_value}}; if it is {{incode|False}} it will create reinforcement bars separated by the numerical value of {{incode|amount_spacing_value}}. |
|||
* {{incode|amount_spacing_value}} specifies the number of reinforcement bars, or the value of the separation between them, depending on {{incode|amount_spacing_check}}. |
|||
* {{incode|orientation}} specifies the orientation of the rebar; it can be {{incode|"Bottom"}}, {{incode|"Top"}}, {{incode|"Right"}}, or {{incode|"Left"}}. |
|||
=== Example === <!--T:12--> |
|||
</translate> |
|||
Example: |
|||
Creating UShape rebar. |
|||
{{Code|code= |
{{Code|code= |
||
import Arch, UShapeRebar |
import FreeCAD, Arch, UShapeRebar |
||
structure = Arch.makeStructure(length=1000.0, width=1000.0, height=400.0) |
|||
Structure = Arch.makeStructure(length=1000, width=1000, height=400) |
|||
structure.ViewObject.Transparency = 80 |
|||
Structure.ViewObject.Transparency = 80 |
|||
FreeCAD.ActiveDocument.recompute() |
FreeCAD.ActiveDocument.recompute() |
||
rebar = UShapeRebar.makeUShapeRebar(20, 20, 20, 20, 8, 20, 4, True, 10, "Bottom", structure, "Face1") |
|||
Rebar = UShapeRebar.makeUShapeRebar(50, 20, 20, 20, |
|||
8, 50, 4, True, 6, "Bottom", Structure, "Face4") |
|||
Rebar.ViewObject.ShapeColor = (0.9, 0.0, 0.0) |
|||
Rebar2 = UShapeRebar.makeUShapeRebar(50, 50, 20, 20, |
|||
8, 50, 4, True, 6, "Bottom", Structure, "Face6") |
|||
Rebar2.ViewObject.ShapeColor = (0.0, 0.0, 0.9) |
|||
}} |
}} |
||
<translate> |
|||
=== Edition of the rebar === <!--T:28--> |
|||
<!--T:13--> |
|||
You can change the properties of the rebar with the following function: |
|||
</translate> |
|||
{{Code|code= |
|||
editUShapeRebar(Rebar, f_cover, b_cover, r_cover, l_cover, |
|||
diameter, t_cover, rounding, amount_spacing_check, amount_spacing_value, orientation, |
|||
structure=None, facename=None) |
|||
}} |
|||
<translate> |
|||
<!--T:18--> |
|||
* {{incode|Rebar}} is a previously created {{incode|UShapeRebar}} object. |
|||
* The other parameters are the same as required by the {{incode|makeUShapeRebar()}} function. |
|||
* {{incode|structure}} and {{incode|facename}} may be omitted so that the rebar stays in the original structure. |
|||
</translate> |
|||
{{Code|code= |
{{Code|code= |
||
import UShapeRebar |
import UShapeRebar |
||
UShapeRebar.editUShapeRebar(rebar, 25, 25, 25, 25, 16, 25, 2, True, 15, "Top") |
|||
UShapeRebar.editUShapeRebar(Rebar, 50, 50, 20, 20, |
|||
16, 20, 5, True, 5, "Top") |
|||
UShapeRebar.editUShapeRebar(Rebar2, 70, 50, 20, 20, |
|||
16, 70, 5, True, 5, "Top") |
|||
}} |
}} |
||
<translate> |
|||
<!--T:15--> |
|||
{{Docnav |
|||
|[[Reinforcement_StraightRebar|StraightRebar]] |
|||
|[[Reinforcement_LShapeRebar|LShapeRebar]] |
|||
|[[Reinforcement_Workbench|Reinforcement]] |
|||
|IconL=Reinforcement_StraightRebar.svg |
|||
|IconR=Reinforcement_LShapeRebar.svg |
|||
|IconC=Reinforcement_Workbench.svg |
|||
}} |
|||
</translate> |
|||
[[Category:External_Command_Reference{{#translation:}}]] |
|||
[[Category:Reinforcement{{#translation:}}]] |
|||
{{Arch_Tools_navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 19:03, 9 March 2024
Reinforcement UShapeRebar |
Menu location |
---|
Arch → Rebar tools → U-Shape Rebar 3D/BIM → Reinforcement tools → U-Shape Rebar |
Workbenches |
Reinforcement, Arch, BIM |
Default shortcut |
None |
Introduced in version |
0.17 |
See also |
None |
Description
The Reinforcement UShapeRebar tool allows the user to create a set of U-shaped reinforcing bars inside an Arch Structure object.
This tool is part of the Reinforcement Workbench, an external workbench that can be installed with the Addon Manager.
Two sets of U-shaped reinforcement bars inside an Arch Structure
Usage
- Select any face of a previously created Arch Structure object.
- Then select U-Shape 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.
- Populate the inputs like 'Left Cover', 'Right Cover', 'Top Cover', 'Bottom Cover', 'Front Cover', 'Bent Angle', 'Bent Factor', '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.
Task panel for the 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.
- DataRight Cover: The distance between the right end of the rebar to right face of the structure.
- DataLeft Cover: The distance between the left end of the rebar to the left 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.
- DataRounding: A rounding value to be applied to the corners of the bars, expressed in times the diameter.
- 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 Reinforcement UShapeRebar tool can be used in macros and from the Python console by using the following function:
Rebar = makeUShapeRebar(f_cover, b_cover, r_cover, l_cover,
diameter, t_cover, rounding, amount_spacing_check, amount_spacing_value, orientation="Bottom",
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
f_cover
,b_cover
,r_cover
,l_cover
, andt_cover
are inner offset distances for the rebar elements with respect to the faces of the structure. They are respectively the front, bottom, right, left, and top offsets.diameter
is the diameter of the reinforcement bars inside the structure.rounding
is the parameter that determines the bending radius of the reinforcement bars.amount_spacing_check
if it isTrue
it will create as many reinforcement bars as given byamount_spacing_value
; if it isFalse
it will create reinforcement bars separated by the numerical value ofamount_spacing_value
.amount_spacing_value
specifies the number of reinforcement bars, or the value of the separation between them, depending onamount_spacing_check
.orientation
specifies the orientation of the rebar; it can be"Bottom"
,"Top"
,"Right"
, or"Left"
.
Example
import FreeCAD, Arch, UShapeRebar
Structure = Arch.makeStructure(length=1000, width=1000, height=400)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
Rebar = UShapeRebar.makeUShapeRebar(50, 20, 20, 20,
8, 50, 4, True, 6, "Bottom", Structure, "Face4")
Rebar.ViewObject.ShapeColor = (0.9, 0.0, 0.0)
Rebar2 = UShapeRebar.makeUShapeRebar(50, 50, 20, 20,
8, 50, 4, True, 6, "Bottom", Structure, "Face6")
Rebar2.ViewObject.ShapeColor = (0.0, 0.0, 0.9)
Edition of the rebar
You can change the properties of the rebar with the following function:
editUShapeRebar(Rebar, f_cover, b_cover, r_cover, l_cover,
diameter, t_cover, rounding, amount_spacing_check, amount_spacing_value, orientation,
structure=None, facename=None)
Rebar
is a previously createdUShapeRebar
object.- The other parameters are the same as required by the
makeUShapeRebar()
function. structure
andfacename
may be omitted so that the rebar stays in the original structure.
import UShapeRebar
UShapeRebar.editUShapeRebar(Rebar, 50, 50, 20, 20,
16, 20, 5, True, 5, "Top")
UShapeRebar.editUShapeRebar(Rebar2, 70, 50, 20, 20,
16, 70, 5, True, 5, "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, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub