Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   RetryableConfigNamesError
Exception:    HfHubHTTPError
Message:      504 Server Error: Gateway Time-out for url: https://huggingface.co/api/datasets/amzyst1/cad-steps/tree/94df653ee7811038358b45d2088dbfdf83581e0d?expand=false&recursive=true&limit=1000&cursor=ZXlKbWFXeGxYMjVoYldVaU9pSmtZWFJoTHpBd01ETXdNVEk0SWl3aWRISmxaVjl2YVdRaU9pSTFaV1EwTlRsbE9XUXpaVFJqWVdVMk5USm1PVGcyTkRBellqWmlaRGMyTmpNd09XTmpaRGRoSW4wPTo2MDAw
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
                  config_names = get_dataset_config_names(
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                                   ^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1207, in dataset_module_factory
                  raise e1 from None
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1182, in dataset_module_factory
                  ).get_module()
                    ^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 638, in get_module
                  patterns = get_data_patterns(base_path, download_config=self.download_config)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/data_files.py", line 493, in get_data_patterns
                  return _get_data_files_patterns(resolver)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/data_files.py", line 290, in _get_data_files_patterns
                  data_files = pattern_resolver(pattern)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/data_files.py", line 372, in resolve_pattern
                  for filepath, info in fs.glob(fs_pattern, detail=True, **glob_kwargs).items():
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py", line 521, in glob
                  return super().glob(path, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/spec.py", line 604, in glob
                  allpaths = self.find(root, maxdepth=depth, withdirs=True, detail=True, **kwargs)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py", line 563, in find
                  out = self._ls_tree(path, recursive=True, refresh=refresh, revision=resolved_path.revision, **kwargs)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py", line 446, in _ls_tree
                  self._ls_tree(
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py", line 463, in _ls_tree
                  for path_info in tree:
                                   ^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_api.py", line 3140, in list_repo_tree
                  for path_info in paginate(path=tree_url, headers=headers, params={"recursive": recursive, "expand": expand}):
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_pagination.py", line 46, in paginate
                  hf_raise_for_status(r)
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_http.py", line 482, in hf_raise_for_status
                  raise _format(HfHubHTTPError, str(e), response) from e
              huggingface_hub.errors.HfHubHTTPError: 504 Server Error: Gateway Time-out for url: https://huggingface.co/api/datasets/amzyst1/cad-steps/tree/94df653ee7811038358b45d2088dbfdf83581e0d?expand=false&recursive=true&limit=1000&cursor=ZXlKbWFXeGxYMjVoYldVaU9pSmtZWFJoTHpBd01ETXdNVEk0SWl3aWRISmxaVjl2YVdRaU9pSTFaV1EwTlRsbE9XUXpaVFJqWVdVMk5USm1PVGcyTkRBellqWmlaRGMyTmpNd09XTmpaRGRoSW4wPTo2MDAw

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.

CAD-Steps: Intermediate CAD Construction States Dataset

A large-scale dataset of intermediate CAD geometry states, capturing the step-by-step construction process of 3D models.

Overview

CAD-Steps provides paired data of CAD construction operations and their resulting geometry at each intermediate step. Unlike existing CAD datasets that only provide final geometry (ABC) or symbolic operations (DeepCAD), this dataset includes the actual 3D geometry at every construction stage.

This is analogous to:

  • Math: step-by-step solutions vs just final answers
  • Robotics: full trajectories vs just start/end states
  • Code: execution traces vs just input/output pairs

Intermediate supervision consistently outperforms outcome-only supervision in these domains.

Dataset Statistics

Metric Count
Source models 215,096
Total STEP files ~750,000
Total size ~16 GB (compressed)
Avg steps per model ~3.5

Data Format

Each model directory contains:

  • state_0.step.gz - Initial geometry state
  • state_1.step.gz - Geometry after first operation
  • state_N.step.gz - Geometry after Nth operation
  • metadata.json - Construction sequence and constraints

Metadata Schema

{
  "model_id": "00000007",
  "num_steps": 3,
  "operations": [
    {
      "step": 0,
      "type": "sketch",
      "curves": [...],
      "constraints": [...]
    },
    {
      "step": 1, 
      "type": "extrude",
      "extent": 0.5,
      "direction": [0, 0, 1]
    }
  ]
}

Source Data

Built from DeepCAD construction sequences, which were originally derived from Onshape public documents.

Generation Pipeline

  1. Parse DeepCAD JSON construction sequences
  2. Replay each operation using OpenCascade (via CadQuery)
  3. Export STEP geometry at each intermediate state
  4. Compress and package with metadata

Processing rate: ~27 models/second on 6 CPU workers.

Use Cases

  • CAD generation models: Train models to predict next construction step given current geometry
  • CAD understanding: Learn to recognize construction patterns and operations
  • Geometry diffusion: Condition generation on intermediate states
  • Manufacturing analysis: Understand how designs are built up

Citation

If you use this dataset, please cite:

@dataset{cad_steps_2026,
  title={CAD-Steps: Intermediate CAD Construction States Dataset},
  author={Zhou, Amy},
  year={2026},
  url={https://huggingface.co/datasets/amzyst1/cad-steps}
}

License

This dataset is released under CC-BY-4.0. The source DeepCAD data is under MIT license.

Acknowledgments

  • DeepCAD team for the original construction sequence data
  • OpenCascade/CadQuery for the geometry kernel
Downloads last month
164