@@ -35,7 +35,7 @@ def calculate_estimated_price(material_id: int, file_sizes: List[int], file_quan
estimated_total = 0.0
file_costs = []
- base_fee = 0.0 # No setup fee
+ base_fee = 10.0 # Setup fee
for size, qty in zip(file_sizes, file_quantities):
total_size_mb = size / (1024 * 1024)
@@ -399,7 +399,7 @@ watch(selectedMaterial, (newVal) => {
});
// --- PRICING CONSTANTS (Must match backend/services/pricing.py) ---
const PRICING_CONFIG = {
- BASE_FEE: 0.0,
+ BASE_FEE: 10.0,
VOLUME_PROXY_COEFF: 8.0, // cm3 per 1MB of STL
MAX_DISCOUNT: 0.20,
DISCOUNT_PER_ITEM: 0.05