Arch Remove/zh-cn: Difference between revisions
(Created page with "移除工具允许您执行两种操作: * 从建筑对象中移除一个子构件,例如像建筑添加工具示例中那样,将添加至墙体的立方体...") |
No edit summary |
||
Line 13: | Line 13: | ||
移除工具允许您执行两种操作: |
移除工具允许您执行两种操作: |
||
* 从建筑对象中移除一个子构件,例如像[[Arch Add|建筑添加工具]]示例中那样,将添加至墙体的立方体移除掉。 |
* 从建筑对象中移除一个子构件,例如像[[Arch Add|建筑添加工具]]示例中那样,将添加至墙体的立方体移除掉。 |
||
* 从如[[Arch Wall|墙体(wall)]] |
* 从如[[Arch Wall|墙体(wall)]]或[[Arch Structure|结构构件(structure)]]等建筑构件中去掉具有[[Part Module|形状(shape)]]的对象。 |
||
[[Arch Add|建筑添加]]工具与本工具功能相反。 |
[[Arch Add|建筑添加]]工具与本工具功能相反。 |
Revision as of 17:24, 17 June 2019
Arch Remove |
Menu location |
---|
Arch → Remove |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
Arch Add |
描述
移除工具允许您执行两种操作:
- 从建筑对象中移除一个子构件,例如像建筑添加工具示例中那样,将添加至墙体的立方体移除掉。
- 从如墙体(wall)或结构构件(structure)等建筑构件中去掉具有形状(shape)的对象。
建筑添加工具与本工具功能相反。
从墙体中去掉一个立方体,于是便留下了一个洞。
如何使用
- 选中建筑对象中的某个子构件。
- 按 Remove按钮。
或者
- 先选择待移除的(若干)对象,最后选择主建筑对象(也就是要从中去掉前面所选的对象)。
- 按 Remove按钮。
脚本
参阅: Arch API 与 FreeCAD Scripting Basics。
通过下列函数就可以在macros与Python控制台中使用移除工具:
removeComponents(objectsList, host=None)
- 从父对象中去掉
objectsList
里的诸对象。 - 如果指定了
host
对象,此函数将试图从host
中去掉与objectsList
里诸对象的交集。
示例:
import FreeCAD, Draft, Arch
Line = Draft.makeWire([FreeCAD.Vector(0, 0, 0),FreeCAD.Vector(2000, 2000, 0)])
Wall = Arch.makeWall(Line, width=150, height=3000)
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 900
Box.Width = 450
Box.Height = 2000
FreeCAD.ActiveDocument.recompute()
Draft.rotate(Box, 45)
Draft.move(Box, FreeCAD.Vector(1000, 700, 0))
Arch.removeComponents(Box, 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