Libraries
The Libraries screen holds every Door Job, Door Data, and Feature Group file in the connected database. Select the Libraries tab at the upper left of the screen, then select the library you want. Use the buttons at the bottom of the screen to create, edit, clone, compare, or delete files.

Library Types
There are three libraries:
- The Door Job Library
- The Door Data Library
- The Feature Group Library
| Detail | Door Job | Door Data | Feature Group |
|---|---|---|---|
| Saves cut information | Yes | No | Yes |
| Saves door parameters | Yes | Yes | No |
| Number of Feature Groups allowed | Many | 0 | 1 |
| Loads work onto machines (cuts doors) | Yes | No | Yes, for testing only |
Door Job Library
- Select a file in the table to open it on the Door Job screen.
- Door Job files contain all the information needed to process a door: its Door Data and its Feature Groups.
- Files support revisions.

Door Data Library
- Select a file in the table to open it on the Door Data screen.
- Door Data files describe an unprocessed door (and optionally its jamb). They contain no cutting information.
- A Door Data file can be added to many Door Jobs.
- Files support revisions.

Feature Group Library
- Select a file in the table to open it on the Feature Group screen.
- Feature Group files contain shape information, one Feature Group per file.
- A Feature Group file can be added to many Door Jobs.
- Files support revisions and track variants.

Door Data and Feature Group files can also be previewed in 3D from their own screens.
Using the File Table
Each library's table lists the files in the selected database. The controls described below work the same way in every library.
- Select a column heading to sort by Name, Description, Created, or Last Modified.
- Type in the boxes at the top to search by name or description.
- Select the Display Deleted checkbox to view or recover deleted files.
- Drag a column's border to change its width.

TIP
The revision pane is hidden on the right of the table. Hover over the table's right border until the pointer changes, then drag the border to the left to reveal it.
Recovering a Deleted File
Select the Display Deleted checkbox in the upper right corner. Deleted files are highlighted in red.

Select the file to recover.
Select the Restore button at the bottom of the screen.
File Control Buttons
Use the buttons at the bottom of the screen to create, edit, clone, delete, or compare files, or to switch databases.

Create
Creates a new file in the current library: a Door Job, Door Data, or Feature Group.
Edit/View
Opens a file to view or edit it.
- Select a file in the table.
- Select the Edit/View button.
TIP
Double-click a file in the table to open it directly.
Clone
Creates a copy of a file.
- Select the file to clone.
- Select the Clone button.
- In the pop-up window, rename the file and update the description if needed.
- Select Save.

Delete/Restore
Deletes a file, or restores a deleted one.
- Select the file to delete.
- Select the Delete button.
- In the pop-up window, select Yes.

NOTE
The Delete button becomes the Restore button when the Display Deleted checkbox is selected. See Recovering a Deleted File.
Diff
Compares two files and highlights the differences between them.
Hold Ctrl or Shift and select two files. Both are highlighted in blue.

Select the Diff button.
A pop-up window shows the differences. Values from the first selected file are highlighted in red, and values from the second in green.

Database
More than one database may be available. To connect to a different one:
Select the Database icon in the lower right corner.

On the Database screen, enter the database path in the PostgreSQL box.
Select Connect.
Select Go to Libraries at the bottom of the screen.

The Database screen shows:
- Data Source: the PostgreSQL path.
- Connection State: whether KvalCAM is connected. If it isn't, check the path.
- Server: the database server. There may be more than one.
- Database: the name of the database.
- User: the user KvalCAM connects as.
- Server version: the PostgreSQL server version.
- Database version: the Kval database version.