Arch BuildingPart/fr: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
Line 21: Line 21:
==Description==
==Description==


<div class="mw-translate-fuzzy">
Partie de bâtiment (BuildingPart) remplace les anciens [[Arch_Floor/fr|Arch Planchers]] et [[Arch_Building/fr|Arch Bâtiment]] par une version plus performante qui peut être utilisée non seulement pour créer un plancher/étage/niveaux mais également pour toutes sortes de situations dans lesquelles différents objets Arch/BIM doivent être groupés. Ce groupe pourra être traité comme un seul objet ou répliqué.
Partie de bâtiment (BuildingPart) remplace les anciens [[Arch_Floor/fr|Arch Planchers]] et [[Arch_Building/fr|Arch Bâtiment]] par une version plus performante qui peut être utilisée non seulement pour créer un plancher/étage/niveaux mais également pour toutes sortes de situations dans lesquelles différents objets Arch/BIM doivent être groupés. Ce groupe pourra être traité comme un seul objet ou répliqué.
</div>


==Utilisation==
==Utilisation==


<div class="mw-translate-fuzzy">
# En option, vous pouvez également sélectionner un ou plusieurs objets à inclure dans votre nouvelle Partie de bâtiment.
# En option, vous pouvez également sélectionner un ou plusieurs objets à inclure dans votre nouvelle Partie de bâtiment.
# Appuyez sur le bouton {{Button|[[Image:Arch_BuildingPart.svg|16px]] [[Arch_BuildingPart/fr|Partie de bâtiment]]}}.
# Appuyez sur le bouton {{Button|[[Image:Arch_BuildingPart.svg|16px]] [[Arch_BuildingPart/fr|Partie de bâtiment]]}}.
</div>


=== Remarques ===
=== Remarques ===
Line 36: Line 40:
==Options==
==Options==


<div class="mw-translate-fuzzy">
* Après avoir créé une Partie de bâtiment, vous pouvez ajouter d'autres objets à celui-ci en les faisant glisser dans la vue en arborescence ou en utilisant l'outil {{Button|[[Image:Arch Add.svg|16px]] [[Arch_Add/fr|Arch Ajouter]]}}.
* Après avoir créé une Partie de bâtiment, vous pouvez ajouter d'autres objets à celui-ci en les faisant glisser dans la vue en arborescence ou en utilisant l'outil {{Button|[[Image:Arch Add.svg|16px]] [[Arch_Add/fr|Arch Ajouter]]}}.
* Vous pouvez supprimer des objets d'une Partie de bâtiment en les faisant glisser dans l'arborescence ou en utilisant l'outil {{Button|[[Image:Arch Remove.svg|16px]] [[Arch_Remove/fr|Arch Soustraire]]}}.
* Vous pouvez supprimer des objets d'une Partie de bâtiment en les faisant glisser dans l'arborescence ou en utilisant l'outil {{Button|[[Image:Arch Remove.svg|16px]] [[Arch_Remove/fr|Arch Soustraire]]}}.
Line 44: Line 49:
* Les Parties de bâtiment peuvent prendre n’importe quel type d’IFC. Leur propriété '''IFC Type''' détermine son utilisation. Si vous la définissez sur '''Building Storey''', ce sera comme un niveau. Si vous la définissez sur '''Building''', ce sera comme un bâtiment et si vous la définissez sur '''Element Assembly''', ce sera comme un assemblage. Son icône changera pour refléter ce paramètre mais à part cela, cela n’a aucun autre impact dans FreeCAD. Toutefois, le fait d'être exporté vers IFC sous un type ou un autre peut avoir un impact sur d'autres applications BIM.
* Les Parties de bâtiment peuvent prendre n’importe quel type d’IFC. Leur propriété '''IFC Type''' détermine son utilisation. Si vous la définissez sur '''Building Storey''', ce sera comme un niveau. Si vous la définissez sur '''Building''', ce sera comme un bâtiment et si vous la définissez sur '''Element Assembly''', ce sera comme un assemblage. Son icône changera pour refléter ce paramètre mais à part cela, cela n’a aucun autre impact dans FreeCAD. Toutefois, le fait d'être exporté vers IFC sous un type ou un autre peut avoir un impact sur d'autres applications BIM.
* Les Parties de bâtiment permettent de définir une '''boîte de capture de groupe automatique'''. Les objets Draft et Arch suivants, ou tout autre objet qui utilise Draft.autogroup(), seront automatiquement ajoutés à cet objet Partie de bâtiment s'ils se trouvent entièrement à l'intérieur de la boîte de capture. {{Version/fr|0.20}}
* Les Parties de bâtiment permettent de définir une '''boîte de capture de groupe automatique'''. Les objets Draft et Arch suivants, ou tout autre objet qui utilise Draft.autogroup(), seront automatiquement ajoutés à cet objet Partie de bâtiment s'ils se trouvent entièrement à l'intérieur de la boîte de capture. {{Version/fr|0.20}}
</div>


