From 3a2a30810197924ea56a156f8508bd348d0ffe07 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Thu, 23 Feb 2023 10:55:41 +0100 Subject: [PATCH] Arch: IFC, import, add some comment --- src/Mod/Arch/importIFCHelper.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/Arch/importIFCHelper.py b/src/Mod/Arch/importIFCHelper.py index 0ebb2490bf..2ccb49a695 100644 --- a/src/Mod/Arch/importIFCHelper.py +++ b/src/Mod/Arch/importIFCHelper.py @@ -385,6 +385,10 @@ def buildRelProductColors(ifcfile, prodrepr): i = 0 for p in prodrepr.keys(): + # see method getColorFromProduct() + # it is a method for the redundant code inside this loop + # which can be used to get the color from a product directly + # Representation item, see `IfcRepresentationItem` documentation. # All kinds of geometric or topological representation items # `IfcExtrudedAreaSolid`, `IfcMappedItem`, `IfcFacetedBrep`,