Recent Releases of cad-to-dagmc

cad-to-dagmc - 0.9.0

What's Changed

The main change is that the package can now make use of GMsh files or objects that have physical groups as material tags.

This is particularly useful for making use of CadQuery assemblies with the new assembly-mesh-plugin which is able to assign physical groups based on the assembly entries names.

This ultimately provides full linkage from CAD assembly to DAGMC geometry while also allowing the user to make full use of the Gmsh API to mesh the geometry with the parameters they require.

See the new examples for this feature Gmsh object and Gmsh file

  • added version number to the made by tag on vtk files by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/119
  • Allowing Gmsh objects to be converted to DAGMC geometryies and accepting volume tags by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/122
  • only removing 2D physical groups to allow meshs with 3D groups by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/121
  • Change MeshToDagmc to functions instead of class by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/124
  • added example using assembly-mesh-plugin by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/125
  • added volume tests by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/127
  • changed function name exportdagmch5mfile to exportgmshfiletodagmch5mfile by @shimwell in https://github.com/fusion-energy/cadto_dagmc/pull/126
  • updating pydagmc package url by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/129
  • pymoab not on pypi yet by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/130

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.8.2...0.9.0

- Python
Published by shimwell about 1 year ago

cad-to-dagmc - 0.8.2

What's Changed

  • Make private functions in core.py public by @connoramoreno in https://github.com/fusion-energy/cadtodagmc/pull/118

New Contributors

  • Many thanks to @connoramoreno made their first contribution in https://github.com/fusion-energy/cadtodagmc/pull/118

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.8.1...0.8.2

- Python
Published by shimwell over 1 year ago

cad-to-dagmc - 0.8.1

What's Changed

  • Adding scaling option when adding cadquery objects by @jon-proximafusion in https://github.com/fusion-energy/cadtodagmc/pull/116

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.8.0...0.8.1

- Python
Published by shimwell over 1 year ago

cad-to-dagmc - 0.8.0

What's Changed

  • Adding option to specify different mesh sizes for each volume by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/115

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.7.7...0.8.0

- Python
Published by jon-proximafusion over 1 year ago

cad-to-dagmc - 0.7.7

What's Changed

  • Remove version pin for numpy by updating to latest cq version by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/112
  • Update CI to use conda action by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/113
  • Update README.md with new details of functionality by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/114

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.7.6...0.7.7

- Python
Published by shimwell over 1 year ago

cad-to-dagmc - 0.7.6

What's Changed

  • Support pathlib.Path for file paths as well as string by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/106
  • Allowing output files to contain a folder, create folder if it does not exist by @jon-proximafusion in https://github.com/fusion-energy/cadtodagmc/pull/107
  • added check for length of 28 chars by @jon-proximafusion in https://github.com/fusion-energy/cadtodagmc/pull/108

New Contributors

  • @jon-proximafusion made their first contribution in https://github.com/fusion-energy/cadtodagmc/pull/107

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.7.5...0.7.6

- Python
Published by shimwell over 1 year ago

cad-to-dagmc - 0.7.5

What's Changed

  • Making imprint operation optional. by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/104

This is useful when making geometry that you know does not need imprinting. For example if no components are touching or if they already share a surface.

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.7.4...0.7.5

- Python
Published by shimwell over 1 year ago

cad-to-dagmc - 0.7.4

What's Changed

  • Faster unstrucutred mesh file production by writing vtk file by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/101

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.7.3...0.7.4

- Python
Published by shimwell over 1 year ago

cad-to-dagmc - 0.7.3

What's Changed

The code is now faster in a few ways. Additionally while we could previously only scale the cadquery shapes when adding them, now we can scale any of the inputs (step files, cq.Shapes, cq.Assembly) because we can now scale on export (to mesh or to h5m).

  • using all CPU cores to mesh by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/98
  • adding scalefactor that scales mesh by @shimwell in https://github.com/fusion-energy/cadto_dagmc/pull/99
  • exportBrep instead of step (faster save and read) by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/96

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.7.2...0.7.3

- Python
Published by shimwell over 1 year ago

cad-to-dagmc - 0.7.2

What's Changed

  • Update README.md badges by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/92
  • allow numpy versions upto 1.26.4 by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/93
  • remove hdf5 install from CI by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/94

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.7.1...0.7.2

- Python
Published by shimwell over 1 year ago

cad-to-dagmc - 0.7.1

What's Changed

  • removed broken cad files from repo by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/83
  • Now returning the number of volumes in the cad when calling a cad adding method by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/84
  • Adding cite file by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/85
  • Update CITATION.cff by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/86
  • added pip compatable method of loading cad geometry between cadquery and gmsh by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/90
  • moving CI to new ubuntu version (24.04) by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/91

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.7.0...0.7.1

- Python
Published by shimwell over 1 year ago

cad-to-dagmc - 0.7.0

What's Changed

  • removed duplication of usage in readme by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/71
  • Add conda forge install instructions by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/72
  • testing with python versions 3.10, 3.11 and 3.12 by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/74
  • Simpler example without estimator by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/76
  • update versions of actions in the CI by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/77
  • corrected doc string by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/75
  • Adding material tags with cad by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/79
  • Making stp files directly in the example by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/80

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.6.2...0.7.0

- Python
Published by shimwell about 2 years ago

cad-to-dagmc - 0.6.2

