Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
The dataset viewer is not available for this split.
Server error while post-processing the rows. This occured on row 1. It seems the image can't be loaded with PIL.Image and could be corrupted.
Error code:   RowsPostProcessingError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

HistCAD Dataset

HistCAD is a geometrically constrained, parametric history-based CAD dataset for editable CAD modeling, text-to-CAD, and design-intent-aware evaluation.

This repository/package contains a public release of HistCAD. It includes a processed subset of the full dataset described in the paper, together with native STEP exports, rendered images, and a CSV annotation table.

Random samples from HistCAD-DeepCAD (left), HistCAD-Fusion360 (center), and HistCAD-Industrial (right).

Random samples from HistCAD-DeepCAD (left), HistCAD-Fusion360 (center), and HistCAD-Industrial (right).

Overview

HistCAD represents CAD models as executable, constraint-aware parametric histories. Compared with sequence-only CAD datasets, HistCAD explicitly exposes sketch geometry, geometric constraints, and downstream feature operations in a unified history format.

The full dataset described in the paper contains:

  • HistCAD-Academic: 162k sequences
  • HistCAD-Industrial: 8k sequences
  • Total: 170k executable modeling sequences

This release contains a subset of the full HistCAD collection. Coverage may differ across JSON histories, STEP files, rendered images, and text annotations.

Subset IDs

In the current release convention, subset IDs map to the three HistCAD partitions as follows:

  • 0001-0099: HistCAD-DeepCAD
  • 0100: HistCAD-Fusion360
  • 0101: HistCAD-Industrial

HistCAD-DeepCAD and HistCAD-Fusion360 together form the academic portion of HistCAD.

Package Contents

This release contains four data modalities:

  1. Parametric modeling sequences in JSON format
  2. STEP files exported from executable CAD histories
  3. Rendered images from multiple canonical viewpoints
  4. Text annotations in CSV format

A typical packaged release layout is:

