Go to file
casperlamboo c4c32234ae slicer now needs mesh instead of geometry
transformations of the mesh automatically apply to the geometry
2015-05-08 10:07:26 +02:00
build slicer now needs mesh instead of geometry 2015-05-08 10:07:26 +02:00
gcode cleaner structure 2015-04-24 21:32:39 +02:00
library added more support for doodle box 2015-05-06 15:06:04 +02:00
src slicer now needs mesh instead of geometry 2015-05-08 10:07:26 +02:00
stl added more support for doodle box 2015-05-06 15:06:04 +02:00
.gitignore added Gulp 2015-05-01 14:09:45 +02:00
doodle.html removed unused libraries 2015-05-01 11:17:41 +02:00
gulpfile.js fixed higher layer algorithm 2015-05-01 14:59:39 +02:00
index.html slicer now needs mesh instead of geometry 2015-05-08 10:07:26 +02:00
README.md slicer now needs mesh instead of geometry 2015-05-08 10:07:26 +02:00
slice_test.html slicer now needs mesh instead of geometry 2015-05-08 10:07:26 +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);

var geometry = new THREE.TorusGeometry(40, 20, 10, 10);
var material = new THREE.MeshBasicMaterial({color: 0x000000, wireframe: true});
var mesh = new THREE.Mesh(geometry, material);

doodleBox.onload = function () {
  "use strict";
  
  var slicer = new D3D.Slicer().setGeometry(mesh);
  var gcode = slicer.getGcode(doodleBox.printer);
  
  doodleBox.print(gcode);
};

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