==Propriétés==
==Propriétés==
Line 55: Line 61:
{{TitleProperty|Base}}
{{TitleProperty|Base}}


* {{PropertyData|Group|LinkList}} : Liste des objets référencés.
* {{PropertyData|Group|LinkList}}: List of referenced objects.

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


{{TitleProperty|Building Part}}
{{TitleProperty|Building Part}}


* {{PropertyData|Area|Area}} : La surface calculée de cet étage.
* {{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|Height|Length}} : La hauteur de cet objet et de ses objets enfants. Les objets enfants peuvent être, par exemple, des [[Arch_Wall/fr|Arch Murs]]. La hauteur de chaque mur doit être définie à {{incode|0}} (zéro), de sorte que la propriété de hauteur du Partie de bâtiment se propage aux objets qu'il contient.
* {{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|Level Offset|Length}} : Le niveau du point (0,0,0) de ce niveau. Cette valeur est ajoutée à l'attribut {{incode|Placement.Base.z}} de la Partie de bâtiment, pour indiquer un décalage vertical sans déplacer réellement l'objet. Le décalage résultant est affiché si {{PropertyView|Show Level}} est {{TRUE}}.
* {{PropertyData|Saved Inventor|FileIncluded|Hidden}}: This property stores an inventor representation for this object.

* {{PropertyData|Shape|PartShape|Hidden}}: The shape of this object.
* {{PropertyData|Materials Table|Map|Hidden}} : Une carte MaterialName:SolidIndexesList qui associe les noms de matériaux à des index de solides à utiliser pour référencer cet objet à partir d'autres fichiers.

* {{PropertyData|Only Solids|Bool}} : Si true, seuls les solides seront collectés par cet objet lorsqu'il sera référencé à partir d'autres fichiers.

* {{PropertyData|Saved Inventor|FileIncluded|Hidden}} : Cette propriété stocke une représentation de l'inventeur pour cet objet.

* {{PropertyData|Shape|PartShape|Hidden}} : La forme de cet objet.


{{TitleProperty|Children}}
{{TitleProperty|Children}}
Line 81: Line 80:
{{TitleProperty|IFC}}
{{TitleProperty|IFC}}


* {{PropertyData|Ifc Data|Map|Hidden}} : Données IFC.
* {{PropertyData|Ifc Data|Map|Hidden}}: IFC data.
* {{PropertyData|Ifc Properties|Map|Hidden}}: IFC properties of this object.

* {{PropertyData|Ifc Properties|Map|Hidden}} : Propriétés IFC de cet objet.
* {{PropertyData|Ifc Type|Enumeration}}: The IFC type of this object.

* {{PropertyData|Ifc Type|Enumeration}} : Le type IFC de cet objet.


{{TitleProperty|IFC Attributes}}
{{TitleProperty|IFC Attributes}}


* {{PropertyData|Description|String}} : Une description facultative pour ce composant
* {{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}} : Une balise facultative pour ce composant.

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


Line 111: Line 100:
{{TitleProperty|Auto Group}}
{{TitleProperty|Auto Group}}


* {{PropertyView|Autogroup Autosize|Bool}} : Définit automatiquement la taille de la boîte de capture à partir du contenu de Partie de bâtiment. {{Version/fr|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}} : Active/désactive le regroupement automatique (et l'affichage de la boîte de capture). {{Version/fr|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|Marge de l'autogroupe|Longueur}} : Une marge à utiliser lorsque la taille automatique est activée. {{Version/fr|0.20}}

* {{PropertyView|Autogroup Size|IntegerList}} : La zone de capture des objets nouvellement créés, exprimée en [XMin,YMin,ZMin,XMax,YMax,ZMax]. {{Version/fr|0.20}}


{{TitleProperty|Building Part}}
{{TitleProperty|Building Part}}


