SkillAgentSearch skills...

Opencut

A declarative CAM program for creating gcode for CNC routing/milling machines.

Install / Use

/learn @sir-buckyball/Opencut
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

opencut

opencut is a declarative CAM program for generating gcode for CNC milling/routing machines by stating what cuts you would like to have made.

YAML is used to describe the cuts the machine should make in a way which balances human readability and machine processing. Under the hood the description of the cuts to make is connverted to a JSON object and passed to the opencut API which in turn generates the gcode which corresponds to the job.

Example

name: example_drink_coaster
units: inch
bit_diameter: 0.125
feed_rate: 100
plunge_rate: 10
z_step_size: 1
cuts:
- type: profile
  side: outside
  depth: -0.25
  shape: {type: rectangle, origin: [0, 0], size: [4, 4]}
- type: pocket
  depth: -0.1
  shape: {type: circle, center: [0, 0], radius: 1.5}

Getting started

The easiest way to get started is to create a YAML description of your "job" in the built-in editor, then press the compile button to download the gcode.

Advanced users may choose to pass a JSON object directly to the Javascript library. It is also possible to load in additional cut types.

TODO: add demo links

Documentation

https://github.com/sir-buckyball/opencut/wiki/YAML-documentation

Related Skills

View on GitHub
GitHub Stars16
CategoryDevelopment
Updated5mo ago
Forks4

Languages

JavaScript

Security Score

87/100

Audited on Oct 13, 2025

No findings