Skip to content

viernullvier/openbuilds-macros

Repository files navigation

openbuilds-macros

Collection of JS macros for OpenBuilds CONTROL

Macros

See individual README.md files in each macro folder.

Installing

Automatic: In OpenBuilds CONTROL, choose Import JSON Macro and select $MACRO.json in the specific subfolder.

Manual: In OpenBuilds CONTROL, choose Create New Macro, select Javascript and paste the content of the macro subfolder's index.js into the text area. Note: You probably need to select Run Macro on startup for most of the macros to work - see the macro's README.md file.

Development

Run yarn build to sync each macro's JSON file with the index.js source file [TODO: Typescript]. The build script will automatically git add the corresponding JSON file for each index.js that's staged for commit. Run yarn install to set up a pre-commit hook that runs the build script automatically before each commit. This will ensure that the macro JSON files will always stay in sync with their corresponding index.js files.

Other macros

Here are more macros that I've found useful:

  • Hole Milling by @poWer4aiX
  • Linear Cut by @poWer4aiX - this repo now includes its own version of it.
  • Laser Test Pattern by Misterg [TODO: Add my modified version to this repo after cleaning it up and creating a UI]

Make sure to check out the OpenBuilds forum macro thread!

About

Collection of JS macros for OpenBuilds CONTROL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published