/ocp-action

GitHub Action that builds OCP models (CadQuery/Build123d/...), renders them and sets up a model viewer on Github Pages.

Primary LanguagePythonMIT LicenseMIT

OCP action

Warning

This project has been superseded by Yet Another CAD Viewer, and will no longer be actively maintained.

GitHub Action that builds OCP models (CadQuery/Build123d/...), renders them and sets up a model viewer on Github Pages.

Features

  • Automatically test your model(s) in your CI/CD pipeline
  • Automatically build the latest version of your model(s) for release.
  • No boilerplate: use the same code from the CQ-editor and in your CI/CD pipeline.
  • Build a static website to showcase your latest model(s) automatically.
  • Take a screenshot of your model(s) and use it as a preview image.

Usage

This repository also serves as a demo.

The only requirements are a python script to build the model and a workflow to run the action.

You can use links similar to the following sections to embed your model in your README.md and point to the interactive model viewer. The latest models can be downloaded from the build artifacts.

Demo: box.py

Demo

Demo

Demo

Demo

Demo

Demo

Demo

Demo

Demo

Demo