Go to file
2015-05-01 10:06:52 +02:00
gcode cleaner structure 2015-04-24 21:32:39 +02:00
library Created Fills 2015-04-30 18:26:34 +02:00
src cleaned up files 2015-05-01 10:06:52 +02:00
.gitignore cleaner structure 2015-04-24 21:32:39 +02:00
doodle.html cleaner structure 2015-04-24 21:32:39 +02:00
index.html Fixed link in index.html 2015-04-24 21:48:57 +02:00
README.md cleaned up files 2015-05-01 10:06:52 +02:00
slice_test.html cleaned up files 2015-05-01 10:06:52 +02:00

Doodle3D-Slicer

The Doodle3D Slicer is designed for developers to make it easier to export 3d models to the Doodle3D WiFi-Box. The slicers includes a slicer and a class designed for communication with the WiFi-Box. All the classes are in the D3D name space.

Three.js, Clipper.js and jQuery are required to run the Doodl3D slicer. All are included in the source.

This is an example of code.

var localIp = "192.168.5.1";
var doodleBox = new D3D.Box(localIp);

doodleBox.onload = function () {
  "use strict";
  
  var geometry = new THREE.TorusGeometry(40, 20, 10, 10);

  var slicer = new D3D.Slicer().setGeometry(geometry);
  var gcode = slicer.getGcode(doodlBox.printer);
  
  doodleBox.print(gcode);
};

For more information see http://www.doodle3d.com/help/api-documentation