Arch Add/ja: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav
|[[Arch_CutPlane|Cut with plane]]
|[[Arch_CutPlane|CutPlane]]
|[[Arch_Remove|Remove component]]
|[[Arch_Remove|Remove]]
|[[Arch_Workbench|Arch]]
|[[Arch_Workbench|Arch]]
|IconL=Arch_CutPlane.svg
|IconL=Arch_CutPlane.svg
Line 19: Line 20:
</div>
</div>


<span id="Description"></span>
==説明==
==説明==


Line 36: Line 38:
</div>
</div>


<span id="Usage"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
==使用方法==
==使用方法==
Line 82: Line 85:
FreeCAD.ActiveDocument.recompute()
FreeCAD.ActiveDocument.recompute()
}}
}}



{{Docnav
{{Docnav
|[[Arch_CutPlane|Cut with plane]]
|[[Arch_CutPlane|CutPlane]]
|[[Arch_Remove|Remove component]]
|[[Arch_Remove|Remove]]
|[[Arch_Workbench|Arch]]
|[[Arch_Workbench|Arch]]
|IconL=Arch_CutPlane.svg
|IconL=Arch_CutPlane.svg
Line 93: Line 97:


{{Arch Tools navi{{#translation:}}}}
{{Arch Tools navi{{#translation:}}}}

{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 14:32, 8 January 2024

Arch Add

メニューの場所
Arch -> Add
ワークベンチ
建築
デフォルトのショートカット
None
バージョンで導入
-
も参照してください
Arch Remove

説明

Addツールは2種類の操作を提供します:

  • シェイプベースのオブジェクトを骨組みといった Archコンポーネントに追加します。これらのオブジェクトはArchコンポーネントのパーツとなってその高さや厚みといった基本プロパティを保持するだけでなく、その形状を変更する機能を提供します。
  • 骨組みあるいはなどのセルベースのオブジェクトといったArchコンポーネントを追加します。
  • axis systemsstructural objectsを追加する
  • section planesにオブジェクトを追加する

The counterpart of this tool is the Arch Remove tool.

上の図では壁に直方体が追加されています。

使用方法

  • 追加するオブジェクト(複数可)を選択してから"ホスト"となるオブジェクトを選択してください(最後に選択したものがホストオブジェクトになります)
  • Addボタンを押してください

スクリプト処理

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

addComponents(objectsList, host)
  • Adds the given object or the objects from the given list as components to the given host Object. Use this for example to add windows to a wall, or to add walls to a floor.
  • Returns nothing.

例題:

import FreeCAD, Arch, Draft, Part

p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 2000, 0)

Line = Draft.makeWire([p1, p2])
Wall = Arch.makeWall(Line, width=150, height=2000)

p3 = FreeCAD.Vector(0, 2000, 0)
p4 = FreeCAD.Vector(3000, 0, 0)

Line2 = Draft.makeWire([p3, p4])
Wall2 = Arch.makeWall(Line2, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()

Arch.addComponents(Wall2, Wall)
FreeCAD.ActiveDocument.recompute()