Arch BuildingPart/it: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 26: Line 26:
==Descrizione==
==Descrizione==


<div class="mw-translate-fuzzy">
Parti di edificio sostituisce i vecchi [[Arch Floor/it|Piano]] e [[Arch Building/it|Edificio]] di Arch con una versione più capace che può essere utilizzata non solo per creare Piani o Livelli, ma anche tutti i tipi di situazioni in cui è necessario raggruppare oggetti Arch o BIM diversi e quel gruppo può aver bisogno di essere gestito come un oggetto o replicato.
Parti di edificio sostituisce i vecchi [[Arch Floor/it|Piano]] e [[Arch Building/it|Edificio]] di Arch con una versione più capace che può essere utilizzata non solo per creare Piani o Livelli, ma anche tutti i tipi di situazioni in cui è necessario raggruppare oggetti Arch o BIM diversi e quel gruppo può aver bisogno di essere gestito come un oggetto o replicato.
</div>


==Utilizzo==
==Utilizzo==


<div class="mw-translate-fuzzy">
# Facoltativamente, selezionare uno o più oggetti da includere nella nuova Parte dell'edificio.
# Facoltativamente, selezionare uno o più oggetti da includere nella nuova Parte dell'edificio.
# Premere il pulsante {{Button|[[Image:Arch BuildingPart.svg|16px]] [[Arch BuildingPart/it|Parte di edificio]]}}.
# Premere il pulsante {{Button|[[Image:Arch BuildingPart.svg|16px]] [[Arch BuildingPart/it|Parte di edificio]]}}.
</div>


=== Note ===
=== Note ===
Line 62: Line 66:


* {{PropertyData|Group|LinkList}}: List of referenced objects.
* {{PropertyData|Group|LinkList}}: List of referenced objects.

* {{PropertyData|_ Group Touched|Bool|Hidden}}
* {{PropertyData|_ Group Touched|Bool|Hidden}}


Line 68: Line 71:


* {{PropertyData|Area|Area}}: The computed floor area of this floor.
* {{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|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|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|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|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|Saved Inventor|FileIncluded|Hidden}}: This property stores an inventor representation for this object.

* {{PropertyData|Shape|PartShape|Hidden}}: The shape of this object.
* {{PropertyData|Shape|PartShape|Hidden}}: The shape of this object.


Line 88: Line 85:


* {{PropertyData|Ifc Data|Map|Hidden}}: IFC data.
* {{PropertyData|Ifc Data|Map|Hidden}}: IFC data.

* {{PropertyData|Ifc Properties|Map|Hidden}}: IFC properties of this object.
* {{PropertyData|Ifc Properties|Map|Hidden}}: IFC properties of this object.

* {{PropertyData|Ifc Type|Enumeration}}: The IFC type of this object.
* {{PropertyData|Ifc Type|Enumeration}}: The IFC type of this object.


Line 96: Line 91:


* {{PropertyData|Description|String}}: An optional description for this component
* {{PropertyData|Description|String}}: An optional description for this component

* {{PropertyData|Global Id|String}}
* {{PropertyData|Global Id|String}}

* {{PropertyData|Object Type|String}}
* {{PropertyData|Object Type|String}}

* {{PropertyData|Overall Height|Length}}
* {{PropertyData|Overall Height|Length}}

* {{PropertyData|Overall Width|Length}}
* {{PropertyData|Overall Width|Length}}

* {{PropertyData|Partitioning Type|Enumeration}}
* {{PropertyData|Partitioning Type|Enumeration}}

* {{PropertyData|Predefined Type|Enumeration}}
* {{PropertyData|Predefined Type|Enumeration}}

* {{PropertyData|Tag|String}}: An optional tag for this component.
* {{PropertyData|Tag|String}}: An optional tag for this component.

* {{PropertyData|User Defined Partitioning Type|String}}
* {{PropertyData|User Defined Partitioning Type|String}}


Line 118: Line 105:


* {{PropertyView|Autogroup Autosize|Bool}}: Automatically set the capture box size from the Building Part contents. {{Version|0.20}}
* {{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 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 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}}
* {{PropertyView|Autogroup Size|IntegerList}}: The capture box for newly created objects expressed as [XMin,YMin,ZMin,XMax,YMax,ZMax]. {{Version|0.20}}


Line 128: Line 112:


* {{PropertyView|Diffuse Color|ColorList|Hidden}}: The individual face colors.
* {{PropertyView|Diffuse Color|ColorList|Hidden}}: The individual face colors.

* {{PropertyView|Display Offset|Placement}}: A transformation to apply to the level mark.
* {{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 Name|Font}}: The font to be used for texts.

* {{PropertyView|Font Size|Length}}: The font size of texts.
* {{PropertyView|Font Size|Length}}: The font size of texts.

* {{PropertyView|Line Width|Float}}: The line width of this object.
* {{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|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|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 Label|Bool}}: If true, when activated, the object's label is displayed.

* {{PropertyView|Show Level|Bool}}: If true, show the level.
* {{PropertyView|Show Level|Bool}}: If true, show the level.

* {{PropertyView|Show Unit|Bool}}: If true, show the unit on the level tag.
* {{PropertyView|Show Unit|Bool}}: If true, show the unit on the level tag.


Line 150: Line 125:


