Having no dimscale feels like printing a magazine or paper without a variable for 'font.size'.
Representing dimensions in the correct way might need a lot more then only the dimscale command. F.i. maybe the the sizes of arrows is a multiplication of a base size * one of the defined scales.
Looking at the dxf vectorialreader-unit, the implementation starts off with defining which autocad versions has been used.
- I went through this list and exported from Autocad to the various versions.
- I even exported from Autocad to a PDF, imported this in Adobe Illustrator and exported it again to a DXF format.
As far as I could check, there is always a record for dimscale in a DXF file. This looks to be generic instead of 'one dxf format'
That's why I still want to discuss what the best way would be to get data across from dxfvectorialreader fo fpvectorial.
Maybe, we would need to make a dynamic array (of records) in dxfvectorialreader. In that way I could expand it when we go along and understand more of how every entry influences the drawing.
If then I get data in fpvectorial.pas, I could analyse the data there and use the correct entries for each of the dims.
Example
record 1: DIMSCALE, ISO001, dimscale 1, ..., ....
record 2: DIMSCALE, ISO010, dimscale 10, ...., ....
record 3: DIMSCALE, ISO015, dimscale 15, ...., ....
record 4: DIMSCALE, ISO0XY, dimscale 50, ...., ....
record ?: DIMASZ, 0.16, ...., ....
record ?: DIMEXO, 0.0625, ...., ....
If the Array does not exist, is nil, or has no relevant entry, defaults (constants) could be used.