{"id":23683858,"url":"https://github.com/filapro/cad-recode","last_synced_at":"2025-04-09T09:05:27.393Z","repository":{"id":268870408,"uuid":"905370259","full_name":"filaPro/cad-recode","owner":"filaPro","description":"CAD-Recode: Reverse Engineering CAD Code from Point Clouds","archived":false,"fork":false,"pushed_at":"2025-03-19T16:13:24.000Z","size":183,"stargazers_count":93,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-09T09:05:23.247Z","etag":null,"topics":["cad","cadquery","llm","pytorch","qwen2"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/filaPro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-18T17:27:07.000Z","updated_at":"2025-04-08T06:12:05.000Z","dependencies_parsed_at":"2024-12-19T12:26:53.258Z","dependency_job_id":"125ac2af-7831-4146-b298-1702862bffa6","html_url":"https://github.com/filaPro/cad-recode","commit_stats":null,"previous_names":["filapro/cad-recode"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filaPro%2Fcad-recode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filaPro%2Fcad-recode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filaPro%2Fcad-recode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filaPro%2Fcad-recode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filaPro","download_url":"https://codeload.github.com/filaPro/cad-recode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cad","cadquery","llm","pytorch","qwen2"],"created_at":"2024-12-29T20:21:43.247Z","updated_at":"2025-04-09T09:05:27.372Z","avatar_url":"https://github.com/filaPro.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## CAD-Recode: Reverse Engineering CAD Code from Point Clouds\n\n:hugs: Model [v1](https://huggingface.co/filapro/cad-recode), [v1.5](https://huggingface.co/filapro/cad-recode-v1.5) :hugs: ZeroGPU Space [v1.5](https://huggingface.co/spaces/filapro/cad-recode) :hugs: Dataset [v1](https://huggingface.co/datasets/filapro/cad-recode), [v1.5](https://huggingface.co/datasets/filapro/cad-recode-v1.5)\n\n**News**:\n * :rocket: March, 2025. We update CAD-Recode to v1.5. More details in [changelog](CHANGELOG.md).\n * :fire: December, 2024. CAD-Recode is state-of-the-art in three CAD reconstruction benchmarks: \u003cbr\u003e\n  DeepCAD [![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/cad-recode-reverse-engineering-cad-code-from/cad-reconstruction-on-deepcad)](https://paperswithcode.com/sota/cad-reconstruction-on-deepcad?p=cad-recode-reverse-engineering-cad-code-from) \u003cbr\u003e\n  Fusion360 [![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/cad-recode-reverse-engineering-cad-code-from/cad-reconstruction-on-fusion-360-gallery)](https://paperswithcode.com/sota/cad-reconstruction-on-fusion-360-gallery?p=cad-recode-reverse-engineering-cad-code-from) \u003cbr\u003e\n  CC3D [![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/cad-recode-reverse-engineering-cad-code-from/cad-reconstruction-on-cc3d)](https://paperswithcode.com/sota/cad-reconstruction-on-cc3d?p=cad-recode-reverse-engineering-cad-code-from)\n\nThis repository contains an implementation of CAD-Recode, a 3D CAD reverse engineering method introduced in our paper:\n\n\u003e **CAD-Recode: Reverse Engineering CAD Code from Point Clouds**\u003cbr\u003e\n\u003e [Danila Rukhovich](https://github.com/filaPro),\n\u003e [Elona Dupont](https://scholar.google.com/citations?user=i9J6YFMAAAAJ),\n\u003e [Dimitrios Mallis](https://scholar.google.com/citations?user=Gfc5ZXoAAAAJ),\n\u003e [Kseniya Cherenkova](https://scholar.google.com/citations?user=VepvFBkAAAAJ),\n\u003e [Anis Kacem](https://scholar.google.com/citations?user=K3EWusMAAAAJ),\n\u003e [Djamila Aouada](https://scholar.google.com/citations?user=WBmJVSkAAAAJ) \u003cbr\u003e\n\u003e Univesity of Luxembourg \u003cbr\u003e\n\u003e https://arxiv.org/abs/2412.14042\n\n### Inference Demo\n\nCAD-Recode transforms point cloud to 3D CAD model in form of Python code ([CadQuery](https://github.com/CadQuery/cadquery) library). CAD-Recode is trained upon Qwen2-1.5B, keeping original tokenizer, and adding a single additional linear layer. \nIn this repo we provide simple inference demo. Install python packages according to our [Dockerfile](Dockerfile) and run [demo.ipynb](demo.ipynb) in jupyter.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/8f127e71-628d-48f1-80f4-df4f645dd3fe\" alt=\"CAD-Reocde scheme\"/\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/90c06dbd-3563-45a5-968e-91fc5b768213\" alt=\"CAD-Recode predictions\"/\u003e\n\u003c/p\u003e\n\n### Citation\n\nIf you find this work useful for your research, please cite our paper:\n\n```\n@article{rukhovich2024cadrecode,\n  title={CAD-Recode: Reverse Engineering CAD Code from Point Clouds},\n  author={Danila Rukhovich, Elona Dupont, Dimitrios Mallis, Kseniya Cherenkova, Anis Kacem, Djamila Aouada},\n  journal={arXiv preprint arXiv:2412.14042},\n  year={2024}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilapro%2Fcad-recode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilapro%2Fcad-recode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilapro%2Fcad-recode/lists"}