Skip to content
Projects

About

Evidence-driven 2D CAD drafting and QA for editable DXF, AutoCAD DWG, and PDF

Science & Engineering

How these counts are measured

Measured star growth

in 24h
+18
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

OmniCAD — editable 2D CAD and evidence-led verification

MIT Python 3.10+ Codex Stars Forks

OmniCAD-Skill — AI CAD Automation & Automatic CAD Drawing

Don't just draw. Verify with evidence.

中文 · Agent Skill · Workflow · Validation · Changelog

OmniCAD is an open-source CAD automation skill for Codex, combining editable 2D DXF drafting, scoped drawing revisions and evidence-driven engineering QA (OQA). It can publish native DWG and PDF through supported full AutoCAD on Windows. Its Python DXF workflow does not require AutoCAD.

Quick start · Drawing portfolio · Evidence-driven engineering · Scope and limitations · Evidence index

V1.2.0 adds bounded native jobs, hash-verified checkpoints, acceptance profiles for five drawing disciplines, and page-by-page print comparison. See installation and compatibility.

V1.3.0 — Engineering Reliability & Intelligent Dimensioning Update ships the OmniGB catalog and five drafting profiles. Plan selected dimensions and leaders around hatch regions and extension-line conflicts, then use OQA to check measurements, dimension chains, text, sheets, and process links. The release supports five model units, editable CAD entities, and vector PDF extraction and overlays. Engineering inputs, clause applicability, and sign-off require professional review. Installation and drafting QA

See the OmniGB audit and compatibility matrix for the tested AutoCAD scope and limits of dimension associativity.

Drawing showcase

OmniCAD automated flange drafting showcase

Actual OmniCAD-generated DXF geometry, animated replay with OQA evidence; not a live AutoCAD recording.

Drawing portfolio

Native AutoCAD 2023 plots reproduced from synthetic repository inputs. Click either drawing to inspect the original preview.

01 / Transmission shaft 02 / Boss flange
Stepped shaft engineering drawing Flange engineering drawing
240 mm overall · 5 lands · keyway and sections Ø160 mm · Ø50 bore · 6 × Ø12 on PCD 120
Source parameters · Validation Source parameters · Validation

Other practical work includes industrial layouts, process diagrams and roof drainage plans. Private client drawings are not published.

Evidence-driven engineering

Evidence-driven CAD: geometric measurement, acceptance gates and traceable delivery

A drawing can look right while its dimensions are wrong. OmniCAD verifies measured geometry against reviewed requirements, rather than trusting the drawing's appearance or the agent's own assessment.

Evidence layer Verification
01 / Geometry & dimensions Entity structure, coordinates, lengths, radii, closure and measured dimensions versus displayed values.
02 / Native CAD & publication DWG reopening, reversible editing, DXF readback, PDF structure, paper size and independent replot comparison.
03 / Traceability & review Artifact hashes, visual evidence and unresolved engineering requirements.

A hard failure cannot be offset by a high score. Missing required evidence remains pending. Automated checks do not replace professional engineering review.

Designed to detect failure, not just produce output

What can go wrong How OmniCAD checks it
A dimension label is correct but its geometry is not Compare measured native geometry with the reviewed contract.
A requested edit changes unrelated entities Compare same-lineage drawings against the allowed revision scope.
A previously approved drawing is modified Bind review evidence to artifact hashes; stale evidence cannot authorize delivery.
AutoCAD stalls or returns an invalid artifact Bound native execution, preserve checkpoints and require host review before circuit reset.

These are implemented regression scenarios, not new performance claims. See the public evidence index for source parameters, relevant test files and verification boundaries.

V1.2.0 · Recorded evidence

43 offline tests AutoCAD 2023 5 acceptance profiles
Release record · Windows / Python 3.12 Native bracket smoke test Mechanical · Civil · Architecture · Food process · Workshop layout

Validation records · Acceptance rules · Live CI status

Features

  • Architectural and civil 2D drafting: grids, walls, openings, components and annotations.
  • Mechanical drafting: stepped shafts, flanges, sections, keyways, chamfers and tolerances.
  • Scoped DXF revisions, comparisons and OQA checks.
  • Native DWG and PDF publication with supported Windows AutoCAD.

📌 Scope and limitations

Important | Read before use

OmniCAD is a 2D CAD drafting assistant for AI agents, not an autonomous engineering design system. It is best suited to tasks with a defined drawing target, dimensions and output format. Open-ended engineering design requires a reviewed design scheme and professional input.

Level Typical task (illustrative quantities only) Current scope
L1 · Basic One simple part, one view, basic dimensions 🟢 Priority for reliability
L2 · Routine 1–3 routine views, dimensioned redraws, layer organization, simple plans 🟢 Recommended
L3 · Combined Multiple views, equipment layouts (e.g. 10–30 units), process diagrams 🟡 Conditional; split when useful
L4 · Complex Interdependent construction sheets, large site layouts, specialist component libraries 🟠 Exploratory; reliable delivery not promised
L5 · Engineering design Autonomous design from scratch, structural calculations, simulation, comprehensive code compliance 🔴 Outside current scope

