From 7a111371e9249d05534a40f4aed4a4bc77e2e15b Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Fri, 7 Jul 2017 18:11:37 +0200 Subject: [PATCH] Fixed code in readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3957352..5264882 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,15 @@ JavaScript gcode slicer, Intended to use with the Doodle3D WiFi-Box # Usage ```javascript -import THREE from 'three.js'; +import 'three.js'; import * as SLICER from 'doodle3d-slicer'; const settings = new SLICER.Settings({ ...SLICER.printerSettings['ultimaker2go'], - ...SLICER.userSettings + ...SLICER.userSettings.low }); -const geometry = new THREE.TorusGeometry(20, 10, 30, 30); +const geometry = new THREE.TorusGeometry(20, 10, 30, 30).clone(); const slicer = new SLICER.Slicer();