| --- |
| pretty_name: PIE2F-CAD |
| license: apache-2.0 |
| tags: |
| - cad |
| - parametric-cad |
| - 3d |
| - code |
| - trajectories |
| - engineering |
| - text-to-cad |
| size_categories: |
| - 100K<n<1M |
| dataset_info: |
| - config_name: cad_core |
| features: |
| - name: id |
| dtype: string |
| - name: domain |
| dtype: string |
| - name: task_family |
| dtype: string |
| - name: complexity_tier |
| dtype: int32 |
| - name: complexity_score |
| dtype: float64 |
| - name: symmetry |
| dtype: string |
| - name: instruction |
| dtype: string |
| - name: program |
| dtype: string |
| - name: trajectory |
| dtype: string |
| - name: parameter_schema |
| dtype: string |
| - name: geometry |
| dtype: string |
| - name: imports |
| dtype: string |
| - name: external_dependencies |
| dtype: string |
| - name: uses_external_dependency |
| dtype: bool |
| - name: num_operations |
| dtype: int32 |
| - name: num_geometry_operations |
| dtype: int32 |
| - name: num_unique_operations |
| dtype: int32 |
| - name: operation_histogram |
| dtype: string |
| - name: geometry_operation_histogram |
| dtype: string |
| - name: program_chars |
| dtype: int32 |
| - name: program_lines |
| dtype: int32 |
| - name: ast_nodes |
| dtype: int32 |
| - name: ast_depth |
| dtype: int32 |
| - name: num_faces |
| dtype: int64 |
| - name: num_edges |
| dtype: int64 |
| - name: num_vertices |
| dtype: int64 |
| - name: volume |
| dtype: float64 |
| - name: surface_area |
| dtype: float64 |
| - name: quality_score |
| dtype: float64 |
| - name: canonical_program_hash |
| dtype: string |
| - name: trajectory_hash |
| dtype: string |
| - name: geometry_hash |
| dtype: string |
| - name: split_group |
| dtype: string |
| splits: |
| - name: train |
| num_bytes: 353480150 |
| num_examples: 89980 |
| - name: validation |
| num_bytes: 19500727 |
| num_examples: 4964 |
| - name: test |
| num_bytes: 19862143 |
| num_examples: 5056 |
| download_size: 81832576 |
| dataset_size: 392843020 |
| - config_name: text_to_cad |
| features: |
| - name: id |
| dtype: string |
| - name: task_family |
| dtype: string |
| - name: complexity_tier |
| dtype: int32 |
| - name: complexity_score |
| dtype: float64 |
| - name: instruction |
| dtype: string |
| - name: parameter_schema |
| dtype: string |
| - name: geometry |
| dtype: string |
| - name: split_group |
| dtype: string |
| - name: target_program |
| dtype: string |
| - name: target_program_hash |
| dtype: string |
| splits: |
| - name: train |
| num_bytes: 214154558 |
| num_examples: 89980 |
| - name: validation |
| num_bytes: 11896598 |
| num_examples: 4964 |
| - name: test |
| num_bytes: 12024788 |
| num_examples: 5056 |
| download_size: 61794833 |
| dataset_size: 238075944 |
| configs: |
| - config_name: cad_core |
| data_files: |
| - split: train |
| path: cad_core/train-* |
| - split: validation |
| path: cad_core/validation-* |
| - split: test |
| path: cad_core/test-* |
| default: true |
| - config_name: text_to_cad |
| data_files: |
| - split: train |
| path: text_to_cad/train-* |
| - split: validation |
| path: text_to_cad/validation-* |
| - split: test |
| path: text_to_cad/test-* |
| --- |
| |
| # PIE2F-CAD |
|
|
| PIE2F-CAD is a structured parametric CAD dataset by Parergon for training and evaluating text-to-CAD systems. |
|
|
| It contains 100,000 aligned instruction and program records with construction sequences, geometry metadata, quality scores and fixed group-aware splits. A 5,000-record multimodal subset adds eight renders, STL meshes and STEP geometry. |
|
|
| ## Configurations |
|
|
| - `cad_core`: complete programs, instructions and structured CAD metadata. |
| - `text_to_cad`: compact instruction-to-program training pairs. |
| - `cad_multimodal`: programs and instructions paired with renders, STL and STEP assets. |
|
|
| ## Usage |
|
|
| ```python |
| from datasets import load_dataset |
| |
| dataset = load_dataset( |
| "Parergon/pie2f-cad", |
| "text_to_cad", |
| token=True, |
| ) |
| ``` |
|
|
| Records are normalized, syntax-validated, deduplicated and assigned to deterministic group-aware splits. |
|
|
| The `trajectory` field represents the ordered construction calls in each program. It is not a desktop interaction recording or runtime trace. |
|
|
| ## License |
|
|
| Apache License 2.0. |
|
|