建筑墙体 |
菜单位置 |
---|
Arch → Wall |
所属工作台 |
Arch |
默认快捷键 |
W A |
版本介紹 |
- |
参阅 |
Arch Structure |
利用此工具可从头或基于其他几何图形(shape)或网格(mesh)对象来构建墙体。构建墙体并非一定要基于其他对象,仅需长、宽、高三种属性来描述其长方体外观即可。在利用存在的几何图形构建墙体时,可以以下列对象为基础:
基于线段、连线、平面、实体与草图来构建墙体
我们也可以对的墙体执行添加或移除操作。在执行添加操作时,将令其他对象的形状与墙体相融;移除则是从墙体中去除目标对象。利用Arch Add与Arch Remove工具即可实现墙体的增减操作。Additions and subtractions have no influence over wall parameters such as height and width, which can still be changed. Walls can also have their height automatic, if they are included into a higher-level object such as floors. The height must be kept at 0, then the wall will adopt the height specified in the parent object.
当若干墙体相交的时候,您需要将它们置于同一楼层(floor)上,再实现它们在几何方面上的相交。
Snapping works a bit differently with Arch walls than other Arch and Draft objects. If a wall has a baseline object, snapping will anchor to the base object, instead of the wall geometry, allowing to easily align walls by their baseline. If, however, you specifically want to snap to the wall geometry, pressing Ctrl will switch snapping to the wall object.
Second wall snapping perpendicularly to the first one
An Arch Wall object shares the common properties and behaviors of all Arch Components.
Blocks
Component
See Arch Component.
IFC
See Arch Component.
IFC Attributes
See Arch Component.
Wall
getWidths()
method (such as sketches created with the external SketchArch Add-on do). That add-on also provides additional enhancements: a graphical Edit Wall Segment Width tool to enable users to set the width values interactively, and toponaming tolerance if an ArchSketch object is used as the wall's base object (and if the add-on is installed).参见: Arch API 与 FreeCAD Scripting Basics.
Wall = makeWall(baseobj=None, length=None, width=None, height=None, align="Center", face=None, name="Wall")
Wall
object from the given baseobj
, which can be a Draft object, a Sketch, a face, or a solid.
baseobj
is given, you can provide the numerical values for the length
, width
(thickness), and height
.face
can be used to give the index of a face from the underlying object, to build this wall on, instead of using the whole object.align
can be "Center"
, "Left"
or "Right"
.None
if the operation fails.示例:
import FreeCAD, Draft, Arch
p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
Wall1 = Arch.makeWall(baseline, length=None, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()
Wall2 = Arch.makeWall(None, length=2000, width=200, height=1000)
Draft.move(Wall2, FreeCAD.Vector(0, -1000, 0))
FreeCAD.ActiveDocument.recompute()