Monday 27 September 2021

Re: +1 Maintenance Report

On Thu, 23 Sept 2021 at 17:41, Utkarsh Gupta
<utkarsh.gupta@canonical.com> wrote:
> Whilst working through this, do you happen to know "what" exactly
> happened?

I think I can answer this now. Previously, python-meshio was writing
and reading STL files in native byte order, so the STL test passed on
big-endian systems. However, the data should have been in
little-endian byte order [1], so python-meshio was creating invalid
STL binary files on big-endian systems.

Upstream caused the files to be written in little-endian byte order in
commit 59a19d1. All that was missing was for the files to be read in
little-endian byte order as well. I submitted a PR and it was
accepted.


[1] https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel