|
Ubicación en el Menú |
---|
Arquitectura → EdificioPieza |
Entornos de trabajo |
Arquitectura |
Atajo de teclado por defecto |
Ninguno |
Introducido en versión |
0.18 |
Ver también |
Arquitectura Edificio, Arquitectura Sitio |
La EdificioPieza reemplaza a las antiguas Arquitectura Planta y Arquitectura Edificio con una versión más capaz que puede ser usada no sólo para crear Suelo/Piso/Niveles sino también todo tipo de situaciones donde diferentes objetos de Arquitectura/BIM necesitan ser agrupados y ese grupo puede necesitar ser manejado como un solo objeto o replicado.
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.
See also: Property editor.
An Arch BuildingPart is derived from an App GeoFeature object and inherits all its properties. It also has the following additional properties:
Base
LinkList
): List of referenced objects.Bool
)Building Part
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.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.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 VistaShow Level is true
.Map
): A MaterialName:SolidIndexesList map that relates material names with solid indexes to be used when referencing this object from other files.Bool
): If true, only solids will be collected by this object when referenced from other files.FileIncluded
): This property stores an inventor representation for this object.PartShape
): The shape of this object.Children
Bool
): If true, the height value propagates to contained objects. See the DatosHeight property for additional conditions that apply.IFC
Map
): IFC data.Map
): IFC properties of this object.Enumeration
): The IFC type of this object.IFC Attributes
String
): An optional description for this componentString
)String
)Length
)Length
)Enumeration
)Enumeration
)String
): An optional tag for this component.String
)Auto Group
Bool
): Automatically set the capture box size from the Building Part contents. introduced in 0.20Bool
): Turns auto grouping (and the display of the capture box) on/off. introduced in 0.20Length
): A margin to use when autosize is turned on. introduced in 0.20IntegerList
): The capture box for newly created objects expressed as [XMin,YMin,ZMin,XMax,YMax,ZMax]. introduced in 0.20Building Part
ColorList
): The individual face colors.Placement
): A transformation to apply to the level mark.Font
): The font to be used for texts.Length
): The font size of texts.Float
): The line width of this object.Bool
): If true, when activated, Display offset will affect the origin mark too.String
): An optional unit to express levels.Bool
): If true, when activated, the object's label is displayed.Bool
): If true, show the level.Bool
): If true, show the unit on the level tag.Children
Color
): The line color to apply to the children of this Building Part.Float
): The line width to apply to the children of this Building Part.Bool
): If true, the objects contained in this Building Part will adopt these line, color and transparency settings.Color
): The shape color to apply to the children of this Building Part.Percent
): The transparency to apply to the children of this Building Part.Clip
Bool
): Turn cutting on when activating this level.Length
): The distance between the level plane and the cut line.Bool
): Cut the view above this level.Interactions
Bool
): If set to True, the working plane will be kept on Auto mode.Bool
): If True, double-clicking this object in the tree activates it.Bool
): If set, the view stored in this object will be restored on double-click.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.FileIncluded
): A slot to save the inventor representation of this object, if enabled.Bool
): If true, when activated, the working plane will automatically adapt to this Building Part.FloatList
): Camera position data associated with this object.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)
BuildingPart
object from objectslist
, which is a list of objects.Ejemplo:
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()