---
title: TriView2CAD
canonical_url: "https://www.modelscope.cn/datasets/zhuofanChen/TriView2CAD"
md_url: "https://www.modelscope.cn/datasets/zhuofanChen/TriView2CAD.md"
repository: zhuofanChen/TriView2CAD
last_updated: 2025-06-06
license: CC-BY-NC-4.0
storage_size: "12 GB"
downloads: 7503
stars: 6
---

# TriView2CAD

> TriView2CAD - zhuofanChen 在 ModelScope 开源的数据集。TriView2CAD is the first large-scale, open-source benchmark specifically designed for orthographic projection reasoning in Computer-Aided Design (CAD). It supports tasks ranging from engineering drawing…

zhuofanChen/TriView2CAD 是 ModelScope 魔搭社区上的数据集，存储大小 12 GB，采用 CC-BY-NC-4.0 许可。

- **Repository**: zhuofanChen/TriView2CAD
- **License**: CC-BY-NC-4.0
- **Storage size**: 12 GB
- **Downloads**: 7503
- **Stars**: 6
- **Last updated**: 2025-06-06

Source: https://www.modelscope.cn/datasets/zhuofanChen/TriView2CAD

---

# TriView2CAD Dataset

**TriView2CAD** is the first large-scale, open-source benchmark specifically designed for orthographic projection reasoning in Computer-Aided Design (CAD). It supports tasks ranging from engineering drawing interpretation to 3D geometry reconstruction, and serves as a foundation for training and evaluating multi-modal models in industrial scenarios.

## 📦 Dataset Overview

TriView2CAD consists of:
- **200,000 synthetic samples** for training and in-domain evaluation;

Each sample is annotated with **precise dimension labels** and includes **six interoperable data modalities**:
1. **Parameter Tables** (JSON)
2. **Vector CAD Drawings** (DXF)
3. **Raster Images** (PNG; front, top, side views)
4. **Executable CAD Scripts**
5. **STEP Files** (3D models)
6. **B-Rep Files** (3D models)

This rich format enables seamless support for tasks across design, simulation, and manufacturing workflows.

## ⚙️ Dataset Construction

We focus on **prefabricated bridge piers**, a modular structure commonly found in civil engineering. A constraint-guided pipeline ensures the geometric and structural validity of each sample:

### Step 1: Constraint-Guided Parameter Sampling
- A 15-dimensional parameter space is defined.
- **Intra-view constraints** ensure physical validity and topology closure.
- **Inter-view constraints** guarantee consistency across orthographic views (height, width, depth).

### Step 2: 2D Drawing & Raster Image Generation
- The `ezdxf` library converts sampled parameters into vectorized DXF drawings.
- Geometric primitives (lines, circles, arcs) are organized into semantic layers.
- High-resolution raster images (front, top, side) are rendered in FreeCAD.

### Step 3: 3D Model Generation
- Using FreeCAD's scripting interface, 3D models are programmatically reconstructed.
- Both **STEP** and **B-Rep** files are generated to support CAD simulation and interoperability.

## 🧠 Supported Reasoning Tasks

TriView2CAD enables evaluation of complex reasoning capabilities via three key task categories:

1. **Dimension Recognition and Mapping**  
   Identify each annotated dimension and match it to its geometric feature.

2. **Primitive Counting**  
   Count the number of specified components (e.g., pier columns, pile bases).

3. **Composite Parameter Computation**  
   Derive engineering-critical values based on multiple parameters (e.g., spacing = width + gap).

A total of **15 parameters** are evaluated per sample, including:
- 6 recognition attributes
- 3 counting attributes
- 6 computed attributes

Evaluation accuracy is computed per parameter and averaged across the test set.

## 📊 Benchmarking & Generalization

TriView2CAD has been used to benchmark seven leading vision–language models. Our experiments demonstrate:
- Significant performance gaps between pretrained VLMs and reasoning-tuned models.
- Real-world samples introduce realistic noise and complexity (e.g., overlapping annotations, occlusions).
- Chain-of-Thought (CoT) and curriculum-based fine-tuning dramatically improve reasoning accuracy and OOD robustness.
