Skip to content
box

GitHub Action

OpenSCAD Build Action

v1 Latest version

OpenSCAD Build Action

box

OpenSCAD Build Action

Use OpenSCAD CLI to automatically generate artifacts in Github Actions

Installation

Copy and paste the following snippet into your .yml file.

              

- name: OpenSCAD Build Action

uses: pkoehlers/openscad-build-action@v1

Learn more about this action in pkoehlers/openscad-build-action

Choose a version

OpenSCAD build action

This action uses OpenSCAD CLI to generate artifacts in Github Actions

Inputs

input-file

Required Path to the input scad file

output-file

Required Path to the output file. Also defines the type of output by the extension. See -o option in OpenSCAD CLI doc

customizer-parameter-file

Optional Path to the customizer file. See -p option in OpenSCAD CLI doc

customizer-parameter-set

Optional Name of the customizer set defined in customizer-parameter-file. See -P option in OpenSCAD CLI doc

Outputs

No outputs, only the generated files

Example usage

uses: pkoehlers/openscad-build-action@v1
with:
  input-file: 'model.scad'
  output-file: 'output_with_something.stl'
  customizer-parameter-file: 'model.json'
  customizer-parameter-set: 'with_something'