Arch Axis/zh-cn

建筑轴线

Menu location
None
Workbenches
{{{Workbenches}}}
Default shortcut
None
Introduced in version
-
See also
None

描述

您可以是使用 轴网 工具在当前文档中放置一系列轴线。轴线之间的距离、角度和编号样式均可以自定义。轴线主要起到将对象捕捉到其上的参考作用,但也可以与 建筑轴网一起使用. 轴网也可以作为阵列化地创建参数化的梁、柱等其他建筑构件的参考。 建筑网格也能够用于替代轴网。

相互垂直的轴线构成的轴网

用法

  1. Press the Axis button, or press A then X keys.
  2. Move/rotate the axes system to the desired position.
  3. Enter edit mode by double-clicking the axes system in the Tree View to adjust its settings like number of axes, distances and angles between axes.

Options

Properties

Use as section mark

By setting the Bubble Position property to Arrow left/right or Bar left/right, the axis will display a filled arrow or bar instead of the bubble, so it can be used as a section mark.

Scripting

See also: Arch API and FreeCAD Scripting Basics.

The Axis tool can be used in macros and from the Python console by using the following function:

Axes = makeAxis(num=5, size=1000, name="Axes")

Example:

import Draft, Arch

Axes = Arch.makeAxis(5, 1000)

Axes.ViewObject.LineWidth = 3
Axes.ViewObject.BubbleSize = 200
Axes.ViewObject.FontSize = 150

Axes2 = Arch.makeAxis(6, 500)

Axes2.ViewObject.LineWidth = 2
Axes2.ViewObject.BubbleSize = 200
Axes2.ViewObject.FontSize = 150
Axes2.ViewObject.NumberingStyle = "A,B,C"
FreeCAD.ActiveDocument.recompute()

Axes2.Length = 6000
Draft.rotate(Axes2, -90)
Draft.move(Axes2, FreeCAD.Vector(-1000, 2500, 0))
FreeCAD.ActiveDocument.recompute()