Commit Graph
10 Commits
Author SHA1 Message Date
Atharv1705 08083ff3f4 Fix AI pipeline pricing bugs, standardise config schemas, resolve cache contract flaw, remove dead code, and clear outputs from tracking 2026-07-08 15:22:42 +05:30
Atharv1705 1074a112e8 Refactor LayoutFingerprintEngine and fix Shop Drawing Matrix formatting
- Introduce LayoutFingerprintEngine for topological hashing

- Remove KitchenLayoutClassifier overrides in pipeline

- Update MatrixBuilder to use the new FingerprintEngine

- Fix Cover Page layout (Appliance Schedule, Revision block, Finish box)

- Fix Matrix Page alignment, font hierarchy, and border widths
2026-07-01 16:44:00 +05:30
Atharv1705 ee2a024ff0 Fix shop drawing scaling and elevation rendering clipping issue 2026-07-01 14:01:18 +05:30
Atharv1705 151e3f7e17 Fix cabinet overlapping in shop drawings, update DXF styling, and fix PDF scaling 2026-06-23 15:20:57 +05:30
prajwalabhang1 985a1f0b85 feat: complete web application, wizard dashboard, and Windows CP1252 compatibility fixes 2026-06-19 17:00:20 +05:30
prajwalabhang1 beeac663fa feat: finalize end-to-end cabinet estimation and shop drawing pipeline for Projects 23-033 (Casa Familia) and 23-045 (Heritage Village) 2026-06-19 10:21:11 +05:30
prajwalabhang1 887773d71b Merge branch 'master' of https://github.com/Prajwalabhang1/Cabinets 2026-06-18 16:18:46 +05:30
prajwalabhang1 9902cbc1f3 feat: production-grade AI cabinet estimation pipeline
- core/ai_vision_classifier.py: Claude 3.5 Sonnet Vision API integration
  with retry logic, JSON recovery, and GPT-4o backup validation
- core/cabinet_validator.py: rule-based sanity checker (width snapping,
  ADA height, room width, consecutive corner checks, auto-corrections)
- core/price_matcher.py: EUR price list -> USD with fuzzy width matching
  and 3-tier pricing support; fallback USD catalog for offline use
- core/unit_counter.py: floor plan unit type counter + manual override
- core/job_costing.py: algebraic selling price formula
  SP = Pre-Margin / (1 - GP% - Commission% - Bond%)
- core/dimension_parser.py: fixed bracket [14'] parsing, tightened range
  validation, dual metric/imperial cross-validation
- generators/cabinet_excel.py: data-driven Excel (Project Info, Matrix,
  Library, Job Costing, Shop Drawing sheets) for any project
- generators/shop_drawing_pdf.py: 17x11 landscape ItalianKB-style PDF
  with cover page, unit matrix, per-elevation cabinet schedules
- pipeline.py: master CLI orchestrator (--skip-ai, --unit, --dry-run)
- projects/casa_familia/project_config.json: Casa Familia config (5 units)
- projects/heritage_village/project_config.json: Heritage Village (14 units)
- data/cabinet_library.json: standard catalog (26 SKUs, mm + inches)
- test_all.py: 33/33 validation tests passing
- outputs/: Heritage Village 16-page PDF + Excel; test outputs
- .gitignore: excludes .env, __pycache__, IDE files

All tests: 33/33 PASS
End-to-end: Heritage Village pipeline completes in 2.7 seconds
2026-06-18 16:18:26 +05:30
prajwalabhang1 d8f48d24e0 Initial commit: Albert Project with all source files, PDFs, and architectural drawings 2026-06-18 15:47:31 +05:30
Prajwalabhang1 8c4149ee99 Initial commit: AI Cabinet Estimation Pipeline
- step1_crop_elevations.py: PyMuPDF extraction + 400 DPI region cropper
- read_arch_drawing_pymupdf.py: Full PDF extraction visual demo (4-page output)
- show_pymupdf_output_formats.py: PyMuPDF return type documentation
- generate_italiankb_shop_drawings.py: Casa Familia shop drawing PDF generator
- generate_heritage_shop_drawings.py: Heritage Village shop drawing PDF generator
- generate_heritage_excel.py: Heritage Village cabinet matrix + pricing Excel
- run_cabinet_estimation.py: Master pipeline runner
- _Project_Understanding/: Full client requirements + research docs
- README.md: Project overview and pipeline documentation
- .gitignore: Excludes large generated files and secrets
2026-06-18 13:11:20 +05:30