Reinforcement UShapeRebar: Difference between revisions
Renatorivo (talk | contribs) (<translate>) |
Renatorivo (talk | contribs) (Marked this version for translation) |
||
Line 1: | Line 1: | ||
<translate> |
<translate> |
||
<!--T:1--> |
|||
{{GuiCommandAddon|Name=Arch Rebar UShape|Workbenches=[[Arch Module|Arch]]|Addon=Reinforcement|MenuLocation=Arch → Rebar tools|Shortcut=None|SeeAlso=[[Arch_Rebar_LShape|LShape Rebar]]}} |
{{GuiCommandAddon|Name=Arch Rebar UShape|Workbenches=[[Arch Module|Arch]]|Addon=Reinforcement|MenuLocation=Arch → Rebar tools|Shortcut=None|SeeAlso=[[Arch_Rebar_LShape|LShape Rebar]]}} |
||
==Description== |
==Description== <!--T:2--> |
||
<!--T:3--> |
|||
The {{KEY|[[Image:UShapeRebar.png|16px]] UShape Rebar}} tool allows user to create a UShape reinforcing bar in the structural element. |
The {{KEY|[[Image:UShapeRebar.png|16px]] UShape Rebar}} tool allows user to create a UShape reinforcing bar in the structural element. |
||
<!--T:4--> |
|||
[[Image:Footing UShapeRebar.png|800px]] |
[[Image:Footing UShapeRebar.png|800px]] |
||
==How to use== |
==How to use== <!--T:5--> |
||
<!--T:6--> |
|||
# Create a [[Arch Structure|structure]] element |
# Create a [[Arch Structure|structure]] element |
||
# Select any face of the structure |
# Select any face of the structure |
||
Line 22: | Line 26: | ||
# Click {{KEY|Cancel}} to exit the task panel |
# Click {{KEY|Cancel}} to exit the task panel |
||
==Properties== |
==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 34: | Line 39: | ||
* {{PropertyData|Spacing}}: The distance between the axes of each bar. |
* {{PropertyData|Spacing}}: The distance between the axes of each bar. |
||
==Scripting== |
==Scripting== <!--T:9--> |
||
<!--T:10--> |
|||
The {{KEY|[[Image:UShapeRebar.png|16px]] UShape Rebar}} tool can by used in [[macros]] and from the python console by using the following function: |
The {{KEY|[[Image:UShapeRebar.png|16px]] UShape Rebar}} tool can by used in [[macros]] and from the python console by using the following function: |
||
<!--T:11--> |
|||
{{Code|code= |
{{Code|code= |
||
makeUShapeRebar(FrontCover, BottomCover, RightCover, LeftCover, Diameter, Topcover, Rounding, AmountSpacingCheck, AmountSpacingValue, Orientation, Structure, Facename) |
makeUShapeRebar(FrontCover, BottomCover, RightCover, LeftCover, Diameter, Topcover, Rounding, AmountSpacingCheck, AmountSpacingValue, Orientation, Structure, Facename) |
||
Line 50: | Line 57: | ||
* Returns the new Rebar object. |
* Returns the new Rebar object. |
||
<!--T:12--> |
|||
Example: |
Example: |
||
Creating UShape rebar. |
Creating UShape rebar. |
||
Line 60: | Line 68: | ||
}} |
}} |
||
<!--T:13--> |
|||
Changing properties of UShape rebar. |
Changing properties of UShape rebar. |
||
{{Code|code= |
{{Code|code= |
Revision as of 16:05, 10 February 2018
Arch Rebar UShape |
Menu location |
---|
Arch → Rebar tools |
Workbenches |
Arch |
Default shortcut |
None |
See also |
LShape Rebar |
This command is part of the Reinforcement AddOn, that you can install via menu Tools → Addons Manager |
Description
The UShape Rebar tool allows user to create a UShape reinforcing bar in the structural element.
How to use
- Create a structure element
- Select any face of the structure
- Then select UShape 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, 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
- 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
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
The UShape Rebar tool can by used in macros and from the python console by using the following function:
makeUShapeRebar(FrontCover, BottomCover, RightCover, LeftCover, Diameter, Topcover, Rounding, AmountSpacingCheck, AmountSpacingValue, Orientation, Structure, Facename)
- The UShape Rebar have four different orientations:
- Bottom
- Top
- Right
- Left
- Adds a UShape reinforcing bar object to the given structural object.
- If no Structure and Facename is given, it will take user selected face as input.
- Returns the new Rebar object.
Example: Creating UShape rebar.
import Arch, UShapeRebar
structure = Arch.makeStructure(length=1000.0, width=1000.0, height=400.0)
structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
rebar = UShapeRebar.makeUShapeRebar(20, 20, 20, 20, 8, 20, 4, True, 10, "Bottom", structure, "Face1")
Changing properties of UShape rebar.
import UShapeRebar
UShapeRebar.editUShapeRebar(rebar, 25, 25, 25, 25, 16, 25, 2, True, 15, "Top")