What's Changed

  • rely on cadquery to bring in cadquery-ocp as dependency by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/70

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.6.1...0.6.2

- Python
Published by shimwell about 2 years ago

cad-to-dagmc - 0.6.1

What's Changed

  • Fixed benchmark zoo tests by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/64
  • quicker CI by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/65
  • improved install documentation by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/66
  • Single environment with openmc and cadquery by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/68
  • moving packages into the pip installer by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/67

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.6.0...0.6.1

- Python
Published by shimwell about 2 years ago

cad-to-dagmc - 0.6.0

What's Changed

  • Adding mesh writing option by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/52
  • Adding ability to write GMSH mesh file by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/50
  • updated to cq 2.4.0 and openmc 0.14.0 by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/56
  • Adding option to set implicit complement material name by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/54
  • allowing exportgmshmeshfile to support 3d volume mesh exporting by @shimwell in https://github.com/fusion-energy/cadto_dagmc/pull/57
  • running tests in two environment by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/59
  • min moab version by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/60
  • get umesh example working in CI by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/61
  • improved readme install by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/62
  • improved install instructions by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/63

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.5.1...0.6.0

- Python
Published by shimwell about 2 years ago

cad-to-dagmc - 0.5.1

What's Changed

  • added more links to similar repos and model benchmark zoo by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/46
  • added ci for model benchmark zoo by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/47
  • ci on push by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/48
  • removed unused functions by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/49

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.5.0...0.5.1

- Python
Published by shimwell over 2 years ago

cad-to-dagmc - 0.5.0

What's Changed

This release makes some significant changes, most notably the mesh is now added face by face to the moab dagmc model. This allows surface senses to be assigned to the dagmc model and now surfaces in contact can be represented as a single surface with different senses for the different volumes.

  • simpler install possible as CadQuery uses OCP 7.7.1 by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/40
  • removed subdirs from tests by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/42
  • Allowing msh export by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/43
  • Adding mesh faces one at a time to allow corect surface senses by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/45

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.4.0...0.5.0

- Python
Published by shimwell over 2 years ago

cad-to-dagmc - 0.4.0

What's Changed

This release is a decent improvement from the last version

We now used Cadquery to do imprinting of surfaces as this is now native functionality of CadQuery We also use CadQuery to track volume IDs through the process so we no longer need to search for volumes using their bounding box and other properties. We now pass geometry from Cadquery to GMSH in memory which saves time and file io

Specific pull requests for this release * conda-forge install instructions improved @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/34 * removing old conda install package instructions by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/35 * updatedinstall by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/36 * In memory brep passing to gmsh iteration 2 by @shimwell in https://github.com/fusion-energy/cadto_dagmc/pull/32

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.3.2...0.4.0

- Python
Published by shimwell almost 3 years ago

cad-to-dagmc - 0.3.2

What's Changed

  • remove testing dependency to easy conda packaging by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/30

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.3.1...0.3.2

- Python
Published by shimwell about 3 years ago

cad-to-dagmc - 0.3.1

What's Changed

  • Update cadqueryassembly.py by @shimwell in https://github.com/fusion-energy/cadto_dagmc/pull/27
  • Merging packages by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/29

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.2.1...0.3.1

- Python
Published by shimwell about 3 years ago

cad-to-dagmc - 0.2.1

What's Changed

  • pip install includes cadquery by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/26

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.2.0...0.2.1

- Python
Published by shimwell about 3 years ago

cad-to-dagmc - 0.2.0

What's Changed

  • allowing tolerances to be user defined by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/24

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.1.3...0.2.0

- Python
Published by shimwell over 3 years ago

cad-to-dagmc - 0.1.3

What's Changed

  • added missing packages and doc strings by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/21
  • added version test and version attribute by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/23
  • Update multiplestpfiles.py example by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/22

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.1.2...0.1.3

- Python
Published by shimwell over 3 years ago

cad-to-dagmc - 0.1.2

What's Changed

  • Update package making by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/18

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.1.1...0.1.2

- Python
Published by shimwell over 3 years ago

cad-to-dagmc - 0.1.1

What's Changed

  • mamba build by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/17

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.1.0...0.1.1

- Python
Published by shimwell over 3 years ago

cad-to-dagmc - 0.1.0

What's Changed

  • refactor meshing of faces by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/14
  • tol=0.02 by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/15
  • Adding thin shape to cad test suite by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/13
  • Major refactor, gmsh instead of tessellation by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/16

Full Changelog: https://github.com/fusion-energy/cadtodagmc/compare/0.0.1...0.1.0

- Python
Published by shimwell over 3 years ago

cad-to-dagmc - 0.0.1

What's Changed

  • PeP8 auto formatting by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/2
  • More pep8 by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/3
  • Multi vol not touching by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/4
  • Adding some CI by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/5
  • added ci status badge by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/6
  • improved install instructions by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/7
  • renamed main function by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/9
  • using tessellate function everywhere in README.md by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/8
  • Split multi volume tests by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/10
  • added doc strings and comments by @shimwell in https://github.com/fusion-energy/cadtodagmc/pull/11

New Contributors

  • @shimwell made their first contribution in https://github.com/fusion-energy/cadtodagmc/pull/2

Full Changelog: https://github.com/fusion-energy/cadtodagmc/commits/0.0.1

- Python
Published by shimwell almost 4 years ago