Arch Floor/sv: 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/> |
||
<div class="mw-translate-fuzzy"> |
|||
{{docnav/sv|[[Arch_Rebar|Rebar]]|[[Arch_BuildingPart|Building Part]]|[[Arch_Module|Arch]]|IconL=Arch_Rebar.svg |IconC=Workbench_Arch.svg |IconR=Arch_BuildingPart.svg}} |
{{docnav/sv|[[Arch_Rebar|Rebar]]|[[Arch_BuildingPart|Building Part]]|[[Arch_Module|Arch]]|IconL=Arch_Rebar.svg |IconC=Workbench_Arch.svg |IconR=Arch_BuildingPart.svg}} |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 31: | Line 33: | ||
==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 {{Button|[[Image:Arch Add.svg|16px]] [[Arch Add]]}} tool. |
* 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|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 {{Button|[[Image:Arch Remove.svg|16px]] [[Arch Remove]]}} tool. |
* 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|Arch Remove]]}} tool. |
||
==Properties== |
==Properties== |
||
Line 39: | Line 41: | ||
==Scripting== |
==Scripting== |
||
{{Emphasis|See also:}} [[Arch API]] and [[FreeCAD Scripting Basics]]. |
{{Emphasis|See also:}} [[Arch API|Arch API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
||
The Floor tool can be used in [[macros]] and from the [[Python]] console by using the following function: |
The Floor tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following function: |
||
{{Code|code= |
{{Code|code= |
||
Floor = makeFloor(objectslist=None, baseobj=None, name="Floor") |
Floor = makeFloor(objectslist=None, baseobj=None, name="Floor") |
||
Line 49: | Line 51: | ||
Example: |
Example: |
||
{{Code|code= |
{{Code|code= |
||
import FreeCAD, Draft, Arch |
import FreeCAD, Draft, Arch |
||
Line 67: | Line 70: | ||
FreeCAD.ActiveDocument.recompute() |
FreeCAD.ActiveDocument.recompute() |
||
}} |
}} |
||
<div class="mw-translate-fuzzy"> |
|||
{{docnav/sv|[[Arch_Rebar|Rebar]]|[[Arch_BuildingPart|Building Part]]|[[Arch_Module|Arch]]|IconL=Arch_Rebar.svg |IconC=Workbench_Arch.svg |IconR=Arch_BuildingPart.svg}} |
{{docnav/sv|[[Arch_Rebar|Rebar]]|[[Arch_BuildingPart|Building Part]]|[[Arch_Module|Arch]]|IconL=Arch_Rebar.svg |IconC=Workbench_Arch.svg |IconR=Arch_BuildingPart.svg}} |
||
</div> |
|||
{{Arch Tools navi/sv}} |
{{Arch Tools navi/sv}} |
Revision as of 17:00, 3 February 2020
Arch Floor |
Menyplacering |
---|
Arch → Floor |
Arbetsbänkar |
Arch |
Standard genväg |
F L |
Introducerad i version |
- |
Se även |
Arch Building, Arch BuildingPart, Arch Site |
Beskrivning
Arch Floor är en speciell sorts Arch Cell som har några extra egenskaper speciellt anpassade för att bygga golv. De har bland annat en höjdegenskap, som dess barnobjekt (väggar och strukturer) kan använda för att ställa in sin egen höjd automatiskt
As of version 0.18 and above the Arch Floor is derived entirely from the Arch BuildingPart object, which is a general container to organize a building model not limited to floors or storeys. Older Floor objects can be converted to the new type by right clicking on them and choosing Convert to BuildingPart
.
Usage
- Optionally, select one or more objects to be included in your new floor.
- Invoke the Arch Floor command several ways:
- Pressing the Arch Floor button on the toolbar.
- Using the F then L keyboard keys.
- Using the Arch → Floor entry from the top menu.
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
An Arch Floor object shares all properties from an Arch BuildingPart, with the DataIfc Role set to "Building Storey"
.
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()
- 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
- 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