Files
IfcOpenShell/src
Petru Conduraru df3d07e952 fix(ifctester): accept tuple results when chaining facet filters
Facet.filter() implementations broad-phase query with
ifc_file.by_type(), then check isinstance(elements, list) to decide
whether a previous facet already narrowed the candidate set. In
v0.9.0, file.by_type() returns a tuple instead of a list, so that
check silently failed and every facet after the first re-scanned the
whole model instead of the already-narrowed (possibly empty) set.
This let a prohibited Entity+Attribute applicability match instances
of the wrong class, e.g. an IfcSlab satisfying an "IFCWALL" Entity
facet's chain. Accept tuples too, matching how by_type() results are
actually returned now.
2026-09-02 13:36:14 +02:00
..
2026-08-10 17:06:56 +05:00
2026-08-10 17:06:56 +05:00
2026-08-08 07:42:45 +02:00
2026-08-08 07:42:45 +02:00
2026-08-10 05:19:17 +02:00