Reinforcement ColumnRebars Circular/it: Difference between revisions

From FreeCAD Documentation
(Created page with "{{docnav/it|Armatura elicoidale|Rinforzo di pilastro|Arch|IconL=Arch_Rebar_Helical.svg|IconC...")
(Created page with "====Esempio====")
Line 144: Line 144:
* {{incode|structure}} and {{incode|facename}} may be omitted so that the rebar stays in the original structure.
* {{incode|structure}} and {{incode|facename}} may be omitted so that the rebar stays in the original structure.


==== Example ====
====Esempio====
{{Code|code=
{{Code|code=
from ColumnReinforcement import CircularColumn
from ColumnReinforcement import CircularColumn

Revision as of 20:06, 5 November 2019

Rinforzo di colonna

Posizione nel menu
Arch → Strumenti armatura
Ambiente
Arch, BIM
Avvio veloce
Nessuno
Introdotto nella versione
0.19
Vedere anche
Rinforzo di colonna con 2 staffe e 6 barre, Armatura

Description

Lo strumento Rinforzo di colonna rotonda consente all'utente di creare delle barre di rinforzo all'interno di un oggetto Struttura Colonna.

Questo comando fa parte del addon Reinforcement, che si può installare con Addon manager, tramite il menu Strumenti → Addon manager → Reinforcement.

Rinforzo di colonna rotonda all'interno di una Struttura colonna

Utilizzo

1. Select top face of a previously created Arch Structure object.
2. Then select Column Reinforcement from the rebar tools.
3. A dialog box will pop-out on screen as shown below.

Dialog Box for the Arch Rebar ColumnReinforcement tool

4. Select the Circular Column radio button in column reinforcement dialog.

Dialog Box for Circular Column Reinforcement

5. Give inputs for data related to circular column reinforcement.
6. Click OK or Apply to generate circular column reinforcement.

7. Click Cancel to exit the dialog box.


Properties

Helical Rebars:

  • DatiSide Cover: The distance between rebar to the curved face.
  • DatiTop Cover: The distance between rebar from the top face of the structure.
  • DatiBottom Cover: The distance between rebar from the bottom face of the structure.
  • DatiPitch: The pitch of a helix is the height of one complete helix turn, measured parallel to the axis of the helix.
  • DatiDiameter: Diameter of the rebar.

Main Rebars:

  • DatiTop Offset: The distance between rebars from the top face of the structure.
  • DatiBottom Offset: The distance between rebars from the bottom face of the structure.
  • DatiDiameter: Diameter of the main rebars.
  • DatiNumber: The number of main rebars.
  • DatiAngle: The angular distance between ties.

Scripting

See also: Arch API, Reinforcement API and FreeCAD Scripting Basics.

The ColumnReinforcement tool can be used in macros and from the Python console by using the following function:

Create Circular Column Reinforcement

RebarGroup = CircularColumn.makeReinforcement(
    s_cover,
    helical_rebar_t_offset,
    helical_rebar_b_offset,
    pitch,
    dia_of_helical_rebar,
    main_rebars_t_offset,
    main_rebars_b_offset,
    dia_of_main_rebars,
    number_angle_check,
    number_angle_value,
    structure=None,
    facename=None,
)
  • Creates a RebarGroup object from the given structure, which is an Arch Structure, and facename, which is a face of that structure.
    • If no structure nor facename are given, it will take the user selected face as input.
  • s_cover, helical_rebar_t_offset, and helical_rebar_b_offset are inner offset distances for the helical rebar with respect to the faces of the structure. They are respectively the side, top and bottom offsets.
  • pitch is the parameter that determines how close or far apart each helical loop is to each other.
  • dia_of_helical_rebar is the diameter of the helical rebar inside the structure.
  • main_rebars_t_offset and main_rebars_b_offset are inner offset distances for the main rebars with respect to the top and bottom faces of the structure, respectively.
  • dia_of_main_rebars is the diameter of the main rebars.
  • number_angle_check if it is True it will create as many main rebars as given by number_angle_value; if it is False it will create main rebars at an angle of number_spacing_value, specified in degrees.
  • number_angle_value specifies the number of main rebars, or the value of the angle between the main rebars, depending on number_angle_check.


Example

import FreeCAD, Draft, Arch
from ColumnReinforcement import CircularColumn

Circle = Draft.makeCircle(radius=250)
Structure = Arch.makeStructure(Circle)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()

RebarGroup = CircularColumn.makeReinforcement(
    s_cover=20,
    helical_rebar_t_offset=40,
    helical_rebar_b_offset=40,
    pitch=50,
    dia_of_helical_rebar=8,
    main_rebars_t_offset=20,
    main_rebars_b_offset=20,
    dia_of_main_rebars=16,
    number_angle_check=True,
    number_angle_value=6,
    structure=Structure,
    facename="Face3",
).rebar_group

Edition of Circular Column Reinforcement

You can change the properties of the halical and main rebars with the following function

rebar_group = editReinforcement(
    rebar_group,
    s_cover,
    helical_rebar_t_offset,
    helical_rebar_b_offset,
    pitch,
    dia_of_helical_rebar,
    main_rebars_t_offset,
    main_rebars_b_offset,
    dia_of_main_rebars,
    number_angle_check,
    number_angle_value,
    structure=None,
    facename=None,
)
  • rebar_group is a previously created ColumnReinforcement group object.
  • The other parameters are the same as required by the makeSingleTieFourRebars() function.
  • structure and facename may be omitted so that the rebar stays in the original structure.

Esempio

from ColumnReinforcement import CircularColumn

rebar_group = CircularColumn.editReinforcement(
    rebar_group,
    s_cover=30,
    helical_rebar_t_offset=30,
    helical_rebar_b_offset=30,
    pitch=60,
    dia_of_helical_rebar=10,
    main_rebars_t_offset=-30,
    main_rebars_b_offset=-30,
    dia_of_main_rebars=18,
    number_angle_check=False,
    number_angle_value=45,
    structure=Structure,
    facename="Face3",
)