code: function(object, segments, axis) {
    var size = object.size()[axis];
    var width = size / segments;
    var result = [];
    for (var i = width; i < size; i += width) {
      result.push(i);
    }
    return result;
  }
docs: Returns an array of positions along an object on a given axis.
  @param  {CSG} object   The object to calculate the segments on.
  @param  {number} segments The number of segments to create.
  @param  {string} axis     Axis to create the sgements on.
  @return {Array}          An array of segment positions.