Text editors

The L-system editor

Four of the L-studio tabs allow you to edit text files which are part of the object. Three of these tabs are special-purpose, and edit only one file: the L-system, view file, and description tabs allow you to edit the L-system, view parameters file, and object description, respectively. The general text editor tab lets you edit any text file in the object.

The text editor used in L-studio is very simple; its editing capabilities and user interface are similar to those of Microsoft Notepad. Above the text area are some additional fields:

The L-system, View file, and description editors

These tabs open the text editor on specific files. The L-system filename defaults to lsystem.l, and contains the L-system used by the model. The View file, by default, is view.v; it describes viewing and rendering parameters. For information about the format and content of the L-system and View files, see the Cpfg User's Manual. The description file contains a description of the object; it is called description.txt.

The general text file editor

The general text file editor lets you edit any text file on the lab table. It has four more buttons to the right of the Find button above the text area:

Note: The general text file editor lets you edit any text file on the lab table, including the L-system file, the view file, and any of the surface, contour, function, and panel definitions. These files are opened by L-studio when the object is opened, and written when the object is closed or cpfg/lpfg is run. If you change and save them in the general text file editor, you must use the command Read from lab table from the Object menu to explicitly read the file back into the specific L-studio editor.

Also note that if you use the general text file editor to edit a file which is used in generating the model, but is not a standard cpfg/lpfg file (for instance, a file that is #included by the L-system), you will have to explicitly save it in order for any changes to be used by cpfg/lpfg.