Arch Add: Difference between revisions
m ((Vertical Docnav)) |
(Marked this version for translation) |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<translate> |
<translate> |
||
<!--T:14--> |
<!--T:14--> |
||
{{ |
{{Docnav |
||
|[[Arch_CutPlane| |
|[[Arch_CutPlane|CutPlane]] |
||
|[[Arch_Remove|Remove |
|[[Arch_Remove|Remove]] |
||
|[[ |
|[[Arch_Workbench|Arch]] |
||
|IconL=Arch_CutPlane.svg |
|IconL=Arch_CutPlane.svg |
||
⚫ | |||
|IconR=Arch_Remove.svg |
|IconR=Arch_Remove.svg |
||
⚫ | |||
}} |
}} |
||
Line 14: | Line 15: | ||
{{GuiCommand |
{{GuiCommand |
||
|Name=Arch Add |
|Name=Arch Add |
||
|MenuLocation=Arch → Add |
|MenuLocation=Arch → Add component |
||
|Workbenches=[[ |
|Workbenches=[[Arch_Workbench|Arch]] |
||
|SeeAlso=[[ |
|SeeAlso=[[Arch_Remove|Arch Remove]] |
||
}} |
}} |
||
Line 23: | Line 24: | ||
<!--T:2--> |
<!--T:2--> |
||
The Add tool allows you to do 4 kinds of operations: |
The Add tool allows you to do 4 kinds of operations: |
||
* Add [[ |
* Add [[Part_Workbench|shape]]-based objects to an Arch component, such as a {{KEY|[[Image:Arch_Wall.svg|16px]] [[Arch_Wall|wall]]}} or {{KEY|[[Image:Arch_Structure.svg|16px]] [[Arch_Structure|structure]]}}. These objects make then part of the Arch component, and allow you to modify its shape but keeping its base properties such as width and height |
||
* Add Arch components, such as a {{KEY|[[Image:Arch_Wall.svg|16px]] [[Arch Wall|Arch Walls]]}} or {{KEY|[[Image:Arch_Structure.svg|16px]] [[Arch Structure|Arch Structures]]}}, to a group-based arch object such as {{KEY|[[Image:Arch_Floor.svg|16px]] [[Arch Floor|Arch Floors]]}}. |
* Add Arch components, such as a {{KEY|[[Image:Arch_Wall.svg|16px]] [[Arch Wall|Arch Walls]]}} or {{KEY|[[Image:Arch_Structure.svg|16px]] [[Arch Structure|Arch Structures]]}}, to a group-based arch object such as {{KEY|[[Image:Arch_Floor.svg|16px]] [[Arch Floor|Arch Floors]]}}. |
||
* Add {{KEY|[[Image:Arch_Axis.svg|16px]] [[Arch Axis|Axis systems]]}} to {{KEY|[[Image:Arch_Structure.svg|16px]] [[Arch Structure|structural objects]]}} |
* Add {{KEY|[[Image:Arch_Axis.svg|16px]] [[Arch Axis|Axis systems]]}} to {{KEY|[[Image:Arch_Structure.svg|16px]] [[Arch Structure|structural objects]]}} |
||
Line 37: | Line 38: | ||
{{Caption|A box added to a wall as a component.}} |
{{Caption|A box added to a wall as a component.}} |
||
== |
==Usage== <!--T:4--> |
||
<!--T:5--> |
<!--T:5--> |
||
Line 43: | Line 44: | ||
# Press the {{Button|[[Image:Arch Add.svg|16px]]}} button, or use {{KEY|Arch}} → {{KEY|[[Image:Arch Add.svg|16px]] [[Arch Add|Add]]}} from the top menu. |
# Press the {{Button|[[Image:Arch Add.svg|16px]]}} button, or use {{KEY|Arch}} → {{KEY|[[Image:Arch Add.svg|16px]] [[Arch Add|Add]]}} from the top menu. |
||
<!--T:6--> |
|||
==Scripting== |
|||
{{Emphasis|See also:}} [[Arch API]] and [[FreeCAD Scripting Basics]]. |
{{Emphasis|See also:}} [[Arch_API|Arch API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
||
<!--T:7--> |
<!--T:7--> |
||
The Add tool can be used in [[macros]] and from the [[Python]] console by using the following function: |
The Add tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following function: |
||
</translate> |
</translate> |
||
{{Code|code= |
:{{Code|code= |
||
addComponents(objectsList, host) |
addComponents(objectsList, host) |
||
}} |
}} |
||
Line 55: | Line 57: | ||
<!--T:8--> |
<!--T:8--> |
||
: The above code snippet adds the given objects in {{incode|objectsList}} to the given {{incode|host}} object. |
|||
: '''Note:''' {{incode|objectsList}} can be a single object or a list of objects. |
|||
<!--T:9--> |
<!--T:9--> |
||
Example: |
Example: |
||
</translate> |
</translate> |
||
{{Code|code= |
{{Code|code= |
||
Line 81: | Line 84: | ||
}} |
}} |
||
<translate> |
<translate> |
||
<!--T:15--> |
<!--T:15--> |
||
{{ |
{{Docnav |
||
|[[Arch_CutPlane| |
|[[Arch_CutPlane|CutPlane]] |
||
|[[Arch_Remove|Remove |
|[[Arch_Remove|Remove]] |
||
|[[ |
|[[Arch_Workbench|Arch]] |
||
|IconL=Arch_CutPlane.svg |
|IconL=Arch_CutPlane.svg |
||
⚫ | |||
|IconR=Arch_Remove.svg |
|IconR=Arch_Remove.svg |
||
⚫ | |||
}} |
}} |
||
<!--T:16--> |
|||
⚫ | |||
<!--T:17--> |
|||
⚫ | |||
</translate> |
</translate> |
||
⚫ | |||
⚫ |
Latest revision as of 14:32, 8 January 2024
Arch Add |
Menu location |
---|
Arch → Add component |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
Arch Remove |
Description
The Add tool allows you to do 4 kinds of operations:
- Add shape-based objects to an Arch component, such as a wall or structure. These objects make then part of the Arch component, and allow you to modify its shape but keeping its base properties such as width and height
- Add Arch components, such as a Arch Walls or Arch Structures, to a group-based arch object such as Arch Floors.
- Add Axis systems to structural objects
- Add objects to section planes
The counterpart of this tool is the Arch Remove tool.
A box added to a wall as a component.
Usage
- Select the objects to be added together. The last object selected will be the host Arch object.
- Press the button, or use Arch → Add from the top menu.
Scripting
See also: Arch API and FreeCAD Scripting Basics.
The Add tool can be used in macros and from the Python console by using the following function:
addComponents(objectsList, host)
- The above code snippet adds the given objects in
objectsList
to the givenhost
object. - Note:
objectsList
can be a single object or a list of objects.
Example:
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