{"id":13627081,"url":"https://github.com/yeicor-3d/ocp-action","last_synced_at":"2025-04-16T19:31:01.660Z","repository":{"id":201060746,"uuid":"706839582","full_name":"yeicor-3d/ocp-action","owner":"yeicor-3d","description":"GitHub Action that builds OCP models (CadQuery/Build123d/...), renders them and sets up a model viewer on Github Pages.","archived":false,"fork":false,"pushed_at":"2024-03-30T10:41:04.000Z","size":51,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-22T04:16:55.928Z","etag":null,"topics":["3d","3d-printing","cad","cadquery","cq-editor","model"],"latest_commit_sha":null,"homepage":"https://yeicor-3d.github.io/ocp-action/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yeicor-3d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-10-18T18:05:17.000Z","updated_at":"2024-07-23T07:46:42.585Z","dependencies_parsed_at":null,"dependency_job_id":"40f47987-f27a-48d4-b14f-beda717c8464","html_url":"https://github.com/yeicor-3d/ocp-action","commit_stats":null,"previous_names":["yeicor/cadquery-action","yeicor/ocp-action","yeicor-3d/ocp-action"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeicor-3d%2Focp-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeicor-3d%2Focp-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeicor-3d%2Focp-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeicor-3d%2Focp-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeicor-3d","download_url":"https://codeload.github.com/yeicor-3d/ocp-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249268548,"owners_count":21240940,"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":["3d","3d-printing","cad","cadquery","cq-editor","model"],"created_at":"2024-08-01T22:00:30.193Z","updated_at":"2025-04-16T19:31:01.367Z","avatar_url":"https://github.com/yeicor-3d.png","language":"Python","funding_links":[],"categories":["Miscellaneous"],"sub_categories":[],"readme":"# OCP action\n\n\u003e [!WARNING]  \n\u003e This project has been superseded by [Yet Another CAD Viewer](https://github.com/yeicor-3d/yet-another-cad-viewer), and will no longer be actively maintained.\n\nGitHub Action that builds [OCP](https://github.com/CadQuery/OCP) models ([CadQuery](https://github.com/CadQuery/cadquery)/[Build123d](https://github.com/gumyr/build123d)/...), renders them and sets up a model viewer on Github Pages.\n\n## Features\n\n- Automatically test your model(s) in your CI/CD pipeline\n- Automatically build the latest version of your model(s) for release.\n- No boilerplate: use the same code from the [CQ-editor](https://github.com/CadQuery/CQ-editor) and in your CI/CD\n  pipeline.\n- Build a static website to showcase your latest model(s) automatically.\n- Take a screenshot of your model(s) and use it as a preview image.\n\n## Usage\n\nThis repository also serves as a demo.\n\nThe only requirements are a python script to build the model and a [workflow](.github/workflows/ci.yml) to run the\naction.\n\nYou can use links similar to the following sections to embed your model in your README.md and point to the interactive\nmodel viewer. The latest models can be downloaded from\nthe [build artifacts](https://github.com/Yeicor/ocp-action/actions/workflows/ci.yml).\n\n### Demo: [box.py](demos/box.py)\n\n[![Demo](https://yeicor-3d.github.io/ocp-action/models/demos/box/simple_box.png)](https://yeicor-3d.github.io/ocp-action/?model=models/demos/box/simple_box.gltf)\n\n![Demo](https://yeicor-3d.github.io/ocp-action/models/demos/box/simple_box.svg)\n\n### Demo: [cycloidal_gear.py](demos/cycloidal_gear.py)\n\n[![Demo](https://yeicor-3d.github.io/ocp-action/models/demos/cycloidal_gear/cycloidal_gear.png)](https://yeicor-3d.github.io/ocp-action/?model=models/demos/cycloidal_gear/cycloidal_gear.gltf)\n\n![Demo](https://yeicor-3d.github.io/ocp-action/models/demos/cycloidal_gear/cycloidal_gear.svg)\n\n### Demo: [parametric_enclosure.py](demos/parametric_enclosure.py)\n\n[![Demo](https://yeicor-3d.github.io/ocp-action/models/demos/parametric_enclosure/topOfLid.png)](https://yeicor-3d.github.io/ocp-action/?model=models/demos/parametric_enclosure/topOfLid.gltf)\n\n[![Demo](https://yeicor-3d.github.io/ocp-action/models/demos/parametric_enclosure/debug-bottom.png)](https://yeicor-3d.github.io/ocp-action/?model=models/demos/parametric_enclosure/debug-bottom.gltf)\n\n![Demo](https://yeicor-3d.github.io/ocp-action/models/demos/parametric_enclosure/topOfLid.svg)\n\n![Demo](https://yeicor-3d.github.io/ocp-action/models/demos/parametric_enclosure/debug-bottom.svg)\n\n### Demo: [build123d_tea_cup.py](demos/build123d_tea_cup.py)\n\n[![Demo](https://yeicor-3d.github.io/ocp-action/models/demos/build123d_tea_cup/tea_cup.png)](https://yeicor-3d.github.io/ocp-action/?model=models/demos/build123d_tea_cup/tea_cup.gltf)\n\n![Demo](https://yeicor-3d.github.io/ocp-action/models/demos/build123d_tea_cup/tea_cup.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeicor-3d%2Focp-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeicor-3d%2Focp-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeicor-3d%2Focp-action/lists"}