FreeCAD Logo FreeCAD 1.0
  • English Afrikaans Arabic Belarusian Catalan Czech German Greek Spanish Spanish Basque Finnish Filipino French Galician Croatian Hungarian Indonesian Italian Japanese Kabyle Korean Lithuanian Dutch Norwegian Bokmal Polish Portuguese Portuguese Romanian Russian Slovak Slovenian Serbian Swedish Turkish Ukrainian Valencian Vietnamese Chinese Chinese
  • Features
  • Download
  • Blog
  • Documentation
    Documentation index Getting started Users documentation The FreeCAD manual Workbenches documentation Python coding documentation C++ coding documentation Tutorials Frequently asked questions Privacy policy About FreeCAD
  • Contribute
    How to help Sponsor Report a bug Make a pull request Jobs and funding Contribution guidelines Developers handbook Translations
  • Community
    Code of conduct Forum The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Calendar
  • ♥ Donate

Donate

$
SEPA Information
Please set up your SEPA bank transfer to:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Bank agency: BNP Paribas Fortis
Address: Rue de la Station 64, 1360 Perwez, Belgium

While Stripe doesn't support monthly donations, you can still become a sponsor! Simply make a one-time donation equivalent to 12 months of support, and you'll gain access to the corresponding sponsoring tier. It's an easy and flexible way to contribute.

If you are not sure or not able to commit to a regular donation, but still want to help the project, you can do a one-time donation, of any amount.

Choose freely the amount you wish to donate one time only.

You can support FreeCAD by sponsoring it as an individual or organization through various platforms. Sponsorship provides a steady income for developers, allowing the FPA to plan ahead and enabling greater investment in FreeCAD. To encourage sponsorship, we offer different tiers, and unless you choose to remain anonymous, your name or company logo will be featured on our website accordingly.

from 1 USD / 1 EUR per month. You will not have your name displayed here, but you will have helped the project a lot anyway. Together, normal sponsors maintain the project on its feet as much as the bigger sponsors.

from 25 USD / 25 EUR per month. Your name or company name is displayed on this page.

from 100 USD / 100 EUR per month. Your name or company name is displayed on this page, with a link to your website, and a one-line description text.

from 200 USD / 200 EUR per month. Your name or company name and logo displayed on this page, with a link to your website and a custom description text. Companies that have helped FreeCAD early on also appear under Gold sponsors.

Instead of donating each month, you might find it more comfortable to make a one-time donation that, when divided by twelve, would give you right to enter a sponsoring tier. Don't hesitate to do so!

Choose freely the amount you wish to donate each month.

Please inform your forum name or twitter handle as a notein your transfer, or reach to us, so we can give you proper credits!

Arch
THIS COMMAND IS OBSOLETE
It is not available in 1.0 and above.
The BuildingPart object however is not obsolete, the Arch Building and Arch Floor commands are used to create it instead.

Arch BuildingPart

Menu location
Arch → BuildingPart, 3D/BIM → Level
Workbenches
Arch
Default shortcut
None
Introduced in version
0.18
See also
Arch Building, Arch Site

Description

The BuildingPart object can be used in all kinds of situations where different Arch/BIM objects need to be grouped and that group might need to be handled as one object or replicated.

Usage

  1. Optionally, select one or more objects to be included in your new Building Part.
  2. Press the Arch BuildingPart button.

Notes

BuildingParts have a built-in, implicit Arch SectionPlane.

This plane is always parallel to the BuildingPart's base plane, but you can specify the offset between them. So all tools that work with a section plane, such as Draft Shape2DView and TechDraw ArchView also work with BuildingParts.

Options

  • After creating a BuildingPart, you can add more objects to it by dragging and dropping them in the Tree View or by using the Arch Add tool.
  • You can remove objects from a BuildingPart by dragging and dropping them out of the Tree View or by using the Arch Remove tool.
  • By double-clicking the BuildingPart object in the Tree View, the Working Plane will be set to its location, and the BuildingPart will become active, which means that new objects will be added automatically to it. Double-clicking the BuildingPart again will deactivate it and set the working plane back to its previous position (to be available this option needs to be set up as true, in View Property panel - Interaction - Double Click Activates).
  • The BuildingPart can display a mark in the 3D View with a label and level indication.
  • When a BuildingPart is moved/rotated, all its children that either have no DataMove With Host property, or have it turned on, will move/rotate together.
  • Building Parts can be Draft Cloned.
  • Building Parts can take any IFC type. Its IFC Type property determines its use. If you set it to Building Storey it will behave as a level. If you set it to Building it behaves as a building, and if you set it to Element Assembly it behaves as an assembly. Its icon will change to reflect this setting, but other than that it has no other impact in FreeCAD. However, being exported to IFC as one or another type can have an impact in other BIM applications.
  • Building Parts allow to define an Auto-group capture box. Subsequent Draft and Arch objects, or anything else that uses Draft.autogroup(), will be automatically added to that Building Part if they are fully inside the capture box. introduced in 0.20

Properties

See also: Property View.

An Arch BuildingPart object is derived from an App GeoFeature object and inherits all its properties. It also has the following additional properties:

Data

Base

  • DataGroup (LinkList): List of referenced objects.
  • Data (Hidden)_ Group Touched (Bool)

