|
メニューの場所 |
---|
Arch -> Section Plane |
ワークベンチ |
建築 |
デフォルトのショートカット |
S P |
導入バージョン |
- |
参照 |
なし |
このツールは現在のドキュメントに断面表示のためのギズモ(仕組み)を配置します。これよって断面または表示面が定義されます。ギズモは移動と回転によって位置や方向を変えることができ、取得したい2D表示を表示できます。他のオブジェクトを選択しない状態でこのツールが使用された場合、シーンにある全てのオブジェクトが2D表示に含まれます。何かオブジェクトを選択している場合、2D表示にはそのオブジェクトのみ表示されます。Arch AddツールとArch Removeツールを使用することで後からSectionPlaneオブジェクトにオブジェクトを追加したり、削除したりすることができます。
The Section Plane object will only consider a certain set of objects. Objects that are selected when you create a Section Plane will be added to that set automatically. Other objects can later be added or removed from a SectionPlane object with the Arch Add component and Arch Remove component tools, or by double-clicking the Section Plane in the tree view.
現在のところ作成時にSectionPlaneオブジェクトはSectionPlaneの対象とみなされるオブジェクトの2D写像が設定されたDrawing Pageオブジェクトを作成します。上の図の左側はシーン内に置かれたSectionPlaneオブジェクトを表し、右側はSVGの2D出力を表しています。面のソートの実装はまだ不完全です。
The typical workflow to create a 2D drawing involves the following steps, also reflected in the buttons' order in the toolbar:
true
. This is only visual, and won't affect the geometry of the objects being cut.
SectionPlane
true
, the generated 2D view will be clipped to the extents of the Section Plane's rectangle, as defined by ビューDisplayLength and ビューDisplayHeight. Geometry outside the rectangle will be excluded. If false
, the view will show all geometry from the objects in scope, as seen from the plane's infinite projection.true
, non-solid objects in the set of considered objects will be disregarded during the view generation process.true
, when generating a 2D view with filled cut areas (e.g. via false
, a default fill color will be used.The Arch SectionPlane with the データClip property set to true
will behave like a camera, limiting the field of view.
SectionPlane
true
, enables a real-time clipping effect in the 3D view, visually cutting through the model at the plane's location.true
.true
.true
, the object's データLabel will be displayed next to the Section Plane in the 3D view.Section Planeツールはmacros内で、そしてPythonコンソールから次の関数を使って使うことができます:
Section = makeSectionPlane(objectslist=None, name="Section")
Section
object from objectslist
, which is a list of objects.例題:
import FreeCAD, Draft, Arch
p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
baseline2 = Draft.makeLine(p1, -1*p2)
Wall1 = Arch.makeWall(baseline, length=None, width=150, height=2000)
Wall2 = Arch.makeWall(baseline2, length=None, width=150, height=1800)
Structure = Arch.makeStructure(length=1000, width=1000, height=200)
FreeCAD.ActiveDocument.recompute()
BuildingPart = Arch.makeBuildingPart([Wall1, Wall2])
Floor = Arch.makeFloor([BuildingPart])
Building = Arch.makeBuilding([Floor, Structure])
Site = Arch.makeSite(Building)
FreeCAD.ActiveDocument.recompute()
Section1 = Arch.makeSectionPlane([Wall1, Wall2])
Section2 = Arch.makeSectionPlane([Structure])
Section3 = Arch.makeSectionPlane([Site])
FreeCAD.ActiveDocument.recompute()