Arch BuildingPart/de: Difference between revisions

From FreeCAD Documentation
(Created page with "==Anwendung==")
No edit summary
(82 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{docnav/de
{{Docnav/de
|[[Arch_Floor/de|Geschoss]]
|[[Arch_Building/de|Gebäude]]
|[[Arch_CurtainWall/de|Vorhangfassade]]
|[[Arch_Module/de|Arch-Arbeitbereich]]
|[[Arch_Project/de|Projekt]]
|[[Arch_Workbench/de|Arch]]
|IconL=Arch_Floor.svg
|IconL=Arch_CurtainWall.svg
|IconR=Arch_Project.svg
|IconC=Workbench_Arch.svg
|IconC=Workbench_Arch.svg
|IconR=Arch_Building.svg
}}
}}


{{GuiCommand/de
{{GuiCommand/de
|Name=Arch BuildingPart|Name/de=Arch Gebäudeteil
|Name=Arch BuildingPart
|Name/de=Arch Gebäudeteil
|MenuLocation=Arch → Gebäudeteil
|MenuLocation=Arch → Gebäudeteil
|Workbenches=[[Arch Module|Arch]]
|Workbenches=[[Arch_Workbench/de|Arch]]
|SeeAlso=[[Arch Building/de|Gebäude]], [[Arch Site/de|Grundstück]]
|Version=0.18
|Version=0.18
|SeeAlso=[[Arch_Building/de|Arch Gebäude]], [[Arch_Site/de|Arch Grundstück]]
}}
}}


<span id="Description"></span>
==Beschreibung==
==Beschreibung==


Der Gebäudeteil zielt darauf, das [[Arch Floor/de|Geschoss]]-Werkzeug durch eine leistungsfähigere Version zu ersetzen, mit der nicht nur Geschosse/Etagen, sondern alle Arten von Situationen erstellt werden können, in denen verschiedene Architektur-/BIM-Objekte gruppiert werden sollen und diese Gruppe als ein Objekt behandelt oder repliziert werden soll.
Das Werkzeug Gebäudeteil ersetzt die alten Werkzeuge [[Arch_Floor/de|Arch Geschoss]] und [[Arch_Building/de|Arch Gebäude]] durch eine leistungsfähigere Version, die nicht nur für Geschosse/Etagen/Ebenen verwendet werden kann, sondern auch für alle möglichen Situationen, in denen verschiedene Arch- oder BIM-Objekte gruppiert werden sollen, um diese Gruppe als ein Objekt zu verwenden oder zu vervielfältigen.


<span id="Usage"></span>
==Anwendung==
==Anwendung==


# Wahlweise ein oder mehrere Objekte auswählen, die in dem neuen Gebäudeteil enthalten sein sollen.
# Optionally, select one or more objects to be included in your new Building Part.
# Press the {{Button|[[Image:Arch BuildingPart.svg|16px]] [[Arch BuildingPart]]}} button.
# Die Schaltfläche {{Button|[[Image:Arch BuildingPart.svg|16px]] [[Arch_BuildingPart/de|Arch Gebäudeteil]]}} drücken.


<span id="Notes"></span>
==Options==
=== Hinweise ===


Gebäudeteile haben eine eingebaute, implizite [[Arch_SectionPlane/de|Arch SchnittEbene]].
* 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]]}} 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]]}} 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.
* 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.
* Building Parts can be [[Draft Clone]]d.
* Building Parts can take any IFC type. Its '''IFC Role''' 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.


Diese Ebene ist immer parallel zur GebäudeTeil Basisebene, aber du kannst den Versatz zwischen ihnen angeben. Daher arbeiten alle Werkzeuge, die mit einer Schnittebene arbeiten, wie z.B. [[Draft_Shape2DView/de|Entwurf Form2DAnsicht]] und [[TechDraw_ArchView/de|TechDraw ArchAnsicht]] auch mit GebäudeTeilen.
==Properties==


