Skip to content

Commit

Permalink
allowing tols tp be user defined
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Feb 4, 2023
1 parent a2396d4 commit 99adddb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ dmypy.json
*.json
*.vtk
*.stp
**_version.py
src/_version.py
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dynamic = ["version"]


[tool.setuptools_scm]
write_to = "src/cad_to_dagmc/_version.py"
write_to = "src/_version.py"


[project.optional-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions src/cad_to_dagmc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ def export_dagmc_h5m_file(
min_mesh_size: float = 1,
max_mesh_size: float = 10,
verbose: bool = False,
volume_atol: float = 0.000001,
center_atol: float = 0.000001,
bounding_box_atol: float = 0.000001,
):

volume_atol: float = 0.000001
center_atol: float = 0.000001
bounding_box_atol: float = 0.000001

brep_shape = self._merge_surfaces()

Expand Down

0 comments on commit 99adddb

Please sign in to comment.