* {{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 144: Line 121:


* {{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 156: Line 129:


* {{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 164: Line 135:


* {{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 184: Line 149:
</div>
</div>


<div class="mw-translate-fuzzy">
L'outil BuildingPart peut être utilisé à l'intérieur d'une [[macros/fr|macro]], et à partir de la console [[Python/fr|Python]] en utilisant la fonction suivante :
L'outil BuildingPart peut être utilisé à l'intérieur d'une [[macros/fr|macro]], et à partir de la console [[Python/fr|Python]] en utilisant la fonction suivante :
</div>


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

Revision as of 09:15, 20 October 2021

Arch Partie de bâtiment

Emplacement du menu
Arch → Partie de bâtiment
Ateliers
Arch
Raccourci par défaut
Aucun
Introduit dans la version
0.18
Voir aussi
Arch Bâtiment, Arch Site

Description

Partie de bâtiment (BuildingPart) remplace les anciens Arch Planchers et Arch Bâtiment par une version plus performante qui peut être utilisée non seulement pour créer un plancher/étage/niveaux mais également pour toutes sortes de situations dans lesquelles différents objets Arch/BIM doivent être groupés. Ce groupe pourra être traité comme un seul objet ou répliqué.

Utilisation

  1. En option, vous pouvez également sélectionner un ou plusieurs objets à inclure dans votre nouvelle Partie de bâtiment.
  2. Appuyez sur le bouton Partie de bâtiment.

Remarques

Les Partie de bâtiment ont un Arch Plan de section implicite intégré. introduit dans la version 0.19

Ce plan est toujours parallèle au plan de base du BuildingPart, mais vous pouvez spécifier le décalage entre eux. Ainsi, tous les outils qui fonctionnent avec un plan de coupe, tels que Draft Vue 2D d'une forme et TechDraw Vue Architecturale fonctionnent également avec Parties de bâtiment.

Options

  • Après avoir créé une Partie de bâtiment, vous pouvez ajouter d'autres objets à celui-ci en les faisant glisser dans la vue en arborescence ou en utilisant l'outil Arch Ajouter.
  • Vous pouvez supprimer des objets d'une Partie de bâtiment en les faisant glisser dans l'arborescence ou en utilisant l'outil Arch Soustraire.
  • En double-cliquant sur l'objet Partie de bâtiment dans la vue arborescente, le Draft Plan de travail sera défini sur son emplacement et la Partie de bâtiment deviendra active, ce qui signifie que de nouveaux objets lui seront automatiquement ajoutés. Double-cliquez à nouveau sur la Partie de bâtiment pour la désactiver et ramener le plan de travail à sa position précédente. (dans la version 0.19, pour être disponible, cette option doit être définie sur true, dans le panneau Propriété - Interaction - Double-cliquer pour active).
  • La Partie de bâtiment peut afficher une marque dans la vue 3D avec une étiquette et une indication de niveau.
  • Lorsqu'un élément Partie de bâtiment est déplacé/pivoté, tous ses enfants qui ne possèdent pas de propriété DonnéesMove With Host ou qui l'ont activé sont déplacés/pivotés ensemble.
  • Les Parties de bâtiment peuvent être Draft Clonées.
  • Les Parties de bâtiment peuvent prendre n’importe quel type d’IFC. Leur propriété IFC Type détermine son utilisation. Si vous la définissez sur Building Storey, ce sera comme un niveau. Si vous la définissez sur Building, ce sera comme un bâtiment et si vous la définissez sur Element Assembly, ce sera comme un assemblage. Son icône changera pour refléter ce paramètre mais à part cela, cela n’a aucun autre impact dans FreeCAD. Toutefois, le fait d'être exporté vers IFC sous un type ou un autre peut avoir un impact sur d'autres applications BIM.
  • Les Parties de bâtiment permettent de définir une boîte de capture de groupe automatique. Les objets Draft et Arch suivants, ou tout autre objet qui utilise Draft.autogroup(), seront automatiquement ajoutés à cet objet Partie de bâtiment s'ils se trouvent entièrement à l'intérieur de la boîte de capture. introduit dans la version 0.20

Propriétés

Voir aussi : Éditeur de propriétés

Une Arch Partie de bâtiment est dérivé d'un objet App GeoFeature et hérite de toutes ses propriétés. Elle possède également les propriétés supplémentaires suivantes :

Données

Base

  • DonnéesGroup (LinkList): List of referenced objects.
  • Données (Hidden)_ Group Touched (Bool)

Building Part

  • DonnéesArea (Area): The computed floor area of this floor.
  • DonnéesHeight (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.
  • DonnéesLevel 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 VueShow Level is true.
  • Données (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.
  • DonnéesOnly Solids (Bool): If true, only solids will be collected by this object when referenced from other files.
  • Données (Hidden)Saved Inventor (FileIncluded): This property stores an inventor representation for this object.
  • Données (Hidden)Shape (PartShape): The shape of this object.

Children

  • DonnéesHeight Propagate (Bool) : Si vrai, la valeur de la hauteur se propage aux objets contenus.

IFC

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

IFC Attributes

  • DonnéesDescription (String): An optional description for this component
  • DonnéesGlobal Id (String)
  • DonnéesObject Type (String)
  • DonnéesOverall Height (Length)
  • DonnéesOverall Width (Length)
  • DonnéesPartitioning Type (Enumeration)
  • DonnéesPredefined Type (Enumeration)
  • DonnéesTag (String): An optional tag for this component.
  • DonnéesUser Defined Partitioning Type (String)

Vue

Auto Group

Building Part

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

Children

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

Clip

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

Interactions

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

Scripting

Script

Voir aussi: Arch API et FreeCAD Scripts de Base.

L'outil BuildingPart peut être utilisé à l'intérieur d'une macro, et à partir de la console Python en utilisant la fonction suivante :

BuildingPart = makeBuildingPart(objectslist=None)
  • Crée un objet BuildingPart à partir de objectslist qui est une liste d'objets.

Exemple :

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