<span id="Options"></span>
=== Data ===
==Optionen==
* {{PropertyData|Height}}: The height of this object
* {{PropertyData|LevelOffset}}: The level of the (0,0,0) point of this level
* {{PropertyData|Area}}: The computed floor area of this floor
* {{PropertyData|IfcRole}}: The role 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


* Nach der Erstellung eines Gebäudeteils können weitere Objekte durch Ziehen und Ablegen in der Baumansicht hinzugefügt werden oder durch Verwenden des Werkzeugs {{Button|[[Image:Arch Add.svg|16px]] [[Arch_Add/de|Arch Hinzufügen]]}}.
=== View ===
* Objekte können, durch Ziehen und Ablegen aus der Baumansicht heraus aus einem Gebäudeteil entfernt werden oder durch Verwenden des Werkzeugs {{Button|[[Image:Arch Remove.svg|16px]] [[Arch_Remove/de|Arch Entfernen]]}}.
* {{PropertyView|LineWidth}}: The line width of this object
* Mit einem Doppelklick auf den Gebäudeteil (BuildingPart-Objekt) in der Baumansicht wird die [[Draft_SelectPlane/de|Arbeitsebene]] auf seine Position gesetzt, und der Gebäudeteil wird aktiviert, was bedeutet daß neue Objekte automatisch zu ihm hinzugefügt werden.
* {{PropertyView|OverrideUnit}}: An optional unit to express levels
Erneutes Doppelklicken auf den Gebäudeteil deaktiviert ihn und setzt die Arbeitsebene wieder auf die vorherige Position zurück (diese Option muss im Eigenschafteneditor unter Ansicht - Interaction - Double Click Activates auf true gesetzt werden, damit sie zur Verfügung steht).
* {{PropertyView|DisplayOffset}}: A transformation to apply to the level mark
* Das Gebäudeteil-Objekt kann in der 3D-Ansicht eine Markierung mit einer Benennung und einer Höhenangabe anzeigen.
* {{PropertyView|ShowLevel}}: If true, show the level
* Wenn ein Gebäudeteil verschoben oder gedreht wird, werden alle abhängigen Objekte, die entweder die {{PropertyData/de|Move With Host}} nicht besitzen oder bei denen diese aktiviert wurde, mit ihm zusammen verschoben bzw. gedreht.
* {{PropertyView|ShowUnit}}: If true, show the unit on the level tag
* Gebäudeteile können [[Draft_Clone/de|Draft Klone]] sein.
* {{PropertyView|SetWorkingPlane}}: If true, when activated, the working plane will automatically adapt to this level
* Gebäudeteile können jeden IFC-Typ annehmen. Ihre Eigenschaft '''Ifc Type''' bestimmt ihre Verwendung. Ist sie auf '''Building Storey''' gesetzt, verhält er sich wie ein Stockwerk. Ist sie auf '''Building''' gesetzt, verhält er sich wie ein Gebäude, und ist sie auf '''Element Assembly''' gesetzt, verhält er sich wie eine Baugruppe. Das Symbol ändert sich entsprechend dieser Einstellung, hat aber ansonsten keine weiteren Auswirkungen in FreeCAD. Der Export nach IFC als der eine oder andere Typ kann jedoch Auswirkungen auf andere BIM-Anwendungen haben.
* {{PropertyView|OriginOffset}}: If true, when activated, Display offset will affect the origin mark too
* Gebäudeteile ermöglichen das Festlegen einer '''Auto-group capture box'''. Nachfolgende Draft- und Arch-Objekte oder alles was Draft.autogroup() verwendet, weden automatisch zum Gebäudeteil hinzugefügt, wenn sie sich vollständig innerhalb der Auswahl-Box befinden. {{Version/de|0.20}}
* {{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


<span id="Properties"></span>
==Scripting==
==Eigenschaften==
{{Emphasis|See also:}} [[Arch API]] and [[FreeCAD Scripting Basics]].

Siehe auch: [[Property_editor/de|Eigenschafteneditor]].

Ein Arch Gebäudeteil (BuildingPart-Objekt) wird von einem [[App_GeoFeature/de|App GeoFeature]] abgeleitet und erbt alle seine Eigenschaften. Außerdem hat es die folgenden zusätzlichen Eigenschaften:

<span id="Data"></span>
===Daten===

{{TitleProperty|Basis}}

* {{PropertyData|Group|LinkList}}: List of referenced objects.
* {{PropertyData|_ Group Touched|Bool|Hidden}}

{{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.

{{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}}

<span id="View"></span>
===Ansicht===

{{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.

<span id="Scripting"></span>
==Skripten==

{{Emphasis|Siehe auch:}} [[Arch API/de|Arch API]] und [[FreeCAD_Scripting_Basics/de|FreeCAD Grundlagen Skripten]].

Das Werkzeug Gebäudeteil kann sowohl in [[macros/de|Makros]] als auch von der [[Python/de|Python]]-Konsole aus mit folgender Funktion verwendet werden:


The BuildingPart tool can be used in [[macros]] and from the [[Python]] console by using the following function:
{{Code|code=
{{Code|code=
BuildingPart = makeBuildingPart(objectslist=None)
BuildingPart = makeBuildingPart(objectslist=None)
}}
}}


* Creates a {{incode|BuildingPart}} object from {{incode|objectslist}}, which is a list of objects.
* Erzeugt ein {{incode|Building}}-Objekt aus {{incode|objectslist}}, einer Liste von Objekten.


Beispiel:
Beispiel:
Line 91: Line 177:
FreeCAD.ActiveDocument.recompute()
FreeCAD.ActiveDocument.recompute()
}}
}}

{{docnav/de

|[[Arch_Floor/de|Geschoss]]
{{Docnav/de
|[[Arch_Building/de|Gebäude]]
|[[Arch_Module/de|Arch-Arbeitbereich]]
|[[Arch_CurtainWall/de|Vorhangfassade]]
|[[Arch_Project/de|Projekt]]
|IconL=Arch_Floor.svg
|[[Arch_Workbench/de|Arch]]
|IconL=Arch_CurtainWall.svg
|IconR=Arch_Project.svg
|IconC=Workbench_Arch.svg
|IconC=Workbench_Arch.svg
|IconR=Arch_Building.svg
}}
}}


{{Arch Tools navi/de}}
{{Arch Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

{{Userdocnavi/de}}

Revision as of 14:50, 21 October 2023

Arch Gebäudeteil

Menüeintrag
Arch → Gebäudeteil
Arbeitsbereich
Arch
Standardtastenkürzel
Keiner
Eingeführt in Version
0.18
Siehe auch
Arch Gebäude, Arch Grundstück

Beschreibung

Das Werkzeug Gebäudeteil ersetzt die alten Werkzeuge Arch Geschoss und Arch Gebäude durch eine leistungsfähigere Version, die nicht nur für Geschosse/Etagen/Ebenen verwendet werden kann, sondern auch für alle möglichen Situationen, in denen verschiedene Arch- oder BIM-Objekte gruppiert werden sollen, um diese Gruppe als ein Objekt zu verwenden oder zu vervielfältigen.

Anwendung

  1. Wahlweise ein oder mehrere Objekte auswählen, die in dem neuen Gebäudeteil enthalten sein sollen.
  2. Die Schaltfläche Arch Gebäudeteil drücken.

Hinweise

Gebäudeteile haben eine eingebaute, implizite Arch SchnittEbene.

Diese Ebene ist immer parallel zur GebäudeTeil Basisebene, aber du kannst den Versatz zwischen ihnen angeben. Daher arbeiten alle Werkzeuge, die mit einer Schnittebene arbeiten, wie z.B. Entwurf Form2DAnsicht und TechDraw ArchAnsicht auch mit GebäudeTeilen.

Optionen

  • Nach der Erstellung eines Gebäudeteils können weitere Objekte durch Ziehen und Ablegen in der Baumansicht hinzugefügt werden oder durch Verwenden des Werkzeugs Arch Hinzufügen.
  • Objekte können, durch Ziehen und Ablegen aus der Baumansicht heraus aus einem Gebäudeteil entfernt werden oder durch Verwenden des Werkzeugs Arch Entfernen.
  • Mit einem Doppelklick auf den Gebäudeteil (BuildingPart-Objekt) in der Baumansicht wird die Arbeitsebene auf seine Position gesetzt, und der Gebäudeteil wird aktiviert, was bedeutet daß neue Objekte automatisch zu ihm hinzugefügt werden.

Erneutes Doppelklicken auf den Gebäudeteil deaktiviert ihn und setzt die Arbeitsebene wieder auf die vorherige Position zurück (diese Option muss im Eigenschafteneditor unter Ansicht - Interaction - Double Click Activates auf true gesetzt werden, damit sie zur Verfügung steht).

  • Das Gebäudeteil-Objekt kann in der 3D-Ansicht eine Markierung mit einer Benennung und einer Höhenangabe anzeigen.
  • Wenn ein Gebäudeteil verschoben oder gedreht wird, werden alle abhängigen Objekte, die entweder die Daten-EigenschaftMove With Host nicht besitzen oder bei denen diese aktiviert wurde, mit ihm zusammen verschoben bzw. gedreht.
  • Gebäudeteile können Draft Klone sein.
  • Gebäudeteile können jeden IFC-Typ annehmen. Ihre Eigenschaft Ifc Type bestimmt ihre Verwendung. Ist sie auf Building Storey gesetzt, verhält er sich wie ein Stockwerk. Ist sie auf Building gesetzt, verhält er sich wie ein Gebäude, und ist sie auf Element Assembly gesetzt, verhält er sich wie eine Baugruppe. Das Symbol ändert sich entsprechend dieser Einstellung, hat aber ansonsten keine weiteren Auswirkungen in FreeCAD. Der Export nach IFC als der eine oder andere Typ kann jedoch Auswirkungen auf andere BIM-Anwendungen haben.
  • Gebäudeteile ermöglichen das Festlegen einer Auto-group capture box. Nachfolgende Draft- und Arch-Objekte oder alles was Draft.autogroup() verwendet, weden automatisch zum Gebäudeteil hinzugefügt, wenn sie sich vollständig innerhalb der Auswahl-Box befinden. eingeführt mit Version 0.20

Eigenschaften

Siehe auch: Eigenschafteneditor.

Ein Arch Gebäudeteil (BuildingPart-Objekt) wird von einem App GeoFeature abgeleitet und erbt alle seine Eigenschaften. Außerdem hat es die folgenden zusätzlichen Eigenschaften:

Daten

Basis

  • DatenGroup (LinkList): List of referenced objects.
  • Daten (Hidden)_ Group Touched (Bool)

Building Part

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

Children

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

IFC

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

IFC Attributes

  • DatenDescription (String): An optional description for this component
  • DatenGlobal Id (String)
  • DatenObject Type (String)
  • DatenOverall Height (Length)
  • DatenOverall Width (Length)
  • DatenPartitioning Type (Enumeration)
  • DatenPredefined Type (Enumeration)
  • DatenTag (String): An optional tag for this component.
  • DatenUser Defined Partitioning Type (String)

Ansicht

Auto Group

Building Part

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

Children

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

Clip

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

Interactions

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

Skripten

Siehe auch: Arch API und FreeCAD Grundlagen Skripten.

Das Werkzeug Gebäudeteil kann sowohl in Makros als auch von der Python-Konsole aus mit folgender Funktion verwendet werden:

BuildingPart = makeBuildingPart(objectslist=None)
  • Erzeugt ein Building-Objekt aus objectslist, einer Liste von Objekten.

Beispiel:

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