Arch IFC

From FreeCAD Documentation
Revision as of 13:21, 2 December 2018 by Le Loup (talk | contribs)

Der Arch-Arbeitsbereich bietet einen Import für Industry Foundation Classes (IFC). Dieser immer weiter verbreitete offene Standard unterstützt den Austausch zwischen Anwendungen zur Gebäudedatenmodellierung.

Die Import-Funktion ist weiterhin in Arbeit und hängt von einem externen Stück Open-Source-Software ab, der IfcOpenShell, die nicht Teil von FreeCAD ist und deshalb auf dem System installiert werden muss. Wenn IfcOpenShell korrekt installiert wurde, wird es von FreeCAD erkannt und zum Import von IFC-Dateien verwendet. Es ist weiterhin möglich, die Nutzung des alten Python IFC-Imports zu erzwingen, der unabhängig von IfcOpenShell ist, indem die entsprechende Option in den Arch-Voreinstellungen aktiviert wird. Diese alte Import-Funktion wird aber nicht weiterentwickelt und kann nur eine kleine Teilmenge von IFC-Objekten importieren.

Aufgrund der höheren Geschwindigkeit und des Umfangs wird die IfcOpenShell für den Import empfohlen. IfcOpenShell unterstützt alle IFC 2x3- und IFC4- Entities, die Geometrieinformationen enthalten. Diejenigen, die nicht zu Arch-Objekten konvertiert werden können, werden als einfache Teile eingefügt.

Import

All IfcProduct-based entities from IFC2x3 or IFC4 files will be imported into the FreeCAD document. The IFC preferences settings allow you to set how the IFC objects are imported: as full parametric Arch objects, as non-parametric Arch objects, as non-parametric Part shapes, or as one Part shape per floor. Each of these types looses some information over the previous one, but is lighter on resources, which allows to open bigger files. A last type allows to discard entirely the importing of Arch objects, which is useful for structural analytic models.

If parametric Arch objects are used, for all IFC types that have an equivalent in the Arch Module, the corresponding type is used. For the others, a generic Part shape is created. All Arch objects, parametric and non-parametric, will carry the full set of IfcProperties attached to each object.

IfcAnnotation objects are also imported, as well as linear and curve-based IfcStructuralItem-based entities.

Enabling the show debug messages in the IFC preferences settings will print a report indicating if any object from the IFC file failed to import.

Export

Der Export von IFC-Dateien wird derzeit nur experimentell unterstützt und benötigt die Entwicklerversion von IfcOpenShell. Nach Installation steht der experimentelle Export zur Verfügung.

IFC files are exported as IFC2x3 or IFC4 depending on your version of IfcOpenShell, which can be compiled with any of the IFC schemas.

If the shape of exported objects is based on an extrusion or a boolean operation, the operation and components will be correctly exported to IFC. If not, the object's shape is exported as IfcFacetedBrep. If the shape contains curves, these will be faceted.

Links

Tutorial Import/Export IFC - compiling IfcOpenShell