Arch Add/ja: Difference between revisions
(Created page with "上の図では壁に直方体が追加されています。") |
No edit summary |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{GuiCommand|Name=Arch Add|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch → Add|SeeAlso=[[Arch Remove|Arch Remove]]}} |
|||
{{GuiCommand/jp|Name=Arch Add|Workbenches=[[Arch Module/jp|建築]]|MenuLocation=Arch -> Add|SeeAlso=[[Arch Remove/jp|Arch Remove]]}} |
{{GuiCommand/jp|Name=Arch Add|Workbenches=[[Arch Module/jp|建築]]|MenuLocation=Arch -> Add|SeeAlso=[[Arch Remove/jp|Arch Remove]]}} |
||
Revision as of 08:57, 7 December 2018
説明
Addツールは2種類の操作を提供します:
- シェイプベースのオブジェクトを壁や骨組みといった Archコンポーネントに追加します。これらのオブジェクトはArchコンポーネントのパーツとなってその高さや厚みといった基本プロパティを保持するだけでなく、その形状を変更する機能を提供します。
- 壁、骨組み、セルあるいは床などのセルベースのオブジェクトといったArchコンポーネントを追加します。
上の図では壁に直方体が追加されています。
使用方法
スクリプト処理
Add ツールは、macros/マクロやPythonコンソールから次の関数を使って使うことができます:
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.
例題:
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)