SPOMSO 1.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
SPOMSO-1.2.1/LICENSE ADDED
@@ -0,0 +1,165 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
+ Library.
@@ -0,0 +1,3 @@
1
+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
2
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
3
+ You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
SPOMSO-1.2.1/PKG-INFO ADDED
@@ -0,0 +1,18 @@
1
+ Metadata-Version: 2.1
2
+ Name: SPOMSO
3
+ Version: 1.2.1
4
+ Summary: SPOMSO
5
+ Home-page: https://github.com/peterropac/Aegolius/tree/main/Code
6
+ Author: Peter Ropač
7
+ Author-email: <peter.ropac@fmf.uni-lj.si>
8
+ Keywords: python,geometry
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Education
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Operating System :: OS Independent
13
+ License-File: LICENSE
14
+ License-File: LICENSE_NOTICE
15
+ Requires-Dist: numpy
16
+ Requires-Dist: scipy
17
+
18
+ Python package for generating geometry with SDFs.
@@ -0,0 +1,18 @@
1
+ Metadata-Version: 2.1
2
+ Name: SPOMSO
3
+ Version: 1.2.1
4
+ Summary: SPOMSO
5
+ Home-page: https://github.com/peterropac/Aegolius/tree/main/Code
6
+ Author: Peter Ropač
7
+ Author-email: <peter.ropac@fmf.uni-lj.si>
8
+ Keywords: python,geometry
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Education
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Operating System :: OS Independent
13
+ License-File: LICENSE
14
+ License-File: LICENSE_NOTICE
15
+ Requires-Dist: numpy
16
+ Requires-Dist: scipy
17
+
18
+ Python package for generating geometry with SDFs.
@@ -0,0 +1,29 @@
1
+ LICENSE
2
+ LICENSE_NOTICE
3
+ setup.py
4
+ SPOMSO.egg-info/PKG-INFO
5
+ SPOMSO.egg-info/SOURCES.txt
6
+ SPOMSO.egg-info/dependency_links.txt
7
+ SPOMSO.egg-info/requires.txt
8
+ SPOMSO.egg-info/top_level.txt
9
+ spomso/__init__.py
10
+ spomso/cores/__init__.py
11
+ spomso/cores/combine.py
12
+ spomso/cores/geom.py
13
+ spomso/cores/geom_2d.py
14
+ spomso/cores/geom_3d.py
15
+ spomso/cores/geom_core_2d_direct.py
16
+ spomso/cores/geom_core_3d_direct.py
17
+ spomso/cores/geom_vector.py
18
+ spomso/cores/geom_vector_special.py
19
+ spomso/cores/helper_functions.py
20
+ spomso/cores/modifications.py
21
+ spomso/cores/post_processing.py
22
+ spomso/cores/sdf_2D.py
23
+ spomso/cores/sdf_3D.py
24
+ spomso/cores/transformations.py
25
+ spomso/cores/vector_functions.py
26
+ spomso/cores/vector_functions_special.py
27
+ spomso/cores/vector_modification_functions.py
28
+ spomso/jax_cores/__init__.py
29
+ spomso/jax_cores/sdf_core_jax.py
@@ -0,0 +1,2 @@
1
+ numpy
2
+ scipy
@@ -0,0 +1 @@
1
+ spomso
SPOMSO-1.2.1/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
SPOMSO-1.2.1/setup.py ADDED
@@ -0,0 +1,25 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ VERSION = '1.2.1'
4
+ DESCRIPTION = 'SPOMSO'
5
+ LONG_DESCRIPTION = 'Python package for generating geometry with SDFs.'
6
+
7
+ # Setting up
8
+ setup(
9
+ name="SPOMSO",
10
+ version=VERSION,
11
+ author="Peter Ropač",
12
+ author_email="<peter.ropac@fmf.uni-lj.si>",
13
+ description=DESCRIPTION,
14
+ long_description=LONG_DESCRIPTION,
15
+ url='https://github.com/peterropac/Aegolius/tree/main/Code',
16
+ packages=find_packages(),
17
+ install_requires=['numpy', 'scipy'],
18
+ keywords=['python', 'geometry'],
19
+ classifiers=[
20
+ "Development Status :: 5 - Production/Stable",
21
+ "Intended Audience :: Education",
22
+ "Programming Language :: Python :: 3",
23
+ "Operating System :: OS Independent",
24
+ ]
25
+ )
File without changes
@@ -0,0 +1,67 @@
1
+ # Copyright (C) 2024 Peter Ropač
2
+ # This file is part of SPOMSO.
3
+ # SPOMSO is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
4
+ # SPOMSO is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
5
+ # You should have received a copy of the GNU Lesser General Public License along with SPOMSO. If not, see <https://www.gnu.org/licenses/>.
6
+
7
+ from .combine import CombineGeometry, smoothmax_boltz, smoothmin_poly2, smoothmin_poly3
8
+ from .transformations import EuclideanTransform, EuclideanTransformPoints
9
+ from .modifications import ModifyObject, ModifyVectorObject
10
+ from .geom import GenericGeometry, Points
11
+ from .helper_functions import resolution_conversion, generate_grid
12
+ from .helper_functions import smarter_reshape, vector_smarter_reshape, nd_vector_smarter_reshape
13
+ from .post_processing import sigmoid_falloff, positive_sigmoid_falloff, capped_exponential
14
+ from .post_processing import linear_falloff, relu, smooth_relu, slowstart
15
+ from .post_processing import hard_binarization
16
+ from .post_processing import gaussian_boundary, gaussian_falloff
17
+ from .post_processing import conv_averaging, conv_edge_detection
18
+ from .post_processing import custom_post_process
19
+ from .post_processing import PostProcess
20
+
21
+ from .sdf_2D import sdf_circle, sdf_segment_2d, sdf_box_2d, sdf_rounded_box_2d, sdf_triangle_2d
22
+ from .sdf_2D import sdf_arc, sdf_sector, sdf_inf_sector, sdf_ngon
23
+ from .sdf_2D import sdf_segmented_curve_2d, sdf_segmented_line_2d, sdf_parametric_curve_2d
24
+ from .sdf_2D import sdf_point_cloud_2d
25
+
26
+ from .geom_2d import Circle, NGon, Rectangle, RoundedRectangle, Segment, Triangle, Sector, InfiniteSector, Arc
27
+ from .geom_2d import ParametricCurve, SegmentedParametricCurve, SegmentedLine
28
+ from .geom_2d import PointCloud2D
29
+
30
+ from .sdf_3D import sdf_sphere, sdf_cylinder, sdf_box, sdf_torus, sdf_chainlink, sdf_braid, sdf_arc_3d
31
+ from .sdf_3D import sdf_plane, sudf_plane, sdf_segment_3d
32
+ from .sdf_3D import sdf_cone, sdf_oriented_infinite_cone, sdf_infinite_cone, sdf_solid_angle
33
+ from .sdf_3D import sdf_triangle_3d, sdf_quad_3d
34
+ from .sdf_3D import sdf_segmented_line_3d, sdf_segmented_curve_3d, sdf_parametric_curve_3d
35
+ from .sdf_3D import sdf_x, sdf_y, sdf_z
36
+ from .sdf_3D import sdf_point_cloud_3d
37
+
38
+ from .geom_3d import InfiniteCylinder, Cylinder, Sphere, Box, Plane, OrientedPlane, Line, Triangle3D, Quad
39
+ from .geom_3d import Torus, ChainLink, Braid, Arc3D, Cone, InfiniteCone, OrientedInfiniteCone
40
+ from .geom_3d import ParametricCurve3D, SegmentedParametricCurve3D, SegmentedLine3D
41
+ from .geom_3d import X, Y, Z
42
+
43
+ from .vector_functions import cartesian_define, spherical_define, cylindrical_define
44
+ from .vector_functions import radial_vector_field_spherical
45
+ from .vector_functions import radial_vector_field_cylindrical, hyperbolic_vector_field_cylindrical
46
+ from .vector_functions import aar_vector_field_cylindrical, awn_vector_field_cylindrical
47
+ from .vector_functions import vortex_vector_field_cylindrical, aav_vector_field_cylindrical
48
+ from .vector_functions import x_vector_field, y_vector_field, z_vector_field
49
+ from .vector_functions import from_sdf
50
+ from .geom_vector_special import lcwg1_p1, lcwg1_m1, lcwg1_2d
51
+ from .vector_functions_special import compute_crossings_2d
52
+
53
+ from .vector_modification_functions import batch_normalize
54
+ from .vector_modification_functions import add_vectors, subtract_vectors, rescale_vectors
55
+ from .vector_modification_functions import rotate_vectors_phi, rotate_vectors_theta
56
+ from .vector_modification_functions import rotate_vectors_x_axis, rotate_vectors_y_axis, rotate_vectors_z_axis
57
+ from .vector_modification_functions import rotate_vectors_axis
58
+ from .vector_modification_functions import revolve_field_x, revolve_field_y, revolve_field_z
59
+
60
+ from .geom_vector import CartesianVectorField, CylindricalVectorField, SphericalVectorField
61
+ from .geom_vector import RadialSphericalVectorField
62
+ from .geom_vector import RadialCylindricalVectorField, HyperbolicCylindricalVectorField
63
+ from .geom_vector import AngledRadialCylindricalVectorField, WindingCylindricalVectorField
64
+ from .geom_vector import VortexCylindricalVectorField, AngledVortexCylindricalVectorField
65
+ from .geom_vector import XVectorField, YVectorField, ZVectorField
66
+ from .geom_vector import VectorFieldFromSDF
67
+ from .geom_vector_special import LCWG2D, LCWG3Dp1, LCWG3Dm1
@@ -0,0 +1,158 @@
1
+ # Copyright (C) 2024 Peter Ropač
2
+ # This file is part of SPOMSO.
3
+ # SPOMSO is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
4
+ # SPOMSO is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
5
+ # You should have received a copy of the GNU Lesser General Public License along with SPOMSO. If not, see <https://www.gnu.org/licenses/>.
6
+
7
+ import numpy as np
8
+ from spomso.cores.geom import GenericGeometry
9
+ from typing import Callable
10
+
11
+ def smoothmin_poly2(x, y, a):
12
+ # https://iquilezles.org/articles/smin/
13
+ h = np.maximum(a - np.abs(x - y), 0.0)/a
14
+ return np.minimum(x, y) - h * h * a/4.0
15
+
16
+
17
+ def smoothmin_poly3(x, y, a):
18
+ # https://iquilezles.org/articles/smin/
19
+ if not a == 0.0:
20
+ h = np.maximum(a - np.abs(x - y), 0.0)/a
21
+ return np.minimum(x, y) - h * h * h * a / 6.0
22
+ else:
23
+ return np.minimum(y, y)
24
+
25
+
26
+ def smoothmax_boltz(x, y, width):
27
+ # https: // en.wikipedia.org / wiki / Smooth_maximum
28
+ exp1 = np.exp(x/width)
29
+ exp2 = np.exp(y/width)
30
+
31
+ return (x*exp1 + y*exp2)/(exp1 + exp2)
32
+
33
+
34
+ class CombineGeometry:
35
+ """Class containing all the possible combination operations which can be applied to a scalar fields.
36
+
37
+ Attributes:
38
+ operations: Dictionary containing all the possible non-parametric operations.
39
+ parametric_operations: Dictionary containing all the possible parametric operations.
40
+
41
+ Args:
42
+ operation_type: Type of operation with which two or more geometric objects are combined.
43
+ """
44
+
45
+ def __init__(self, operation_type: str):
46
+ self.operation_type: str = operation_type
47
+ self._combined_geometry: Callable[[np.ndarray, tuple], np.ndarray] = None
48
+ self.operations: dict = {"UNION2": lambda obj1, obj2: np.minimum(obj1, obj2),
49
+ "UNION": lambda *objs: np.amin(objs, axis=0),
50
+ "SUBTRACT2": lambda obj1, obj2: np.maximum(obj1, -obj2),
51
+ "INTERSECT2": lambda obj1, obj2: np.maximum(obj1, obj2),
52
+ "INTERSECT": lambda *objs: np.amax(objs, axis=0),
53
+ }
54
+
55
+ self.parametric_operations: dict = {"SMOOTH_UNION2_2": lambda obj1, obj2, width: smoothmin_poly2(obj1,
56
+ obj2,
57
+ width),
58
+ "SMOOTH_UNION2": lambda obj1, obj2, width: smoothmin_poly3(obj1,
59
+ obj2,
60
+ width),
61
+ "SMOOTH_INTERSECT2": lambda obj1, obj2, width: -smoothmin_poly3(-obj1,
62
+ -obj2,
63
+ width),
64
+ "SMOOTH_INTERSECT2_BOLTZMANN": lambda obj1, obj2, width: smoothmax_boltz(obj1,
65
+ obj2,
66
+ width),
67
+ "SMOOTH_SUBTRACT2": lambda obj1, obj2, width: -smoothmin_poly3(-obj1,
68
+ obj2,
69
+ width),
70
+ "SMOOTH_SUBTRACT2_BOLTZMANN": lambda obj1, obj2, width: smoothmax_boltz(obj1,
71
+ -obj2,
72
+ width)
73
+ }
74
+
75
+ @property
76
+ def available_operations(self) -> list:
77
+ """
78
+ Available types of operations.
79
+
80
+ Returns:
81
+ List of available operations.
82
+ """
83
+ operations_list = list(self.operations.keys())
84
+ print(f"Available non-parametric operations are: {operations_list}")
85
+ return operations_list
86
+
87
+ @property
88
+ def available_parametric_operations(self) -> list:
89
+ """
90
+ Available types of operations which require a parameter.
91
+
92
+ Returns:
93
+ List of available parametric operations.
94
+ """
95
+ operations_list = list(self.parametric_operations.keys())
96
+ print(f"Available parametric operations are: {operations_list}")
97
+ return operations_list
98
+
99
+ @property
100
+ def combined_geometry(self) -> Callable[[np.ndarray, tuple], np.ndarray]:
101
+ """
102
+ Returns the SDF of the combined geometries,
103
+ which can be used to create a new geometry using GenericGeometry class.
104
+
105
+ Returns:
106
+ SDF of the combined geometries
107
+ """
108
+ return self._combined_geometry
109
+
110
+ def combine(self, *combined_objects: object) -> GenericGeometry:
111
+ """
112
+ Combines 2 or more geometric objects together.
113
+
114
+ Args:
115
+ combined_objects: Tuple containing geometric objects.
116
+
117
+ Returns:
118
+ New geometric object.
119
+ """
120
+ if self.operation_type not in self.operations.keys():
121
+ raise SyntaxError(f"{self.operation_type} is not an implemented non-parametric operation.",
122
+ f"Possible operations are {self.operations.keys}")
123
+
124
+ def new_geo_object(co, *params):
125
+ sdfs = []
126
+ for cobject in combined_objects:
127
+ sdf_ = cobject.propagate(co, ())
128
+ sdfs.append(sdf_)
129
+
130
+ return self.operations[self.operation_type](*sdfs)
131
+
132
+ self._combined_geometry = new_geo_object
133
+ return GenericGeometry(new_geo_object, ())
134
+
135
+ def combine_parametric(self, *combined_objects: object, parameters: tuple | float | int) -> GenericGeometry:
136
+ """
137
+ Combines 2 or more geometric objects together, based on the parameters of the operations.
138
+ Args:
139
+ combined_objects: Tuple containing geometric objects.
140
+ parameters: Parameters of the operation.
141
+
142
+ Returns:
143
+ New geometric object.
144
+ """
145
+ if self.operation_type not in self.parametric_operations.keys():
146
+ raise SyntaxError(f"{self.operation_type} is not an implemented parametric operation.",
147
+ f"Possible parametric operations are {self.parametric_operations.keys}")
148
+
149
+ def new_geo_object(co, *params):
150
+ sdfs = []
151
+ for cobject in combined_objects:
152
+ sdf_ = cobject.propagate(co, ())
153
+ sdfs.append(sdf_)
154
+
155
+ return self.parametric_operations[self.operation_type](*sdfs, parameters)
156
+
157
+ self._combined_geometry = new_geo_object
158
+ return GenericGeometry(new_geo_object, ())