Arch IFC/es: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{docnav/es
<div class="mw-translate-fuzzy">
{{Docnav/es
|
|
|[[Arch DAE/es|DAE]]
|[[Arch_DAE/es|DAE]]
|[[Arch_Module/es|Arch Module]]
|[[Arch_Workbench/es|Arquitectura Module]]
}}
}}
</div>


{{TOCright}}
{{TOCright}}


== Description ==
== Descripción ==


The [[Arch_Workbench|Arch]] and [[BIM_Workbench|Build Information Modeling (BIM)]] workbenches feature an [http://en.wikipedia.org/wiki/Industry_Foundation_Classes Industry Foundation Classes (IFC)] importer and exporter. The IFC format is a continuously growing widespread format to interchange data between [http://en.wikipedia.org/wiki/Building_Information_Modeling BIM] applications, used in architecture and engineering.
El [[File:Workbench_Arch.svg|24px]] [[Arch_Workbench/es|Arquitectura]] y [[File:Workbench_BIM.svg|24px]] [[BIM_Workbench/es|BIM Ambientes de trabajo]] cuentan con un importador y exportador de [https://es.wikipedia.org/wiki/Industry_Foundation_Classes Industry Foundation Classes (IFC)]. El formato IFC es un formato en continuo crecimiento para intercambiar datos entre aplicaciones [https://es.wikipedia.org/wiki/Modelado_de_informaci%C3%B3n_de_construcci%C3%B3n 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/es|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 [[Python_console/es|Consola de Python]]:
Both the importer and exporter depend on an external piece of open-source software, called [[IfcOpenShell|IfcOpenShell]], which might or might not be bundled with your version of FreeCAD, depending on the platform and where you obtained your FreeCAD package from. If IfcOpenShell is correctly installed, it will be detected by FreeCAD and used to import and export IFC files. An easy way to check if IfcOpenShell is present and available, is either to try to import or export an IFC file, or simply enter the following in the [[Python_console|Python console]]:


{{Code|code=
{{Code|code=
Line 18: Line 21:
}}
}}


<div class="mw-translate-fuzzy">
If no error message appears, IfcOpenShell is correctly installed. Otherwise, you will need to install it yourself; read the [[IfcOpenShell|IfcOpenShell]] page to learn more about this process.
Si no aparece ningún mensaje de error, IfcOpenShell está instalado y puede proceder a [[Std_Import/es|importar]] IFC. De lo contrario, tendrá que instalar IfcOpenShell usted mismo; lea la página [[IfcOpenShell/es|IfcOpenShell]] para obtener más información sobre este proceso.
</div>

{{Emphasis|Nota:}} el {{Button|[[File:BIM_Setup.svg|16px]] [[BIM_Setup/es|BIM Configuración]]}} buscará también IfcOpenShell y emitirá una notificación si no está instalado.


{{Emphasis|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.
'''Note''': the [[BIM_Setup|BIM Setup]] tool will look for IfcOpenShell too and issue a notification if it is not installed.


==Importación==
'''Note''': in the past the Arch Workbench used to feature (2013) a simple IFC importer that didn't depend on IfcOpenShell. It is still included in the source code but as of v0.19 it is not recommended at all; it will only be able to import a very small subset of IFC objects, and should be considered completely discontinued.


Todas las entidades basadas en [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifckernel/lexical/ifcproduct.htm 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:
==Importing==
* '''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.
All [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifckernel/lexical/ifcproduct.htm 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:
* '''full parametric Arch objects''', the geometry will, as much as possible, be editable in FreeCAD
* '''non-parametric Arch objects''', objects will carry IFC information and properties but will not be editable
* '''non-parametric Part shapes''', the geometry will be faithfully rendered but IFC information will be discarded
* '''one Part shape per floor''', one all-in-one object, just for reference


Normalmente, si intentas abrir un archivo grande y FreeCAD tarda demasiado en importarlo, prueba con un modo de importación inferior.
Each of these types loses 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.


<div class="mw-translate-fuzzy">
Typically, if you try to open a large file and FreeCAD takes too long to import it, try with a lower import mode.
IfcOpenShell soporta todas las entidades IFC2x3 e IFC4 (IFC4-add1 e IFC4-add2 están siendo implementadas en la v0.6 y podrían estar disponibles para cuando usted lea esto) pero no todas ellas pueden ser convertidas en objetos [[Arch_Workbench/es|Arquitectura]], las que no puedan serán importadas como simples formas [[Part_Workbench/es|Piezas]]. El importador IFC comienza importando todas las entidades IFC derivadas de [http://standards.buildingsmart.org/IFC/RELEASE/IFC2x3/TC1/HTML/ifckernel/lexical/ifcproduct.htm IfcProduct], es decir, básicamente, todos los objetos que componen un edificio, como paredes o ventanas o tuberías. Todas las demás entidades que necesite uno de estos objetos, como los perfiles de extrusión o los componentes de las operaciones booleanas, se importarán según sea necesario.
</div>


Si se usa un modo de importación que utiliza objetos Arquitectura, sean paramétricos o no, todos los objetos llevarán el conjunto completo de [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcpropertyresource/lexical/ifcproperty.htm IfcPropiedades] adjunto a cada objeto, agrupado por Property Set.
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.


Las estructuras de los edificios, tales como sitios, edificios y plantas, también se importan fielmente y la estructura se recrea correctamente en FreeCAD. Las estructuras de grupo (usando IfcGrupos) también se importan y se renderizan en FreeCAD, y pueden combinarse con estructuras de edificios, por ejemplo, teniendo grupos dentro de plantas o plantas dentro de grupos.
If using an import mode that uses Arch objects, being parametric or not, all objects will carry the full set of [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcpropertyresource/lexical/ifcproperty.htm IfcProperties] attached to each object, grouped by Property Set.


También se importan los objetos [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcproductextension/lexical/ifcannotation.htm IfcAnnotation], así como las entidades basadas en líneas y curvas [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcstructuralanalysisdomain/lexical/ifcstructuralitem.htm IfcStructuralItem].
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.


Los magnitudes especificadas en el archivo IFC NO se importan. Sin embargo, como la geometría se recrea completamente en FreeCAD, la mayoría de las cantidades como la longitud, el área, etc. son fácilmente obtenibles para cada objeto.
[http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcproductextension/lexical/ifcannotation.htm IfcAnnotation] objects are also imported, as well as linear and curve-based [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcstructuralanalysisdomain/lexical/ifcstructuralitem.htm IfcStructuralItem]-based entities.


Si se activa la opción '''mostrar mensajes de depuración''' en la configuración de las preferencias de IFC, se imprimirá un informe que indicará si algún objeto del archivo IFC ha fallado en la importación.
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.


'''Nota''': El ambiente de trabajo BIM cuenta con una herramienta [[BIM_IfcExplorer/es|IFC explorer]] que permite abrir un archivo IFC en modo rápido, de sólo texto, e importar sólo las partes que desee.
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.


== Exportación ==
'''Note''': The BIM Workbench features an [[BIM_IfcExplorer|IFC explorer]] tool that allows you to open an IFC file in fast, text-only mode, and import only the parts you wish.


La exportación a archivos IFC exportará todos los objetos seleccionados y sus descendientes. Todos los objetos de Arch/BIM son compatibles, así como otros objetos creados en otras mesas de trabajo. Los únicos objetos no totalmente soportados, por el momento, son {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body/es|PartDesign Cuerpos]]}}, {{Button|[[File:Std_Part.svg|16px]] [[Std_Part/es|Piezas]]}}, y nuevas estructuras como {{Button|[[File:Link.svg|16px]] [[Std_LinkMake/es|App Enlaces]]}} y {{Button|[[File:LinkGroup.svg|16px]] LinkGroups}}, por lo que tendrás que hacer un poco de pruebas si los usas. [[Arch_Reference/es|Arch Referencias]] exportará actualmente como {{incode|IfcBuildingElementProxies}}.
== Exporting ==


Para exportar todo un solar o edificio o toda una planta o un grupo que contenga otros objetos, sólo es necesario seleccionar ese edificio o planta o grupo. Los objetos del arco se exportarán con el tipo establecido en su propiedad "Tipo IFC". Sus [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcpropertyresource/lexical/ifcproperty.htm IfcProperties] también se exportan, y si estos objetos tienen un UID IFC de una importación anterior, el mismo UID se mantendrá en la exportación. Los objetos que no son objetos Arch se exportan como [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcsharedbldgelements/lexical/ifcbuildingelementproxy.htm IfcBuildingElementProxy].
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 {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|PartDesign Bodies]]}}, {{Button|[[File:Std_Part.svg|16px]] [[Std_Part|Std Parts]]}}, and new structures such as {{Button|[[File:Link.svg|16px]] [[Std_LinkMake|App Links]]}} and {{Button|[[File:LinkGroup.svg|16px]] LinkGroups}}, so you will need a bit of testing if using them. [[Arch_Reference|Arch References]] will currently export as {{incode|IfcBuildingElementProxies}}.


Los archivos IFC se exportan como IFC2x3 o IFC4 dependiendo de su versión de IfcOpenShell, que puede compilarse con cualquiera de los esquemas IFC. Si utiliza IfcOpenShell v0.6 o superior, se utilizará la versión IFC especificada en las preferencias de Arch.
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 [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcpropertyresource/lexical/ifcproperty.htm 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 [http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcsharedbldgelements/lexical/ifcbuildingelementproxy.htm IfcBuildingElementProxy].


Si la forma de los objetos exportados se basa en una extrusión o en una operación booleana, la operación y los componentes se exportarán correctamente a IFC. En caso contrario, la forma del objeto se exportará como [http://www.buildingsmart-tech.org/ifc/IFC4x1/html/schema/ifcgeometricmodelresource/lexical/ifcfacetedbrep.htm IfcFacetedBrep]. Si la forma contiene curvas, éstas serán trianguladas. Sin embargo, IfcOpenShell v0.5 o superior cuenta con un serializador, que debe ser habilitado en las preferencias de Importación/Exportación → IFC. Si está habilitado, este serializador es capaz de exportar objetos curvos muy complejos, como los basados en NURBS, y así evitar las caras trianguladas. Sin embargo, en el momento de escribir este artículo, pocas aplicaciones BIM admiten objetos IFC NURBS, por lo que se aconseja hacer algunas pruebas.
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.


== Más información ==
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 [http://www.buildingsmart-tech.org/ifc/IFC4x1/html/schema/ifcgeometricmodelresource/lexical/ifcfacetedbrep.htm 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.


* [[IfcOpenShell/es|IfcOpenShell]], más información sobre la instalación de esta biblioteca.
== Further information ==


* [[IfcOpenShell|IfcOpenShell]], more information on installing this library.


<div class="mw-translate-fuzzy">
{{docnav/es
{{Docnav/es
|
|
|[[Arch DAE/es|DAE]]
|[[Arch_DAE/es|DAE]]
|[[Arch_Module/es|Arch Module]]
|[[Arch_Workbench/es|Arquitectura Module]]
}}
}}
</div>


{{Arch Tools navi{{#translation:}}}}
{{Arch Tools navi{{#translation:}}}}

Latest revision as of 18:11, 10 March 2022

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 soporta todas las entidades IFC2x3 e IFC4 (IFC4-add1 e IFC4-add2 están siendo implementadas en la v0.6 y podrían estar disponibles para cuando usted lea esto) pero no todas ellas pueden ser convertidas en objetos Arquitectura, las que no puedan serán importadas como simples formas Piezas. El importador IFC comienza importando todas las entidades IFC derivadas de IfcProduct, es decir, básicamente, todos los objetos que componen un edificio, como paredes o ventanas o tuberías. Todas las demás entidades que necesite uno de estos objetos, como los perfiles de extrusión o los componentes de las operaciones booleanas, se importarán según sea necesario.

Si se usa un modo de importación que utiliza objetos Arquitectura, sean paramétricos o no, todos los objetos llevarán el conjunto completo de IfcPropiedades adjunto a cada objeto, agrupado por Property Set.

Las estructuras de los edificios, tales como sitios, edificios y plantas, también se importan fielmente y la estructura se recrea correctamente en FreeCAD. Las estructuras de grupo (usando IfcGrupos) también se importan y se renderizan en FreeCAD, y pueden combinarse con estructuras de edificios, por ejemplo, teniendo grupos dentro de plantas o plantas dentro de grupos.

También se importan los objetos IfcAnnotation, así como las entidades basadas en líneas y curvas IfcStructuralItem.

Los magnitudes especificadas en el archivo IFC NO se importan. Sin embargo, como la geometría se recrea completamente en FreeCAD, la mayoría de las cantidades como la longitud, el área, etc. son fácilmente obtenibles para cada objeto.

Si se activa la opción mostrar mensajes de depuración en la configuración de las preferencias de IFC, se imprimirá un informe que indicará si algún objeto del archivo IFC ha fallado en la importación.

Nota: El ambiente de trabajo BIM cuenta con una herramienta IFC explorer que permite abrir un archivo IFC en modo rápido, de sólo texto, e importar sólo las partes que desee.

Exportación

La exportación a archivos IFC exportará todos los objetos seleccionados y sus descendientes. Todos los objetos de Arch/BIM son compatibles, así como otros objetos creados en otras mesas de trabajo. Los únicos objetos no totalmente soportados, por el momento, son PartDesign Cuerpos, Piezas, y nuevas estructuras como App Enlaces y LinkGroups, por lo que tendrás que hacer un poco de pruebas si los usas. Arch Referencias exportará actualmente como IfcBuildingElementProxies.

Para exportar todo un solar o edificio o toda una planta o un grupo que contenga otros objetos, sólo es necesario seleccionar ese edificio o planta o grupo. Los objetos del arco se exportarán con el tipo establecido en su propiedad "Tipo IFC". Sus IfcProperties también se exportan, y si estos objetos tienen un UID IFC de una importación anterior, el mismo UID se mantendrá en la exportación. Los objetos que no son objetos Arch se exportan como IfcBuildingElementProxy.

Los archivos IFC se exportan como IFC2x3 o IFC4 dependiendo de su versión de IfcOpenShell, que puede compilarse con cualquiera de los esquemas IFC. Si utiliza IfcOpenShell v0.6 o superior, se utilizará la versión IFC especificada en las preferencias de Arch.

Si la forma de los objetos exportados se basa en una extrusión o en una operación booleana, la operación y los componentes se exportarán correctamente a IFC. En caso contrario, la forma del objeto se exportará como IfcFacetedBrep. Si la forma contiene curvas, éstas serán trianguladas. Sin embargo, IfcOpenShell v0.5 o superior cuenta con un serializador, que debe ser habilitado en las preferencias de Importación/Exportación → IFC. Si está habilitado, este serializador es capaz de exportar objetos curvos muy complejos, como los basados en NURBS, y así evitar las caras trianguladas. Sin embargo, en el momento de escribir este artículo, pocas aplicaciones BIM admiten objetos IFC NURBS, por lo que se aconseja hacer algunas pruebas.

Más información

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