--- license: cc-by-4.0 language: - en tags: - cad - 3d - brep - text-grounding - arxiv:2603.11831 size_categories: - 10K` for one state, or `--source /path/to/BRepGround` for a local repository. Each ZIP shard contains up to 2,000 states. Loading Parquet alone reads the labels and paths; the export script also downloads the STEP files. ```text datasets/grounding/ steps/.step labels/.json ``` Each label JSON contains `query`, `face_labels`, and `edge_labels`; `query` contains the same strings as the Parquet row's `queries`. ## Read labeled geometry Label indexing uses **pythonocc-core 7.8.1.1 / OCCT 7.8.1**. Follow the code repository's [environment setup](https://github.com/JohanStackk/FutureCAD/blob/main/docs/environment.md) to create the shared `futurecad` environment. Run the following from the code repository root after exporting the STEP and label files there: ```bash conda activate futurecad ``` ```python from grounding_brep.step_labels import read_step_labels sample = read_step_labels( "datasets/grounding/steps/00133967_chamfer_6.step", "datasets/grounding/labels/00133967_chamfer_6.json", ) selected_faces = [f for f, flag in zip(sample["faces"], sample["labels"]["face_labels"]) if flag] selected_edges = [e for e, flag in zip(sample["edges"], sample["labels"]["edge_labels"]) if flag] ``` The reader loads the STEP with `read_step_file(..., as_compound=True)` and uses `TopologyExplorer(shape, ignore_orientation=True).faces()` and `.edges()`. Labels follow these two traversal sequences directly. Read labels before normalizing, re-exporting, or otherwise modifying the shape. See [LABELS.md](LABELS.md) for the complete indexing convention. ## Files ```text data/-*.parquet assets/-*.zip splits.json export_data.py read_labels.py requirements.txt LABELS.md README.md LICENSE.md ``` ## License [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). ## Citation ```bibtex @misc{li2026highfidelitycadgenerationllmdriven, title={Towards High-Fidelity CAD Generation via LLM-Driven Program Generation and Text-Based B-Rep Primitive Grounding}, author={Jiahao Li and Qingwang Zhang and Qiuyu Chen and Guozhan Qiu and Yunzhong Lou and Xiangdong Zhou}, year={2026}, eprint={2603.11831}, archivePrefix={arXiv}, primaryClass={cs.CV}, url={https://arxiv.org/abs/2603.11831} } ```