Mini-CAD: Scaling DXF data
In the program's default settings, the lower three check boxes in the above dialog box are activated. This means that when importing, the program ensures that the DXF data fill the screen in the currently defined system. This can make sense if, for example, you would first like to get an overview of the objects contained in the DXF file, or if the coordinates of the DXF file are incorrect.
To adjust the scale and the coordinates of the DXF data to that of your project proceed as follows:
Find a horizontal and a vertical line in the imported DXF data of known lengths. You can also draw an auxiliary line between two points of known spacing. Click the line icon and then double-click the auxiliary line with the left mouse button. The actual length of the clicked line is given on the title bar of the opened editor box.
If the required length is divided by the actual length the result is the zoom factor for the size correction. Because differing heights and widths result from zooming to full screen size, you also get differing horizontal and vertical zoom factors.
To adapt the DXF objects to the defined project scale select the "Modify objects" iconand enter the calculated zoom factors for the x and y directions.
Displacements can also be generated in analogy to this to position the DXF import at the correct x and y coordinates. For example, in the first step find a line of known height (= y coordinate). Open the editor box by double-clicking the line to get the y coordinate.
Calculate the difference between the theoretical and the actual height, which is required as displacement. Ensure that the zoom factor in the "Modify objects" icon dialog box is 1.0.