From 849123aceed01783d405c55c1ae063845477671a Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 24 Jul 2026 18:24:24 +0500 Subject: [PATCH] downstream: ifcwrap: hide `guess_file_type` from Python as unused --- .../ifcopenshell/ifcopenshell_wrapper.pyi | 8 -------- src/ifcwrap/IfcPython.i | 3 +++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi b/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi index 81fd00ec79..78d4c49512 100644 --- a/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi +++ b/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi @@ -75,13 +75,6 @@ FILTERED_CARTESIAN_QUOTIENT: Any EXACT_PREDICATES: Any EXACT_CONSTRUCTIONS: Any -FT_AUTODETECT: Any -FT_IFCSPF: Any -FT_IFCXML: Any -FT_IFCZIP: Any -FT_ROCKSDB: Any -FT_UNKNOWN: Any - CURVES: Any SURFACES_AND_SOLIDS: Any CURVES_SURFACES_AND_SOLIDS: Any @@ -1643,7 +1636,6 @@ def get_feature(x): ... def get_plugin_search_paths() -> tuple[str, ...]: ... def get_info_cpp(v, include_identifier=True): ... def get_log(): ... -def guess_file_type(fn): ... def helmert_curve_point(A0, A1, A2, s): ... def kind_to_string(k): ... def less(arg1, arg2): ... diff --git a/src/ifcwrap/IfcPython.i b/src/ifcwrap/IfcPython.i index 3143dcaedb..864d708448 100644 --- a/src/ifcwrap/IfcPython.i +++ b/src/ifcwrap/IfcPython.i @@ -194,6 +194,9 @@ %ignore MaxOffsetDeviation; %ignore ApplyOffset; +%ignore filetype; +%ignore guess_file_type; + // Triangulated representation helper struct %ignore EdgeKey;