Skip to content

Commit

Permalink
kwargs passing to slice_plane
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedh committed Oct 22, 2018
1 parent 12b5e99 commit 52f8569
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions trimesh/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1814,7 +1814,8 @@ def section_multiplane(self,

def slice_plane(self,
plane_origin,
plane_normal):
plane_normal,
**kwargs):
"""
Returns another mesh that is the current mesh
sliced by the plane defined by origin and normal.
Expand All @@ -1836,7 +1837,8 @@ def slice_plane(self,
new_mesh = intersections.slice_mesh_plane(
mesh=self,
plane_normal=plane_normal,
plane_origin=plane_origin)
plane_origin=plane_origin,
**kwargs)

return new_mesh

Expand Down
2 changes: 1 addition & 1 deletion trimesh/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.35.9'
__version__ = '2.35.10'

0 comments on commit 52f8569

Please sign in to comment.