From 01cfbe6948d70e6114eb2f528c605cd37771d0a9 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 22 Jul 2026 16:26:13 +0500 Subject: [PATCH] Consider new serializer settings --- .../ifcopenshell/geom/main.py | 29 +++++++++++++++++++ src/ifcwrap/IfcPython.i | 29 +++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/src/ifcopenshell-python/ifcopenshell/geom/main.py b/src/ifcopenshell-python/ifcopenshell/geom/main.py index 335e0a6f58..ce9de7903d 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/main.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/main.py @@ -129,6 +129,35 @@ SERIALIZER_SETTING = Literal[ "digits", "wkt-use-section", "separate-z-up-node", + "bounds", + "scale", + "center", + "section-ref", + "elevation-ref", + "elevation-ref-guid", + "auto-section", + "auto-elevation", + "draw-storey-heights", + "profile-threshold", + "storey-height-line-length", + "svg-xmlns", + "svg-poly", + "svg-prefilter", + "svg-unify-inputs", + "svg-segment-projection", + "svg-subtract-before", + "svg-write-poly", + "svg-project", + "svg-without-storeys", + "svg-no-css", + "svg-mirror-y", + "svg-mirror-x", + "door-arcs", + "section-height", + "section-height-from-storeys", + "print-space-names", + "print-space-areas", + "space-name-transform", ] # NOTE: hybrid-cgal-simple-opencascade is added just as an example diff --git a/src/ifcwrap/IfcPython.i b/src/ifcwrap/IfcPython.i index 4c3217efb5..d8fc327f11 100644 --- a/src/ifcwrap/IfcPython.i +++ b/src/ifcwrap/IfcPython.i @@ -107,6 +107,35 @@ %ignore BaseUri; %ignore WktUseSection; %ignore SeparateZUpNode; +%ignore SvgBounds; +%ignore SvgScale; +%ignore SvgCenter; +%ignore SvgSectionRef; +%ignore SvgElevationRef; +%ignore SvgElevationRefGuid; +%ignore SvgAutoSection; +%ignore SvgAutoElevation; +%ignore SvgDrawStoreyHeights; +%ignore SvgProfileThreshold; +%ignore SvgStoreyHeightLineLength; +%ignore SvgUseNamespace; +%ignore SvgUseHlrPoly; +%ignore SvgUsePrefiltering; +%ignore SvgUnifyInputs; +%ignore SvgSegmentProjection; +%ignore SvgSubtractBefore; +%ignore SvgPolygonal; +%ignore SvgAlwaysProject; +%ignore SvgWithoutStoreys; +%ignore SvgNoCss; +%ignore SvgMirrorY; +%ignore SvgMirrorX; +%ignore SvgDoorArcs; +%ignore SvgSectionHeight; +%ignore SvgSectionHeightFromStoreys; +%ignore SvgPrintSpaceNames; +%ignore SvgPrintSpaceAreas; +%ignore SvgSpaceNameTransform; // ConversionSettings.h %ignore MesherLinearDeflection; %ignore MesherAngularDeflection;