Adds production-grade engineering features and tools: 2D GD&T (feature control frames + datum features) via engineering/gdt.py, ISO‑129 dimension tolerance support (engineering/tolerances.py) and an ezdxf/COM plumbing for toleranced dims, a scalar drawing score + invalidity ratio (engineering/scoring.py) wired into drawing_finalize, in-place entity editors (entity_edit_text/entity_edit_geometry), and a friendly drawing_settings facade. Includes server tool wiring, COM/ezdxf backend implementations, datum-consistency critique, many unit tests, README/CLAUDE/CHANGELOG updates, and a version bump to 1.2.0. Also corrects COM backend capability label (entities_2d).
55 lines
922 B
TOML
55 lines
922 B
TOML
[project]
|
|
name = "autocad-mcp-pro"
|
|
version = "1.2.0"
|
|
description = "Production-grade AutoCAD MCP server — COM API + ezdxf dual engine"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastmcp>=3.0",
|
|
"ezdxf>=1.3",
|
|
"pydantic>=2.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
com = [
|
|
"pywin32>=306",
|
|
"Pillow>=10.0",
|
|
]
|
|
pdf = [
|
|
"matplotlib>=3.8",
|
|
]
|
|
full = [
|
|
"pywin32>=306",
|
|
"Pillow>=10.0",
|
|
"matplotlib>=3.8",
|
|
]
|
|
|
|
[project.scripts]
|
|
autocad-mcp = "server:mcp"
|
|
|
|
[tool.uv]
|
|
dev-dependencies = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.23",
|
|
"pytest-cov>=5.0",
|
|
"ruff>=0.8",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W", "UP", "B"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "strict"
|