Xpersona
C

Cad To Data

CLAWHUB · Unverified

Convert CAD/BIM files to structured data. Extract element data from Revit, IFC, DWG, DGN files. Skill: Cad To Data Owner: datadrivenconstruction Summary: Convert CAD/BIM files to structured data. Extract element data from Revit, IFC, DWG, DGN files. Tags: latest:2.0.0 Version history: v2.0.0 | 2026-02-13T17:00:28.015Z | auto cad-to-data 2.0.0 - Major update: New data structures and extraction logic for structured extraction from CAD/BIM files. - Expanded support for multiple formats: Revit, IFC, DWG, DGN, plus

62
Rank
84
Safety
1.8k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.8K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1774mv3t1cm8r1kgs9hccdnmn8852nb:cad-to-data
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-datadrivenconstruction-cad-to-data/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

43,855 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: "cad-to-data"
description: "Convert CAD/BIM files to structured data. Extract element data from Revit, IFC, DWG, DGN files."
---

# CAD To Data

## Overview

Based on DDC methodology (Chapter 2.4), this skill converts CAD and BIM files to structured data, extracting element properties, quantities, and relationships from Revit, IFC, DWG, and DGN files.

**Book Reference:** "Преобразование данных в структурированную форму" / "Data Transformation to Structured Form"

## Quick Start

```python
from dataclasses import dataclass, field
from enum import Enum
from typing import List, Dict, Optional, Any, Tuple, Generator
from datetime import datetime
import json

class CADFormat(Enum):
    """Supported CAD/BIM formats"""
    IFC = "ifc"
    RVT = "rvt"
    DWG = "dwg"
    DXF = "dxf"
    DGN = "dgn"
    NWD = "nwd"
    STEP = "step"

class ElementCategory(Enum):
    """BIM element categories"""
    WALL = "wall"
    FLOOR = "floor"
    ROOF = "roof"
    CEILING = "ceiling"
    DOOR = "door"
    WINDOW = "window"
    COLUMN = "column"
    BEAM = "beam"
    STAIR = "stair"
    RAMP = "ramp"
    FURNITURE = "furniture"
    EQUIPMENT = "equipment"
    PIPE = "pipe"
    DUCT = "duct"
    CABLE_TRAY = "cable_tray"
    SPACE = "space"
    GENERIC = "generic"

@dataclass
class Point3D:
    """3D point"""
    x: float
    y: float
    z: float

@dataclass
class BoundingBox3D:
    """3D bounding box"""
    min_point: Point3D
    max_point: Point3D

    @property
    def width(self) -> float:
        return abs(self.max_point.x - self.min_point.x)

    @property
    def depth(self) -> float:
        return abs(self.max_point.y - self.min_point.y)

    @property
    def height(self) -> float:
        return abs(self.max_point.z - self.min_point.z)

    @property
    def volume(self) -> float:
        return self.width * self.depth * self.height

@dataclass
class MaterialInfo:
    """Material information"""
    name: str
    category: str
    color: Optional[str] = None
    area: float = 0.0
    volume: float = 0.0
    properties: Dict[str, Any] = field(default_factory=dict)

@dataclass
class CADElement:
    """Extracted CAD/BIM element"""
    id: str
    guid: str
    name: str
    category: ElementCategory
    type_name: str
    level: Optional[str] = None
    bounding_box: Optional[BoundingBox3D] = None
    properties: Dict[str, Any] = field(default_factory=dict)
    quantities: Dict[str, float] = field(default_factory=dict)
    materials: List[MaterialInfo] = field(default_factory=list)
    relationships: Dict[str, List[str]] = field(default_factory=dict)

@dataclass
class CADLayer:
    """CAD layer information"""
    name: str
    color: Optional[str] = None
    line_type: Optional[str] = None
    visible: bool = True
    element_count: int = 0

@dataclass
class CADExtractionResult:
    """Result of CAD extraction"""
    file_path: str

_meta.json

{
  "ownerId": "kn75fhjxn1jz5xbgd9ggj0nrtd80q1dz",
  "slug": "cad-to-data",
  "version": "2.0.0",
  "publishedAt": 1771002028015
}

instructions.md

You are a CAD/BIM data extraction assistant. You help users convert proprietary CAD and BIM files into structured, analyzable data formats (Excel, CSV, JSON, DataFrame).

When the user asks to extract data from CAD/BIM files:
1. Identify the file format (.rvt, .ifc, .dwg, .dgn) and select the right converter
2. Extract element data: type, category, layer/level, properties, geometry
3. Structure into tabular format with consistent columns
4. Export to user's preferred format (Excel, CSV, JSON, pandas DataFrame)

When the user asks about supported formats:
1. Revit (.rvt/.rfa): categories, families, types, parameters, quantities
2. IFC (.ifc): entities, property sets, quantities, spatial structure
3. DWG (.dwg): layers, blocks, attributes, entities, coordinates
4. DGN (.dgn): levels, cells, elements, tags, text nodes

## Input Format
- CAD/BIM file path (any supported format)
- Optional: specific elements or properties to extract
- Optional: output format (Excel, CSV, JSON)

## Output Format
- Structured table: element type, properties, quantities, coordinates
- One sheet/table per element category
- Summary with element counts and basic statistics
- Metadata: source file, extraction date, converter version

## Constraints
- Filesystem permission required for file reading and writing
- Format-specific CLI converters invoked via subprocess.run()
- No proprietary CAD software licenses required
- Large models may need category-by-category extraction

claw.json

{
  "name": "cad-to-data",
  "version": "2.0.0",
  "description": "Convert CAD/BIM files to structured data. Extract element data from Revit, IFC, DWG, DGN files.",
  "author": "datadrivenconstruction",
  "license": "MIT",
  "permissions": ["filesystem"],
  "entry": "instructions.md",
  "tags": ["construction", "CAD", "BIM", "data-extraction", "Revit", "IFC", "DWG", "DGN"],
  "models": ["claude-*", "gpt-*"],
  "minOpenClawVersion": "0.8.0"
}

Sponsored

Ads related to Cad To Data and adjacent AI workflows.