Arch BuildingPart/es: Difference between revisions

From FreeCAD Documentation
(Created page with "==Propiedades==")
(Updating to match new version of source page)
 
(12 intermediate revisions by 3 users not shown)
Line 3: Line 3:
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{Docnav/es
{{Docnav/es
|[[Arch_Floor|Floor]]
|[[Arch_Floor/es|Suelo]]
|[[Arch_Building|Building]]
|[[Arch_Building/es|Edificio]]
|[[Arch_Workbench/es|Arquitectura]]
|[[Arch_Module|Arch]]
|IconL=Arch_Floor.svg
|IconL=Arch_Floor.svg
|IconC=Workbench_Arch.svg
|IconR=Arch_Building.svg
|IconR=Arch_Building.svg
|IconC=Workbench_Arch.svg
}}
}}
</div>
</div>
Line 14: Line 14:
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand/es
{{GuiCommand/es
|Name=Arch BuildingPart|Name/es=Arch BuildingPart
|Name=Arch BuildingPart
|Name/es=Arquitectura EdificioPieza
|MenuLocation=Arch → BuildingPart
|MenuLocation=Arquitectura → EdificioPieza
|Workbenches=[[Arch Module|Arch]]
|Workbenches=[[Arch_Workbench/es|Arquitectura]]
|Shortcut=
|SeeAlso=[[Arch Building]], [[Arch Floor]]
|Version=0.18
|Version=0.18
|SeeAlso=[[Arch_Building/es|Arquitectura Edificio]], [[Arch_Site/es|Arquitectura Sitio]]
}}
}}
</div>
</div>


<span id="Description"></span>
==Descripción==
==Descripción==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
El objetivo de BuildingPart es reemplazar el [[Arch Floor]] con una versión más capaz que se pueda usar no solo para crear Piso / Storey / Levels, sino también para todo tipo de situaciones en las que se deben agrupar diferentes objetos Arch / BIM y ese grupo podría necesitar ser manejado como un objeto o replicado.
La EdificioPieza reemplaza a las antiguas [[Arch Floor/es|Arquitectura Planta]] y [[Arch Building/es|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.
</div>
</div>


<span id="Usage"></span>
==Utilización==
==Utilización==


# Optionally, select one or more objects to be included in your new Building Part.
# Optionally, select one or more objects to be included in your new Building Part.
# Press the {{Button|[[Image:Arch BuildingPart.svg|16px]] [[Arch BuildingPart|Arch BuildingPart]]}} button.
# Press the {{Button|[[Image:Arch BuildingPart.svg|16px]] [[Arch_BuildingPart|Arch BuildingPart]]}} button.


<span id="Notes"></span>
=== Notas ===
=== Notas ===


BuildingParts have a built-in, implicit [[Arch_SectionPlane|Arch SectionPlane]]. {{Version|0.19}}
BuildingParts have a built-in, implicit [[Arch_SectionPlane|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|Draft Shape2DView]] and [[TechDraw_ArchView|TechDraw ArchView]] also work with BuildingParts.
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|Draft Shape2DView]] and [[TechDraw_ArchView|TechDraw ArchView]] also work with BuildingParts.


<span id="Options"></span>
==Opciones==
==Opciones==


