Go to file
casperlamboo 3bacee2072 improved index page
index page now checks if doodle boxes are alive before displaying them
2015-06-11 11:08:56 +02:00
gcode cleaner structure 2015-04-24 21:32:39 +02:00
library added progress bar 2015-05-29 13:51:18 +02:00
models Improved Support 2015-06-10 18:25:49 +02:00
settings improved network error handling 2015-06-11 10:28:21 +02:00
src improved index page 2015-06-11 11:08:56 +02:00
webworker improved index page 2015-06-11 11:08:56 +02:00
.gitignore changed gcode implementation from array to string 2015-05-19 17:15:59 +02:00
index.html improved index page 2015-06-11 11:08:56 +02:00
README.md added separate settings files 2015-05-19 19:58:13 +02:00
slice_test.html Improved Support 2015-06-10 18:25:49 +02:00
webworker_benchmark_resutaten.txt added progress bar 2015-05-29 13:51:18 +02:00
webworker_benchmark.html added benchmark for web workers 2015-05-29 10:41:44 +02:00
webworker_test.html improved index page 2015-06-11 11:08:56 +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 gcode 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 printer = new D3D.Printer(printerSettings, userSettings);

  var geometry = new THREE.BoxGeometry(20, 20, 20, 1, 1, 1);
  var material = new THREE.MeshBasicMaterial({color: 0x000000, wireframe: true});
  var mesh = new THREE.Mesh(geometry, material);
  mesh.position.x = 100;
  mesh.position.z = 100;
  mesh.position.y = 10;
  
  var slicer = new D3D.Slicer().setMesh(mesh);
  var gcode = slicer.getGcode(printer);
  
  doodleBox.print(gcode);
};

For more information see http://www.doodle3d.com/