Import manual

Introduction

optiCutter provides powerful data import/export features. Data can be loaded into the application using plain text CSV (*.csv) files or from Microsoft Excel® sheet files (*.xls, *.xlsx). Usually, similar applications have to load stocks data and parts/panels from two different files which is uncomfortable. optiCutter uses more sophisticated data import process and can load all data (not only stocks or parts) from a single file.

Hint! The simplest way to prepare data file for import is to export configuration from an existing cutting plan and then edit it in Microsoft Excel®.

Key column

One of the most important part of our CSV a Microsoft Excel® sheet file format is the first column, called Key column. Value in this column identifies, what type of data are stored in corresponding row and its cells. Key column is marked red on the following image. As you can see, data file looks very similar as our input forms for linear and sheet cutting plans.

import example

Data files description

Linear data file format

Data file examples: CSV format and MS Excel format.
import example
Key Description Example
N next cell contains cutting plan Name My First Linear Plan
M next cell contains Material description Steel
K next cell contains Kerf thickness 1
S next 2 cells contain linear Stock data (length, quantity)
Note: 'quantity' cell can be empty, similarly as in form-based user interface.
5500, 4
P next 3 cells contain linear Parts data (length, quantity, label)
Note: 'label' cell can be empty, similarly as in form-based user interface.
1200, 7, Part A
@ (at sign) identifies row with comments. You can use this rows for any comments or hints, for example: column names for the next rows. Data file may contain multiple comment rows (with the @ in the key column) and all are ignored during import process. Length, Quantity

Sheet/panel data file format

Data file examples: CSV format and MS Excel format.
import example
Key Description Example
N next cell contains cutting plan Name My First Sheet Plan
M next cell contains Material description Plywood 25mm
K next cell contains Kerf thickness 2
S next 4 cells contain sheet Stock data (length, width, quantity, grain orientation)

Notes:
'quantity' and 'grain orientation' cells can be empty, similarly as in form-based user interface.
Valid data for 'grain orientation' column are: h for horizontal grain orientation and v for vertical grain orientation.
2500, 2000, ,h
P next 5 cells contain sheet Panel data (length, width, quantity, grain orientation, label)

Notes:
'grain orientation' an 'label' cells can be empty, similarly as in form-based user interface.
Again, valid data for 'grain orientation' column are: h for horizontal grain orientation and v for vertical grain orientation.
1000, 300, 3, h, Panel A
@ (at sign) identifies row with comments. You can use this rows for any comments or hints, for example: column names for the next rows. Data file may contain multiple comment rows (with the @ in the key column) and all are ignored during import process. Length, Width, Quantity

Useful tips

  • None of mentioned keys/rows is mandatory. You can create your own CSV or Microsoft Excel® file which contains (for example) data for stocks and/or parts only.
  • Import file may contain multiple rows for Stocks or Parts/Panels - similarly as in our cutting plan input forms.
  • Same data structure is valid for CSV and Microsoft Excel® files. Cells in CSV file must be separated by comma.