Skip to content

Commit 52f8569

Browse files
committed
kwargs passing to slice_plane
1 parent 12b5e99 commit 52f8569

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

trimesh/base.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,7 +1814,8 @@ def section_multiplane(self,
18141814

18151815
def slice_plane(self,
18161816
plane_origin,
1817-
plane_normal):
1817+
plane_normal,
1818+
**kwargs):
18181819
"""
18191820
Returns another mesh that is the current mesh
18201821
sliced by the plane defined by origin and normal.
@@ -1836,7 +1837,8 @@ def slice_plane(self,
18361837
new_mesh = intersections.slice_mesh_plane(
18371838
mesh=self,
18381839
plane_normal=plane_normal,
1839-
plane_origin=plane_origin)
1840+
plane_origin=plane_origin,
1841+
**kwargs)
18401842

18411843
return new_mesh
18421844

trimesh/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.35.9'
1+
__version__ = '2.35.10'

0 commit comments

Comments
 (0)