ChristophSchranz / Tweaker-3

A performant auto-rotate software for objects in 3D Printing, whose parameter are trained by an evolutionary algorithm.
GNU General Public License v3.0
91 stars 25 forks source link

Broken Facet Count #9

Closed Renari closed 4 years ago

Renari commented 4 years ago

It seems the following commit breaks the facet count in binary stl.

https://github.com/ChristophSchranz/Tweaker-3/commit/3aea2d90422076c0486de43c0979379d7bc53e4a

Renari commented 4 years ago

Here's the same file Tweaked before and after this commit: BEFORE

54 77 65 61 6B 65 64 20 6F 6E 20 54 68 75 20 30 37 20 4D 61 79 20 32 30 32 30 20 30 39 3A 33 31 3A 33 35 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0A 9C 2E 00 00 00 38 18 A3 70 2C 05 26 4C B1 68 C0

AFTER

54 77 65 61 6B 65 64 20 6F 6E 20 54 68 75 20 30 37 20 4D 61 79 20 32 30 32 30 20 31 35 3A 30 32 3A 31 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0A 89 0F 00 00 00 38 18 A3 70 2C 05 26 4C B1 68 C0

Notice the facet count of 9C 2E before and 89 0F after.

File: https://www.thingiverse.com/thing:3686434