QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.32.2
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
    • CVH (10.04.2025)
  • Private
Attached to Project: QCAD Bugtracker
Opened by CVH - 10.04.2025
Last edited by Andrew - 10.04.2025

FS#2659 - File > SVG Export: unit centimeter not accepted

Andrew,

Related to this forum topic where an export by dwg2svg fails in various ways.

The document has drawing unit ‘none’, SVG options are (none=pixels, mm, cm, or in).
When trying to specify an alternative unit ‘cm’ a warning is displayed:

  • Warning: Drawing unit ‘cm’ is not supported by SVG. SVG unit is set to ‘mm’.

Traced back to a typo in the SvgExporter.getSvgUnit function:

if (unit != RS.Centimenter && unit != RS.Millimeter && unit != RS.Inch && unit != RS.None) {...}

The correct Enum of supported units should be RS.Centimeter

Regards,
CVH

Closed by  Andrew
10.04.2025 18:02
Reason for closing:  Fixed

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing