SlicingAdaptive.xsp 488 B

12345678910111213141516
  1. %module{Slic3r::XS};
  2. %{
  3. #include <xsinit.h>
  4. #include "libslic3r/SlicingAdaptive.hpp"
  5. %}
  6. %name{Slic3r::SlicingAdaptive} class SlicingAdaptive {
  7. SlicingAdaptive();
  8. ~SlicingAdaptive();
  9. void clear();
  10. void add_mesh(TriangleMesh *mesh);
  11. void prepare(coordf_t object_size);
  12. float next_layer_height(coordf_t z, coordf_t quality_factor, coordf_t min_layer_height, coordf_t max_layer_height);
  13. float horizontal_facet_distance(coordf_t z, coordf_t max_layer_height);
  14. };