* {{PropertyView|Children Line Color|Color}}: The line color to apply to the children of this Building Part.
* {{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 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 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 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.
* {{PropertyView|Children Transparency|Percent}}: The transparency to apply to the children of this Building Part.


Line 162: Line 133:


* {{PropertyView|Auto Cut View|Bool}}: Turn cutting on when activating this level.
* {{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 Margin|Length}}: The distance between the level plane and the cut line.

* {{PropertyView|Cut View|Bool}}: Cut the view above this level.
* {{PropertyView|Cut View|Bool}}: Cut the view above this level.


Line 170: Line 139:


* {{PropertyView|Auto Working Plane|Bool}}: If set to True, the working plane will be kept on Auto mode.
* {{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|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|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|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|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|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.
* {{PropertyView|View Data|FloatList|Hidden}}: Camera position data associated with this object.


Line 190: Line 153:
</div>
</div>


<div class="mw-translate-fuzzy">
Lo strumento Parte di edificio può essere utilizzato nelle [[macros/it|macro]] e dalla console [[Python/it|Python]] tramite la seguente funzione:
Lo strumento Parte di edificio può essere utilizzato nelle [[macros/it|macro]] e dalla console [[Python/it|Python]] tramite la seguente funzione:
</div>


{{Code|code=
{{Code|code=

Revision as of 09:15, 20 October 2021

Parte di edificio

Posizione nel menu
Arch → Parte di edificio
Ambiente
Arch
Avvio veloce
Nessuno
Introdotto nella versione
0.18
Vedere anche
Edificio, Sito

Descrizione

Parti di edificio sostituisce i vecchi Piano e Edificio di Arch con una versione più capace che può essere utilizzata non solo per creare Piani o Livelli, ma anche tutti i tipi di situazioni in cui è necessario raggruppare oggetti Arch o BIM diversi e quel gruppo può aver bisogno di essere gestito come un oggetto o replicato.

Utilizzo

  1. Facoltativamente, selezionare uno o più oggetti da includere nella nuova Parte dell'edificio.
  2. Premere il pulsante Parte di edificio.

Note

Parte di edificio incorpora implicitamente un Piano di sezione. disponibile dalla versione 0.19

Questo piano di sezione è sempre parallelo al piano di base di Parte di edificio, ma è possibile specificare l'offset tra di loro. Quindi tutti gli strumenti che funzionano con un piano di sezione, come Vista profilo 2D di Draft e Vista di Arch di TechDraw funzionano anche con Parte di edificio.

Opzioni

  • Dopo aver creato una Parte di edificio, è possibile aggiungere più oggetti trascinandoli nella Vista ad albero o usando lo strumento Aggiungi componente.
  • Per rimuovere oggetti da una Parte di edificio trascinarli nella vista ad albero o usare lo strumento Rimuovi componente.
  • Facendo doppio clic sull'oggetto Parte di edificio nella vista ad albero, il Piano di lavoro viene impostato sulla sua posizione e la Parte di edificio diventa attiva, il che significa che i nuovi oggetti vengono aggiunti automaticamente ad esso. Facendo nuovamente doppio clic su Parte di edificio, essa si disattiva e si imposta il piano di lavoro nella posizione precedente.
  • Parte di edificio può visualizzare un segno nella vista 3D con una etichetta e l'indicazione del livello.
  • Quando un oggetto Parte di edificio viene spostato o ruotato, tutti i suoi figli che non hanno alcuna proprietà DatiMove With Host o che hanno questa proprietà attivata, si spostano o ruotano insieme.
  • Parte di edificio può essere clonato
  • Parte di edificio può assumere qualsiasi tipo di IFC. La sua proprietà IFC Type ne determina l'utilizzo. Se la si imposta su Building Storey si comporta come livello. Se la si imposta su Building si comporta come un edificio e se la si imposta su Element Assembly si comporta come un assemblaggio. La sua icona cambia per riflettere questa impostazione, ma a parte questo non ha nessun altro impatto in FreeCAD. Tuttavia, l'esportazione in IFC in un tipo o un altro tipo può avere un impatto in altre applicazioni BIM.

Proprietà

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

  • DatiGroup (LinkList): List of referenced objects.
  • Dati (Hidden)_ Group Touched (Bool)

Building Part

  • DatiArea (Area): The computed floor area of this floor.
  • DatiHeight (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.
  • DatiLevel 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.
  • Dati (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.
  • DatiOnly Solids (Bool): If true, only solids will be collected by this object when referenced from other files.
  • Dati (Hidden)Saved Inventor (FileIncluded): This property stores an inventor representation for this object.
  • Dati (Hidden)Shape (PartShape): The shape of this object.

Children

  • DatiHeight Propagate (Bool): If true, the height value propagates to contained objects.

IFC

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

IFC Attributes

  • DatiDescription (String): An optional description for this component
  • DatiGlobal Id (String)
  • DatiObject Type (String)
  • DatiOverall Height (Length)
  • DatiOverall Width (Length)
  • DatiPartitioning Type (Enumeration)
  • DatiPredefined Type (Enumeration)
  • DatiTag (String): An optional tag for this component.
  • DatiUser 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

Lo strumento Parte di edificio può essere utilizzato nelle macro e dalla console Python tramite la seguente funzione:

BuildingPart = makeBuildingPart(objectslist=None)
  • Crea un oggetto BuildingPart da una objectslist, che è una lista di oggetti.

Esempio:

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