Arch Rebar/ja: Difference between revisions

From FreeCAD Documentation
(Created page with "==オプション==")
(Updating to match new version of source page)
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">
{{GuiCommand|Name=Arch Rebar|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch → Rebar|Shortcut=R B|SeeAlso=[[Arch Structure|Arch Structure]]}}
{{docnav|[[Arch_Rebar_BeamReinforcement|BeamReinforcement]]|[[Arch_Floor|Floor]]|[[Arch_Module|Arch]]|IconL=Arch_Rebar_BeamReinforcement.svg |IconC=Workbench_Arch.svg |IconR=Arch_Floor.svg}}
</div>

<div class="mw-translate-fuzzy">
{{GuiCommand/ja
|Name=Arch Rebar
|Name/ja=Arch Rebar
|MenuLocation=Arch → Rebar
|Workbenches=[[Arch Module|Arch]]
|Shortcut=R B
|SeeAlso=[[Arch Structure|Arch Structure]], [[Reinforcement Addon|Reinforcement Addon]]
}}
</div>


==説明==
==説明==


<div class="mw-translate-fuzzy">
Rebarツールを使用すると、[[Arch Structure]]オブジェクトの中に [http://en.wikipedia.org/wiki/Rebar reinforcing bars] を配置することができます。 Rebarオブジェクトは、[[スケッチャーモジュール|スケッチ]]や[[ドラフトモジュール|ドラフトオブジェクト]]などの2Dプロファイルに基づいており、構造オブジェクトの面に描画する必要があります。バーの数や直径、または構造要素の両端のオフセット距離など、リバーの構成を調整することができます。
Rebarツールを使用すると、[[Arch Structure]]オブジェクトの中に [http://en.wikipedia.org/wiki/Rebar reinforcing bars] を配置することができます。 Rebarオブジェクトは、[[Sketcher Module|sketches]] /[[スケッチャーモジュール|スケッチ]]や[[Draft Module|draft objects]]/[[ドラフトモジュール|ドラフトオブジェクト]]などの2Dプロファイルに基づいており、構造オブジェクトの面に描画する必要があります。バーの数や直径、または構造要素の両端のオフセット距離など、リバーの構成を調整することができます。
</div>


The [[Arch_Rebar|Arch Rebar]] tool is also integrated into [[BIM_Workbench|BIM Workbench]].
[[Image:Arch Rebar example.jpg|400px]]


Rebar objects are based on 2D profiles such as [[Draft Workbench|Draft objects]] and [[Sketcher Workbench|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.

[[Image:Arch Rebar example.jpg|400px]]
<div class="mw-translate-fuzzy">
上の図は、2つの棒グラフを定義する2つのスケッチが描かれている構造オブジェクトを示しています。これらの2つのスケッチは、鉄筋オブジェクトに変換されます。
上の図は、2つの棒グラフを定義する2つのスケッチが描かれている構造オブジェクトを示しています。これらの2つのスケッチは、鉄筋オブジェクトに変換されます。
</div>


==利用可能なエクステンション==
==利用可能なエクステンション==


The Rebar tool is enhanced by the [[Reinforcement Workbench|Reinforcement Workbench]], which is installed by the [[Addon Manager|Addon Manager]]. The additional rebar types available with the addon are:
The Rebar tool has been greatly enhanced during the [[Google Summer of Code]] 2017 edition. The result of that work is a series of new presets and wizards for the most common rebar types. They are packaged under an independent module called '''Reinforcement''', that you can install via menu Tools -> Addons Manager. Once the Reinforcement addon is installed, on next run, FreeCAD will detect it and add a series of new tools under the Rebar button in the Arch toolbar and menu:
* [[Image:Arch_Rebar_Straight.svg|32px]] [[Arch_Rebar_Straight|Straight Rebar]]

* [[Image:Arch_Rebar_UShape.svg|32px]] [[Arch_Rebar_UShape|UShape Rebar]]
* [[Image:Arch_Rebar_Straight.png|32px]] [[Arch_Rebar_Straight|Straight Rebar]]: Creates a Straight reinforcement bar in a selected structural element
* [[Image:Arch_Rebar_UShape.png|32px]] [[Arch_Rebar_UShape|UShape Rebar]]: Creates a UShape reinforcement bar in a selected structural element
* [[Image:Arch_Rebar_LShape.svg|32px]] [[Arch_Rebar_LShape|LShape Rebar]]
* [[Image:Arch_Rebar_BentShape.svg|32px]] [[Arch_Rebar_BentShape|Bent Shape Rebar]]
* [[Image:Arch_Rebar_LShape.png|32px]] [[Arch_Rebar_LShape|LShape Rebar]]: Creates a LShape reinforcement bar in a selected structural element
* [[Image:Arch_Rebar_Stirrup.svg|32px]] [[Arch_Rebar_Stirrup|Stirrup Rebar]]
* [[Image:Arch_Rebar_BentShape.png|32px]] [[Arch_Rebar_BentShape|Bent Shape Rebar]]: Creates a Bent Shape reinforcement bar in a selected structural element
* [[Image:Arch_Rebar_Stirrup.png|32px]] [[Arch_Rebar_Stirrup|Stirrup Rebar]]: Creates a Stirrup reinforcement bar in a selected structural element
* [[Image:Arch_Rebar_Helical.svg|32px]] [[Arch_Rebar_Helical|Helical Rebar]]
* [[Image:Arch_Rebar_Helical.png|32px]] [[Arch_Rebar_Helical|Helical Rebar]]: Creates a Helical reinforcement bar in a selected structural element


<div class="mw-translate-fuzzy">
==使用方法==
==使用方法==
</div>

# Switch to the [[Image:Workbench_Arch.svg|16px]] [[Arch Workbench]]
# Create an {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch Structure|Arch Structure]]}} element.
# Switch to the [[Image:Workbench_Sketcher.svg|16px]] [[Sketcher Workbench|Sketcher Workbench]].
# Select one face of the structural element.
# Press the {{Button|[[Image:Sketcher NewSketch.svg|16px]] [[Sketcher NewSketch|New Sketch]]}} button to start a new sketch on the selected face.
# Draw the diagram of your bar.
# Press the {{Button|[[Image:Sketcher LeaveSketch.svg|16px]] [[Sketcher LeaveSketch|Leave Sketch]]}} button to finish.
# Switch back to the [[Image:Workbench_Arch.svg|16px]] [[Arch Workbench]].
# Select the sketch you just drew.
# Press the {{Button|[[Image:Arch Rebar.svg|16px]] [[Arch Rebar|Arch Rebar]]}} button, or press {{KEY|R}} then {{KEY|B}} keys.
# Adjust the desired properties (your rebar might not appear immediately, if some of the properties create an impossible situation, such as the bar diameter being 0, or the offset distances being bigger than the length of the structural element).


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 {{PropertyData|Host}}.
# Create a [[Arch Structure|structure]] element
# Switch to the [[Sketcher Workbench]]
# Select one face of the structural element
# Press the {{KEY|[[Image:Sketcher NewSketch.png|16px]] [[Sketcher NewSketch|New Sketch]]}} button to start a new sketch on the selected face
# Draw the diagram of your bar
# Press the {{KEY|[[Image:Sketcher LeaveSketch.png|16px]] [[Sketcher LeaveSketch|Leave Sketch]]}} button to finish
# Switch back to the [[Arch Workbench]]
# Select the sketch you just drew
# Press the {{KEY|[[Image:Arch Rebar.png|16px]] [[Arch Rebar]]}} button, or press {{KEY|R}} then {{KEY|B}} keys
# Adjust the desired properties (your rebar might not appear immediately, if some of the properties create an impossible situation, such as the bar diameter being 0, or the offset distances being bigger than the length of the structural element)


==オプション==
==オプション==
Line 42: Line 66:
* The spacing value is calculated from the current amount of bars, and represents the distance between the axes of each bar. You must therefore subtract the bar diameter to obtain the size of the free space between bars.
* The spacing value is calculated from the current amount of bars, and represents the distance between the axes of each bar. You must therefore subtract the bar diameter to obtain the size of the free space between bars.


==Properties==
==プロパティ==


* {{PropertyData|Amount}}: The amount of bars.
* {{PropertyData|Amount}}: The amount of bars.
Line 52: Line 76:
* {{PropertyData|Spacing}}: The distance between the axes of each bar.
* {{PropertyData|Spacing}}: The distance between the axes of each bar.


<div class="mw-translate-fuzzy">
==Scripting==
==スクリプト処理==
</div>


<div class="mw-translate-fuzzy">
The Rebar tool can by used in [[macros]] and from the python console by using the following function:
Rebarツールは、[[macros|macros]]/[[マクロ|マクロ]]やPythonコンソールから次の関数を使って使うことができます:
</div>
{{Code|code=
{{Code|code=
makeRebar (structure,sketch,[diameter],[amount],[offset])
Rebar = makeRebar(baseobj=None, sketch=None, diameter=None, amount=1, offset=None, name="Rebar")
}}
}}


* Adds a Reinforcing Bar object to the given structural object, using the given sketch as profile.
* Creates a {{incode|Rebar}} object from the given {{incode|baseobj}}, which is an [[Arch Structure|Arch Structure]], and a {{incode|sketch}} as profile.
* If no diameter, amount or offset value is given, the default values from the Arch preferences settings are applied.
** {{incode|diameter}}, {{incode|amount}}, and {{incode|offset}} are used to define the characteristics of the bars.
** If no {{incode|diameter}}, {{incode|amount}}, or {{incode|offset}} values are given, the default values from the [[Arch Preferences|Arch Preferences]] are used.
* Returns the new Rebar object.

例題:


Example:
{{Code|code=
{{Code|code=
import FreeCAD, Arch, Sketcher, PArt
import FreeCAD, Arch, Part

struct = Arch.makeStructure(1,1,3)
Structure = Arch.makeStructure(None, length=1000, width=1000, height=3000)
sketch = FreeCAD.ActiveDocument.addObject('Sketcher::SketchObject','Sketch')
Structure.ViewObject.Transparency = 80
sketch.Support = (struct,["Face6"])
FreeCAD.ActiveDocument.recompute()
sketch.addGeometry(Part.Line(App.Vector(-0.4,0.4,0),App.Vector(0.4,0.4,0)))

Arch.makeRebar(structure,sketch)
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()
}}
}}


<div class="mw-translate-fuzzy">
[[Category:Arch]]
{{docnav|[[Arch_Rebar_BeamReinforcement|BeamReinforcement]]|[[Arch_Floor|Floor]]|[[Arch_Module|Arch]]|IconL=Arch_Rebar_BeamReinforcement.svg |IconC=Workbench_Arch.svg |IconR=Arch_Floor.svg}}
</div>

{{Arch Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
[[Category:External Command Reference{{#translation:}}]]
[[Category:Reinforcement{{#translation:}}]]

Revision as of 20:00, 23 September 2020

Arch Rebar

メニューの場所
Arch → Rebar
ワークベンチ
Arch
デフォルトのショートカット
R B
バージョンで導入
-
も参照してください
Arch Structure, Reinforcement Addon

説明

Rebarツールを使用すると、Arch Structureオブジェクトの中に reinforcing bars を配置することができます。 Rebarオブジェクトは、sketches /スケッチdraft objects/ドラフトオブジェクトなどの2Dプロファイルに基づいており、構造オブジェクトの面に描画する必要があります。バーの数や直径、または構造要素の両端のオフセット距離など、リバーの構成を調整することができます。

The Arch Rebar tool is also integrated into BIM Workbench.

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.

上の図は、2つの棒グラフを定義する2つのスケッチが描かれている構造オブジェクトを示しています。これらの2つのスケッチは、鉄筋オブジェクトに変換されます。

利用可能なエクステンション

The Rebar tool is enhanced by the Reinforcement Workbench, which is installed by the Addon Manager. The additional rebar types available with the addon are:

使用方法

  1. Switch to the Arch Workbench
  2. Create an Arch Structure element.
  3. Switch to the Sketcher Workbench.
  4. Select one face of the structural element.
  5. Press the New Sketch button to start a new sketch on the selected face.
  6. Draw the diagram of your bar.
  7. Press the Leave Sketch button to finish.
  8. Switch back to the Arch Workbench.
  9. Select the sketch you just drew.
  10. Press the Arch Rebar button, or press R then B keys.
  11. Adjust the desired properties (your rebar might not appear immediately, if some of the properties create an impossible situation, such as the bar diameter being 0, or the offset distances being bigger than the length of the structural element).

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 データHost.

オプション

  • Rebars share the common properties and behaviours of all Arch Components
  • The rounding value is expressed in times the diameter. If your bar has a diameter of 5mm, a rounding value of 3 will create rounding at angles with a radius of 15mm.
  • Default values for new rebars can be set in the Arch preferences settings.
  • If a direction vector is not specified, the direction and distance along which the bars will spread is calculated automatically from the host structural object, by taking the normal direction of the base sketch, and taking its intersection with the structural object. If you specify a direction vector, the length of that vector will also be taken into account.
  • The spacing value is calculated from the current amount of bars, and represents the distance between the axes of each bar. You must therefore subtract the bar diameter to obtain the size of the free space between bars.

プロパティ

  • データAmount: The amount of bars.
  • データDiameter: The diameter of the bars.
  • データDirection: The direction (and length) along which the bars must spread. If the value is (0,0,0), the direction is calculated automatically from the host structural object.
  • データOffset Start: The offset distance between the border of the structural object and the first bar.
  • データOffset End: The offset distance between the border of the structural object and the last bar.
  • データRounding: A rounding value to be applied to the corners of the bars, expressed in times the diameter.
  • データSpacing: The distance between the axes of each bar.

スクリプト処理

Rebarツールは、macros/マクロやPythonコンソールから次の関数を使って使うことができます:

Rebar = makeRebar(baseobj=None, sketch=None, diameter=None, amount=1, offset=None, name="Rebar")
  • Creates a Rebar object from the given baseobj, which is an Arch Structure, and a sketch as profile.
    • diameter, amount, and offset are used to define the characteristics of the bars.
    • If no diameter, amount, or offset values are given, the default values from the Arch Preferences are used.

例題:

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()