import { sliceGeometry, sliceMesh } from './slicer.js';
import baseSettings from './settings/default.yml!text';
import printerSettings from './settings/printer.yml!text';
import materialSettings from './settings/material.yml!text';
import qualitySettings from './settings/quality.yml!text';
import yaml from 'js-yaml';

const defaultSettings = {
  base: yaml.safeLoad(baseSettings),
  printer: yaml.safeLoad(printerSettings),
  material: yaml.safeLoad(materialSettings),
  quality: yaml.safeLoad(qualitySettings)
};

export {
  sliceGeometry,
  sliceMesh,
  defaultSettings
};
