cad-viewer

Analyze CAD DWG/DXF files and output JSON results via CLI.

2|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/Glow-maker/skills --skill cad-viewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cad-viewer
Source: https://github.com/Glow-maker/skills/tree/main/cad-viewer
Command: npx skills add https://github.com/Glow-maker/skills --skill cad-viewer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ezdxf, matplotlib, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill enables professional-grade reading, analysis, and visualization of CAD DWG/DXF drawings, reducing manual inspection time and enabling structured data extraction.

Core Features & Use Cases

  • Read file metadata (version, units, layers, blocks)
  • List layers and entities, analyze block definitions, and compute distances
  • Capture region/user-specified screenshots for reports and audits
  • Audit drawing compliance and generate JSON-based results for AI agents

Quick Start

Run cad-viewer on a DWG/DXF file to extract metadata, list layers and entities, and generate screenshots.

Frequently Asked Questions about cad-viewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract layers and metadata from a DXF or DWG file?

You can extract layers and metadata from a DXF or DWG file by automating the reading process to list file versions, units, blocks, and entity definitions. This structured extraction outputs JSON data for immediate analysis.

Can I automate CAD drawing compliance audits and generate screenshots?

Yes, you can automate CAD drawing compliance audits and capture region-specific screenshots. The tool audits drawing standards and generates JSON-based results alongside visual captures for engineering reports.

Does ezdxf support analyzing block definitions and computing distances in Linux environments?

Ezdxf supports analyzing block definitions and computing distances within Linux environments. It reads drawing structures, processes block references, and calculates spatial distances, outputting the results directly to JSON.

What is the best way to parse DWG files without proprietary CAD software?

The best way to parse DWG files without proprietary software is using a Python-based skill with optional ODA File Converter integration. It reads drawing entities and metadata, providing structured JSON output for agents.

Do I need to manually install ezdxf and matplotlib to analyze CAD drawings?

You do not always need to manually install ezdxf and matplotlib to analyze CAD drawings. The skill includes a manual setup flow that activates when dependencies are missing, ensuring continuous processing capability.