HistCAD_release/
|-- JSON/
|   |-- histcad_sequences_deepcad_0001-0099.zip
|   |-- histcad_sequences_fusion360_0100.zip
|   `-- histcad_sequences_industrial_0101.zip
|-- STEP/
|   |-- histcad_step_deepcad_0001-0099.zip
|   |-- histcad_step_fusion360_0100.zip
|   `-- histcad_step_industrial_0101.zip
|-- rendered_images/
|   |-- histcad_rendered_images_front.zip
|   |-- histcad_rendered_images_back.zip
|   |-- histcad_rendered_images_left.zip
|   |-- histcad_rendered_images_right.zip
|   |-- histcad_rendered_images_top.zip
|   |-- histcad_rendered_images_bottom.zip
|   |-- histcad_rendered_images_iso_front_right_top.zip
|   `-- histcad_rendered_images_iso_back_left_top.zip
`-- annotations/
    `-- annotations.csv

Each zip stores files directly from the subset-relative path, without an extra HistCAD/sequences or HistCAD/step prefix. When multiple modalities are available for the same sample, they share the same sample stem. For example:

  • Inside histcad_sequences_deepcad_0001-0099.zip: 0001/00010008.json
  • Inside histcad_step_deepcad_0001-0099.zip: 0001/00010008.step
  • Inside histcad_rendered_images_iso_front_right_top.zip: 0001/00010008_iso_front_right_top_.png

If a packaging run is configured to include only part of the modalities, the remaining modality archives may still be emitted as empty placeholder zip files so the folder structure stays stable.

JSON Sequence Format

Each JSON file stores a parametric modeling history as a list of ordered operations. A simplified sketch-based entry looks like:

[
    {
        "coordinate_system": {
            "Euler Angles": [
                0.0,
                0.0,
                0.0
            ],
            "Translation Vector": [
                0.0,
                0.0,
                0.0
            ]
        },
        "sketch": {
            "line_1": {
                "start": [
                    -30.0,
                    -30.0
                ],
                "end": [
                    30.0,
                    -30.0
                ]
            },
            "line_2": {
                "start": [
                    30.0,
                    -30.0
                ],
                "end": [
                    30.0,
                    30.0
                ]
            },
            "line_3": {
                "start": [
                    30.0,
                    30.0
                ],
                "end": [
                    -30.0,
                    30.0
                ]
            },
            "line_4": {
                "start": [
                    -30.0,
                    30.0
                ],
                "end": [
                    -30.0,
                    -30.0
                ]
            }
        },
        "constraints": {
            "Coincident": [
                [
                    "line_3.start",
                    "line_2.end"
                ],
                [
                    "line_3.end",
                    "line_4.start"
                ],
                [
                    "line_1.end",
                    "line_2.start"
                ],
                [
                    "line_1.start",
                    "line_4.end"
                ]
            ],
            "Horizontal": [
                "line_1"
            ],
            "Length": [
                [
                    "line_3",
                    "60 mm"
                ],
                [
                    "line_4",
                    "60 mm"
                ]
            ],
            "Parallel": [
                [
                    "line_1",
                    "line_3"
                ],
                [
                    "line_2",
                    "line_4"
                ]
            ],
            "Perpendicular": [
                [
                    "line_1",
                    "line_2"
                ]
            ]
        },
        "towards": 6.0,
        "opposite": 0.0,
        "operation": "NewBody"
    }
]

For sketch-based extrusion steps:

  • towards is the extrusion distance along the sketch normal
  • opposite is the extrusion distance against the sketch normal
  • operation is the Boolean/body mode, typically one of NewBody, Join, Cut, or Intersect

Other history entries use operation-specific fields. Common examples include:

  • Revolve: start, end, axis, operation
  • Helix sweep: axis, pitch, turns, handedness, operation
  • Fillet: near_points, radius, operation = "Fillet"
  • Chamfer: near_points, plane, dist, angle, operation = "Chamfer"

Sketch primitives may include:

  • lines
  • circles
  • arcs
  • ellipses
  • elliptical arcs
  • NURBS B-splines

HistCAD explicitly supports 19 geometric constraint types:

  • Coincident
  • Parallel
  • Perpendicular
  • Horizontal
  • Vertical
  • Tangent
  • Equal
  • Concentric
  • Fix
  • Normal
  • Midpoint
  • Mirror
  • Angle
  • Diameter
  • Radius
  • MajorRadius
  • MinorRadius
  • Length
  • Distance

STEP Files

Each STEP file is a geometry export corresponding to an executable HistCAD history. These files are provided for downstream geometry processing, visualization, and evaluation in tools that do not directly execute the parametric histories.

For some subsets, STEP coverage may be ahead of other modalities.

Rendered Images

Rendered images are organized by viewpoint. Current viewpoints include:

  • front
  • back
  • left
  • right
  • top
  • bottom
  • iso_front_right_top
  • iso_back_left_top

As with other modalities, render coverage may vary across subsets.

Annotation CSV Format

The current column convention is:

uid,Modeling Process,Geometric Feature,Functional Type,NLT

Field meanings:

  • uid: unique sample identifier, usually in the form subset_id/sample_id
  • Modeling Process: history-grounded description of the CAD construction process
  • Geometric Feature: summary of the main geometric structures
  • Functional Type: short functional or semantic category
  • NLT: natural-language transcription, providing a fuller natural-language description of the part or assembly

Notes

  • This release contains a subset of the full HistCAD dataset described in the accompanying paper.
  • Different modalities are not always perfectly aligned for every sample.
  • If you need strict one-to-one alignment between JSON, STEP, rendered_images, and text, please verify availability for each sample before building a benchmark.

License

HistCAD is released under the MIT License.

Citation

This release reflects a newer internal revision of HistCAD; please cite the public arXiv version until the updated manuscript is released.

@misc{dong2025histcadgeometricallyconstrainedparametric,
  title={HistCAD: Geometrically Constrained Parametric History-based CAD Dataset},
  author={Xintong Dong and Chuanyang Li and Chuqi Han and Peng Zheng and Jiaxin Jing and Yanzhi Song and Zhouwang Yang},
  year={2025},
  eprint={2602.19171},
  archivePrefix={arXiv},
  primaryClass={cs.GR},
  url={https://arxiv.org/abs/2602.19171}
}
Downloads last month
-

Paper for DongXintong/HistCAD