Reply To: Compilation error
This assertion error (the compilation worked, this is a runtime problem) is most likely caused by either a too large deltaX (s.t. not even a single cell width is required to cover one of the axes of the STL) or, more likely, that the scaling of the STL is not set correctly. To fix this you should 1) check what the base unit of your STL is and 2) set the
T stlSize parameter of the
STLreader constructor accordingly (in SI meters). I hope this helps!