|
poziția meniului |
---|
Arch → Rebar |
Ateliere |
Arch |
scurtătură |
R B |
Prezentat în versiune |
- |
A se vedea, de asemenea, |
Arch Structure |
|
poziția meniului |
---|
Arch → Rebar |
Ateliere |
Arch |
scurtătură |
R B |
Prezentat în versiune |
- |
A se vedea, de asemenea, |
Arch Structure |
Instrumentul Rebar vă permite să plasați barele de armătură [1] în interiorul obiectelor Arch Structure. Obiectele bare de armătură sunt bazate pe profilele 2D, cum ar fi sketches sau draft objects, care trebuie să fie desenate pe o față a unui obiect de structură. Puteți apoi să reglați configurația armăturilor, cum ar fi numărul și diametrul barelor sau distanța de decalaj dintre cele două capete ale elementului structural.
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.
Imaginea de mai sus prezintă un obiect structural, în care sunt desenate două schițe, care definesc două diagrame de bare. Aceste două schițe sunt apoi transformate în obiecte de armătură.
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 DateHost.
An Arch Rebar object shares the common properties and behaviors of all Arch Components.
See also: Arch API and FreeCAD Scripting Basics.
Instrumentul Rebar poate fi folosit în macros și din consola python utilizând următoarea funcție:
Rebar = makeRebar(baseobj=None, sketch=None, diameter=None, amount=1, offset=None, name="Rebar")
Exempluː
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()