项目作者: reederward1285

项目描述 :
4-axis, independently-controlled gcode generator and interpreter for 4-axis foam cutters
高级语言: Python
项目地址: git://github.com/reederward1285/4AxisFoamCutter.git
创建时间: 2021-01-04T11:55:08Z
项目社区:https://github.com/reederward1285/4AxisFoamCutter

开源协议:GNU General Public License v3.0

下载


How to use:

Simply run

  1. ./Gcode_Generator.sh

in a linux terminal window. Then, import the left wing profile and the right wing profile. The file format for wing profiles
is just a .txt or .dat file with a list of coordinates. Below
is an example:

  1. 20-32C AIRFOIL
  2. 1.000000 0.001600
  3. 0.950000 0.012400
  4. 0.900000 0.022900
  5. 0.800000 0.042800
  6. 0.700000 0.061000
  7. 0.600000 0.077100
  8. 0.500000 0.090500
  9. 0.400000 0.100200
  10. 0.300000 0.104800
  11. 0.250000 0.104400
  12. 0.200000 0.101300
  13. 0.150000 0.093400
  14. 0.100000 0.078000
  15. 0.075000 0.066400
  16. 0.050000 0.051300
  17. 0.025000 0.031700
  18. 0.012500 0.019300
  19. 0.000000 0.000000
  20. 0.012500 -0.005000
  21. 0.025000 -0.004200
  22. 0.050000 -0.001000
  23. 0.075000 0.002800
  24. 0.100000 0.006800
  25. 0.150000 0.014500
  26. 0.200000 0.021700
  27. 0.250000 0.028200
  28. 0.300000 0.033300
  29. 0.400000 0.038500
  30. 0.500000 0.038600
  31. 0.600000 0.035000
  32. 0.700000 0.028600
  33. 0.800000 0.020200
  34. 0.900000 0.010000
  35. 0.950000 0.004400
  36. 1.000000 -0.001600

Then, choose the rest of your settings, connect to the arduino using the connect button, and then hit the play button to start the machine.

Background:

CNC Foam Cutting Machine Upgrade

The machine was made by the company Step-Four, however documentation is not available since Step-Four went out of business several years ago.

The machine includes:

  1. Four axis (independent axes) stepper motor setup
  2. Step-Four motor controller communicating with a Win98 computer over the parallel port
  3. Step-Four power supply for the hot wire

The motor controller will have to be replaced with an Arduino since the S4CUT software locks down the controller.
This prevents the Step-Four controller from being usable with any other software.

New machine setup:

  1. New computer running Linux
  2. Arduino Mega 2560 + RAMPS 1.4
  3. Step-Four hot wire power supply
  4. Four axis stepper motor setup

Software:

  1. Coordinates of profile #1 and #2 convert to GCODE : pywing
  2. GCODE editing/viewing/sending to Arduino : pywing
  3. Arduino GCODE processing firmware : grbl

Firmware:

The firmware is a modified version of rckeith’s 4.5-axis CNC foam cutting Arduino firmware. It has been modified to accept an XYUZ-axis system.

To upload the firmware, go to the Arduino software. Open Sketch->Include Library->Add .ZIP Library and then open the grbl folder under grbl_firmware_rckeith.

Then, under File->Examples, open grblUpload under grbl. Upload this firmware, and open the serial monitor and type:

  1. $$

to view the list of settings in the firmware. To change a setting, type:

  1. $1 = 10 (Using this format: $### = ###)

and hit the send button. Type “$$” again and see the changes to make sure they took effect.

Setup

To setup a new computer, install Ubuntu 20 LTS and run:

  1. git clone https://github.com/reederward1285/4AxisFoamCutter.git
  2. cd Setup
  3. ./install_ubuntu_dependencies

from the Setup folder. This will install the necessary packages needed for pywing, such as pyqt5.