...
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 singleLayerPrintTime = 15; // sec let layerHeight = 0.2; // mm 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 let numberOfLayers = model.h/layerHeight; let machineTime = singleLayerPrintTime * numberOfLayers/item.quantity; let machineCostmachine = (machineTime * machineRate) / 3600; //Total price: material price plus machine runtime cost let price = margin * (material + machineCostmachine); price; |
CLIP Machine Time Formula
...