Skip to content

HotWing-cli is a is a Gcode generator for cutting model aircraft wings on a 4-axis CNC foam cutter.

License

Notifications You must be signed in to change notification settings

jasonhamilton/hotwing-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HotWing-cli is a is a command-line-based Gcode generator for cutting model aircraft wings on a 4-axis CNC foam cutter (like this). The user defines wing design parameters in a config file, which is then parsed by and converted to gcode by HotWing-cli. HotWing-cli is built on the hotwing-core library.

Build Status Versions

Installation

Install From Source

  1. Make sure you have Python and Pip installed.
  2. Download the repository to your computer.
  3. Navigate to the repository folder cd /my/folder/hotwing-cli in your terminal.
  4. Install Dependencies pip install -r requirements.txt
  5. Install HotWing-CLI pip install .

Download Binaries

The stand-alone binaries are an easy way to get started. The binaries have scripts that allow you to run the software without using the command line. If you want to avoid the command like see the article on avoiding the command line.

Windows Binary OSX Binary Linux Binary
Windows OSX Linux

Usage

Quick Start

  1. Install HotWing-cli per the Installation Instructions
  2. Generate a config file by running hotwing-cli init myconfig.cfg or copy the sample config file.
  3. Modify the config file. See the Config File Options section for details.
  4. Run HotWing hotwing-cli parse path-to-my-config.cfg.

The previous command output the Gcode to the screen but we can output it to a file.

# You can redirect the output
$ hotwing-cli parse path-to-my-config.cfg > saved-gcode.ngc

# Or specify an output file with the -o parameter
hotwing-cli parse path-to-my-config.cfg -o saved-gcode.ngc 

For a more detailed walk through see this tutorial

Command Line Arguments

$ hotwing-cli --help # see additional options

Synopsis

hotwing-cli COMMAND FILE [OPTION]...

Examples

$ hotwing-cli init NEW.CFG # create a new config 

$ hotwing-cli parse --help # see parse command help
$ hotwing-cli init NEW.CFG # create a new config file

Options

-o Output file to write to. If not specified, the output will be written to stdout.

-d Turn on debugging. The output will be tab separated values instead of gcode.

-s Side to cut - 'l' or 'r'. (default='r')

-t Trims the wing panel before cutting. Specifies the section of wing to cut, starting at the root to the tip. For example '10-20' will cut a section starting at 10 units from the root and ending 20 units from the root (total width of 10 units).

-p The number of points to interpolate/cut each profile surface (top/bottom). (default=200)

-l Distance to place the panel from the left machine pillar. If not specified, the panel will be centered between the machine pillars.

About

HotWing-cli is a is a Gcode generator for cutting model aircraft wings on a 4-axis CNC foam cutter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published