|
Ubicación en el Menú |
---|
Arch → Rebar |
Entornos de trabajo |
Arch |
Atajo de teclado por defecto |
R B |
Introducido en versión |
- |
Ver también |
Arch Structure |
|
Ubicación en el Menú |
---|
Arch → Rebar |
Entornos de trabajo |
Arch |
Atajo de teclado por defecto |
R B |
Introducido en versión |
- |
Ver también |
Arch Structure |
La herramienta Rebar le permite colocar reinforcing bars dentro de los objetos Arch Structure. Los objetos de barra de refuerzo se basan en perfiles 2D como sketches o draft objects, que deben dibujarse en una cara de un objeto de estructura. A continuación, puede ajustar la configuración de las barras de refuerzo, como el número y el diámetro de las barras, o la distancia de desplazamiento entre los dos extremos del elemento estructural.
Rebar objects are based on 2D profiles such as Draft objects and Sketches, that must be drawn on a face of the structural object. After creation you can adjust the properties of the rebar, including the number and diameter of the bars, and the offset distance between them and the faces of the structural element.
La imagen de arriba muestra un objeto estructural, donde se dibujan dos bocetos, que definen dos diagramas de barras. Estos dos bocetos se convierten en objetos de barras de refuerzo.
Although normally a rebar is used inside an Arch Structure, since FreeCAD 0.19 the rebar can be created outside of any host object. To host a rebar inside an object, you just need to set its DatosHost.
An Arch Rebar object shares the common properties and behaviors of all Arch Components.
See also: Arch API and FreeCAD Scripting Basics.
La herramienta Refuerzo de Barras puede utilizarse en macros y desde la consola de python utilizando la siguiente función:
Rebar = makeRebar(baseobj=None, sketch=None, diameter=None, amount=1, offset=None, name="Rebar")
Ejemplo:
import FreeCAD, Arch, Part
Structure = Arch.makeStructure(None, length=1000, width=1000, height=3000)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
p1 = FreeCAD.Vector(-400, 400, 0)
p2 = FreeCAD.Vector(400, 400, 0)
Sketch = FreeCAD.ActiveDocument.addObject('Sketcher::SketchObject', 'Sketch')
Sketch.MapMode = "FlatFace"
Sketch.Support = [(Structure, "Face6")]
Sketch.addGeometry(Part.LineSegment(p1, p2))
FreeCAD.ActiveDocument.recompute()
Rebar = Arch.makeRebar(Structure, Sketch, diameter=80, amount=7, offset=50)
Rebar.OffsetStart = 100
Rebar.OffsetEnd = 100
FreeCAD.ActiveDocument.recompute()