Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 868 Bytes

load_stl.md

File metadata and controls

22 lines (15 loc) · 868 Bytes

1. Load STL file

This step is currently done by using an external lib (https://github.com/hschendel/stl). I wanted to focus on the slicing process itself. That's why I cannot write much about it.

But I can tell about some problems you can face with stl files:

Basically a STL file exists in two flavours:

  • ASCII
  • Binary

Both of them have a similar structure, but the binary version needs less space.

Wikipedia

However it is a bit tricky to check if it is ASCII or Binary.
The specification defines that the Binary files never start with "solid ". But sadly there are some files out there which do not respect this rule. (even the well known 3DBenchy.stl has this problem.)

That's why I fixed it in the lib I use.