Rename geometry and serializer files

Apply the rename manifest, normalize serializer filenames to the classes they define, and update includes and CMake source lists.

Generated with the assistance of an AI coding tool.
This commit is contained in:
Thomas Krijnen
2026-08-08 14:19:57 +02:00
parent 02481b3247
commit 7ae6bf4374
132 changed files with 217 additions and 217 deletions
+6 -6
View File
@@ -284,13 +284,13 @@ namespace {
%shared_ptr(ifcopenshell::geom::taxonomy::node);
%include "../ifcgeom/ifc_geom_api.h"
%include "../ifcgeom/ConversionResult.h"
%include "../ifcgeom/conversion_result.h"
// The implementation tuple is intentionally opaque to Python. Letting SWIG
// emit a type token for all setting descriptors exceeds MSVC's token limit.
%ignore ifcopenshell::geom::settings_container;
%ignore ifcopenshell::geom::geometry_setting_types;
%ignore ifcopenshell::geom::settings::settings_tuple;
%include "../ifcgeom/ConversionSettings.h"
%include "../ifcgeom/conversion_settings.h"
// Keep the owning element alive while its geometry is referenced (#1124).
%define GEOMETRY_WITH_BACKREF(cls)
@@ -307,10 +307,10 @@ GEOMETRY_WITH_BACKREF(ifcopenshell::geom::triangulation_element)
GEOMETRY_WITH_BACKREF(ifcopenshell::geom::serialized_element)
GEOMETRY_WITH_BACKREF(ifcopenshell::geom::brep_element)
%include "../ifcgeom/IfcGeomElement.h"
%include "../ifcgeom/IfcGeomRepresentation.h"
%include "../ifcgeom/Iterator.h"
%include "../ifcgeom/GeometrySerializer.h"
%include "../ifcgeom/element.h"
%include "../ifcgeom/representation.h"
%include "../ifcgeom/iterator.h"
%include "../ifcgeom/geometry_serializer.h"
%include "../ifcgeom/taxonomy.h"
%include "../ifcgeom/function_item_evaluator.h"
+1 -1
View File
@@ -982,7 +982,7 @@ from .entity_instance import entity_instance_mixin
%include "../ifcparse/express.h"
%include "../ifcparse/schema.h"
%include "../serializers/RocksDbSerializer.h"
%include "../serializers/rocks_db_serializer.h"
%include "../ifcparse/logger.h"
// The file* returned by open() is to be freed by SWIG/Python
+15 -15
View File
@@ -104,7 +104,7 @@
%ignore ifcopenshell::geom::taxonomy::topology_error;
// settings, can this done more generally?
// GeometrySerializer.h
// geometry_serializer.h
%ignore UseElementNames;
%ignore UseElementGuids;
%ignore UseElementStepIds;
@@ -144,7 +144,7 @@
%ignore SvgPrintSpaceNames;
%ignore SvgPrintSpaceAreas;
%ignore SvgSpaceNameTransform;
// ConversionSettings.h
// conversion_settings.h
%ignore MesherLinearDeflection;
%ignore MesherAngularDeflection;
%ignore ReorientShells;
@@ -239,9 +239,9 @@
// can probably be reduced, but for now it's identical to the includes
// of the module definition below.
%{
#include "../ifcgeom/Iterator.h"
#include "../ifcgeom/iterator.h"
#include "../ifcgeom/tree.h"
#include "../ifcgeom/Serialization/Serialization.h"
#include "../ifcgeom/serialization/serialization.h"
#include "../ifcgeom/taxonomy.h"
#include "../ifcgeom/function_item_evaluator.h"
@@ -250,13 +250,13 @@
#include "../ifcparse/schema.h"
#include "../ifcparse/utils.h"
#include "../ifcgeom/ConversionSettings.h"
#include "../ifcgeom/ConversionResult.h"
#include "../ifcgeom/conversion_settings.h"
#include "../ifcgeom/conversion_result.h"
#include "../svgfill/src/svgfill.h"
// @todo abstract into plug-in interface
#include "../serializers/RocksDbSerializer.h"
#include "../serializers/rocks_db_serializer.h"
%}
// Create docstrings for generated python code.
@@ -269,28 +269,28 @@
%include "utils/typemaps_out.i"
%module ifcopenshell_wrapper %{
#include "../ifcgeom/Converter.h"
#include "../ifcgeom/converter.h"
#include "../ifcgeom/tree.h"
#include "../ifcgeom/Serialization/Serialization.h"
#include "../ifcgeom/serialization/serialization.h"
#include "../ifcgeom/taxonomy.h"
#include "../ifcgeom/function_item_evaluator.h"
#include "../ifcgeom/Iterator.h"
#include "../ifcgeom/ConversionResult.h"
#include "../ifcgeom/iterator.h"
#include "../ifcgeom/conversion_result.h"
#include "../ifcgeom/hybrid_kernel.h"
#include "../ifcgeom/GeometrySerializer.h"
#include "../ifcgeom/geometry_serializer.h"
#include "../ifcparse/express.h"
#include "../ifcparse/file.h"
#include "../ifcparse/schema.h"
#include "../ifcparse/utils.h"
#include "../ifcgeom/ConversionSettings.h"
#include "../ifcgeom/ConversionResult.h"
#include "../ifcgeom/conversion_settings.h"
#include "../ifcgeom/conversion_result.h"
#include "../svgfill/src/svgfill.h"
// @todo abstract into plug-in interface
#include "../serializers/RocksDbSerializer.h"
#include "../serializers/rocks_db_serializer.h"
%}
%{