Versions Compared

Key

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

...

SLS (PA12)

Code Block
languagejs
//Variables starting with keyword "let" are adjustable by customers
let maxVolume = 380 * 284 * 380; // dimensions of the printer
let materialCost = 60;           // euro/kg
let density = 1.02;              // g/cm^3
let machineRate = 50;            // euro/hour
let maxPrintTime = 14;           // printing time of a full building chamber
let margin = 5;                  // total price is multiplied with margin

// Price calculation
let material = model.volume * materialCost * density * 0.000001;
let time = (model.convex_hull_volume * maxPrintTime) / maxVolume;
let price = margin * (material + time * machineRate);

// Last line must contain final price
price;

...

SLA (Accura ClearVue)

Code Block
languagejs
//Variables starting with keyword "let" are adjustable by customers
let materialCost = 120;          // euro/kg
let density = 1.12;              // g/cm^3
let machineRate = 32;            // euro/hour
let timePerSurface = 0.00001;    // h/mm^2 model’s surface
let margin = 5;                  // total price is multiplied with margin

// Price calculation
let materialVolume = model.volume + support.volume * 0.1; 
let material = materialVolume * materialCost * density * 0.000001;
let time = model.area * timePerSurface * machineRate;
let price = margin * (material + time);

// Last line must contain final price
price;

...

DMLS (Aluminum ALSI10MG)

Code Block
languagejs
//Variables starting with keyword "let" are adjustable by customers
let materialCost = 180;        //euro/kg
let density = 4.43;            //g/cm^3
let hourlyRate = 35;           //euro/hour
let scanningSpeed = 3000;      //mm/s
let laserDiameter = 0.1;       //mm
let layerHeight = 0.1;         //mm
let layerPreparationTime = 10; //s
let supportInfill = 0.1;       // 10%
let laserNumber = 1;           // Set number of lasers for multi-laser machines
let factor = 1;


// Price calculation
let materialVolume = model.volume + support.volume * supportInfill;

let recoatingTime = ((layerPreparationTime * model.h) / layerHeight) / item.quantity;
let printingSpeed = scanningSpeed * laserNumber * laserDiameter * layerHeight;

let machineTime = factor * (materialVolume / (printingSpeed) + recoatingTime) / 3600;

let price = hourlyRate * machineTime + density * materialVolume * materialCost / 1000000;

// Last line must contain final price
price;