Skip to content

Commit

Permalink
Add adapt_object_mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Jun 3, 2022
1 parent 1e42441 commit 440839d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions civet/obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ def command(output):
return 'surface_mask2', in_volume, self, output
return in_volume.create_command(command)

def adapt_object_mesh(self, n_iterations: int, n_adapt: int, n_adapt_smooth: int) -> _S:
def command(output):
return 'adapt_object_mesh', self, output, str(n_iterations), str(n_adapt), str(n_adapt_smooth)
return self.create_command(command)


class Surface(GenericSurface['Surface']):
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

setup(
name='pycivet',
version='0.0.9',
version='0.0.10',
description='Object-oriented CIVET bindings for Python',
long_description=readme,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 440839d

Please sign in to comment.