feat: enhance Earthing & Lighting layout sensitivity, un-gate tag classifier, fix deliverable exports & property access

- Un-gated pattern loops across all drawing types in tag_classifier.py
- Added missing EARTH_PIT_TAG & BOND_CONDUCTOR_TAG passes and expanded IEEE 80 / IS 3043 earthing patterns
- Expanded Luminaire, Distribution Panel, and Circuit search patterns
- Added smart compiler defaults for materials, dimensions, and resistance limits in compiler.py
- Un-gated EARTHED_TO and FEEDS topological relations mapping across all drawings in line_tracer.py
- Fixed EquipmentItem missing location attribute error in models.py and output_generator.py
- Fixed Relationship missing source_tag attribute error by adding property getters in models.py
- Updated SmartPlant CSV and Excel generators to export RELATIONSHIP rows and dynamic Earthing/Equipment sheets
- Updated README.md and .gitignore
This commit is contained in:
Avhinav Gupta
2026-08-08 21:58:56 +05:30
parent 5b31d4fdca
commit 9d78cceef5
13 changed files with 998 additions and 156 deletions
+53 -8
View File
@@ -1,15 +1,31 @@
# Byte-compiled / optimized / DLL files
# ==============================================================================
# SID-AI — Universal Engineering Drawing Intelligence Platform
# Git Ignore Configuration
# ==============================================================================
# ------------------------------------------------------------------------------
# 1. Byte-Compiled / Python Runtime Cache
# ------------------------------------------------------------------------------
__pycache__/
*.py[cod]
*$py.class
*.so
# Environment variables & secrets (Never commit API keys!)
# ------------------------------------------------------------------------------
# 2. Environment Variables, Secrets & API Credentials
# NEVER COMMIT REAL API KEYS OR PRODUCTION SECRETS TO REPOSITORY!
# ------------------------------------------------------------------------------
.env
.env.local
.env.development
.env.test
.env.production
.env.*
!.env.example
# Python virtual environments
# ------------------------------------------------------------------------------
# 3. Python Virtual Environments
# ------------------------------------------------------------------------------
pid_env/
venv/
.venv/
@@ -18,23 +34,52 @@ ENV/
env.bak/
venv.bak/
# Runtime outputs & temporary uploaded files
# ------------------------------------------------------------------------------
# 4. Storage, Temporary Uploads & Output Deliverables
# ------------------------------------------------------------------------------
uploads/
outputs/
rasterized/
*.log
temp/
tmp/
# ------------------------------------------------------------------------------
# 5. Databases, Execution Logs & Runtime Metrics
# ------------------------------------------------------------------------------
*.db
*.sqlite
*.sqlite3
extraction_history.db
*.log
install_log.txt
# Scratch & debug scripts
# ------------------------------------------------------------------------------
# 6. Local Scratchpads & Debugging Scripts
# ------------------------------------------------------------------------------
debug_*.py
scratch/
# OS and IDE files
# ------------------------------------------------------------------------------
# 7. IDE & Text Editor Files
# ------------------------------------------------------------------------------
.vscode/
.idea/
.claude/
*.swp
*.swo
*~
.project
.pydevproject
.settings/
# ------------------------------------------------------------------------------
# 8. OS Generated Files
# ------------------------------------------------------------------------------
.DS_Store
.claude/
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
desktop.ini