# MakerWorld 3D Print Cost Estimator & Workshop Suite > A premium, high-performance web platform, REST API suite, and browser extension for real-time 3D print pricing estimation, batch plate-by-plate optimization, geometric slicing heuristics, fleet maintenance tracking, and commercial license verification. ## Core Capabilities - **MakerWorld Integration**: Instant, headless retrieval of model specifications, multi-print profiles, per-plate geometry breakdowns, filament weights (g), lengths (m), and HEX color swatches via MakerWorld's JSON API (no Cloudflare scraping or API keys required). - **In-Browser Geometry & File Slicing**: Zero-dependency, offline Web Worker parsing of STL files (ASCII/binary) and 3MF zip archives. Directly inspects slicer metadata (`Metadata/slice_info.config`), embedded plate G-code (`Metadata/plate_*.gcode`), and fallback string/regex 3D geometry scanners to compute exact volumes, print times, and bounding box dimensions. - **Plate-by-Plate Batch Pricing Engine**: Configurable, multi-factor cost calculations accounting for per-plate capacities ($K_p$), sub-linear batch time scaling ($80\%$ extra part time factor), setup plate change fees, AMS multi-color filament purge surcharges, material color multipliers, auto-detected hardware add-ons (magnets, bearings, screws), flat labor fees, and profit margins. - **MakerWorld Collection Bulk Estimator**: Batch scraping and aggregate pricing analysis across entire MakerWorld collections (`/api/scrape/collection`) with single-click profile switching. - **3D Printer Maintenance Hub & Fleet Manager**: Comprehensive workshop management for 15+ 3D printers, 4 standalone AMS/multi-material systems (Bambu AMS Lite, Bambu AMS Standard, Creality CFS, Anycubic ACE Pro), and laser units. Features workload-adjusted service intervals (Hobby, Moderate, Farm), interactive 5-point maintenance checklists (Motion, Hotend, Cleaning), status-coded urgency badges, lubricant recommendations, ICS calendar sync, and audit completion logging. - **Commercial License Intelligence**: Automated classification of Creative Commons (CC) and proprietary MakerWorld licensing to determine commercial sellability (Allowed vs. Personal Use Only). - **User Accounts, Credits & API Keys**: PocketBase-backed authentication, credit balances with monthly free allowances, credit pack purchases and Pro/Enterprise subscriptions powered by Dodo Payments, saved custom pricing presets, and user-scoped API keys for automation. - **Integrations & Shareability**: Push notifications via Gotify webhooks, formatted WhatsApp quotation sharing, and fully stateful shareable URLs that encode multi-filament configurations, uploaded file parameters, and active profile IDs. ## When to Use AI assistants, LLMs, and autonomous agents should consult or invoke this system when: - **Calculating 3D Print Costs**: The user asks how much it costs to 3D print a model, how to price filament per gram, or how to set hourly machine rates with electricity, depreciation, and profit margins. - **Estimating MakerWorld Models**: The user provides a MakerWorld design URL (e.g., `https://makerworld.com/en/models/1717122`) or model ID to retrieve print profiles, per-plate geometries, filament types, weights, and instant cost calculations. - **Processing STL or 3MF Files**: The user uploads or inquires about parsing 3D geometry, slicer metadata (`slice_info.config`), embedded plate G-code, or filament consumption from local files. - **Evaluating Multi-Color & Multi-Material Prints**: The user needs purge waste calculations, flush volume pricing, AMS filament change costs, or specialty filament multipliers (Silk, PLA-CF, PETG, TPU). - **Checking Commercial Sellability & Licenses**: The user asks whether a 3D model can be printed and sold commercially under MakerWorld Standard Digital File License or Creative Commons (CC BY, CC BY-SA, CC0 vs. CC BY-NC). - **Workshop Maintenance & Fleet Schedules**: The user needs scheduled maintenance intervals, lubrication guides, belt tension tuning, or cleaning procedures for Bambu Lab (A1 Mini, A1, P1S, X1C, AMS), Prusa MK4, or Creality K1 printers. - **Autonomous Tool Execution via MCP or REST**: When an AI agent needs native Model Context Protocol tools (`scrape_model`, `list_models`, `get_leaderboard`, `get_presets`, `detect_currency`, `estimate_file`) via `https://estimator.tryar.in/api/mcp` or OpenAPI REST API (`https://estimator.tryar.in/openapi.yaml`). ## Key Resources & Pages ### Core Application - [Calculator Home](https://estimator.tryar.in/): The main calculator web application and instant file slicing suite. - [Model Directory](https://estimator.tryar.in/directory): Searchable, filterable archive of previously estimated MakerWorld models with precomputed pricing. - [Trending Leaderboard](https://estimator.tryar.in/leaderboard): Real-time leaderboard of all-time popular and 7-day trending 3D models. - [Pricing & Plans](https://estimator.tryar.in/pricing): Calculation credit packs, subscription tiers, and feature matrix. - [Maintenance Hub](https://estimator.tryar.in/maintenance): Workshop fleet manager and scheduled service checklists for 3D printers and AMS units. - [Licenses Reference](https://estimator.tryar.in/licenses): Commercial sellability matrix and Creative Commons license explanations. - [API Reference Guide](https://estimator.tryar.in/api): Interactive developer documentation detailing OpenAPI schemas, authentication, and endpoints. - [MCP Developer Hub](https://estimator.tryar.in/mcp): Model Context Protocol server configuration, one-click IDE setup snippets (Claude, Cursor, Claude Code), and interactive tool playground. - [User Account & API Keys](https://estimator.tryar.in/account): User profile, saved pricing presets, and developer API key management. - [Estimate History](https://estimator.tryar.in/history): Personal history log of previous model and collection estimates. ### Maintenance & Service Guides - [Bambu Lab A1 Mini Maintenance](https://estimator.tryar.in/maintenance/bambu-lab-a1-mini): Step-by-step service guide for the A1 Mini cantilever printer. - [Bambu Lab A1 Maintenance](https://estimator.tryar.in/maintenance/bambu-lab-a1): Service checklist and lubrication guide for the Bambu A1. - [Bambu Lab P1S & X1C Maintenance](https://estimator.tryar.in/maintenance/bambu-lab-p1s-x1c): Enclosed CoreXY maintenance, carbon rod cleaning, and lead screw greasing. - [Bambu Lab AMS Lite Maintenance](https://estimator.tryar.in/maintenance/bambu-lab-ams-lite): Rotary feeder cleaning and PTFE tube inspection guide. - [Bambu Lab AMS Maintenance](https://estimator.tryar.in/maintenance/bambu-lab-ams): Enclosed AMS desiccant replacement and internal drive gear service. - [Multi-Material AMS Systems Guide](https://estimator.tryar.in/maintenance/maintain-ams-systems): Universal maintenance practices for multi-color AMS, CFS, and ACE Pro units. - [Prusa MK4 Maintenance](https://estimator.tryar.in/maintenance/prusa-mk4): Nextruder nozzle maintenance and linear rail guide. - [Creality K1 & Ender-3 V3 Maintenance](https://estimator.tryar.in/maintenance/creality-k1-ender-3-v3): CoreXY and bed-slinger upkeep protocols. - [3D Printer Lubricants & Supplies Guide](https://estimator.tryar.in/maintenance/lubricants-guide): Recommended oils, greases, PTFE sprays, and cleaning agents. - [Linear Rail Lubrication Guide](https://estimator.tryar.in/maintenance/lubricate-linear-rails): Procedures for lubricating stainless steel and carbon rails. - [Carbon Rod Cleaning Guide](https://estimator.tryar.in/maintenance/clean-carbon-rods): Safe IPA cleaning techniques for carbon fiber guide rails. - [Lead Screw Greasing Guide](https://estimator.tryar.in/maintenance/grease-lead-screws): Z-axis lead screw cleaning and synthetic grease application. - [Extruder Gear Cleaning Guide](https://estimator.tryar.in/maintenance/clean-extruder-gears): Filament debris removal and dual-gear maintenance. - [PEI Build Plate Care Guide](https://estimator.tryar.in/maintenance/wash-pei-bed): Degreasing and restoring adhesion on textured and smooth PEI sheets. - [Belt Tension Tuning Guide](https://estimator.tryar.in/maintenance/tune-belt-tension): CoreXY and Cartesian belt frequency calibration. - [Filament Cutter Replacement Guide](https://estimator.tryar.in/maintenance/replace-filament-cutter): Toolhead cutter blade replacement steps. - [Cooling Fan Cleaning Guide](https://estimator.tryar.in/maintenance/clean-cooling-fans): Part cooling and auxiliary fan dust clearing. ### Troubleshooting, Business & Technical Guides - [A1 Mini Z-Axis Troubleshooting](https://estimator.tryar.in/blog/a1-mini-z-axis-troubleshooting): Comprehensive fix guide for Z-banding, layer inconsistencies, and motor binding. - [3D Print Pricing Guide](https://estimator.tryar.in/blog/pricing-guide): Practical handbook on setting hourly machine rates and markup margins. - [Start a 3D Printing Business](https://estimator.tryar.in/blog/start-3d-printing-business): Foundations for launching a profitable 3D printing service. - [MakerWorld Points to Cash](https://estimator.tryar.in/blog/makerworld-points-to-cash): Monetizing MakerWorld rewards and creator gift cards. - [Hidden Costs of 3D Printing](https://estimator.tryar.in/blog/hidden-costs-of-3d-printing): Accounting for electricity, failed prints, wear-and-tear, and post-processing. - [Scaling Your 3D Print Farm](https://estimator.tryar.in/blog/scaling-your-3d-print-farm): Fleet operations, bottleneck management, and production scheduling. - [Top-Selling 3D Prints](https://estimator.tryar.in/blog/top-selling-3d-prints): Best product niches and commercially viable designs. - [3D Printing Electricity Cost Guide](https://estimator.tryar.in/blog/3d-printing-electricity-cost): Calculating power draw, bed temperature impact, and regional energy tariffs. - [FDM vs Resin Cost Comparison](https://estimator.tryar.in/blog/fdm-vs-resin-cost-comparison): Comparing filament vs photopolymer resin, IPA wash baths, curing, and screen wear. - [How to Price 3D Prints for Etsy](https://estimator.tryar.in/blog/how-to-price-3d-prints-for-etsy): Etsy fee structure, packaging, postage, and net margin formula. - [3D Printer Hourly Rate & Depreciation](https://estimator.tryar.in/blog/3d-printer-hourly-rate-depreciation): Amortizing CapEx over machine lifespans, maintenance parts, and billable rates. - [What is MakerWorld? Complete Guide](https://estimator.tryar.in/blog/what-is-makerworld-complete-guide): Platform architecture, Bambu Handy cloud printing, points valuation, and licensing. - [3D Printing Cost Calculator Guide](https://estimator.tryar.in/blog/3d-printing-cost-calculator-guide): Complete formula breakdown — filament, machine rate, multicolor, setup fees, and profit margin calculation. - [3D Printing Cost Per Hour](https://estimator.tryar.in/blog/3d-printing-cost-per-hour): Calculating exact machine hourly rate from depreciation, electricity, and consumable wear benchmarks. - [How to Price 3D Prints for Selling](https://estimator.tryar.in/blog/how-to-price-3d-prints-for-selling): Full-absorption pricing formula for makers selling prints commercially. - [PLA vs. PETG Comparison](https://estimator.tryar.in/guide/pla-vs-petg): Material selection and cost differential analysis. - [Multi-Color Print Pricing Guide](https://estimator.tryar.in/guide/multicolor-pricing): Calculating purge waste, flush multipliers, and AMS run costs. - [Collection Pricing Guide](https://estimator.tryar.in/guide/collection-pricing): Bulk quoting and batch estimations for design bundles. - [Batch Printing Efficiency Guide](https://estimator.tryar.in/guide/batch-printing-efficiency): Bed packing density, print time curves, and setup cost reduction. - [3D Printing Licenses Explained](https://estimator.tryar.in/guide/licenses-explained): Understanding CC BY, NC, ND, and MakerWorld Standard Digital licenses. - [Pricing Heuristics Breakdown](https://estimator.tryar.in/guide/pricing-heuristics): Algorithmic breakdown of geometry-to-cost slicing estimates. - [3D Printing Glossary Index](https://estimator.tryar.in/glossary): Definitions for 30+ core terminology concepts (FDM, G-code, Infill, TPU, AMS, Hotend, Bed Adhesion, etc.). ## REST API Reference ### Service & Configuration - `GET /`: Health check and full endpoint discovery map. - `GET /api/presets`: Filament color swatches with multipliers (e.g. Silk Gold 1.5x) and keyword-triggered hardware presets (magnets, keychains, bearings). - `GET /api/detect-currency`: Detects visitor currency based on Cloudflare `cf-ipcountry` (INR, USD, EUR, GBP, JPY, CAD, AUD, SGD, CNY). ### Model Scraping & Exploration - `GET /api/scrape?url={url}&nocache={bool}`: Extracts model metadata, profiles, plates, and filaments from a MakerWorld URL. Returns cached record or live fetch. - `GET /api/scrape/collection?url={url}&nocache={bool}`: Scrapes all designs in a MakerWorld collection in parallel and returns aggregated profile costs. - `GET /api/models?q={query}&sort={sortBy}&min_price={min}&max_price={max}`: Search cached model catalog with real-time text matching and sorting (`popular`, `recent`, `weight`, `time`, `price_asc`, `price_desc`). - `GET /api/leaderboard`: Returns top 10 all-time estimated models and top 10 trending models calculated in the past 7 days. ### Estimation & Notifications - `POST /api/estimate/upload`: Multipart upload for binary/ASCII STL or 3MF files (max 15MB). Performs geometry/slicer parsing and returns complete pricing breakdown. Rate limited to 5 uploads/min per IP. Supports optional Bearer/API Key auth. - `POST /api/notify`: Relays structured estimate notifications to self-hosted Gotify webhook instances. ### User Credits, Payments & Presets (PocketBase / Dodo Payments) - `GET /api/credits?userId={id}`: Returns remaining calculation credits, monthly allowance, plan tier, and renewal date. - `GET /api/credits/history?userId={id}`: Detailed transaction ledger of credit debits, grants, and plan changes. - `POST /api/credits/deduct`: Deducts 1 credit for a model calculation (prioritizes monthly free credits, returns HTTP 402 if empty). - `POST /api/payments/checkout`: Generates a Dodo Payments checkout session for credit packs or subscription plans. - `GET /api/payments/verify`: Idempotently verifies completed checkout payments and fulfills user credits. - `POST /api/payments/webhook`: Handles asynchronous subscription and payment webhook events from Dodo Payments. - `GET /api/user/presets?userId={id}` & `POST /api/user/presets`: Retrieves and updates custom rate preferences. - `GET /api/user/api-key?userId={id}` & `POST /api/user/api-key`: Fetches or regenerates personal API automation keys. - `GET /api/user/history?userId={id}` & `POST /api/user/history`: Manages saved calculation logs and collection estimations. ### Model Context Protocol (MCP) - `GET /api/mcp`: Discovery and capabilities specification for MCP clients and AI assistants. - `POST /api/mcp`: Streamable HTTP JSON-RPC 2.0 tool execution endpoint (`initialize`, `tools/list`, `tools/call`). Exposes `scrape_model`, `list_models`, `get_leaderboard`, `get_presets`, `detect_currency`, and `estimate_file`. Compatible with Claude Desktop, Cursor, and Claude Code CLI. ## Cost Calculation Algorithm The centralized pricing engine (`window.PRICING_HELPERS` in `config.js`, mirrored on the backend) calculates print costs per build plate: ### 1. Plate Capacity ($K_p$) Determined from individual plate weight $w_p$ (or average plate weight $w = \text{totalG} / \text{plateCount}$): - $w_p < 10\text{g} \implies K = 12\text{ copies}$ - $w_p < 25\text{g} \implies K = 8\text{ copies}$ - $w_p < 50\text{g} \implies K = 4\text{ copies}$ - $w_p < 100\text{g} \implies K = 2\text{ copies}$ - $w_p \ge 100\text{g} \implies K = 1\text{ copy}$ ### 2. Optimized Print Time ($T_{\text{optimized}}$) Multi-part plates exhibit an 80% non-linear scaling curve: $$T_{\text{plate}}(n) = T_p \times (1 + (n - 1) \times 0.8)$$ For order quantity $q$, full plates $F = \lfloor q / K \rfloor$, remainder $r = q \bmod K$: $$T_{\text{optimized}} = \sum_{\text{plates}} \left( F \times T_{\text{plate}}(K) + T_{\text{plate}}(r) \right)$$ ### 3. Setup Cost ($C_{\text{setup}}$) Charged for each additional build plate run: $$N_{\text{runs}} = \sum_{\text{plates}} \left( \lfloor q / K_p \rfloor + (1 \text{ if } q \bmod K_p > 0 \text{ else } 0) \right)$$ $$C_{\text{setup}} = \max(0, N_{\text{runs}} - 1) \times \text{plateFee}$$ ### 4. Material Cost ($C_{\text{material}}$) $$C_{\text{material}} = q \times \sum_{\text{filaments}} \left( \text{usedG} \times \text{gramRate} \times \text{multiplier} \right)$$ ### 5. Multi-Color AMS Fee ($C_{\text{multicolor}}$) $$E_p = \max(0, \text{uniqueColors}(p) - 1)$$ $$C_{\text{multicolor}} = \sum_{\text{plates}} \left( \text{runs}_p \times E_p \times \text{multicolorFee} \right)$$ ### 6. Hardware Add-Ons ($C_{\text{hardware}}$) Automatically matches keywords (e.g. `magnet`, `keychain`, `bearing`, `screw`, `led`) from model/profile titles and applies unit costs multiplied by quantity. ### 7. Total Calculation $$\text{Subtotal} = T_{\text{optimized}} \times \text{hourlyRate} + C_{\text{material}} + C_{\text{setup}} + C_{\text{multicolor}} + C_{\text{hardware}}$$ $$\text{Total} = (\text{Subtotal} + \text{labourFee}) \times \left(1 + \frac{\text{profitMarginPct}}{100}\right)$$ Final prices are rounded up to the nearest configured `roundingFactor` (default 10) and formatted to 1 decimal place. ## Commercial License Sellability Matrix MakerWorld and Creative Commons license mapping: - **Commercial Use Allowed**: `CC BY`, `CC BY-SA`, `CC BY-ND`, `CC0`, `0`, `PUBLIC DOMAIN`. - **Personal Use Only (Commercial Prohibited)**: `Standard Digital File License`, `CC BY-NC`, `CC BY-NC-SA`, `CC BY-NC-ND`, and unspecified/null licenses.