mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-19 04:27:55 +01:00
include settings in lib
This commit is contained in:
parent
ecce63f63c
commit
5b9931531b
@ -1,11 +1,9 @@
|
||||
import THREE from 'three.js';
|
||||
import PRINTER_SETTINGS from 'settings/printer_settings.json!';
|
||||
import USER_SETTINGS from 'settings/user_settings.json!';
|
||||
import * as SLICER from 'src/index';
|
||||
|
||||
var settings = new SLICER.Settings();
|
||||
settings.updateConfig(PRINTER_SETTINGS["ultimaker2go"]);
|
||||
settings.updateConfig(USER_SETTINGS);
|
||||
settings.updateConfig(SLICER.printerSettings['ultimaker2go']);
|
||||
settings.updateConfig(SLICER.userSettings);
|
||||
|
||||
var geometry = new THREE.TorusGeometry(20, 10, 30, 30);
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
import Slicer from './slicer.js';
|
||||
import Settings from './settings.js';
|
||||
import printerSettings from './settings/printer_settings.json!';
|
||||
import userSettings from './settings/user_settings.json!';
|
||||
|
||||
export { Slicer, Settings };
|
||||
export { Slicer, Settings, printerSettings, userSettings };
|
||||
|
Loading…
Reference in New Issue
Block a user