The quantities illustrate task scale; they are not benchmarked capacity limits, success rates or delivery guarantees. Complexity also depends on geometry, input completeness, discipline requirements and human involvement. Acceptance coverage for a drawing category does not establish autonomous design capability for that discipline.

  • Inputs: Provide clear references, key dimensions and units, target format, and the content to preserve or change. Do not invent missing critical parameters.
  • Environment: Model capability, agent platform, CAD version, permissions and plotting configuration affect outcomes. Other platforms and versions are not automatically validated; see recorded validation.
  • Delivery: First-pass success, fixed runtime and token usage are not guaranteed. Automated checks do not replace professional review; drawings for construction, manufacturing or engineering safety require qualified review.
  • Feedback: Drafting errors, runtime faults and inefficiencies within core scope remain defects to investigate. Out-of-scope requests are evaluated separately. Scope boundaries are not an excuse for existing defects.

Quick start

Use a dedicated Python 3.10+ environment. Install the base package for DXF, add intake for PDF checks, and add autocad when using a licensed full Windows AutoCAD for native DWG and plotting. Run python -m omnicad doctor --workspace . before the first native job. See the installation and diagnostics guide.

See the V1.3.0 installation, workflow and compatibility guide.

Using Codex? Start here.

  1. Download the V1.3.0 installation ZIP and verify it against the release's SHA256SUMS.txt.
  2. Install the CLI in a separate Python 3.10+ environment as described in that guide.
  3. Enable the source folder containing SKILL.md in a supported Codex skill directory. Keep only one active version.

Download release · Install / upgrade / rollback · LT experimental guide

Developer walkthrough — build, check and publish a reproducible drawing

Windows example, using Python 3.10+ and a separate virtual environment:

git clone --branch v1.2.0 --depth 1 https://github.com/Haruhi764/OmniCAD-Skill.git
cd OmniCAD-Skill
py -3 -m venv .venv-v120
.venv-v120/Scripts/python.exe -m pip install ".[intake,autocad]"
.venv-v120/Scripts/python.exe -m omnicad mechanical examples/shaft-c.json job.json
.venv-v120/Scripts/python.exe -m omnicad build job.json drawing.dxf
.venv-v120/Scripts/python.exe -m omnicad oqa drawing.dxf --job job.json --domain mechanical --mode standard
.venv-v120/Scripts/python.exe -m omnicad publish job.json drawing.dxf publication --verify-native

The base package supports DXF without AutoCAD. PDF and image intake use the intake extra; native DWG/PDF requires licensed full Windows AutoCAD and suitable plot settings. Poppler is required for render comparison. Native delivery still requires visual and engineering review.

Compatibility at a glance

Environment Status
Python DXF workflow Implemented; no AutoCAD required
Full AutoCAD 2023 on Windows Native publication tested
AutoCAD 2021 / other versions Native verification pending
AutoCAD LT Experimental DXF exchange; native LT 2027 verification pending
macOS Native Windows COM route unavailable; local DXF workflow not independently verified

Frequently asked questions

Can I use OmniCAD without AutoCAD?

Yes, for the Python-based editable DXF workflow. Native DWG/PDF publication is a separate workflow requiring a supported Windows AutoCAD installation.

Can it revise existing drawings?

Scoped revisions of supported DXF entities and same-lineage drawing comparisons are implemented. Arbitrary legacy DWG editing and preservation of all proprietary objects are not guaranteed.

Does it support simulation, 3D assembly, BIM or CNC?

These are not established capabilities of the current release. OmniCAD focuses on editable 2D drawings and their verification.

Roadmap

  • AutoCAD 2D drafting and verification
  • AutoCAD LT compatibility (Experimental opt-in DXF exchange, LT 2027 native verification pending)
  • SolidWorks modeling and assembly — standalone OmniSolidWorks Skill
  • Revit BIM modeling

Planned integrations are not part of the current release. See validation for tested scope.

Feedback and contributions

Open an issue with your software version and a sanitized reproduction. See the existing workflow, V1.2 acceptance guide and contribution guide. AutoCAD LT users are invited to try the Experimental kit. Engineering judgment requires human review.

MIT license · Third-party provenance. Star the project if you find it useful.

Community & Support

OmniCAD official QQ community — 313181842

OmniCAD official QQ technical community — 313181842

Join the group for installation questions, bug reports, compatibility testing and feature suggestions. For reproducible issues, please also use GitHub Issues, including your CAD version, operating system and sanitized examples. Do not share confidential drawings or license information.


OmniCAD logo

OmniCAD · Draft / Verify / Deliver

Contribute · Report an issue · Releases

Omni family · Two dimensions, one philosophy

OmniCAD OmniSolidWorks
OmniCAD OmniSolidWorks
2D engineering drawings · Draft / Verify / Deliver 3D mechanical design · Model / Assemble / Verify

Explore related projects

Loading…