FreePCB User Guide

 Version 1.2


PREV

Table of Contents

NEXT


5. PCB Layout (continued)

5.8 Projects

In FreePCB, PCB layouts are referred to as projects. All of the information describing a project is stored in a single text file with the extension .fpc, which is usually stored in a folder with the same name as the project.  For example, the project named "Motor" would be stored in the file Motor.fpc in the folder C:\FreePCB\projects\Motor

A new project is created with File > New. This will launch the Project Options dialog, which is shown below.

Note that most of the fields of the dialog are already filled in. These default settings are taken from a file called default.cfg which must be in the same folder as the FreePCB.exe application. If you don't want to use the defaults for your project, you can change them in the dialog. If you would like to change the defaults for all future projects, you can edit the defaults.cfg file with any text editor. The format of this file is described in Section 8: File Formats.

Each field in the dialog is explained below:

When you are satisfied with your entries, click OK. The project folder will be created if it does not already exist (however, the parent folder must exist or you will get an error message). The project file will not be written into the folder until you Save from the File menu. I usually do this immediately after I have created a new project.

By the way, the project Name is only used to create names for the project file and the default project folder. After that, FreePCB uses the name of the project file as the project name. You can rename the project file or use Save As from the File menu to save the project under a different name. You may find it useful to keep several different versions of your project in the project folder, under different names. For example, you could experiment with some new ideas in a design, but revert back to an earlier version if they don't work out.

As mentioned above, you can modify the defaults for new projects by editing the default.cfg file in the application folder. The format for this file is described in Section 8: File Formats, and you shouldn't have any trouble figuring out how to modify it (but save a copy just in case). You can also edit the project file, if you like. This is a more complex file, with sections describing the project options, footprints, parts, nets, text strings, etc. The options section is very similar to the default.cfg file. You probably don't want to mess too much with the other sections.

Once a project has been created, it can be closed, saved and opened using the usual selections from the File menu.

After a project has been created, the project options can be edited by selecting  Options... in the Project menu. This will bring back the Project Options dialog with some fields disabled, as shown below. You can make changes to any of the enabled fields, and save them by clicking OK.


PREV

Table of Contents

NEXT