Andrej730 fbff8b8170 geometry iterator to reuse representations in more cases
- get_next_task() changes

Previously: if type had n occurrences and only 1 of them was requiring to have their own representation (e.g. one of the occurrences had openings), then all the occurrences would have their own representations even though it wasn't necessary.
Now get_next_task() is filter out products that should have their own representation and use a common representation of other occurrences. In the example above only this 1 product requiring unique representation will have it and all other n-1 will share type's representation.

To do so I've changed reuse_ok_() - now it's checking the condition for a single product instead of a list of them (previously we could only check whether all products in a list are okay to reuse type's representation or not).

Previously there was a check if provided products use multiple materials (I assumed it was to check whether they do have conflicting material styles). I've replaced it with check for whether current product has an overriding material style.

- removed ok_mapped_representations cache since it's no longer possible that we'll be checking reuse_ok_ for all products of a mapped representation multiple times.
- get_single_material_association now is using IfcObjectDefinition to allow both IfcProducts and IfcTypeProducts
- find_representation now has another implementation that will search for representation with matching IfcRepresentationContext
2024-06-07 14:15:16 +05:00
2024-04-17 15:18:45 +05:00
2024-04-17 15:18:45 +05:00
2024-05-19 13:29:26 +01:00
2024-01-02 15:46:48 +01:00
2024-03-20 14:58:06 +01:00
2024-03-26 19:32:56 +11:00
2024-03-22 17:44:38 +05:00
2023-03-28 15:49:27 +02:00
2024-04-06 22:21:16 +11:00

IfcOpenShell

IfcOpenShell is an open source (LGPL) software library for working with Industry Foundation Classes (IFC). Complete parsing support is provided for IFC2x3 TC1, IFC4 Add2 TC1, IFC4x1, IFC4x2, and IFC4x3 Add2. Extensive geometric support is implemented for the IFC releases IFC2x3 TC1 and IFC4 Add2 TC1. Extending with support for arbitrary IFC schemas is possible at compile-time when using C++ and at run-time when using Python.

In addition to a C++ and Python API, IfcOpenShell comes with an ecosystem of tools, notably including IfcConvert (an application to convert IFC models to other formats), the BlenderBIM Add-on (an add-on to Blender providing a graphical IFC authoring platform), and many other libraries, CLI apps, and more. Support is also provided for auxiliary standards such as BCF and IDS.

For more information, see:

Service Status
Anaconda Daily Build Anaconda-Server Badge
Anaconda v0.7.0 Stable Anaconda-Server Badge
PyPi Daily Build PyPi Badge
ArchLinux AUR Package Stable AUR Badge
ArchLinux AUR Package git AUR Badge
BlenderBIM Add-on Chocolatey (under moderation) Chocolatey Badge
Sponsor development on OpenCollective Financial Contributors
Docker hub Docker Pulls

Contents

Those marked with an asterisk are part of IfcOpenShell.

Name Description License
bcf Library to read and write BCF-XML and query OpenCDE BCF-API modules LGPL-3.0-or-later
blenderbim Add-on to Blender providing a graphical native IFC authoring platform GPL-3.0-or-later
bsdd Library to query the bSDD API LGPL-3.0-or-later
ifc2ca Utility to convert IFC structural analysis models to Code_Aster LGPL-3.0-or-later
ifc4d Convert to and from IFC and project management software LGPL-3.0-or-later
ifc5d Report and optimise cost information from IFC LGPL-3.0-or-later
ifcbimtester Wrapper for Gherkin based unit testing for IFC models LGPL-3.0-or-later
ifcblender Historic Blender IFC import add-on LGPL-3.0-or-later*
ifccityjson Convert CityJSON to IFC LGPL-3.0-or-later
ifcclash Clash detection library and CLI app LGPL-3.0-or-later
ifcconvert CLI app to convert IFC to many other formats LGPL-3.0-or-later*
ifccsv Library and CLI app to export and import schedules from IFC LGPL-3.0-or-later
ifcdiff Compare changes between IFC models LGPL-3.0-or-later
ifcfm Extract IFC data for FM handover requirements LGPL-3.0-or-later
ifcgeom Internal library for IfcOpenShell LGPL-3.0-or-later*
ifcgeom_schema_agnostic Internal library for IfcOpenShell LGPL-3.0-or-later*
ifcgeomserver Internal library for IfcOpenShell LGPL-3.0-or-later*
ifcjni Internal library for IfcOpenShell LGPL-3.0-or-later*
ifcmax Historic extension for IFC support in 3DS Max LGPL-3.0-or-later*
ifcopenshell-python Python library for IFC manipulation LGPL-3.0-or-later*
ifcparse Internal library for IfcOpenShell LGPL-3.0-or-later*
ifcpatch Utility to run pre-packaged scripts to manipulate IFCs LGPL-3.0-or-later
ifcsverchok Blender Add-on for visual node programming with IFC GPL-3.0-or-later
ifctester Library, CLI and webapp for IDS model auditing LGPL-3.0-or-later
ifcwrap Internal library for IfcOpenShell LGPL-3.0-or-later*
qtviewer Internal library for IfcOpenShell LGPL-3.0-or-later*
serializers Internal library for IfcOpenShell LGPL-3.0-or-later*
S
Description
No description provided
Readme 506 MiB
Languages
C++ 57.4%
Python 36.2%
C 3.9%
Gherkin 0.7%
JavaScript 0.3%
Other 1.3%