Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gregkrsak/gcode
This project outputs G-code that is used to control a 4-axis hot wire cutter, employed to cut a wing / airfoil from a physical block of foam. Effectively, it is a slicer for a particular arrangement of raw-coordinate data files.
https://github.com/gregkrsak/gcode
aerodynamics aeronautics aerospace airfoil airfoils c cut foam gcode outputs-gcode wings
Last synced: 9 days ago
JSON representation
This project outputs G-code that is used to control a 4-axis hot wire cutter, employed to cut a wing / airfoil from a physical block of foam. Effectively, it is a slicer for a particular arrangement of raw-coordinate data files.
- Host: GitHub
- URL: https://github.com/gregkrsak/gcode
- Owner: gregkrsak
- License: gpl-2.0
- Created: 2012-02-01T16:00:07.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2020-01-15T07:21:56.000Z (almost 5 years ago)
- Last Synced: 2023-03-22T13:44:19.424Z (over 1 year ago)
- Topics: aerodynamics, aeronautics, aerospace, airfoil, airfoils, c, cut, foam, gcode, outputs-gcode, wings
- Language: C
- Homepage:
- Size: 18.6 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DIY Airfoils you say? Put numbers in, get G-code out!
=================[![C](https://img.shields.io/badge/language-c-blue.svg)](https://github.com/gregkrsak/gcode/blob/master/gcode.c)
[![CMake](https://github.com/gregkrsak/gcode/actions/workflows/cmake.yml/badge.svg)](https://github.com/gregkrsak/gcode/actions/workflows/cmake.yml)This project outputs G-code that is used to control a 4-axis hot wire cutter, employed to cut a wing / airfoil from a physical block of foam. Effectively, it is a slicer for a particular arrangement of raw-coordinate data files.
* [What is G-code?]
I wrote this for a family member who was, at the time, working in airfoil design. The code is designed to be cross-platform (Windows, OS X, and Linux).
Quick Rundown
-------------Eight input files are provided to the program; each input file is formatted in the following manner:
```
<...>
```So that an input file may look like:
```
3
-1.000000
0.989000
1.200000
```Where "3" is the number of values to follow, with the three following values on separate lines.
Each input file is named to correspond with a technical section of the wing / airfoil (Root & Tip; Upper & Lower halves; X & Y coordinates). The input file names are, at this time, constant and should not be changed. In other words, all of the input files must be present and reasonably formatted for the program to function.
Input files:
"ROOTUPPERX", "ROOTUPPERY", "ROOTLOWERX", "ROOTLOWERY",
"TIPUPPERX", "TIPUPPERY", "TIPLOWERX", "TIPLOWERY"Output file:
"OUTPUT.txt"
[What is G-code?]: http://en.wikipedia.org/wiki/G-code