...
CLIP Machine Time Formula
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 maxXYSurface = 1000; // xy surface of the printer in mm^2 let timePerHeight = 10; // h/mm model's height let machineRate = 50; // euro/hour // Material cost calculation let material = model.volume * materialCost * density * 0.000001; // Don't change the following line lines // Machine runtime cost calculation in hour let timemachineTime = (model.h*timePerHeight)*((model.w*model.d)/maxXYSurface); let machine = machineTime * machineRate; //Total price: material price plus machine runtime cost let price = margin * (material + machine); price; |