Skip to content

Commit

Permalink
FIX: clarify angle defaults in slice
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Günther committed Jul 7, 2023
1 parent 7fc0169 commit 76f368e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygimli/meshtools/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ def interpolate(*args, **kwargs):
return interpolateAlongCurve(curve, t, **kwargs)


def extract2dSlice(mesh, origin=None, normal=[0, 1, 0], angle=None, dip=None):
def extract2dSlice(mesh, origin=None, normal=[0, 1, 0], angle=0, dip=0):
"""Extract slice from 3D mesh as triangle mesh.
Parameters
Expand Down

0 comments on commit 76f368e

Please sign in to comment.