项目作者: TommyRadan

项目描述 :
Minimalistic command line STL to G-Code converter for CNC milling machines.
高级语言: C++
项目地址: git://github.com/TommyRadan/PathProcessor.git
创建时间: 2017-04-02T13:55:43Z
项目社区:https://github.com/TommyRadan/PathProcessor

开源协议:MIT License

下载


PathProcessor

PathProcessor is a lightweight, command-line utility for converting STL files to G-code, tailored for CNC milling machines. It simplifies the process of preparing 3D models for CNC machining by automating the conversion of STL geometry to machine-readable G-code.

Features

  • Convert STL files to G-code.
  • Customize tool working area and subdivisions.
  • Set spindle radius and angle parameters.

Getting Started

Prerequisites

  • CMake
  • Make
  • C++ compiler (e.g., GCC, Clang, …)
  • clang-format (for style formatting)
  • doxygen (for generating documentation)

Building the Project

To build the project, use the provided scripts in the scripts directory:

  1. # To build the project
  2. ./scripts/build.sh
  3. # To clean the build
  4. ./scripts/clean.sh

These scripts handle the configuration and compilation of the project using CMake and Make.

Usage

To use PathProcessor, run the executable with the following command-line arguments:

  1. pp [options]

Options:

  1. -i --input: Specify the STL file input.
  2. -o --output: Specify the G-code file output.
  3. -wax --working-area-x: Set the tool working area X dimension.
  4. -way --working-area-y: Set the tool working area Y dimension.
  5. -waz --working-area-z: Set the tool working area Z dimension.
  6. -sdx --subdivision-x: Set the tool subdivision X.
  7. -sdy --subdivision-y: Set the tool subdivision Y.
  8. -sdz --subdivision-z: Set the tool subdivision Z.
  9. -r --radius: Specify the spindle radius.
  10. -a --angle: Specify the spindle angle.

Example:

  1. bash
  2. ./pp -i model.stl -o output.gcode -wax 200 -way 200 -waz 100 -sdx 10 -sdy 10 -sdz 5 -r 2 -a 30

License

This project is licensed under the MIT License.