Please enable JavaScript to view this site.

Writing a KOMPAS document to the bitmap format is performed in two stages.

1.Generation of a temporary bitmap file with the 24-bit color depth. The maximum possible number of points in it is 1,431,655,724. The location of a temporary file — a folder defined by the TEMP environment variable of KOMPAS-3D (or the corresponding key in the KOMPAS.ini file).

2.Conversion of a temporary file into a file of the selected format with specified resolution and chromaticity.

Since the maximum size of the temporary file is limited, then after pressing the OK button the system compares the total number of points in the created file and the maximum allowable number of points in the dialog for writing into a bitmap file.

If the number of points exceeds the allowable limit, the message "bitmap size exceeds the maximum allowable size" is displayed on the screen.

If the number of points does not go beyond the allowable boundaries, the system calculates the size of the temporary file. This value (in bits) is obtained by multiplying the total number of dots by 24 since 24 bits are used to represent the color of each dot in the image (respectively, multiplying by 3 gives the size of the file in bytes). The resultant value is compared against the amount of disk space available for writing temporary files of the system KOMPAS-3D.

If there is not enough space for the temporary file, the message "Not enough disk space to create a temporary file" is displayed on the screen.

Therefore, if you get a message on the exceeding of the allowable bitmap size, it is necessary to reduce the total number of points in the image. You can do this by reducing the scale or resolution in the Settings dialog for writing to bitmap.

If you get a message that there is not enough disk space, you should either reduce the number of points in the image or increase the amount of disk space available for writing temporary files.

You can get details on placement of temporary files in the service files and folders location dialog. To access this dialog, call the Setup — Options... — System — Files — Location command.

© ASCON-Design systems, LLC (Russia), 2024. All rights reserved.