During PR #26 in commit 352b517a898d8e2b4186de819b6e7b64a6b04ec9, an undeterministic behavior has been added in
the generate() method of Sphere class. A random creation direction axis of the sphere is used as workaround to a bug of OpenCascade related to this issue https://github.com/CadQuery/cadquery/issues/1461
In order to provide a deterministic behavior in sphere generation. A numpy random generator with a fixed seed is used instead of the built-in python random() function.
During PR #26 in commit 352b517a898d8e2b4186de819b6e7b64a6b04ec9, an undeterministic behavior has been added in the
generate()
method ofSphere
class. A random creation direction axis of the sphere is used as workaround to a bug of OpenCascade related to this issue https://github.com/CadQuery/cadquery/issues/1461In order to provide a deterministic behavior in sphere generation. A numpy random generator with a fixed seed is used instead of the built-in python
random()
function.