Car Prototype Dialog

# 2.9.1.3 Car Prototype Dialog

This dialog is used to create or edit prototype definitions.

The first section contains the name of the Prototype and its Type.

If this dialog was invoked from the Car Item or Car Part dialog then the prototype diagram will be copied from the selected part. Otherwise, the prototype is drawn as the default image which is a simple blue rectangle or, if it is a locomotive, with one end angled.

The Import button creates a prototype definition from the selected (Section 2.2.14) lines and shapes. To use this, first create a set of shapes (Filled Rectangles, Polygons, Circles, Lines etc) using the Draw (Section 2.3) commands on the main canvas. Select the shapes and use the Import button.

The Reset button will reset the figure to the default image.

If this dialog is invoked by the New button on the Car or Car Part dialog then the initial image will be copied from the prototype displayed on those dialogs. You can use this to make variations of existing prototypes.

The Color control on the Car Part dialog will replace any color of the Imported shapes which is not Black or a shade of gray with the selected hue.

The Flip button flips the diagram horizontally. For locomotives, the forward direction is to the right.

Unlike the other dialogs, dimensions in this dialog are in prototype units. When entering values, the `s` key will convert a scale measurement to a prototype measurement.