1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-21 09:44:26 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
bubnikv 3e8cafa857 Fix of ASCII STL parser. Accept a model even with invalid normals. 2016-12-05 11:39:17 +01:00
bubnikv 2085a482c7 admesh: Fixed a problem in loading an STL when compiled with
Visual Studio 2013. Added multiple compile time checks for data
sizes and alignment. The library STL import is not big endian safe, so
added a test for endianity, modified STL export to a faster little endian only.
2016-11-17 16:57:58 +01:00
bubnikv 52de3940fe Improvements of admesh robustness when loading and fixing STLs.
https://github.com/prusa3d/Slic3r/issues/33
2016-11-16 10:33:23 +01:00
bubnikv d1d6e907c5 Positive and negative zeros are possible in the floats, which are considered equal by the FP unit.
When using a memcmp on raw floats, those numbers report to be different.
Unify all +0 and -0 to +0 to make the floats equal under memcmp.
2016-11-16 09:31:18 +01:00
ntfshard d62f33b0b4 Removed unused variables 2015-11-04 20:49:20 +01:00
Alessandro Ranellucci be635c69e7 Fixed regression casusing some rare STL files not to parsed correctly because of lack of the solid name. #2914 2015-06-15 17:17:36 +02:00
Alessandro Ranellucci 911bed827c Fixed regression in STL parser. #2886 2015-06-09 14:54:52 +02:00
Alessandro Ranellucci 6095427926 Fix admesh's STL parser in order to make it more tolerant for broken STL files having multiple 'solid' definitions. Still not the ideal STL parser, but handles the cases that were reported so far. #2471 #2842 2015-06-01 19:49:52 +02:00
Joseph Lenox 102785d154 Fix a warning about unused return value when using freopen in admesh. Added another NULL check for safety. 2015-02-05 00:58:27 -06:00
Alessandro Ranellucci 504cbd89db Fix bug in admesh code that causes random binary STL files not to be read correctly on Windows. #2461 2015-01-04 11:46:58 +01:00
Miro Hrončok b9f4880b23 Updated to admesh 0.98.1 2014-09-23 14:34:37 +02:00
Alessandro Ranellucci 86f91bb3c4 New TriangleMeshSlicer::cut() method 2014-01-16 11:25:26 +01:00
Alessandro Ranellucci e62ef35fbf Bugfix: some binary STL files were not correctly parsed on Windows. #1370 1467 2013-11-12 16:58:26 +01:00
Alessandro Ranellucci 3464e646f7 Use fread() to read facet number 2013-11-12 15:27:42 +01:00
Alessandro Ranellucci d0d842e24a Use fread() to read binary STL files 2013-11-12 15:23:48 +01:00
Alessandro Ranellucci d660a1de0a Fix XS STL reader not populating stats.size correctly 2013-09-12 10:29:42 +02:00
Alessandro Ranellucci 3919ba83d8 Implemented TriangleMesh->merge 2013-09-09 22:45:22 +02:00
Alessandro Ranellucci 6373322b84 New ReadFromPerl() method 2013-07-03 11:38:01 +02:00
Alessandro Ranellucci 77440b774d Include admesh code for STL repair 2013-06-23 18:18:38 +02:00