Wrong export to DXF format.

Issue #463 resolved
David Arnold created an issue

DXF files are putput with approximately 38:10mm which seems to be just about the internal scale of QPoints (37,8:10).

DXF shpuld come with deterministic and explicit scaling.

Comments (14)

  1. David Arnold reporter

    I sustain, we had this issue, it is real and exists opening with Autodesk Autocad 2016. Probably a wontfix?

  2. David Arnold reporter

    Ok, no problem.

    Autocad manages "units", which is a abstract representation of length. Only knowing a scale those units translate to an actual distance.

    Normally when working with autocad, the scale is defined in the dxf metadad IIRC.

    In Valentina generated dxf, aparently no scale is defined in such a way. This results in an unscaled dxf when opening. This means we only have an abstract representation of length.

    Empirically we found that the corresponding scale must be arround 38:10.

    Now, I'm debugging and happen to note, that the internal QPoint integers are at a very similar scale (37,8).

    Ideally, dxf files would come with the correct scale (translating "units" in actual length).

  3. Roman Telezhynskyi repo owner

    Normally when working with autocad, the scale is defined in the dxf metadad IIRC.

    Can you show me where in documentation i can read about this?

  4. David Arnold reporter

    Seems OK: 25,5 cm and 8,0 cm

    I guess the approximation is due to some internal Qt resolution.

    2016-03-27.png

    Capture.PNG

  5. Log in to comment