yeyeto2788 / cnc_setup_ansible

Ansible playbook to setup CNC software automatically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CNC Setup

This repository contains an Ansible playbook for installing CNC related tools on Ubuntu 20.04 based systems. Those tools are:

  • Candle
  • g-code-utils
  • FlatCAM


Tools / Applications installed

Application from alvarogimenez.

Used for double side PCB making, this Java application will let you turn the board and align it on your cnc with the already generated Gcode.

g-code-utils working

NOTES:

  • In ubuntu 20.04 systems the OpenJDK does not come with JavaFX installed anymore which is needed to execute the application. So there is a need to install it and it is done automatically for us with this tool/script.

Application from Denvi.

Send the Gcode to the board. Similar to the universal Gcode sender.

Candle working

NOTES:

  • On first spin up we need to set setting to default as when it is built default values are not taken. So in order to do it we need to go to Service > settings > Set to defaults as shown in the picture below. reset candle settings

Application from jpcgt & Marius Stanciu.

Gerber to PCB conversion.

FlatCAM working

NOTES:

  • I had to switch to the Beta branch as master was somehow not working on 20.04 Ubuntu based systems, seems to be using old libraries and still pointing to the dead Python 2.7
  • I had an issue also with 2 libraries:
    • vispy which I had to downgrade to 0.7.0
    • svglib by default does not have any version pinned to it so downgrading to 1.1.0 made it work.
    • Installed packages as per 04/Feb/2022 are listed here.

Application from winder

Send gcode to controller boards, similar to Candle.

It comes in two versions (classic which should be lightweight and platform which is the most updated one)

UGS platform

UGS platform

UGS classic

UGS classic

Executing this ansible playbook.

  • Automated script installation. 🏎️

    wget -q -O - https://raw.githubusercontent.com/yeyeto2788/cnc_setup/main/setup_cnc.sh | bash
  • Execution via ansible-pull 🤘

    ansible-pull -K --url https://github.com/yeyeto2788/cnc_setup.git main.yaml
  • Manual execution. 😢

    git clone https://github.com/yeyeto2788/cnc_setup.git
    cd cnc_setup
    ansible-playbook main.yaml -K -u $USER

About

Ansible playbook to setup CNC software automatically

License:MIT License


Languages

Language:Shell 100.0%