Arch Add/zh-cn: Difference between revisions
(Updating to match new version of source page) |
|||
(35 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{docnav|[[Arch_CutPlane|Cut with plane]]|[[Arch_Remove|Remove component]]|[[Arch_Module|Arch]]|IconL=Arch_CutPlane.svg |IconC=Workbench_Arch.svg |IconR=Arch_Remove.svg}} |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
{{Docnav/zh-cn |
|||
|Name=Arch Add |
|||
|[[Arch_CutPlane|Cut with plane]] |
|||
|[[Arch_Remove|Remove component]] |
|||
|[[Arch_Workbench|Arch]] |
|||
|IconL=Arch_CutPlane.svg |
|||
|IconC=Workbench_Arch.svg |
|||
|IconR=Arch_Remove.svg |
|||
}} |
|||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
|Name=Arch Add|Name/zh-cn=建筑添加工具 |
|||
|MenuLocation=Arch → Add |
|MenuLocation=Arch → Add |
||
|Workbenches=[[ |
|Workbenches=[[Arch_Workbench|Arch]] |
||
|SeeAlso=[[Arch Remove|Arch Remove]] |
|SeeAlso=[[Arch Remove|Arch Remove]] |
||
}} |
}} |
||
</div> |
|||
<span id="Description"></span> |
|||
==描述== |
==描述== |
||
<div class="mw-translate-fuzzy"> |
|||
借助本加 |
借助本建筑添加工具您将能够实现以下4种操作: |
||
* 令具有[[Part Module|形状(shape)]]的对象与[[Arch Wall|墙体(wall)]]或[[Arch Structure|结构构件(structure)]]等建筑构件相加。这会令那些对象成为建筑构件的一部分,即令您在不改动宽高等属性的情况下,方便地修改其形状。 |
|||
* |
* 将具有[[Part_Workbench|形状(shape)]]的对象添加至[[Arch Wall|墙体(wall)]]或[[Arch Structure|结构构件(structure)]]等建筑构件。这会令那些对象成为建筑构件的一部分,即令您在不改动宽高等属性的情况下,方便地修改其形状。 |
||
* |
* 将[[Arch Wall|墙体(wall)]]或[[Arch Structure|结构构件(structure)]]等建筑构件添加至基于组织的[[Arch Floor|楼层(floor)]]等建筑对象。 |
||
* 将[[Arch Axis|建筑坐标系(axis system)]]添加至 [[Arch Structure|结构构件(structural object)]]。 |
|||
* |
* 将对象添加至[[Arch SectionPlane|剖面(section plane)]]。 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
The counterpart of this tool is the [[Arch Remove]] tool. |
|||
[[Arch Remove|建筑移除]]工具与本工具功能相反。 |
|||
</div> |
|||
[[Image:Arch Add example.jpg|640px]] |
[[Image:Arch Add example.jpg|640px]] |
||
{{Caption|将立方体添加至墙体,从而融为一体。}} |
|||
{{Caption|A box added to a wall as a component.}} |
|||
<span id="Usage"></span> |
|||
==How to use== |
|||
<div class="mw-translate-fuzzy"> |
|||
==如何使用== |
|||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
# Select the objects to be added together. The last object selected will be the host Arch object. |
|||
# 先选择待添加的(若干)对象。最后选择主建筑对象。 |
|||
# |
# 按{{Button|[[Image:Arch Add.svg|16px]] [[Arch Add|Add]]}}按钮。 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
==Scripting== |
|||
==脚本== |
|||
{{Emphasis| |
{{Emphasis|参阅:}} [[Arch API]] 与 [[FreeCAD Scripting Basics]]。 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
The Add tool can be used in [[macros]] and from the [[Python]] console by using the following function: |
|||
借助下列函数即可在[[macros|宏]]与[[Python]]控制台中使用添加工具: |
|||
⚫ | |||
</div> |
|||
⚫ | |||
addComponents(objectsList, host) |
addComponents(objectsList, host) |
||
}} |
}} |
||
<div class="mw-translate-fuzzy"> |
|||
* Adds the given objects in {{incode|objectsList}} to the given {{incode|host}} object. |
|||
* 将{{incode|objectsList}}中的对象添加至{{incode|host}}对象。 |
|||
** {{incode|objectsList}}可以是单个对象或一组对象。 |
|||
</div> |
|||
示例: |
|||
Example: |
|||
{{Code|code= |
{{Code|code= |
||
import FreeCAD, Arch, Draft, Part |
import FreeCAD, Arch, Draft, Part |
||
Line 58: | Line 87: | ||
FreeCAD.ActiveDocument.recompute() |
FreeCAD.ActiveDocument.recompute() |
||
}} |
}} |
||
{{docnav|[[Arch_CutPlane|Cut with plane]]|[[Arch_Remove|Remove component]]|[[Arch_Module|Arch]]|IconL=Arch_CutPlane.svg |IconC=Workbench_Arch.svg |IconR=Arch_Remove.svg}} |
|||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
{{Docnav/zh-cn |
|||
|[[Arch_CutPlane|Cut with plane]] |
|||
|[[Arch_Remove|Remove component]] |
|||
|[[Arch_Workbench|Arch]] |
|||
|IconL=Arch_CutPlane.svg |
|||
|IconC=Workbench_Arch.svg |
|||
|IconR=Arch_Remove.svg |
|||
}} |
|||
</div> |
|||
⚫ | |||
⚫ |
Latest revision as of 14:33, 8 January 2024
建筑添加工具 |
菜单位置 |
---|
Arch → Add |
所属工作台 |
Arch |
默认快捷键 |
沒有 |
版本介紹 |
- |
参阅 |
Arch Remove |
描述
借助本建筑添加工具您将能够实现以下4种操作:
- 将具有形状(shape)的对象添加至墙体(wall)或结构构件(structure)等建筑构件。这会令那些对象成为建筑构件的一部分,即令您在不改动宽高等属性的情况下,方便地修改其形状。
- 将墙体(wall)或结构构件(structure)等建筑构件添加至基于组织的楼层(floor)等建筑对象。
- 将建筑坐标系(axis system)添加至 结构构件(structural object)。
- 将对象添加至剖面(section plane)。
建筑移除工具与本工具功能相反。
将立方体添加至墙体,从而融为一体。
如何使用
- 先选择待添加的(若干)对象。最后选择主建筑对象。
- 按 Add按钮。
脚本
参阅: Arch API 与 FreeCAD Scripting Basics。
addComponents(objectsList, host)
- 将
objectsList
中的对象添加至host
对象。objectsList
可以是单个对象或一组对象。
示例:
import FreeCAD, Arch, Draft, Part
p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 2000, 0)
Line = Draft.makeWire([p1, p2])
Wall = Arch.makeWall(Line, width=150, height=2000)
p3 = FreeCAD.Vector(0, 2000, 0)
p4 = FreeCAD.Vector(3000, 0, 0)
Line2 = Draft.makeWire([p3, p4])
Wall2 = Arch.makeWall(Line2, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()
Arch.addComponents(Wall2, Wall)
FreeCAD.ActiveDocument.recompute()
Arch
- Elements: Wall, Structure, Curtain Wall, Window, Roof, Space, Stairs, Equipment, Frame, Fence, Truss, Profile, Pipe, Pipe Connector
- Reinforcements: Straight Rebar, U-Shape Rebar, L-Shape Rebar, Stirrup, Bent-Shape Rebar, Helical Rebar, Column Reinforcement, Beam Reinforcement, Slab Reinforcement, Footing Reinforcement, Custom Rebar
- Panels: Panel, Panel Cut, Panel Sheet, Nest
- Materials: Material, Multi-Material
- Organization: Building Part, Project, Site, Building, Level, External reference, Section Plane, Schedule
- Axes: Axis, Axes system, Grid
- Modification: Cut with plane, Add component, Remove component, Survey
- Utilities: Component, Clone component, Split Mesh, Mesh to Shape, Select non-manifold meshes, Remove Shape from Arch, Close Holes, Merge Walls, Check, Toggle IFC Brep flag, 3 Views from mesh, Create IFC spreadsheet, Toggle Subcomponents
- Additional: Preferences, Import Export Preferences (IFC, DAE, OBJ, JSON, 3DS, SHP), IfcOpenShell, IfcPlusPlus, Arch API
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub