Arch Add/ja: Difference between revisions
(Created page with "==使用方法==") |
(Created page with "* 追加するオブジェクト(複数可)を選択してから"ホスト"となるオブジェクトを選択してください(最後に選択したものがホスト...") |
||
Line 20: | Line 20: | ||
==使用方法== |
==使用方法== |
||
* 追加するオブジェクト(複数可)を選択してから"ホスト"となるオブジェクトを選択してください(最後に選択したものがホストオブジェクトになります) |
|||
# Select the object(s) to be added, then the "host" object (the host object must be the last one you selected) |
|||
* [[Image:Arch Add.png|16px]] '''Add'''ボタンを押してください |
|||
==Scripting== |
==Scripting== |
Revision as of 08:53, 7 December 2018
Arch Add |
Menu location |
---|
Arch → Add |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
Arch Remove |
説明
Addツールは2種類の操作を提供します:
- シェイプベースのオブジェクトを壁や骨組みといった Archコンポーネントに追加します。これらのオブジェクトはArchコンポーネントのパーツとなってその高さや厚みといった基本プロパティを保持するだけでなく、その形状を変更する機能を提供します。
- 壁、骨組み、セルあるいは床などのセルベースのオブジェクトといったArchコンポーネントを追加します。
上の図では壁に直方体が追加されています。
In the above image, a box is being added to a wall.
使用方法
Scripting
The Add tool can by used in macros and from the python console by using the following function:
addComponents (objectsList,hostObject)
- 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.
Example:
import FreeCAD, Arch, Draft, Part
line = Draft.makeWire([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,2,0)])
wall = Arch.makeWall(line)
box = Part.makeBox(1,1,1)
Arch.addComponents(box,wall)