mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-19 12:27:56 +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 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';
|
import * as SLICER from 'src/index';
|
||||||
|
|
||||||
var settings = new SLICER.Settings();
|
var settings = new SLICER.Settings();
|
||||||
settings.updateConfig(PRINTER_SETTINGS["ultimaker2go"]);
|
settings.updateConfig(SLICER.printerSettings['ultimaker2go']);
|
||||||
settings.updateConfig(USER_SETTINGS);
|
settings.updateConfig(SLICER.userSettings);
|
||||||
|
|
||||||
var geometry = new THREE.TorusGeometry(20, 10, 30, 30);
|
var geometry = new THREE.TorusGeometry(20, 10, 30, 30);
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
import Slicer from './slicer.js';
|
import Slicer from './slicer.js';
|
||||||
import Settings from './settings.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