Building Part

  • DataArea (Area): The computed floor area of this object. Area will be counted only for the object's children that are either Arch Spaces or other Arch BuildingPart objects. This allows for instance a parent Arch Building (which is based on Arch BuildingPart) to provide the cumulative area of all its Arch Floor children (also based on Arch BuildingPart), provided the floors contain Arch Spaces.
  • DataHeight (Length): The height of this object, and of its children objects. The children objects could be, for example, Arch Walls. Each wall's height must be set to 0 (zero), so the height property of the BuildingPart propagates to the objects inside of it.
  • DataLevel Offset (Length): The level of the (0,0,0) point of this level. This value is added to the Placement.Base.z attribute of the BuildingPart, to indicate a vertical offset without actually moving the object. The resulting offset is displayed if ViewShow Level is true.
  • Data (Hidden)Materials Table (Map): A MaterialName:SolidIndexesList map that relates material names with solid indexes to be used when referencing this object from other files.
  • DataOnly Solids (Bool): If true, only solids will be collected by this object when referenced from other files.
  • Data (Hidden)Saved Inventor (FileIncluded): This property stores an inventor representation for this object.
  • Data (Hidden)Shape (PartShape): The shape of this object.

Children

  • DataHeight Propagate (Bool): If true, the height value propagates to contained objects. See the DataHeight property for additional conditions that apply.

IFC

  • Data (Hidden)Ifc Data (Map): IFC data.
  • Data (Hidden)Ifc Properties (Map): IFC properties of this object.
  • DataIfc Type (Enumeration): The IFC type of this object.

IFC Attributes

  • DataDescription (String): An optional description for this component
  • DataGlobal Id (String)
  • DataObject Type (String)
  • DataOverall Height (Length)
  • DataOverall Width (Length)
  • DataPartitioning Type (Enumeration)
  • DataPredefined Type (Enumeration)
  • DataTag (String): An optional tag for this component.
  • DataUser Defined Partitioning Type (String)

View

Auto Group

  • ViewAutogroup Autosize (Bool): Automatically set the capture box size from the Building Part contents. introduced in 0.20
  • ViewAutogroup Box (Bool): Turns auto grouping (and the display of the capture box) on/off. introduced in 0.20
  • ViewAutogroup Margin (Length): A margin to use when autosize is turned on. introduced in 0.20
  • ViewAutogroup Size (IntegerList): The capture box for newly created objects expressed as [XMin,YMin,ZMin,XMax,YMax,ZMax]. introduced in 0.20

Building Part

  • View (Hidden)Diffuse Color (ColorList): The individual face colors.
  • ViewDisplay Offset (Placement): A transformation to apply to the level mark.
  • ViewFont Name (Font): The font to be used for texts.
  • ViewFont Size (Length): The font size of texts.
  • ViewLine Width (Float): The line width of this object.
  • ViewOrigin Offset (Bool): If true, when activated, Display offset will affect the origin mark too.
  • ViewOverride Unit (String): An optional unit to express levels.
  • ViewShow Label (Bool): If true, when activated, the object's label is displayed.
  • ViewShow Level (Bool): If true, show the level.
  • ViewShow Unit (Bool): If true, show the unit on the level tag.

Children

  • ViewChildren Line Color (Color): The line color to apply to the children of this Building Part.
  • ViewChildren Line Width (Float): The line width to apply to the children of this Building Part.
  • ViewChildren Override (Bool): If true, the objects contained in this Building Part will adopt these line, color and transparency settings.
  • ViewChildren Shape Color (Color): The shape color to apply to the children of this Building Part.
  • ViewChildren Transparency (Percent): The transparency to apply to the children of this Building Part.

Clip

  • ViewAuto Cut View (Bool): Turn cutting on when activating this level.
  • ViewCut Margin (Length): The distance between the level plane and the cut line.
  • ViewCut View (Bool): Cut the view above this level.

Interactions

  • ViewAuto Working Plane (Bool): If true, the working plane will be kept on Auto mode.
  • ViewDouble Click Activates (Bool): If true, double-clicking this object in the tree activates it.
  • ViewRestore View (Bool): If set, the view stored in this object will be restored on double-click.
  • ViewSave Inventor (Bool): If this is enabled, the inventor representation of this object will be saved in the FreeCAD file, allowing to reference it in other files in lightweight mode.
  • View (Hidden)Saved Inventor (FileIncluded): A slot to save the inventor representation of this object, if enabled.
  • ViewSet Working Plane (Bool): If true, when activated, the working plane will automatically adapt to this Building Part.
  • View (Hidden)View Data (FloatList): Camera position data associated with this object.

Scripting

See also: Arch API and FreeCAD Scripting Basics.

The BuildingPart tool can be used in macros and from the Python console by using the following function:

BuildingPart = makeBuildingPart(objectslist=None)
  • Creates a BuildingPart object from objectslist, 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()

BuildingPart = Arch.makeBuildingPart([Wall1, Wall2])

Floor = Arch.makeFloor([BuildingPart])
Building = Arch.makeBuilding([Floor])
Site = Arch.makeSite(Building)
FreeCAD.ActiveDocument.recompute()


Arch

This page is retrieved from https://wiki.freecad.org/Arch_BuildingPart

Get in touch!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

© The FreeCAD Team. Homepage image credits (top to bottom): ppemawm, r-frank, epileftric, regis, rider_mortagnais, bejant.

This project is supported by: , KiCad Services Corp. and other sponsors

GitHubImprove this page on GitHub