* After creating a BuildingPart, you can add more objects to it by dragging and dropping them in the Tree View or by using the {{Button|[[Image:Arch Add.svg|16px]] [[Arch Add|Arch Add]]}} tool.
* After creating a BuildingPart, you can add more objects to it by dragging 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 BuildingPart by dragging and dropping them out of the Tree View or by using the {{Button|[[Image:Arch Remove.svg|16px]] [[Arch Remove|Arch Remove]]}} tool.
* You can remove objects from a BuildingPart by dragging and dropping them out of the Tree View or by using the {{Button|[[Image:Arch Remove.svg|16px]] [[Arch_Remove|Arch Remove]]}} tool.
* By double-clicking the BuildingPart object in the tree view, the [[Draft SelectPlane|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 (in version 0.19, to be available this option needs to be set up as true, in View Property panel - Interaction - Double Click Activates).
* By double-clicking the BuildingPart object in the tree view, the [[Draft_SelectPlane|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.
* 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 {{PropertyData|Move With Host}} property, or have it turned on, will move/rotate together.
* When a BuildingPart is moved/rotated, all its children that either have no {{PropertyData|Move With Host}} property, or have it turned on, will move/rotate together.
* Building Parts can be [[Draft Clone|Draft Clone]]d.
* Building Parts can be [[Draft Clone|Draft Clone]]d.
* 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 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. {{Version|0.20}}


<span id="Properties"></span>
==Propiedades==
==Propiedades==


See also: [[Property_editor|Property editor]].
=== Data ===
* {{PropertyData|Height}}: The height of this object, and of its children objects. The children objects could be, for example, [[Arch Wall|Arch Walls]]. Each wall's height must be set to {{incode|0}} (zero), so the height property of the BuildingPart propagates to the objects inside of it.
* {{PropertyData|LevelOffset}}: The level of the (0,0,0) point of this level. This value is added to the {{incode|Placement.Base.z}} attribute of the BuildingPart, to indicate a vertical offset without actually moving the object. The resulting offset is displayed if {{PropertyView|Show Level}} is {{TRUE}}.
* {{PropertyData|Area}}: The computed floor area of this floor
* {{PropertyData|IfcType}}: The IFC type of this object
* {{PropertyData|Description}}: An optional description for this component
* {{PropertyData|Tag}}: An optional tag for this component
* {{PropertyData|IfcAttributes}}: Custom IFC properties and attributes


An Arch BuildingPart is derived from an [[App_GeoFeature|App GeoFeature]] object and inherits all its properties. It also has the following additional properties:
=== View ===
* {{PropertyView|LineWidth}}: The line width of this object
* {{PropertyView|OverrideUnit}}: An optional unit to express levels
* {{PropertyView|DisplayOffset}}: A transformation to apply to the level mark
* {{PropertyView|ShowLevel}}: If true, show the level
* {{PropertyView|ShowUnit}}: If true, show the unit on the level tag
* {{PropertyView|SetWorkingPlane}}: If true, when activated, the working plane will automatically adapt to this Building Part
* {{PropertyView|OriginOffset}}: If true, when activated, Display offset will affect the origin mark too
* {{PropertyView|ShowLabel}}: If true, when activated, the object's label is displayed
* {{PropertyView|FontName}}: The font to be used for texts
* {{PropertyView|FontSize}}: The font size of texts
* {{PropertyView|RestoreView}}: If set, the view stored in this object will be restored on double-click
* {{PropertyView|DiffuseColor}}: The individual face colors


===Data===
{{Version|0.19}}

* {{PropertyView|ChildrenOverride}}: If set, the settings below will affect the children of this Building Part
{{TitleProperty|Base}}
* {{PropertyView|ChildrenLineWidth}}: The line width to apply to the children of this Building Part

* {{PropertyView|ChildrenLineColor}}: The line color to apply to the children of this Building Part
* {{PropertyData|Group|LinkList}}: List of referenced objects.
* {{PropertyView|ChildrenShapeColor}}: The shape color to apply to the children of this Building Part
* {{PropertyData|_ Group Touched|Bool|Hidden}}
* {{PropertyView|ChildrenTransparency}}: The transparency to apply to the children of this Building Part

{{TitleProperty|Building Part}}

* {{PropertyData|Area|Area}}: The computed floor area of this floor.
* {{PropertyData|Height|Length}}: The height of this object, and of its children objects. The children objects could be, for example, [[Arch Wall|Arch Walls]]. Each wall's height must be set to {{incode|0}} (zero), so the height property of the BuildingPart propagates to the objects inside of it.
* {{PropertyData|Level Offset|Length}}: The level of the (0,0,0) point of this level. This value is added to the {{incode|Placement.Base.z}} attribute of the BuildingPart, to indicate a vertical offset without actually moving the object. The resulting offset is displayed if {{PropertyView|Show Level}} is {{TRUE}}.
* {{PropertyData|Materials Table|Map|Hidden}}: A MaterialName:SolidIndexesList map that relates material names with solid indexes to be used when referencing this object from other files.
* {{PropertyData|Only Solids|Bool}}: If true, only solids will be collected by this object when referenced from other files.
* {{PropertyData|Saved Inventor|FileIncluded|Hidden}}: This property stores an inventor representation for this object.
* {{PropertyData|Shape|PartShape|Hidden}}: The shape of this object.

{{TitleProperty|Children}}

* {{PropertyData|Height Propagate|Bool}}: If true, the height value propagates to contained objects. See the {{PropertyData|Height}} property for additional conditions that apply.

{{TitleProperty|IFC}}

* {{PropertyData|Ifc Data|Map|Hidden}}: IFC data.
* {{PropertyData|Ifc Properties|Map|Hidden}}: IFC properties of this object.
* {{PropertyData|Ifc Type|Enumeration}}: The IFC type of this object.

{{TitleProperty|IFC Attributes}}

* {{PropertyData|Description|String}}: An optional description for this component
* {{PropertyData|Global Id|String}}
* {{PropertyData|Object Type|String}}
* {{PropertyData|Overall Height|Length}}
* {{PropertyData|Overall Width|Length}}
* {{PropertyData|Partitioning Type|Enumeration}}
* {{PropertyData|Predefined Type|Enumeration}}
* {{PropertyData|Tag|String}}: An optional tag for this component.
* {{PropertyData|User Defined Partitioning Type|String}}

===View===

{{TitleProperty|Auto Group}}

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

{{TitleProperty|Building Part}}

* {{PropertyView|Diffuse Color|ColorList|Hidden}}: The individual face colors.
* {{PropertyView|Display Offset|Placement}}: A transformation to apply to the level mark.
* {{PropertyView|Font Name|Font}}: The font to be used for texts.
* {{PropertyView|Font Size|Length}}: The font size of texts.
* {{PropertyView|Line Width|Float}}: The line width of this object.
* {{PropertyView|Origin Offset|Bool}}: If true, when activated, Display offset will affect the origin mark too.
* {{PropertyView|Override Unit|String}}: An optional unit to express levels.
* {{PropertyView|Show Label|Bool}}: If true, when activated, the object's label is displayed.
* {{PropertyView|Show Level|Bool}}: If true, show the level.
* {{PropertyView|Show Unit|Bool}}: If true, show the unit on the level tag.

{{TitleProperty|Children}}

* {{PropertyView|Children Line Color|Color}}: The line color to apply to the children of this Building Part.
* {{PropertyView|Children Line Width|Float}}: The line width to apply to the children of this Building Part.
* {{PropertyView|Children Override|Bool}}: If true, the objects contained in this Building Part will adopt these line, color and transparency settings.
* {{PropertyView|Children Shape Color|Color}}: The shape color to apply to the children of this Building Part.
* {{PropertyView|Children Transparency|Percent}}: The transparency to apply to the children of this Building Part.

{{TitleProperty|Clip}}

* {{PropertyView|Auto Cut View|Bool}}: Turn cutting on when activating this level.
* {{PropertyView|Cut Margin|Length}}: The distance between the level plane and the cut line.
* {{PropertyView|Cut View|Bool}}: Cut the view above this level.

{{TitleProperty|Interactions}}

* {{PropertyView|Auto Working Plane|Bool}}: If set to True, the working plane will be kept on Auto mode.
* {{PropertyView|Double Click Activates|Bool}}: If True, double-clicking this object in the tree activates it.
* {{PropertyView|Restore View|Bool}}: If set, the view stored in this object will be restored on double-click.
* {{PropertyView|Save 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.
* {{PropertyView|Saved Inventor|FileIncluded|Hidden}}: A slot to save the inventor representation of this object, if enabled.
* {{PropertyView|Set Working Plane|Bool}}: If true, when activated, the working plane will automatically adapt to this Building Part.
* {{PropertyView|View Data|FloatList|Hidden}}: Camera position data associated with this object.


==Scripting==
==Scripting==
{{Emphasis|See also:}} [[Arch API|Arch API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].


{{Emphasis|See also:}} [[Arch_API|Arch API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
The BuildingPart tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following function:

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


{{Code|code=
{{Code|code=
Line 93: Line 159:
* Creates a {{incode|BuildingPart}} object from {{incode|objectslist}}, which is a list of objects.
* Creates a {{incode|BuildingPart}} object from {{incode|objectslist}}, which is a list of objects.


Ejemplo:
Example:
{{Code|code=
{{Code|code=
import FreeCAD, Draft, Arch
import FreeCAD, Draft, Arch
Line 113: Line 179:
FreeCAD.ActiveDocument.recompute()
FreeCAD.ActiveDocument.recompute()
}}
}}



<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{Docnav/es
{{Docnav/es
|[[Arch_Floor|Floor]]
|[[Arch_Floor/es|Suelo]]
|[[Arch_Building|Building]]
|[[Arch_Building/es|Edificio]]
|[[Arch_Workbench/es|Arquitectura]]
|[[Arch_Module|Arch]]
|IconL=Arch_Floor.svg
|IconL=Arch_Floor.svg
|IconR=Arch_Building.svg
|IconC=Workbench_Arch.svg
|IconC=Workbench_Arch.svg
|IconR=Arch_Building.svg
}}
}}
</div>
</div>


{{Arch Tools navi{{#translation:}}}}
{{Arch Tools navi{{#translation:}}}}

{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 09:26, 29 April 2024

Arquitectura EdificioPieza

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

Descripción

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.

Utilización

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

Notas

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.

Opciones

  • 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 DatosMove 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 version 0.20

Propiedades

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:

Data

Base

  • DatosGroup (LinkList): List of referenced objects.
  • Datos (Hidden)_ Group Touched (Bool)

Building Part

  • DatosArea (Area): The computed floor area of this floor.
  • DatosHeight (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.
  • DatosLevel 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 VistaShow Level is true.
  • Datos (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.
  • DatosOnly Solids (Bool): If true, only solids will be collected by this object when referenced from other files.
  • Datos (Hidden)Saved Inventor (FileIncluded): This property stores an inventor representation for this object.
  • Datos (Hidden)Shape (PartShape): The shape of this object.

Children

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

IFC

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

IFC Attributes

  • DatosDescription (String): An optional description for this component
  • DatosGlobal Id (String)
  • DatosObject Type (String)
  • DatosOverall Height (Length)
  • DatosOverall Width (Length)
  • DatosPartitioning Type (Enumeration)
  • DatosPredefined Type (Enumeration)
  • DatosTag (String): An optional tag for this component.
  • DatosUser Defined Partitioning Type (String)

View

Auto Group

Building Part

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

Children

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

Clip

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

Interactions

  • VistaAuto Working Plane (Bool): If set to True, the working plane will be kept on Auto mode.
  • VistaDouble Click Activates (Bool): If True, double-clicking this object in the tree activates it.
  • VistaRestore View (Bool): If set, the view stored in this object will be restored on double-click.
  • VistaSave 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.
  • Vista (Hidden)Saved Inventor (FileIncluded): A slot to save the inventor representation of this object, if enabled.
  • VistaSet Working Plane (Bool): If true, when activated, the working plane will automatically adapt to this Building Part.
  • Vista (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.

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()