Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Two factors will have an impact on the machine time: the model's volume that needs to be sintered, and the model's height, as consecutive layers will require the machine to lower the powder bed and put new material on the platform. Furthermore, in the case of more than one model being placed on the platform, the total machine time will not be simply a sum of unit printing times, as adding new parts of lower or the same height as the tallest model will not change the time related to preparation of all layers required to print all parts.

Code Block
//Material variables
let materialCost = 60;             // euro/kg
let density = 1.02;                // g/cm^3
let margin = 1;                    // total price is multiplied with margin

//Machine time variables
let scanningSpeed = 45;            // mm/s
let laserDiameter = 0.1;           // mm
let layerHeight = 0.2;             // mm
let layerPreparationTime = 10;     // sec
let machineRate = 50;              // euro/hour

// Material cost calculation
let material = model.volume * materialCost * density * 0.000001;

// Don't change the following lines
// Machine runtime cost calculation in hour
let numberOfLayers = model.h/layerHeight;
let machineTime = (model.volume/(scanningSpeed*laserDiameter*layerHeight) +
layerPreparationTime*model.h/layerHeightnumberOfLayers/item.quantity)/3600;

let machine = machineTime * machineRate;
//Total price: material price plus machine runtime cost
let price = margin * (material + machine);

price;

DMLS/SLM Machine Time Formula

...