Using NestFab Command Line Integration
This guide provides a quick overview of how to use NestFab’s command line interface (CLI) to automate nesting tasks. By following these steps, you’ll learn how to set up input files, define parameters, and generate outputs directly from the command line.
1. Open the Command Prompt
Begin by opening a command prompt window and navigating to the folder where NestFab is installed. All commands will be executed from this directory.
2. Enter Your NestFab Command
Once you’re in the correct folder, you can start entering the command that will launch NestFab and run your nesting process.
Let’s break down the essential parameters used in the command:
Run NestFab: The first part of the command calls and launches NestFab.
Input CSV file: Next, point to the CSV file that contains your nesting data. This file should define the parts, sheets, and various parameters required for nesting.
3. Structure of the Input CSV File
Your input file tells NestFab what to nest and how. Here’s what it should include:
Parts:
Each part is defined by a file path, or dimensional data.
You must also specify quantity and what rotation is allowed.
Indicate whether the file is a part or a sheet.
Sheet Definition:
If the sheet is not defined by a file, you can directly set the X and Y dimensions in the CSV file.
Once all required information is included, your input file is ready to use. You can also set NestFab to automatically import files as part of the process.
4. Specify Output Options
After defining your input, you need to choose what outputs NestFab should generate. Common options include:
Nested DXF file: A CAD file containing the optimized nesting layout.
Nesting report: A summary of the nesting results, including utilization data and part details.
5. Define Stop Parameters
You can control how long NestFab should run the nesting process using stop parameters. For example:
Stop after 15 seconds of nesting.
Stop when 99% sheet utilization is achieved.
Or a combination of both.
6. Run the Command
Once your command and parameters are ready:
Run the command in the command prompt.
NestFab will launch automatically and import the defined parts.
The nesting process will begin without further input required.
7. Review the Output
Monitor your designated output folder to view the results. You should see files relevant to your Output Options:
A nesting report containing performance and utilization details.
The nested DXF file, ready for use in your workflow.
Further Resources
For a complete list of command line parameters and detailed configuration options, refer to the NestFab help documentation. This resource provides comprehensive explanations of all available commands and their uses.
By following these steps, you can quickly integrate NestFab into automated workflows using the command line, saving time and improving efficiency.