Reinforcement StirrupRebar/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "* {{PropertyData|Front Cover}}: Distanța dintre armături și fațeta selectată. * {{PropertyData|Right Cover}}: The distance between the right end of the rebar to right fac...")
(Created page with "== Scrip-Programare ==")
Line 35: Line 35:
* {{PropertyData|Spacing}}: Distanța între axe fiecare bare
* {{PropertyData|Spacing}}: Distanța între axe fiecare bare


== Scrip-Programare ==
==Scripting==


The {{KEY|[[Image:Arch_Rebar_Stirrup.png|16px]] Stirrup Rebar}} tool can by used in [[macros]] and from the python console by using the following function:
The {{KEY|[[Image:Arch_Rebar_Stirrup.png|16px]] Stirrup Rebar}} tool can by used in [[macros]] and from the python console by using the following function:

Revision as of 19:05, 22 November 2018

Arch Rebar Stirrup

Menu location
Arch → Rebar tools
Workbenches
Arch
Default shortcut
None
See also
Helical Rebar
 
This command is part of the Reinforcement AddOn, that you can install via menu Tools → Addons Manager

Descriere

Instrumentul Stirrup Rebar permite utilizatorului să creeze un

stirrup reinforcing bar în elementul de structură.

Cum se folosește

  1. Creează un element structure
  2. Select any face of the structure
  3. Then select Stirrup Rebar from the rebar tools
  4. A task panel will pop-out on the left side of the screen as shown below
  5. Select the desired orientation
  6. Give the inputs like left cover, right cover, top cover, bottom, front cover, bent angle, bent factor, rounding and diameter of the rebar
  7. Select the mode of distribution either amount or spacing
  8. If spacing is selected, a user can also opt for custom spacing
  9. Pick selected face is used to verify or change the face for rebar distribution
  10. Click OK or Apply to generate the rebars
  11. Click pe Cancel ieșirea din task panel

Proprietăți

  • DateFront Cover: Distanța dintre armături și fațeta selectată.
  • DateRight Cover: The distance between the right end of the rebar to right face of the structure.
  • DateLeft Cover: The distance between the left end of the rebar to the left face of the structure.
  • DateBottom Cover: The distance between rebar from the bottom face of the structure.
  • DateTop Cover: The distance between rebar from the top face of the structure.
  • DateBent Angle: Bent angle defines the angle at the ends of a stirrup.
  • DateBent Factor: Bent Factor defines length of stirrup end.
  • DateAmount: The amount of rebars.
  • DateSpacing: Distanța între axe fiecare bare

Scrip-Programare

The Stirrup Rebar tool can by used in macros and from the python console by using the following function:

makeStirrup(LeftCover, RightCover, TopCover, BottomCover, FrontCover, BentAngle, BentFactor, Diameter, Rounding, AmountSpacingCheck, AmountSpacingValue, Structure, Facename)
  • Adds a Stirrup 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 Stirrup rebar.

import Arch, Stirrup
structure = Arch.makeStructure(length=1000.0, width=400.0, height=400.0)
structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
rebar = Stirrup.makeStirrup(20,  20, 20, 20, 20, 135, 4, 8, 2, True, 10, structure, "Face6")

Changing properties of Stirrup rebar.

import Stirrup
Stirrup.editStirrup(rebar, 20, 20, 20, 20, 50, 90, 4, 8, 2, True, 6, structure, "Face6")