Arch Floor/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{docnav|[[Arch_Rebar|Rebar]]|[[Arch_BuildingPart|Building Part]]|[[Arch_Module|Arch]]}} |
|||
{{GuiCommand|Name=Arch Floor|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch → Floor|Shortcut=F L|SeeAlso=[[Arch Building]], [[Arch Site]]}} |
|||
{{GuiCommand |
|||
|Name=Arch Floor |
|||
|MenuLocation=Arch → Floor |
|||
|Workbenches=[[Arch Module|Arch]] |
|||
|Shortcut=F L |
|||
|SeeAlso=[[Arch Building]], [[Arch BuildingPart]] |
|||
⚫ | |||
==Description== |
==Description== |
||
Line 8: | Line 15: | ||
==How to use== |
==How to use== |
||
# Optionally, select one or more objects to be included in your new floor |
# Optionally, select one or more objects to be included in your new floor. |
||
# Press the {{ |
# Press the {{Button|[[Image:Arch Floor.svg|16px]] [[Arch Floor]]}} button or press the {{KEY|F}} then {{KEY|L}} keys. |
||
==Options== |
==Options== |
||
* After creating a floor, you can add more objects to it by drag and dropping them in the Tree View or by using the [[Image:Arch Add. |
* After creating a floor, you can add more objects to it by drag and dropping them in the Tree View or by using the {{Button|[[Image:Arch Add.svg|16px]] [[Arch Add]]}} tool. |
||
* You can remove objects from a floor by drag and dropping them out of it the Tree View or by using the [[Image:Arch Remove. |
* You can remove objects from a floor by drag and dropping them out of it the Tree View or by using the {{Button|[[Image:Arch Remove.svg|16px]] [[Arch Remove]]}} tool. |
||
==Properties== |
==Properties== |
||
Line 21: | Line 28: | ||
==Scripting== |
==Scripting== |
||
{{Emphasis|See also:}} [[Arch API]] and [[FreeCAD Scripting Basics]]. |
|||
The Floor tool can |
The Floor tool can be used in [[macros]] and from the [[Python]] console by using the following function: |
||
{{Code|code= |
{{Code|code= |
||
Floor = makeFloor(objectslist=None, baseobj=None, name="Floor") |
|||
}} |
}} |
||
creates a floor including the objects from the given list. |
|||
* Creates a {{incode|Floor}} object from {{incode|objectslist}}, which is a list of objects. |
|||
Example: |
Example: |
||
{{Code|code= |
{{Code|code= |
||
import Arch |
import FreeCAD, Draft, Arch |
||
⚫ | |||
⚫ | |||
p1 = FreeCAD.Vector(0, 0, 0) |
|||
[[Category:Arch]] |
|||
p2 = FreeCAD.Vector(2000, 0, 0) |
|||
baseline = Draft.makeLine(p1, p2) |
|||
baseline2 = Draft.makeLine(p1, -1*p2) |
|||
Wall1 = Arch.makeWall(baseline, length=None, width=150, height=2000) |
|||
Wall2 = Arch.makeWall(baseline2, length=None, width=150, height=1800) |
|||
FreeCAD.ActiveDocument.recompute() |
|||
⚫ | |||
Building = Arch.makeBuilding([Floor]) |
|||
Site = Arch.makeSite(Building) |
|||
FreeCAD.ActiveDocument.recompute() |
|||
}} |
|||
{{docnav|[[Arch_Rebar|Rebar]]|[[Arch_BuildingPart|Building Part]]|[[Arch_Module|Arch]]}} |
|||
{{Arch Tools navi}} |
|||
{{Userdocnavi}} |
Revision as of 17:36, 30 January 2019
Arch Floor |
Menu location |
---|
Arch → Floor |
Workbenches |
Arch |
Default shortcut |
F L |
Introduced in version |
- |
See also |
Arch Building, Arch BuildingPart |
Description
The Arch Floor is a special type of FreeCAD group object that has a couple of additional properties particularly suited for building floors. Particularly, they have a height property, that its children objects (walls and structures) can use to set their own height automatically. They are mostly used to organize your model.
How to use
- Optionally, select one or more objects to be included in your new floor.
- Press the Arch Floor button or press the F then L keys.
Options
- After creating a floor, you can add more objects to it by drag and dropping them in the Tree View or by using the Arch Add tool.
- You can remove objects from a floor by drag and dropping them out of it the Tree View or by using the Arch Remove tool.
Properties
- DataHeight: The height of the floor, to be used by its child objects
Scripting
See also: Arch API and FreeCAD Scripting Basics.
The Floor tool can be used in macros and from the Python console by using the following function:
Floor = makeFloor(objectslist=None, baseobj=None, name="Floor")
- Creates a
Floor
object fromobjectslist
, which is a list of objects.
Example:
import FreeCAD, Draft, Arch
p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
baseline2 = Draft.makeLine(p1, -1*p2)
Wall1 = Arch.makeWall(baseline, length=None, width=150, height=2000)
Wall2 = Arch.makeWall(baseline2, length=None, width=150, height=1800)
FreeCAD.ActiveDocument.recompute()
Floor = Arch.makeFloor([Wall1, Wall2])
Building = Arch.makeBuilding([Floor])
Site = Arch.makeSite(Building)
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, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub