pyroll-project / pyroll-core

PyRoll rolling simulation framework - core library.
https://pyroll.readthedocs.io
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

Added capability to provide roll_diameter in roll definition #216

Closed RichardPfr closed 1 month ago

RichardPfr commented 1 month ago

Intended to close #214

Added a new test-file and functions to convert the nominal_diameter, if provided, into the nominal_radius for further calculations.

RichardPfr commented 1 month ago

I added a check if the value is set and also an additional function to also always provide the nominal_diameter in the roll object even, if only the radius was set.

I suppose this is what you meant @ChRen95? The report file will now also always contain both values and they should also always be usable interchangably.