paramak icon indicating copy to clipboard operation
paramak copied to clipboard

Create parametric 3D fusion reactor CAD and neutronics models

Results 67 paramak issues
Sort by recently updated
recently updated
newest added

This feature was recently added to cadquery :tada: so we can refactor the stl export a bit https://github.com/CadQuery/cadquery/commit/03c3266b8d61d487349a15f73d3b3cb13bce625f

Looks like the docs are building again, but they appear to have lost thier + signs for expanding the menus plus signs not there when using these versions - sphinx...

We have lots of tests that have a nested function def and then assert the function call raises an error, for example https://github.com/fusion-energy/paramak/blob/8862e29f3761d06dac5fd368160c26face82b900/tests/tests_units/test_shape.py#L64-L76 however this test could be shortened to...

spotted this error in the CI ```python def test_volume_increases_with_rotation_angle(): test_shape_1 = paramak.DishedVacuumVessel(rotation_angle=180) test_shape_2 = paramak.DishedVacuumVessel(rotation_angle=360) > assert test_shape_1.volume() * 2 == pytest.approx(test_shape_2.volume()) E assert 0.0 == 21536838.298035033 ± 2.2e+01 E...

Pytest has a nice way of skiping tests https://docs.pytest.org/en/7.1.x/reference/reference.html#pytest-importorskip We could use this to skip tests that require optional dependencies

Some particle lost tracking issues were reported when trying to make a dagmc model from a Paramak Reactor class that contained thin volumes. Example is here for me to look...

The export stl function loops through the volumes in reactor.solid and saves each volume to an stl file. However there is a nice option to first merge the surfaces then...

Just noticed while using the `Shape.rotate_solid` method that the `solid` argument was not optional, despite what's written in the docs. https://github.com/fusion-energy/paramak/blob/4366a238d0917c16a96d31fdf892ef5ced7e6063/paramak/shape.py#L657 Should it have a default value? Is it even...

documentation

After #234 , @jbae11 should test if Paramak-generate h5m files can be directly used with Shift, and that the results match that of OpenMC, for a simple problem.