@@ -267,7 +267,6 @@ def intersections_plane(
267
267
if axis != 2 :
268
268
last , indices = self .pop_axis ((0 , 1 , 2 ), axis , transpose = transpose )
269
269
to_2D = to_2D [[* list (indices ), last , 3 ]]
270
- print (f"Geometry.intersections_plane({ transpose = } ), { to_2D = } " ) # DEBUG
271
270
return self .intersections_tilted_plane (normal , origin , to_2D )
272
271
273
272
def intersections_2dbox (self , plane : Box , transpose : bool = False ) -> list [Shapely ]:
@@ -537,7 +536,6 @@ def plot(
537
536
# find shapes that intersect self at plane
538
537
axis , position = self .parse_xyz_kwargs (x = x , y = y , z = z )
539
538
shapes_intersect = self .intersections_plane (x = x , y = y , z = z , transpose = transpose )
540
- print (f"Geometry.plot({ transpose = } ), { shapes_intersect = } " ) # DEBUG
541
539
542
540
plot_params = self .plot_params
543
541
if viz_spec is not None :
@@ -1721,14 +1719,11 @@ def intersections_plane(
1721
1719
For more details refer to
1722
1720
`Shapely's Documentation <https://shapely.readthedocs.io/en/stable/project.html>`_.
1723
1721
"""
1724
- print (f"Planar.intersections_plane({ transpose = } )" ) # DEBUG
1725
1722
axis , position = self .parse_xyz_kwargs (x = x , y = y , z = z )
1726
1723
if not self .intersects_axis_position (axis , position ):
1727
1724
return []
1728
1725
if axis == self .axis :
1729
- # print(f"{self._intersections_normal=}") # DEBUG
1730
1726
return self ._intersections_normal (position , transpose = transpose )
1731
- # print(f"{self._intersections_side=}") # DEBUG
1732
1727
return self ._intersections_side (position , axis , transpose = transpose )
1733
1728
1734
1729
@abstractmethod
@@ -2109,7 +2104,6 @@ def intersections_plane(
2109
2104
For more details refer to
2110
2105
`Shapely's Documentation <https://shapely.readthedocs.io/en/stable/project.html>`_.
2111
2106
"""
2112
- print (f"Box.intersections_plane({ transpose = } )" ) # DEBUG
2113
2107
axis , position = self .parse_xyz_kwargs (x = x , y = y , z = z )
2114
2108
if not self .intersects_axis_position (axis , position ):
2115
2109
return []
@@ -2186,7 +2180,6 @@ def intersections_with(self, other, transpose: bool = False):
2186
2180
dim = "xyz" [normal_ind ]
2187
2181
pos = self .center [normal_ind ]
2188
2182
xyz_kwargs = {dim : pos }
2189
- print (f"Box.intersects_with({ transpose = } ), { xyz_kwargs = } " ) # DEBUG
2190
2183
shapes_plane = other .intersections_plane (** xyz_kwargs , transpose = transpose )
2191
2184
2192
2185
# intersect all shapes with the input self
@@ -3015,7 +3008,6 @@ def intersections_plane(
3015
3008
For more details refer to
3016
3009
`Shapely's Documentaton <https://shapely.readthedocs.io/en/stable/project.html>`_.
3017
3010
"""
3018
- print (f"ClipOperation.intersections_plane({ transpose = } )" ) # DEBUG
3019
3011
a = self .geometry_a .intersections_plane (x , y , z , transpose = transpose )
3020
3012
b = self .geometry_b .intersections_plane (x , y , z , transpose = transpose )
3021
3013
geom_a = shapely .unary_union ([Geometry .evaluate_inf_shape (g ) for g in a ])
@@ -3228,7 +3220,6 @@ def intersections_plane(
3228
3220
For more details refer to
3229
3221
`Shapely's Documentation <https://shapely.readthedocs.io/en/stable/project.html>`_.
3230
3222
"""
3231
- print (f"GeometryGroup.intersections_plane({ transpose = } )" ) # DEBUG
3232
3223
if not self .intersects_plane (x , y , z ):
3233
3224
return []
3234
3225
return [
0 commit comments