Arch IFC/es: Difference between revisions

From FreeCAD Documentation
(Created page with "Cada uno de estos tipos pierde algo de información respecto al anterior, pero es más ligero en recursos, lo que permite abrir archivos más grandes. Un último tipo permite...")
(Created page with "Normalmente, si intentas abrir un archivo grande y FreeCAD tarda demasiado en importarlo, prueba con un modo de importación inferior.")
Line 34: Line 34:
Cada uno de estos tipos pierde algo de información respecto al anterior, pero es más ligero en recursos, lo que permite abrir archivos más grandes. Un último tipo permite descartar por completo la importación de objetos Arquitectura, lo que resulta útil para los modelos analíticos estructurales.
Cada uno de estos tipos pierde algo de información respecto al anterior, pero es más ligero en recursos, lo que permite abrir archivos más grandes. Un último tipo permite descartar por completo la importación de objetos Arquitectura, lo que resulta útil para los modelos analíticos estructurales.


Normalmente, si intentas abrir un archivo grande y FreeCAD tarda demasiado en importarlo, prueba con un modo de importación inferior.
Typically, if you try to open a large file and FreeCAD takes too long to import it, try with a lower import mode.


IfcOpenShell supports all IFC2x3 and IFC4 entities (IFC4-add1 and IFC4-add2 are being implemented in v0.6 and might be available by the time you read this) but not all of them can be converted to [[Arch Module|Arch]] objects, those that can't will be imported as simple [[Part Module|Part]] shapes. The IFC importer starts by importing all IFC entities derived from [http://standards.buildingsmart.org/IFC/RELEASE/IFC2x3/TC1/HTML/ifckernel/lexical/ifcproduct.htm IfcProduct], that is, basically, all the objects that compose a building, such as walls or windows or pipes. All other entities needed by one of these objects, such as profiles of extrusion, or components of boolean operations, will be imported as required.
IfcOpenShell supports all IFC2x3 and IFC4 entities (IFC4-add1 and IFC4-add2 are being implemented in v0.6 and might be available by the time you read this) but not all of them can be converted to [[Arch Module|Arch]] objects, those that can't will be imported as simple [[Part Module|Part]] shapes. The IFC importer starts by importing all IFC entities derived from [http://standards.buildingsmart.org/IFC/RELEASE/IFC2x3/TC1/HTML/ifckernel/lexical/ifcproduct.htm IfcProduct], that is, basically, all the objects that compose a building, such as walls or windows or pipes. All other entities needed by one of these objects, such as profiles of extrusion, or components of boolean operations, will be imported as required.

Revision as of 21:59, 16 May 2021

Descripción

El Arquitectura y BIM Ambientes de trabajo cuentan con un importador y exportador de Industry Foundation Classes (IFC). El formato IFC es un formato en continuo crecimiento para intercambiar datos entre aplicaciones Modelado de información de construcción, (Inglés: BIM, Building Information Modelling) utilizadas en arquitectura e ingeniería.

Tanto el importador como el exportador dependen de la biblioteca IfcOpenShell, que se incluye en algunas distribuciones de FreeCAD. Una forma fácil de comprobar si IfcOpenShell está disponible es introducir lo siguiente en la Consola de Python:

import ifcopenshell

Si no aparece ningún mensaje de error, IfcOpenShell está instalado y puede proceder a importar IFC. De lo contrario, tendrá que instalar IfcOpenShell usted mismo; lea la página IfcOpenShell para obtener más información sobre este proceso.

Nota: el BIM Configuración buscará también IfcOpenShell y emitirá una notificación si no está instalado.

Nota 2: en el pasado (2013) el Ambiente de trabajo arquitectura solía contar con un importador IFC más simple que no dependía de IfcOpenShell. Este módulo heredado todavía se incluye en el código fuente, pero a partir de la v0.19 no se recomienda en absoluto; sólo será capaz de importar un subconjunto muy pequeño de objetos IFC, y debe considerarse completamente obsoleto.

Importación

Todas las entidades basadas en IfcProduct de los archivos IFC2x3 o IFC4 se importarán en el documento de FreeCAD. Los ajustes de las preferencias IFC permiten establecer cómo se importan los objetos IFC:

  • objetos paramétricos completos de Arquitectura, la geometría será, en la medida de lo posible, editable en FreeCAD
  • objetos Arquitectura no paramétricos, los objetos llevarán información y propiedades IFC pero no serán editables
  • Formas de pieza no paramétricas, la geometría se renderizará fielmente pero la información IFC se descartará
  • Una forma de pieza por planta, un objeto todo en uno, sólo como referencia.

Cada uno de estos tipos pierde algo de información respecto al anterior, pero es más ligero en recursos, lo que permite abrir archivos más grandes. Un último tipo permite descartar por completo la importación de objetos Arquitectura, lo que resulta útil para los modelos analíticos estructurales.

Normalmente, si intentas abrir un archivo grande y FreeCAD tarda demasiado en importarlo, prueba con un modo de importación inferior.

IfcOpenShell supports all IFC2x3 and IFC4 entities (IFC4-add1 and IFC4-add2 are being implemented in v0.6 and might be available by the time you read this) but not all of them can be converted to Arch objects, those that can't will be imported as simple Part shapes. The IFC importer starts by importing all IFC entities derived from IfcProduct, that is, basically, all the objects that compose a building, such as walls or windows or pipes. All other entities needed by one of these objects, such as profiles of extrusion, or components of boolean operations, will be imported as required.

If using an import mode that uses Arch objects, being parametric or not, all objects will carry the full set of IfcProperties attached to each object, grouped by Property Set.

Building structures such as Sites, Buildings and Storeys are also faithfully imported and the structure is correctly recreated in FreeCAD. Group structures (using IfcGroups) are also imported and rendered in FreeCAD, and can be combined with building structures, for ex. having groups inside storeys or storeys inside groups.

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

Quantities specified in the IFC file are NOT imported. However, since the geometry is fully recreated in FreeCAD, most of the quantities such as length, area, etc. are easily obtainable for each object.

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.

Note: The BIM Workbench features an IFC explorer tool that allows you to open an IFC file in fast, text-only mode, and import only the parts you wish.

Exportación

Exporting to IFC files will export all the selected objects and their descendants. All Arch/BIM objects are supported, as well as other objects created in other workbenches. The only not fully supported objects, at the moment, are PartDesign Bodies, Std Parts, and new structures such as App Links and LinkGroups, so you will need a bit of testing if using them. Arch References will currently export as IfcBuildingElementProxies.

To export a whole site or building or a whole floor or a group containing other objects, it is only needed to select that building or floor or group. Arch objects will be exported with the type set in their "IFC Type" property. Their IfcProperties are exported as well, and if these objects have an IFC UID from a previous import, the same UID will be kept at export. Objects that are not Arch objects are exported as IfcBuildingElementProxy.

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 using IfcOpenShell v0.6 or higher, the IFC version specified in the Arch preferences will be used.

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 triangulated. However, IfcOpenShell v0.5 or above feature a serializer, which must be enabled in the Import/Export → IFC preferences. If enabled, this serializer is able to export very complex curved objects such as those based on NURBS, and thus avoid triangulated faces. At the time of writing, though, few other BIM applications support IFC NURBS objects, so a bit of testing is advised.

Más información

  • IfcOpenShell, más información sobre la instalación de esta biblioteca.